Merge branch 'master' of https://gitea.arufalab.com/ImAlpha/Portfolio
This commit is contained in:
commit
913600621a
BIN
Websites/.DS_Store
vendored
BIN
Websites/.DS_Store
vendored
Binary file not shown.
169
Websites/JandF/.gitignore
vendored
169
Websites/JandF/.gitignore
vendored
@ -1,169 +0,0 @@
|
|||||||
# Based on https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore
|
|
||||||
|
|
||||||
# Logs
|
|
||||||
|
|
||||||
logs
|
|
||||||
_.log
|
|
||||||
npm-debug.log_
|
|
||||||
yarn-debug.log*
|
|
||||||
yarn-error.log*
|
|
||||||
lerna-debug.log*
|
|
||||||
.pnpm-debug.log*
|
|
||||||
|
|
||||||
# Diagnostic reports (https://nodejs.org/api/report.html)
|
|
||||||
|
|
||||||
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
|
|
||||||
|
|
||||||
# Runtime data
|
|
||||||
|
|
||||||
pids
|
|
||||||
_.pid
|
|
||||||
_.seed
|
|
||||||
\*.pid.lock
|
|
||||||
|
|
||||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
||||||
|
|
||||||
lib-cov
|
|
||||||
|
|
||||||
# Coverage directory used by tools like istanbul
|
|
||||||
|
|
||||||
coverage
|
|
||||||
\*.lcov
|
|
||||||
|
|
||||||
# nyc test coverage
|
|
||||||
|
|
||||||
.nyc_output
|
|
||||||
|
|
||||||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
|
||||||
|
|
||||||
.grunt
|
|
||||||
|
|
||||||
# Bower dependency directory (https://bower.io/)
|
|
||||||
|
|
||||||
bower_components
|
|
||||||
|
|
||||||
# node-waf configuration
|
|
||||||
|
|
||||||
.lock-wscript
|
|
||||||
|
|
||||||
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
||||||
|
|
||||||
build/Release
|
|
||||||
|
|
||||||
# Dependency directories
|
|
||||||
|
|
||||||
node_modules/
|
|
||||||
jspm_packages/
|
|
||||||
|
|
||||||
# Snowpack dependency directory (https://snowpack.dev/)
|
|
||||||
|
|
||||||
web_modules/
|
|
||||||
|
|
||||||
# TypeScript cache
|
|
||||||
|
|
||||||
\*.tsbuildinfo
|
|
||||||
|
|
||||||
# Optional npm cache directory
|
|
||||||
|
|
||||||
.npm
|
|
||||||
|
|
||||||
# Optional eslint cache
|
|
||||||
|
|
||||||
.eslintcache
|
|
||||||
|
|
||||||
# Optional stylelint cache
|
|
||||||
|
|
||||||
.stylelintcache
|
|
||||||
|
|
||||||
# Microbundle cache
|
|
||||||
|
|
||||||
.rpt2_cache/
|
|
||||||
.rts2_cache_cjs/
|
|
||||||
.rts2_cache_es/
|
|
||||||
.rts2_cache_umd/
|
|
||||||
|
|
||||||
# Optional REPL history
|
|
||||||
|
|
||||||
.node_repl_history
|
|
||||||
|
|
||||||
# Output of 'npm pack'
|
|
||||||
|
|
||||||
\*.tgz
|
|
||||||
|
|
||||||
# Yarn Integrity file
|
|
||||||
|
|
||||||
.yarn-integrity
|
|
||||||
|
|
||||||
# dotenv environment variable files
|
|
||||||
|
|
||||||
.env
|
|
||||||
.env.development.local
|
|
||||||
.env.test.local
|
|
||||||
.env.production.local
|
|
||||||
.env.local
|
|
||||||
|
|
||||||
# parcel-bundler cache (https://parceljs.org/)
|
|
||||||
|
|
||||||
.cache
|
|
||||||
.parcel-cache
|
|
||||||
|
|
||||||
# Next.js build output
|
|
||||||
|
|
||||||
.next
|
|
||||||
out
|
|
||||||
|
|
||||||
# Nuxt.js build / generate output
|
|
||||||
|
|
||||||
.nuxt
|
|
||||||
dist
|
|
||||||
|
|
||||||
# Gatsby files
|
|
||||||
|
|
||||||
.cache/
|
|
||||||
|
|
||||||
# Comment in the public line in if your project uses Gatsby and not Next.js
|
|
||||||
|
|
||||||
# https://nextjs.org/blog/next-9-1#public-directory-support
|
|
||||||
|
|
||||||
# public
|
|
||||||
|
|
||||||
# vuepress build output
|
|
||||||
|
|
||||||
.vuepress/dist
|
|
||||||
|
|
||||||
# vuepress v2.x temp and cache directory
|
|
||||||
|
|
||||||
.temp
|
|
||||||
.cache
|
|
||||||
|
|
||||||
# Docusaurus cache and generated files
|
|
||||||
|
|
||||||
.docusaurus
|
|
||||||
|
|
||||||
# Serverless directories
|
|
||||||
|
|
||||||
.serverless/
|
|
||||||
|
|
||||||
# FuseBox cache
|
|
||||||
|
|
||||||
.fusebox/
|
|
||||||
|
|
||||||
# DynamoDB Local files
|
|
||||||
|
|
||||||
.dynamodb/
|
|
||||||
|
|
||||||
# TernJS port file
|
|
||||||
|
|
||||||
.tern-port
|
|
||||||
|
|
||||||
# Stores VSCode versions used for testing VSCode extensions
|
|
||||||
|
|
||||||
.vscode-test
|
|
||||||
|
|
||||||
# yarn v2
|
|
||||||
|
|
||||||
.yarn/cache
|
|
||||||
.yarn/unplugged
|
|
||||||
.yarn/build-state.yml
|
|
||||||
.yarn/install-state.gz
|
|
||||||
.pnp.\*
|
|
||||||
@ -1,15 +0,0 @@
|
|||||||
# jandf
|
|
||||||
|
|
||||||
To install dependencies:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
bun install
|
|
||||||
```
|
|
||||||
|
|
||||||
To run:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
bun run index.ts
|
|
||||||
```
|
|
||||||
|
|
||||||
This project was created using `bun init` in bun v1.0.0. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.
|
|
||||||
Binary file not shown.
@ -1,20 +0,0 @@
|
|||||||
console.warn("This is a warning");
|
|
||||||
|
|
||||||
console.warn("This is also a console output");
|
|
||||||
|
|
||||||
var number = 5;
|
|
||||||
console.log(number);
|
|
||||||
|
|
||||||
var a,b = 3;
|
|
||||||
var c = "I am a ";
|
|
||||||
c = c + "string"
|
|
||||||
console.log(c);
|
|
||||||
|
|
||||||
var x = 1.5;
|
|
||||||
var y = 2.5;
|
|
||||||
|
|
||||||
console.log(Math.ceil(x*y))
|
|
||||||
|
|
||||||
var myStr = "FirstLine\n\t\\SecondLine\nThirdLine\ftesting";
|
|
||||||
console.log(myStr);
|
|
||||||
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "jandf",
|
|
||||||
"module": "index.ts",
|
|
||||||
"type": "module",
|
|
||||||
"devDependencies": {
|
|
||||||
"bun-types": "^1.0.1"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"typescript": "^5.0.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"lib": ["ESNext"],
|
|
||||||
"module": "esnext",
|
|
||||||
"target": "esnext",
|
|
||||||
"moduleResolution": "bundler",
|
|
||||||
"moduleDetection": "force",
|
|
||||||
"allowImportingTsExtensions": true,
|
|
||||||
"noEmit": true,
|
|
||||||
"composite": true,
|
|
||||||
"strict": true,
|
|
||||||
"downlevelIteration": true,
|
|
||||||
"skipLibCheck": true,
|
|
||||||
"jsx": "preserve",
|
|
||||||
"allowSyntheticDefaultImports": true,
|
|
||||||
"forceConsistentCasingInFileNames": true,
|
|
||||||
"allowJs": true,
|
|
||||||
"types": [
|
|
||||||
"bun-types" // add Bun global
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
1
Websites/Jefes/Backend/node_modules/.bin/mime
generated
vendored
1
Websites/Jefes/Backend/node_modules/.bin/mime
generated
vendored
@ -1 +0,0 @@
|
|||||||
../mime/cli.js
|
|
||||||
21
Websites/Jefes/Backend/node_modules/@types/geojson/LICENSE
generated
vendored
21
Websites/Jefes/Backend/node_modules/@types/geojson/LICENSE
generated
vendored
@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) Microsoft Corporation.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE
|
|
||||||
15
Websites/Jefes/Backend/node_modules/@types/geojson/README.md
generated
vendored
15
Websites/Jefes/Backend/node_modules/@types/geojson/README.md
generated
vendored
@ -1,15 +0,0 @@
|
|||||||
# Installation
|
|
||||||
> `npm install --save @types/geojson`
|
|
||||||
|
|
||||||
# Summary
|
|
||||||
This package contains type definitions for geojson (https://geojson.org/).
|
|
||||||
|
|
||||||
# Details
|
|
||||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/geojson.
|
|
||||||
|
|
||||||
### Additional Details
|
|
||||||
* Last updated: Wed, 18 Oct 2023 01:17:35 GMT
|
|
||||||
* Dependencies: none
|
|
||||||
|
|
||||||
# Credits
|
|
||||||
These definitions were written by [Jacob Bruun](https://github.com/cobster), [Arne Schubert](https://github.com/atd-schubert), [Jeff Jacobson](https://github.com/JeffJacobson), [Ilia Choly](https://github.com/icholy), and [Dan Vanderkam](https://github.com/danvk).
|
|
||||||
165
Websites/Jefes/Backend/node_modules/@types/geojson/index.d.ts
generated
vendored
165
Websites/Jefes/Backend/node_modules/@types/geojson/index.d.ts
generated
vendored
@ -1,165 +0,0 @@
|
|||||||
// Note: as of the RFC 7946 version of GeoJSON, Coordinate Reference Systems
|
|
||||||
// are no longer supported. (See https://tools.ietf.org/html/rfc7946#appendix-B)}
|
|
||||||
|
|
||||||
export as namespace GeoJSON;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The valid values for the "type" property of GeoJSON geometry objects.
|
|
||||||
* https://tools.ietf.org/html/rfc7946#section-1.4
|
|
||||||
*/
|
|
||||||
export type GeoJsonGeometryTypes = Geometry["type"];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The value values for the "type" property of GeoJSON Objects.
|
|
||||||
* https://tools.ietf.org/html/rfc7946#section-1.4
|
|
||||||
*/
|
|
||||||
export type GeoJsonTypes = GeoJSON["type"];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Bounding box
|
|
||||||
* https://tools.ietf.org/html/rfc7946#section-5
|
|
||||||
*/
|
|
||||||
export type BBox = [number, number, number, number] | [number, number, number, number, number, number];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A Position is an array of coordinates.
|
|
||||||
* https://tools.ietf.org/html/rfc7946#section-3.1.1
|
|
||||||
* Array should contain between two and three elements.
|
|
||||||
* The previous GeoJSON specification allowed more elements (e.g., which could be used to represent M values),
|
|
||||||
* but the current specification only allows X, Y, and (optionally) Z to be defined.
|
|
||||||
*/
|
|
||||||
export type Position = number[]; // [number, number] | [number, number, number];
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The base GeoJSON object.
|
|
||||||
* https://tools.ietf.org/html/rfc7946#section-3
|
|
||||||
* The GeoJSON specification also allows foreign members
|
|
||||||
* (https://tools.ietf.org/html/rfc7946#section-6.1)
|
|
||||||
* Developers should use "&" type in TypeScript or extend the interface
|
|
||||||
* to add these foreign members.
|
|
||||||
*/
|
|
||||||
export interface GeoJsonObject {
|
|
||||||
// Don't include foreign members directly into this type def.
|
|
||||||
// in order to preserve type safety.
|
|
||||||
// [key: string]: any;
|
|
||||||
/**
|
|
||||||
* Specifies the type of GeoJSON object.
|
|
||||||
*/
|
|
||||||
type: GeoJsonTypes;
|
|
||||||
/**
|
|
||||||
* Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections.
|
|
||||||
* The value of the bbox member is an array of length 2*n where n is the number of dimensions
|
|
||||||
* represented in the contained geometries, with all axes of the most southwesterly point
|
|
||||||
* followed by all axes of the more northeasterly point.
|
|
||||||
* The axes order of a bbox follows the axes order of geometries.
|
|
||||||
* https://tools.ietf.org/html/rfc7946#section-5
|
|
||||||
*/
|
|
||||||
bbox?: BBox | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Union of GeoJSON objects.
|
|
||||||
*/
|
|
||||||
export type GeoJSON = Geometry | Feature | FeatureCollection;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Geometry object.
|
|
||||||
* https://tools.ietf.org/html/rfc7946#section-3
|
|
||||||
*/
|
|
||||||
export type Geometry = Point | MultiPoint | LineString | MultiLineString | Polygon | MultiPolygon | GeometryCollection;
|
|
||||||
export type GeometryObject = Geometry;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Point geometry object.
|
|
||||||
* https://tools.ietf.org/html/rfc7946#section-3.1.2
|
|
||||||
*/
|
|
||||||
export interface Point extends GeoJsonObject {
|
|
||||||
type: "Point";
|
|
||||||
coordinates: Position;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* MultiPoint geometry object.
|
|
||||||
* https://tools.ietf.org/html/rfc7946#section-3.1.3
|
|
||||||
*/
|
|
||||||
export interface MultiPoint extends GeoJsonObject {
|
|
||||||
type: "MultiPoint";
|
|
||||||
coordinates: Position[];
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* LineString geometry object.
|
|
||||||
* https://tools.ietf.org/html/rfc7946#section-3.1.4
|
|
||||||
*/
|
|
||||||
export interface LineString extends GeoJsonObject {
|
|
||||||
type: "LineString";
|
|
||||||
coordinates: Position[];
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* MultiLineString geometry object.
|
|
||||||
* https://tools.ietf.org/html/rfc7946#section-3.1.5
|
|
||||||
*/
|
|
||||||
export interface MultiLineString extends GeoJsonObject {
|
|
||||||
type: "MultiLineString";
|
|
||||||
coordinates: Position[][];
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Polygon geometry object.
|
|
||||||
* https://tools.ietf.org/html/rfc7946#section-3.1.6
|
|
||||||
*/
|
|
||||||
export interface Polygon extends GeoJsonObject {
|
|
||||||
type: "Polygon";
|
|
||||||
coordinates: Position[][];
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* MultiPolygon geometry object.
|
|
||||||
* https://tools.ietf.org/html/rfc7946#section-3.1.7
|
|
||||||
*/
|
|
||||||
export interface MultiPolygon extends GeoJsonObject {
|
|
||||||
type: "MultiPolygon";
|
|
||||||
coordinates: Position[][][];
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Geometry Collection
|
|
||||||
* https://tools.ietf.org/html/rfc7946#section-3.1.8
|
|
||||||
*/
|
|
||||||
export interface GeometryCollection<G extends Geometry = Geometry> extends GeoJsonObject {
|
|
||||||
type: "GeometryCollection";
|
|
||||||
geometries: G[];
|
|
||||||
}
|
|
||||||
|
|
||||||
export type GeoJsonProperties = { [name: string]: any } | null;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A feature object which contains a geometry and associated properties.
|
|
||||||
* https://tools.ietf.org/html/rfc7946#section-3.2
|
|
||||||
*/
|
|
||||||
export interface Feature<G extends Geometry | null = Geometry, P = GeoJsonProperties> extends GeoJsonObject {
|
|
||||||
type: "Feature";
|
|
||||||
/**
|
|
||||||
* The feature's geometry
|
|
||||||
*/
|
|
||||||
geometry: G;
|
|
||||||
/**
|
|
||||||
* A value that uniquely identifies this feature in a
|
|
||||||
* https://tools.ietf.org/html/rfc7946#section-3.2.
|
|
||||||
*/
|
|
||||||
id?: string | number | undefined;
|
|
||||||
/**
|
|
||||||
* Properties associated with this feature.
|
|
||||||
*/
|
|
||||||
properties: P;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A collection of feature objects.
|
|
||||||
* https://tools.ietf.org/html/rfc7946#section-3.3
|
|
||||||
*/
|
|
||||||
export interface FeatureCollection<G extends Geometry | null = Geometry, P = GeoJsonProperties> extends GeoJsonObject {
|
|
||||||
type: "FeatureCollection";
|
|
||||||
features: Array<Feature<G, P>>;
|
|
||||||
}
|
|
||||||
46
Websites/Jefes/Backend/node_modules/@types/geojson/package.json
generated
vendored
46
Websites/Jefes/Backend/node_modules/@types/geojson/package.json
generated
vendored
@ -1,46 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@types/geojson",
|
|
||||||
"version": "7946.0.12",
|
|
||||||
"description": "TypeScript definitions for geojson",
|
|
||||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/geojson",
|
|
||||||
"license": "MIT",
|
|
||||||
"contributors": [
|
|
||||||
{
|
|
||||||
"name": "Jacob Bruun",
|
|
||||||
"githubUsername": "cobster",
|
|
||||||
"url": "https://github.com/cobster"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Arne Schubert",
|
|
||||||
"githubUsername": "atd-schubert",
|
|
||||||
"url": "https://github.com/atd-schubert"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Jeff Jacobson",
|
|
||||||
"githubUsername": "JeffJacobson",
|
|
||||||
"url": "https://github.com/JeffJacobson"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Ilia Choly",
|
|
||||||
"githubUsername": "icholy",
|
|
||||||
"url": "https://github.com/icholy"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Dan Vanderkam",
|
|
||||||
"githubUsername": "danvk",
|
|
||||||
"url": "https://github.com/danvk"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"main": "",
|
|
||||||
"types": "index.d.ts",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
||||||
"directory": "types/geojson"
|
|
||||||
},
|
|
||||||
"scripts": {},
|
|
||||||
"dependencies": {},
|
|
||||||
"typesPublisherContentHash": "b76ef6b42d015300e8a9516e9a19bc86cb189f709b47afbee50aa5ee4673e5e3",
|
|
||||||
"typeScriptVersion": "4.5",
|
|
||||||
"nonNpm": true
|
|
||||||
}
|
|
||||||
21
Websites/Jefes/Backend/node_modules/@types/node/LICENSE
generated
vendored
21
Websites/Jefes/Backend/node_modules/@types/node/LICENSE
generated
vendored
@ -1,21 +0,0 @@
|
|||||||
MIT License
|
|
||||||
|
|
||||||
Copyright (c) Microsoft Corporation.
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in all
|
|
||||||
copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
||||||
SOFTWARE
|
|
||||||
16
Websites/Jefes/Backend/node_modules/@types/node/README.md
generated
vendored
16
Websites/Jefes/Backend/node_modules/@types/node/README.md
generated
vendored
@ -1,16 +0,0 @@
|
|||||||
# Installation
|
|
||||||
> `npm install --save @types/node`
|
|
||||||
|
|
||||||
# Summary
|
|
||||||
This package contains type definitions for Node.js (https://nodejs.org/).
|
|
||||||
|
|
||||||
# Details
|
|
||||||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v17.
|
|
||||||
|
|
||||||
### Additional Details
|
|
||||||
* Last updated: Wed, 15 Jun 2022 23:01:35 GMT
|
|
||||||
* Dependencies: none
|
|
||||||
* Global values: `AbortController`, `AbortSignal`, `__dirname`, `__filename`, `console`, `exports`, `gc`, `global`, `module`, `process`, `require`, `structuredClone`
|
|
||||||
|
|
||||||
# Credits
|
|
||||||
These definitions were written by [Microsoft TypeScript](https://github.com/Microsoft), [DefinitelyTyped](https://github.com/DefinitelyTyped), [Alberto Schiabel](https://github.com/jkomyno), [Alvis HT Tang](https://github.com/alvis), [Andrew Makarov](https://github.com/r3nya), [Benjamin Toueg](https://github.com/btoueg), [Chigozirim C.](https://github.com/smac89), [David Junger](https://github.com/touffy), [Deividas Bakanas](https://github.com/DeividasBakanas), [Eugene Y. Q. Shen](https://github.com/eyqs), [Hannes Magnusson](https://github.com/Hannes-Magnusson-CK), [Huw](https://github.com/hoo29), [Kelvin Jin](https://github.com/kjin), [Klaus Meinhardt](https://github.com/ajafff), [Lishude](https://github.com/islishude), [Mariusz Wiktorczyk](https://github.com/mwiktorczyk), [Mohsen Azimi](https://github.com/mohsen1), [Nicolas Even](https://github.com/n-e), [Nikita Galkin](https://github.com/galkin), [Parambir Singh](https://github.com/parambirs), [Sebastian Silbermann](https://github.com/eps1lon), [Simon Schick](https://github.com/SimonSchick), [Thomas den Hollander](https://github.com/ThomasdenH), [Wilco Bakker](https://github.com/WilcoBakker), [wwwy3y3](https://github.com/wwwy3y3), [Samuel Ainsworth](https://github.com/samuela), [Kyle Uehlein](https://github.com/kuehlein), [Thanik Bhongbhibhat](https://github.com/bhongy), [Marcin Kopacz](https://github.com/chyzwar), [Trivikram Kamat](https://github.com/trivikr), [Junxiao Shi](https://github.com/yoursunny), [Ilia Baryshnikov](https://github.com/qwelias), [ExE Boss](https://github.com/ExE-Boss), [Piotr Błażejewicz](https://github.com/peterblazejewicz), [Anna Henningsen](https://github.com/addaleax), [Victor Perin](https://github.com/victorperin), [Yongsheng Zhang](https://github.com/ZYSzys), [NodeJS Contributors](https://github.com/NodeJS), [Linus Unnebäck](https://github.com/LinusU), and [wafuwafu13](https://github.com/wafuwafu13).
|
|
||||||
912
Websites/Jefes/Backend/node_modules/@types/node/assert.d.ts
generated
vendored
912
Websites/Jefes/Backend/node_modules/@types/node/assert.d.ts
generated
vendored
@ -1,912 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `assert` module provides a set of assertion functions for verifying
|
|
||||||
* invariants.
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/assert.js)
|
|
||||||
*/
|
|
||||||
declare module 'assert' {
|
|
||||||
/**
|
|
||||||
* An alias of {@link ok}.
|
|
||||||
* @since v0.5.9
|
|
||||||
* @param value The input that is checked for being truthy.
|
|
||||||
*/
|
|
||||||
function assert(value: unknown, message?: string | Error): asserts value;
|
|
||||||
namespace assert {
|
|
||||||
/**
|
|
||||||
* Indicates the failure of an assertion. All errors thrown by the `assert` module
|
|
||||||
* will be instances of the `AssertionError` class.
|
|
||||||
*/
|
|
||||||
class AssertionError extends Error {
|
|
||||||
actual: unknown;
|
|
||||||
expected: unknown;
|
|
||||||
operator: string;
|
|
||||||
generatedMessage: boolean;
|
|
||||||
code: 'ERR_ASSERTION';
|
|
||||||
constructor(options?: {
|
|
||||||
/** If provided, the error message is set to this value. */
|
|
||||||
message?: string | undefined;
|
|
||||||
/** The `actual` property on the error instance. */
|
|
||||||
actual?: unknown | undefined;
|
|
||||||
/** The `expected` property on the error instance. */
|
|
||||||
expected?: unknown | undefined;
|
|
||||||
/** The `operator` property on the error instance. */
|
|
||||||
operator?: string | undefined;
|
|
||||||
/** If provided, the generated stack trace omits frames before this function. */
|
|
||||||
// tslint:disable-next-line:ban-types
|
|
||||||
stackStartFn?: Function | undefined;
|
|
||||||
});
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* This feature is currently experimental and behavior might still change.
|
|
||||||
* @since v14.2.0, v12.19.0
|
|
||||||
* @experimental
|
|
||||||
*/
|
|
||||||
class CallTracker {
|
|
||||||
/**
|
|
||||||
* The wrapper function is expected to be called exactly `exact` times. If the
|
|
||||||
* function has not been called exactly `exact` times when `tracker.verify()` is called, then `tracker.verify()` will throw an
|
|
||||||
* error.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert';
|
|
||||||
*
|
|
||||||
* // Creates call tracker.
|
|
||||||
* const tracker = new assert.CallTracker();
|
|
||||||
*
|
|
||||||
* function func() {}
|
|
||||||
*
|
|
||||||
* // Returns a function that wraps func() that must be called exact times
|
|
||||||
* // before tracker.verify().
|
|
||||||
* const callsfunc = tracker.calls(func);
|
|
||||||
* ```
|
|
||||||
* @since v14.2.0, v12.19.0
|
|
||||||
* @param [fn='A no-op function']
|
|
||||||
* @param [exact=1]
|
|
||||||
* @return that wraps `fn`.
|
|
||||||
*/
|
|
||||||
calls(exact?: number): () => void;
|
|
||||||
calls<Func extends (...args: any[]) => any>(fn?: Func, exact?: number): Func;
|
|
||||||
/**
|
|
||||||
* The arrays contains information about the expected and actual number of calls of
|
|
||||||
* the functions that have not been called the expected number of times.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert';
|
|
||||||
*
|
|
||||||
* // Creates call tracker.
|
|
||||||
* const tracker = new assert.CallTracker();
|
|
||||||
*
|
|
||||||
* function func() {}
|
|
||||||
*
|
|
||||||
* function foo() {}
|
|
||||||
*
|
|
||||||
* // Returns a function that wraps func() that must be called exact times
|
|
||||||
* // before tracker.verify().
|
|
||||||
* const callsfunc = tracker.calls(func, 2);
|
|
||||||
*
|
|
||||||
* // Returns an array containing information on callsfunc()
|
|
||||||
* tracker.report();
|
|
||||||
* // [
|
|
||||||
* // {
|
|
||||||
* // message: 'Expected the func function to be executed 2 time(s) but was
|
|
||||||
* // executed 0 time(s).',
|
|
||||||
* // actual: 0,
|
|
||||||
* // expected: 2,
|
|
||||||
* // operator: 'func',
|
|
||||||
* // stack: stack trace
|
|
||||||
* // }
|
|
||||||
* // ]
|
|
||||||
* ```
|
|
||||||
* @since v14.2.0, v12.19.0
|
|
||||||
* @return of objects containing information about the wrapper functions returned by `calls`.
|
|
||||||
*/
|
|
||||||
report(): CallTrackerReportInformation[];
|
|
||||||
/**
|
|
||||||
* Iterates through the list of functions passed to `tracker.calls()` and will throw an error for functions that
|
|
||||||
* have not been called the expected number of times.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert';
|
|
||||||
*
|
|
||||||
* // Creates call tracker.
|
|
||||||
* const tracker = new assert.CallTracker();
|
|
||||||
*
|
|
||||||
* function func() {}
|
|
||||||
*
|
|
||||||
* // Returns a function that wraps func() that must be called exact times
|
|
||||||
* // before tracker.verify().
|
|
||||||
* const callsfunc = tracker.calls(func, 2);
|
|
||||||
*
|
|
||||||
* callsfunc();
|
|
||||||
*
|
|
||||||
* // Will throw an error since callsfunc() was only called once.
|
|
||||||
* tracker.verify();
|
|
||||||
* ```
|
|
||||||
* @since v14.2.0, v12.19.0
|
|
||||||
*/
|
|
||||||
verify(): void;
|
|
||||||
}
|
|
||||||
interface CallTrackerReportInformation {
|
|
||||||
message: string;
|
|
||||||
/** The actual number of times the function was called. */
|
|
||||||
actual: number;
|
|
||||||
/** The number of times the function was expected to be called. */
|
|
||||||
expected: number;
|
|
||||||
/** The name of the function that is wrapped. */
|
|
||||||
operator: string;
|
|
||||||
/** A stack trace of the function. */
|
|
||||||
stack: object;
|
|
||||||
}
|
|
||||||
type AssertPredicate = RegExp | (new () => object) | ((thrown: unknown) => boolean) | object | Error;
|
|
||||||
/**
|
|
||||||
* Throws an `AssertionError` with the provided error message or a default
|
|
||||||
* error message. If the `message` parameter is an instance of an `Error` then
|
|
||||||
* it will be thrown instead of the `AssertionError`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* assert.fail();
|
|
||||||
* // AssertionError [ERR_ASSERTION]: Failed
|
|
||||||
*
|
|
||||||
* assert.fail('boom');
|
|
||||||
* // AssertionError [ERR_ASSERTION]: boom
|
|
||||||
*
|
|
||||||
* assert.fail(new TypeError('need array'));
|
|
||||||
* // TypeError: need array
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Using `assert.fail()` with more than two arguments is possible but deprecated.
|
|
||||||
* See below for further details.
|
|
||||||
* @since v0.1.21
|
|
||||||
* @param [message='Failed']
|
|
||||||
*/
|
|
||||||
function fail(message?: string | Error): never;
|
|
||||||
/** @deprecated since v10.0.0 - use fail([message]) or other assert functions instead. */
|
|
||||||
function fail(
|
|
||||||
actual: unknown,
|
|
||||||
expected: unknown,
|
|
||||||
message?: string | Error,
|
|
||||||
operator?: string,
|
|
||||||
// tslint:disable-next-line:ban-types
|
|
||||||
stackStartFn?: Function
|
|
||||||
): never;
|
|
||||||
/**
|
|
||||||
* Tests if `value` is truthy. It is equivalent to`assert.equal(!!value, true, message)`.
|
|
||||||
*
|
|
||||||
* If `value` is not truthy, an `AssertionError` is thrown with a `message`property set equal to the value of the `message` parameter. If the `message`parameter is `undefined`, a default
|
|
||||||
* error message is assigned. If the `message`parameter is an instance of an `Error` then it will be thrown instead of the`AssertionError`.
|
|
||||||
* If no arguments are passed in at all `message` will be set to the string:`` 'No value argument passed to `assert.ok()`' ``.
|
|
||||||
*
|
|
||||||
* Be aware that in the `repl` the error message will be different to the one
|
|
||||||
* thrown in a file! See below for further details.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* assert.ok(true);
|
|
||||||
* // OK
|
|
||||||
* assert.ok(1);
|
|
||||||
* // OK
|
|
||||||
*
|
|
||||||
* assert.ok();
|
|
||||||
* // AssertionError: No value argument passed to `assert.ok()`
|
|
||||||
*
|
|
||||||
* assert.ok(false, 'it\'s false');
|
|
||||||
* // AssertionError: it's false
|
|
||||||
*
|
|
||||||
* // In the repl:
|
|
||||||
* assert.ok(typeof 123 === 'string');
|
|
||||||
* // AssertionError: false == true
|
|
||||||
*
|
|
||||||
* // In a file (e.g. test.js):
|
|
||||||
* assert.ok(typeof 123 === 'string');
|
|
||||||
* // AssertionError: The expression evaluated to a falsy value:
|
|
||||||
* //
|
|
||||||
* // assert.ok(typeof 123 === 'string')
|
|
||||||
*
|
|
||||||
* assert.ok(false);
|
|
||||||
* // AssertionError: The expression evaluated to a falsy value:
|
|
||||||
* //
|
|
||||||
* // assert.ok(false)
|
|
||||||
*
|
|
||||||
* assert.ok(0);
|
|
||||||
* // AssertionError: The expression evaluated to a falsy value:
|
|
||||||
* //
|
|
||||||
* // assert.ok(0)
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* // Using `assert()` works the same:
|
|
||||||
* assert(0);
|
|
||||||
* // AssertionError: The expression evaluated to a falsy value:
|
|
||||||
* //
|
|
||||||
* // assert(0)
|
|
||||||
* ```
|
|
||||||
* @since v0.1.21
|
|
||||||
*/
|
|
||||||
function ok(value: unknown, message?: string | Error): asserts value;
|
|
||||||
/**
|
|
||||||
* **Strict assertion mode**
|
|
||||||
*
|
|
||||||
* An alias of {@link strictEqual}.
|
|
||||||
*
|
|
||||||
* **Legacy assertion mode**
|
|
||||||
*
|
|
||||||
* > Stability: 3 - Legacy: Use {@link strictEqual} instead.
|
|
||||||
*
|
|
||||||
* Tests shallow, coercive equality between the `actual` and `expected` parameters
|
|
||||||
* using the [Abstract Equality Comparison](https://tc39.github.io/ecma262/#sec-abstract-equality-comparison) ( `==` ). `NaN` is special handled
|
|
||||||
* and treated as being identical in case both sides are `NaN`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert';
|
|
||||||
*
|
|
||||||
* assert.equal(1, 1);
|
|
||||||
* // OK, 1 == 1
|
|
||||||
* assert.equal(1, '1');
|
|
||||||
* // OK, 1 == '1'
|
|
||||||
* assert.equal(NaN, NaN);
|
|
||||||
* // OK
|
|
||||||
*
|
|
||||||
* assert.equal(1, 2);
|
|
||||||
* // AssertionError: 1 == 2
|
|
||||||
* assert.equal({ a: { b: 1 } }, { a: { b: 1 } });
|
|
||||||
* // AssertionError: { a: { b: 1 } } == { a: { b: 1 } }
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* If the values are not equal, an `AssertionError` is thrown with a `message`property set equal to the value of the `message` parameter. If the `message`parameter is undefined, a default
|
|
||||||
* error message is assigned. If the `message`parameter is an instance of an `Error` then it will be thrown instead of the`AssertionError`.
|
|
||||||
* @since v0.1.21
|
|
||||||
*/
|
|
||||||
function equal(actual: unknown, expected: unknown, message?: string | Error): void;
|
|
||||||
/**
|
|
||||||
* **Strict assertion mode**
|
|
||||||
*
|
|
||||||
* An alias of {@link notStrictEqual}.
|
|
||||||
*
|
|
||||||
* **Legacy assertion mode**
|
|
||||||
*
|
|
||||||
* > Stability: 3 - Legacy: Use {@link notStrictEqual} instead.
|
|
||||||
*
|
|
||||||
* Tests shallow, coercive inequality with the [Abstract Equality Comparison](https://tc39.github.io/ecma262/#sec-abstract-equality-comparison)(`!=` ). `NaN` is special handled and treated as
|
|
||||||
* being identical in case both
|
|
||||||
* sides are `NaN`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert';
|
|
||||||
*
|
|
||||||
* assert.notEqual(1, 2);
|
|
||||||
* // OK
|
|
||||||
*
|
|
||||||
* assert.notEqual(1, 1);
|
|
||||||
* // AssertionError: 1 != 1
|
|
||||||
*
|
|
||||||
* assert.notEqual(1, '1');
|
|
||||||
* // AssertionError: 1 != '1'
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* If the values are equal, an `AssertionError` is thrown with a `message`property set equal to the value of the `message` parameter. If the `message`parameter is undefined, a default error
|
|
||||||
* message is assigned. If the `message`parameter is an instance of an `Error` then it will be thrown instead of the`AssertionError`.
|
|
||||||
* @since v0.1.21
|
|
||||||
*/
|
|
||||||
function notEqual(actual: unknown, expected: unknown, message?: string | Error): void;
|
|
||||||
/**
|
|
||||||
* **Strict assertion mode**
|
|
||||||
*
|
|
||||||
* An alias of {@link deepStrictEqual}.
|
|
||||||
*
|
|
||||||
* **Legacy assertion mode**
|
|
||||||
*
|
|
||||||
* > Stability: 3 - Legacy: Use {@link deepStrictEqual} instead.
|
|
||||||
*
|
|
||||||
* Tests for deep equality between the `actual` and `expected` parameters. Consider
|
|
||||||
* using {@link deepStrictEqual} instead. {@link deepEqual} can have
|
|
||||||
* surprising results.
|
|
||||||
*
|
|
||||||
* _Deep equality_ means that the enumerable "own" properties of child objects
|
|
||||||
* are also recursively evaluated by the following rules.
|
|
||||||
* @since v0.1.21
|
|
||||||
*/
|
|
||||||
function deepEqual(actual: unknown, expected: unknown, message?: string | Error): void;
|
|
||||||
/**
|
|
||||||
* **Strict assertion mode**
|
|
||||||
*
|
|
||||||
* An alias of {@link notDeepStrictEqual}.
|
|
||||||
*
|
|
||||||
* **Legacy assertion mode**
|
|
||||||
*
|
|
||||||
* > Stability: 3 - Legacy: Use {@link notDeepStrictEqual} instead.
|
|
||||||
*
|
|
||||||
* Tests for any deep inequality. Opposite of {@link deepEqual}.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert';
|
|
||||||
*
|
|
||||||
* const obj1 = {
|
|
||||||
* a: {
|
|
||||||
* b: 1
|
|
||||||
* }
|
|
||||||
* };
|
|
||||||
* const obj2 = {
|
|
||||||
* a: {
|
|
||||||
* b: 2
|
|
||||||
* }
|
|
||||||
* };
|
|
||||||
* const obj3 = {
|
|
||||||
* a: {
|
|
||||||
* b: 1
|
|
||||||
* }
|
|
||||||
* };
|
|
||||||
* const obj4 = Object.create(obj1);
|
|
||||||
*
|
|
||||||
* assert.notDeepEqual(obj1, obj1);
|
|
||||||
* // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } }
|
|
||||||
*
|
|
||||||
* assert.notDeepEqual(obj1, obj2);
|
|
||||||
* // OK
|
|
||||||
*
|
|
||||||
* assert.notDeepEqual(obj1, obj3);
|
|
||||||
* // AssertionError: { a: { b: 1 } } notDeepEqual { a: { b: 1 } }
|
|
||||||
*
|
|
||||||
* assert.notDeepEqual(obj1, obj4);
|
|
||||||
* // OK
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* If the values are deeply equal, an `AssertionError` is thrown with a`message` property set equal to the value of the `message` parameter. If the`message` parameter is undefined, a default
|
|
||||||
* error message is assigned. If the`message` parameter is an instance of an `Error` then it will be thrown
|
|
||||||
* instead of the `AssertionError`.
|
|
||||||
* @since v0.1.21
|
|
||||||
*/
|
|
||||||
function notDeepEqual(actual: unknown, expected: unknown, message?: string | Error): void;
|
|
||||||
/**
|
|
||||||
* Tests strict equality between the `actual` and `expected` parameters as
|
|
||||||
* determined by the [SameValue Comparison](https://tc39.github.io/ecma262/#sec-samevalue).
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* assert.strictEqual(1, 2);
|
|
||||||
* // AssertionError [ERR_ASSERTION]: Expected inputs to be strictly equal:
|
|
||||||
* //
|
|
||||||
* // 1 !== 2
|
|
||||||
*
|
|
||||||
* assert.strictEqual(1, 1);
|
|
||||||
* // OK
|
|
||||||
*
|
|
||||||
* assert.strictEqual('Hello foobar', 'Hello World!');
|
|
||||||
* // AssertionError [ERR_ASSERTION]: Expected inputs to be strictly equal:
|
|
||||||
* // + actual - expected
|
|
||||||
* //
|
|
||||||
* // + 'Hello foobar'
|
|
||||||
* // - 'Hello World!'
|
|
||||||
* // ^
|
|
||||||
*
|
|
||||||
* const apples = 1;
|
|
||||||
* const oranges = 2;
|
|
||||||
* assert.strictEqual(apples, oranges, `apples ${apples} !== oranges ${oranges}`);
|
|
||||||
* // AssertionError [ERR_ASSERTION]: apples 1 !== oranges 2
|
|
||||||
*
|
|
||||||
* assert.strictEqual(1, '1', new TypeError('Inputs are not identical'));
|
|
||||||
* // TypeError: Inputs are not identical
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* If the values are not strictly equal, an `AssertionError` is thrown with a`message` property set equal to the value of the `message` parameter. If the`message` parameter is undefined, a
|
|
||||||
* default error message is assigned. If the`message` parameter is an instance of an `Error` then it will be thrown
|
|
||||||
* instead of the `AssertionError`.
|
|
||||||
* @since v0.1.21
|
|
||||||
*/
|
|
||||||
function strictEqual<T>(actual: unknown, expected: T, message?: string | Error): asserts actual is T;
|
|
||||||
/**
|
|
||||||
* Tests strict inequality between the `actual` and `expected` parameters as
|
|
||||||
* determined by the [SameValue Comparison](https://tc39.github.io/ecma262/#sec-samevalue).
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* assert.notStrictEqual(1, 2);
|
|
||||||
* // OK
|
|
||||||
*
|
|
||||||
* assert.notStrictEqual(1, 1);
|
|
||||||
* // AssertionError [ERR_ASSERTION]: Expected "actual" to be strictly unequal to:
|
|
||||||
* //
|
|
||||||
* // 1
|
|
||||||
*
|
|
||||||
* assert.notStrictEqual(1, '1');
|
|
||||||
* // OK
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* If the values are strictly equal, an `AssertionError` is thrown with a`message` property set equal to the value of the `message` parameter. If the`message` parameter is undefined, a
|
|
||||||
* default error message is assigned. If the`message` parameter is an instance of an `Error` then it will be thrown
|
|
||||||
* instead of the `AssertionError`.
|
|
||||||
* @since v0.1.21
|
|
||||||
*/
|
|
||||||
function notStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void;
|
|
||||||
/**
|
|
||||||
* Tests for deep equality between the `actual` and `expected` parameters.
|
|
||||||
* "Deep" equality means that the enumerable "own" properties of child objects
|
|
||||||
* are recursively evaluated also by the following rules.
|
|
||||||
* @since v1.2.0
|
|
||||||
*/
|
|
||||||
function deepStrictEqual<T>(actual: unknown, expected: T, message?: string | Error): asserts actual is T;
|
|
||||||
/**
|
|
||||||
* Tests for deep strict inequality. Opposite of {@link deepStrictEqual}.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* assert.notDeepStrictEqual({ a: 1 }, { a: '1' });
|
|
||||||
* // OK
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* If the values are deeply and strictly equal, an `AssertionError` is thrown
|
|
||||||
* with a `message` property set equal to the value of the `message` parameter. If
|
|
||||||
* the `message` parameter is undefined, a default error message is assigned. If
|
|
||||||
* the `message` parameter is an instance of an `Error` then it will be thrown
|
|
||||||
* instead of the `AssertionError`.
|
|
||||||
* @since v1.2.0
|
|
||||||
*/
|
|
||||||
function notDeepStrictEqual(actual: unknown, expected: unknown, message?: string | Error): void;
|
|
||||||
/**
|
|
||||||
* Expects the function `fn` to throw an error.
|
|
||||||
*
|
|
||||||
* If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes),
|
|
||||||
* [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), a validation function,
|
|
||||||
* a validation object where each property will be tested for strict deep equality,
|
|
||||||
* or an instance of error where each property will be tested for strict deep
|
|
||||||
* equality including the non-enumerable `message` and `name` properties. When
|
|
||||||
* using an object, it is also possible to use a regular expression, when
|
|
||||||
* validating against a string property. See below for examples.
|
|
||||||
*
|
|
||||||
* If specified, `message` will be appended to the message provided by the`AssertionError` if the `fn` call fails to throw or in case the error validation
|
|
||||||
* fails.
|
|
||||||
*
|
|
||||||
* Custom validation object/error instance:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* const err = new TypeError('Wrong value');
|
|
||||||
* err.code = 404;
|
|
||||||
* err.foo = 'bar';
|
|
||||||
* err.info = {
|
|
||||||
* nested: true,
|
|
||||||
* baz: 'text'
|
|
||||||
* };
|
|
||||||
* err.reg = /abc/i;
|
|
||||||
*
|
|
||||||
* assert.throws(
|
|
||||||
* () => {
|
|
||||||
* throw err;
|
|
||||||
* },
|
|
||||||
* {
|
|
||||||
* name: 'TypeError',
|
|
||||||
* message: 'Wrong value',
|
|
||||||
* info: {
|
|
||||||
* nested: true,
|
|
||||||
* baz: 'text'
|
|
||||||
* }
|
|
||||||
* // Only properties on the validation object will be tested for.
|
|
||||||
* // Using nested objects requires all properties to be present. Otherwise
|
|
||||||
* // the validation is going to fail.
|
|
||||||
* }
|
|
||||||
* );
|
|
||||||
*
|
|
||||||
* // Using regular expressions to validate error properties:
|
|
||||||
* throws(
|
|
||||||
* () => {
|
|
||||||
* throw err;
|
|
||||||
* },
|
|
||||||
* {
|
|
||||||
* // The `name` and `message` properties are strings and using regular
|
|
||||||
* // expressions on those will match against the string. If they fail, an
|
|
||||||
* // error is thrown.
|
|
||||||
* name: /^TypeError$/,
|
|
||||||
* message: /Wrong/,
|
|
||||||
* foo: 'bar',
|
|
||||||
* info: {
|
|
||||||
* nested: true,
|
|
||||||
* // It is not possible to use regular expressions for nested properties!
|
|
||||||
* baz: 'text'
|
|
||||||
* },
|
|
||||||
* // The `reg` property contains a regular expression and only if the
|
|
||||||
* // validation object contains an identical regular expression, it is going
|
|
||||||
* // to pass.
|
|
||||||
* reg: /abc/i
|
|
||||||
* }
|
|
||||||
* );
|
|
||||||
*
|
|
||||||
* // Fails due to the different `message` and `name` properties:
|
|
||||||
* throws(
|
|
||||||
* () => {
|
|
||||||
* const otherErr = new Error('Not found');
|
|
||||||
* // Copy all enumerable properties from `err` to `otherErr`.
|
|
||||||
* for (const [key, value] of Object.entries(err)) {
|
|
||||||
* otherErr[key] = value;
|
|
||||||
* }
|
|
||||||
* throw otherErr;
|
|
||||||
* },
|
|
||||||
* // The error's `message` and `name` properties will also be checked when using
|
|
||||||
* // an error as validation object.
|
|
||||||
* err
|
|
||||||
* );
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Validate instanceof using constructor:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* assert.throws(
|
|
||||||
* () => {
|
|
||||||
* throw new Error('Wrong value');
|
|
||||||
* },
|
|
||||||
* Error
|
|
||||||
* );
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Validate error message using [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions):
|
|
||||||
*
|
|
||||||
* Using a regular expression runs `.toString` on the error object, and will
|
|
||||||
* therefore also include the error name.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* assert.throws(
|
|
||||||
* () => {
|
|
||||||
* throw new Error('Wrong value');
|
|
||||||
* },
|
|
||||||
* /^Error: Wrong value$/
|
|
||||||
* );
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Custom error validation:
|
|
||||||
*
|
|
||||||
* The function must return `true` to indicate all internal validations passed.
|
|
||||||
* It will otherwise fail with an `AssertionError`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* assert.throws(
|
|
||||||
* () => {
|
|
||||||
* throw new Error('Wrong value');
|
|
||||||
* },
|
|
||||||
* (err) => {
|
|
||||||
* assert(err instanceof Error);
|
|
||||||
* assert(/value/.test(err));
|
|
||||||
* // Avoid returning anything from validation functions besides `true`.
|
|
||||||
* // Otherwise, it's not clear what part of the validation failed. Instead,
|
|
||||||
* // throw an error about the specific validation that failed (as done in this
|
|
||||||
* // example) and add as much helpful debugging information to that error as
|
|
||||||
* // possible.
|
|
||||||
* return true;
|
|
||||||
* },
|
|
||||||
* 'unexpected error'
|
|
||||||
* );
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* `error` cannot be a string. If a string is provided as the second
|
|
||||||
* argument, then `error` is assumed to be omitted and the string will be used for`message` instead. This can lead to easy-to-miss mistakes. Using the same
|
|
||||||
* message as the thrown error message is going to result in an`ERR_AMBIGUOUS_ARGUMENT` error. Please read the example below carefully if using
|
|
||||||
* a string as the second argument gets considered:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* function throwingFirst() {
|
|
||||||
* throw new Error('First');
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* function throwingSecond() {
|
|
||||||
* throw new Error('Second');
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* function notThrowing() {}
|
|
||||||
*
|
|
||||||
* // The second argument is a string and the input function threw an Error.
|
|
||||||
* // The first case will not throw as it does not match for the error message
|
|
||||||
* // thrown by the input function!
|
|
||||||
* assert.throws(throwingFirst, 'Second');
|
|
||||||
* // In the next example the message has no benefit over the message from the
|
|
||||||
* // error and since it is not clear if the user intended to actually match
|
|
||||||
* // against the error message, Node.js throws an `ERR_AMBIGUOUS_ARGUMENT` error.
|
|
||||||
* assert.throws(throwingSecond, 'Second');
|
|
||||||
* // TypeError [ERR_AMBIGUOUS_ARGUMENT]
|
|
||||||
*
|
|
||||||
* // The string is only used (as message) in case the function does not throw:
|
|
||||||
* assert.throws(notThrowing, 'Second');
|
|
||||||
* // AssertionError [ERR_ASSERTION]: Missing expected exception: Second
|
|
||||||
*
|
|
||||||
* // If it was intended to match for the error message do this instead:
|
|
||||||
* // It does not throw because the error messages match.
|
|
||||||
* assert.throws(throwingSecond, /Second$/);
|
|
||||||
*
|
|
||||||
* // If the error message does not match, an AssertionError is thrown.
|
|
||||||
* assert.throws(throwingFirst, /Second$/);
|
|
||||||
* // AssertionError [ERR_ASSERTION]
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Due to the confusing error-prone notation, avoid a string as the second
|
|
||||||
* argument.
|
|
||||||
* @since v0.1.21
|
|
||||||
*/
|
|
||||||
function throws(block: () => unknown, message?: string | Error): void;
|
|
||||||
function throws(block: () => unknown, error: AssertPredicate, message?: string | Error): void;
|
|
||||||
/**
|
|
||||||
* Asserts that the function `fn` does not throw an error.
|
|
||||||
*
|
|
||||||
* Using `assert.doesNotThrow()` is actually not useful because there
|
|
||||||
* is no benefit in catching an error and then rethrowing it. Instead, consider
|
|
||||||
* adding a comment next to the specific code path that should not throw and keep
|
|
||||||
* error messages as expressive as possible.
|
|
||||||
*
|
|
||||||
* When `assert.doesNotThrow()` is called, it will immediately call the `fn`function.
|
|
||||||
*
|
|
||||||
* If an error is thrown and it is the same type as that specified by the `error`parameter, then an `AssertionError` is thrown. If the error is of a
|
|
||||||
* different type, or if the `error` parameter is undefined, the error is
|
|
||||||
* propagated back to the caller.
|
|
||||||
*
|
|
||||||
* If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes),
|
|
||||||
* [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions) or a validation
|
|
||||||
* function. See {@link throws} for more details.
|
|
||||||
*
|
|
||||||
* The following, for instance, will throw the `TypeError` because there is no
|
|
||||||
* matching error type in the assertion:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* assert.doesNotThrow(
|
|
||||||
* () => {
|
|
||||||
* throw new TypeError('Wrong value');
|
|
||||||
* },
|
|
||||||
* SyntaxError
|
|
||||||
* );
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* However, the following will result in an `AssertionError` with the message
|
|
||||||
* 'Got unwanted exception...':
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* assert.doesNotThrow(
|
|
||||||
* () => {
|
|
||||||
* throw new TypeError('Wrong value');
|
|
||||||
* },
|
|
||||||
* TypeError
|
|
||||||
* );
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* If an `AssertionError` is thrown and a value is provided for the `message`parameter, the value of `message` will be appended to the `AssertionError` message:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* assert.doesNotThrow(
|
|
||||||
* () => {
|
|
||||||
* throw new TypeError('Wrong value');
|
|
||||||
* },
|
|
||||||
* /Wrong value/,
|
|
||||||
* 'Whoops'
|
|
||||||
* );
|
|
||||||
* // Throws: AssertionError: Got unwanted exception: Whoops
|
|
||||||
* ```
|
|
||||||
* @since v0.1.21
|
|
||||||
*/
|
|
||||||
function doesNotThrow(block: () => unknown, message?: string | Error): void;
|
|
||||||
function doesNotThrow(block: () => unknown, error: AssertPredicate, message?: string | Error): void;
|
|
||||||
/**
|
|
||||||
* Throws `value` if `value` is not `undefined` or `null`. This is useful when
|
|
||||||
* testing the `error` argument in callbacks. The stack trace contains all frames
|
|
||||||
* from the error passed to `ifError()` including the potential new frames for`ifError()` itself.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* assert.ifError(null);
|
|
||||||
* // OK
|
|
||||||
* assert.ifError(0);
|
|
||||||
* // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: 0
|
|
||||||
* assert.ifError('error');
|
|
||||||
* // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: 'error'
|
|
||||||
* assert.ifError(new Error());
|
|
||||||
* // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Error
|
|
||||||
*
|
|
||||||
* // Create some random error frames.
|
|
||||||
* let err;
|
|
||||||
* (function errorFrame() {
|
|
||||||
* err = new Error('test error');
|
|
||||||
* })();
|
|
||||||
*
|
|
||||||
* (function ifErrorFrame() {
|
|
||||||
* assert.ifError(err);
|
|
||||||
* })();
|
|
||||||
* // AssertionError [ERR_ASSERTION]: ifError got unwanted exception: test error
|
|
||||||
* // at ifErrorFrame
|
|
||||||
* // at errorFrame
|
|
||||||
* ```
|
|
||||||
* @since v0.1.97
|
|
||||||
*/
|
|
||||||
function ifError(value: unknown): asserts value is null | undefined;
|
|
||||||
/**
|
|
||||||
* Awaits the `asyncFn` promise or, if `asyncFn` is a function, immediately
|
|
||||||
* calls the function and awaits the returned promise to complete. It will then
|
|
||||||
* check that the promise is rejected.
|
|
||||||
*
|
|
||||||
* If `asyncFn` is a function and it throws an error synchronously,`assert.rejects()` will return a rejected `Promise` with that error. If the
|
|
||||||
* function does not return a promise, `assert.rejects()` will return a rejected`Promise` with an `ERR_INVALID_RETURN_VALUE` error. In both cases the error
|
|
||||||
* handler is skipped.
|
|
||||||
*
|
|
||||||
* Besides the async nature to await the completion behaves identically to {@link throws}.
|
|
||||||
*
|
|
||||||
* If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes),
|
|
||||||
* [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions), a validation function,
|
|
||||||
* an object where each property will be tested for, or an instance of error where
|
|
||||||
* each property will be tested for including the non-enumerable `message` and`name` properties.
|
|
||||||
*
|
|
||||||
* If specified, `message` will be the message provided by the `AssertionError` if the `asyncFn` fails to reject.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* await assert.rejects(
|
|
||||||
* async () => {
|
|
||||||
* throw new TypeError('Wrong value');
|
|
||||||
* },
|
|
||||||
* {
|
|
||||||
* name: 'TypeError',
|
|
||||||
* message: 'Wrong value'
|
|
||||||
* }
|
|
||||||
* );
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* await assert.rejects(
|
|
||||||
* async () => {
|
|
||||||
* throw new TypeError('Wrong value');
|
|
||||||
* },
|
|
||||||
* (err) => {
|
|
||||||
* assert.strictEqual(err.name, 'TypeError');
|
|
||||||
* assert.strictEqual(err.message, 'Wrong value');
|
|
||||||
* return true;
|
|
||||||
* }
|
|
||||||
* );
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* assert.rejects(
|
|
||||||
* Promise.reject(new Error('Wrong value')),
|
|
||||||
* Error
|
|
||||||
* ).then(() => {
|
|
||||||
* // ...
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* `error` cannot be a string. If a string is provided as the second
|
|
||||||
* argument, then `error` is assumed to be omitted and the string will be used for`message` instead. This can lead to easy-to-miss mistakes. Please read the
|
|
||||||
* example in {@link throws} carefully if using a string as the second
|
|
||||||
* argument gets considered.
|
|
||||||
* @since v10.0.0
|
|
||||||
*/
|
|
||||||
function rejects(block: (() => Promise<unknown>) | Promise<unknown>, message?: string | Error): Promise<void>;
|
|
||||||
function rejects(block: (() => Promise<unknown>) | Promise<unknown>, error: AssertPredicate, message?: string | Error): Promise<void>;
|
|
||||||
/**
|
|
||||||
* Awaits the `asyncFn` promise or, if `asyncFn` is a function, immediately
|
|
||||||
* calls the function and awaits the returned promise to complete. It will then
|
|
||||||
* check that the promise is not rejected.
|
|
||||||
*
|
|
||||||
* If `asyncFn` is a function and it throws an error synchronously,`assert.doesNotReject()` will return a rejected `Promise` with that error. If
|
|
||||||
* the function does not return a promise, `assert.doesNotReject()` will return a
|
|
||||||
* rejected `Promise` with an `ERR_INVALID_RETURN_VALUE` error. In both cases
|
|
||||||
* the error handler is skipped.
|
|
||||||
*
|
|
||||||
* Using `assert.doesNotReject()` is actually not useful because there is little
|
|
||||||
* benefit in catching a rejection and then rejecting it again. Instead, consider
|
|
||||||
* adding a comment next to the specific code path that should not reject and keep
|
|
||||||
* error messages as expressive as possible.
|
|
||||||
*
|
|
||||||
* If specified, `error` can be a [`Class`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes),
|
|
||||||
* [`RegExp`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions) or a validation
|
|
||||||
* function. See {@link throws} for more details.
|
|
||||||
*
|
|
||||||
* Besides the async nature to await the completion behaves identically to {@link doesNotThrow}.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* await assert.doesNotReject(
|
|
||||||
* async () => {
|
|
||||||
* throw new TypeError('Wrong value');
|
|
||||||
* },
|
|
||||||
* SyntaxError
|
|
||||||
* );
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* assert.doesNotReject(Promise.reject(new TypeError('Wrong value')))
|
|
||||||
* .then(() => {
|
|
||||||
* // ...
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
* @since v10.0.0
|
|
||||||
*/
|
|
||||||
function doesNotReject(block: (() => Promise<unknown>) | Promise<unknown>, message?: string | Error): Promise<void>;
|
|
||||||
function doesNotReject(block: (() => Promise<unknown>) | Promise<unknown>, error: AssertPredicate, message?: string | Error): Promise<void>;
|
|
||||||
/**
|
|
||||||
* Expects the `string` input to match the regular expression.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* assert.match('I will fail', /pass/);
|
|
||||||
* // AssertionError [ERR_ASSERTION]: The input did not match the regular ...
|
|
||||||
*
|
|
||||||
* assert.match(123, /pass/);
|
|
||||||
* // AssertionError [ERR_ASSERTION]: The "string" argument must be of type string.
|
|
||||||
*
|
|
||||||
* assert.match('I will pass', /pass/);
|
|
||||||
* // OK
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* If the values do not match, or if the `string` argument is of another type than`string`, an `AssertionError` is thrown with a `message` property set equal
|
|
||||||
* to the value of the `message` parameter. If the `message` parameter is
|
|
||||||
* undefined, a default error message is assigned. If the `message` parameter is an
|
|
||||||
* instance of an `Error` then it will be thrown instead of the `AssertionError`.
|
|
||||||
* @since v13.6.0, v12.16.0
|
|
||||||
*/
|
|
||||||
function match(value: string, regExp: RegExp, message?: string | Error): void;
|
|
||||||
/**
|
|
||||||
* Expects the `string` input not to match the regular expression.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import assert from 'assert/strict';
|
|
||||||
*
|
|
||||||
* assert.doesNotMatch('I will fail', /fail/);
|
|
||||||
* // AssertionError [ERR_ASSERTION]: The input was expected to not match the ...
|
|
||||||
*
|
|
||||||
* assert.doesNotMatch(123, /pass/);
|
|
||||||
* // AssertionError [ERR_ASSERTION]: The "string" argument must be of type string.
|
|
||||||
*
|
|
||||||
* assert.doesNotMatch('I will pass', /different/);
|
|
||||||
* // OK
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* If the values do match, or if the `string` argument is of another type than`string`, an `AssertionError` is thrown with a `message` property set equal
|
|
||||||
* to the value of the `message` parameter. If the `message` parameter is
|
|
||||||
* undefined, a default error message is assigned. If the `message` parameter is an
|
|
||||||
* instance of an `Error` then it will be thrown instead of the `AssertionError`.
|
|
||||||
* @since v13.6.0, v12.16.0
|
|
||||||
*/
|
|
||||||
function doesNotMatch(value: string, regExp: RegExp, message?: string | Error): void;
|
|
||||||
const strict: Omit<typeof assert, 'equal' | 'notEqual' | 'deepEqual' | 'notDeepEqual' | 'ok' | 'strictEqual' | 'deepStrictEqual' | 'ifError' | 'strict'> & {
|
|
||||||
(value: unknown, message?: string | Error): asserts value;
|
|
||||||
equal: typeof strictEqual;
|
|
||||||
notEqual: typeof notStrictEqual;
|
|
||||||
deepEqual: typeof deepStrictEqual;
|
|
||||||
notDeepEqual: typeof notDeepStrictEqual;
|
|
||||||
// Mapped types and assertion functions are incompatible?
|
|
||||||
// TS2775: Assertions require every name in the call target
|
|
||||||
// to be declared with an explicit type annotation.
|
|
||||||
ok: typeof ok;
|
|
||||||
strictEqual: typeof strictEqual;
|
|
||||||
deepStrictEqual: typeof deepStrictEqual;
|
|
||||||
ifError: typeof ifError;
|
|
||||||
strict: typeof strict;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
export = assert;
|
|
||||||
}
|
|
||||||
declare module 'node:assert' {
|
|
||||||
import assert = require('assert');
|
|
||||||
export = assert;
|
|
||||||
}
|
|
||||||
8
Websites/Jefes/Backend/node_modules/@types/node/assert/strict.d.ts
generated
vendored
8
Websites/Jefes/Backend/node_modules/@types/node/assert/strict.d.ts
generated
vendored
@ -1,8 +0,0 @@
|
|||||||
declare module 'assert/strict' {
|
|
||||||
import { strict } from 'node:assert';
|
|
||||||
export = strict;
|
|
||||||
}
|
|
||||||
declare module 'node:assert/strict' {
|
|
||||||
import { strict } from 'node:assert';
|
|
||||||
export = strict;
|
|
||||||
}
|
|
||||||
501
Websites/Jefes/Backend/node_modules/@types/node/async_hooks.d.ts
generated
vendored
501
Websites/Jefes/Backend/node_modules/@types/node/async_hooks.d.ts
generated
vendored
@ -1,501 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `async_hooks` module provides an API to track asynchronous resources. It
|
|
||||||
* can be accessed using:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import async_hooks from 'async_hooks';
|
|
||||||
* ```
|
|
||||||
* @experimental
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/async_hooks.js)
|
|
||||||
*/
|
|
||||||
declare module 'async_hooks' {
|
|
||||||
/**
|
|
||||||
* ```js
|
|
||||||
* import { executionAsyncId } from 'async_hooks';
|
|
||||||
*
|
|
||||||
* console.log(executionAsyncId()); // 1 - bootstrap
|
|
||||||
* fs.open(path, 'r', (err, fd) => {
|
|
||||||
* console.log(executionAsyncId()); // 6 - open()
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* The ID returned from `executionAsyncId()` is related to execution timing, not
|
|
||||||
* causality (which is covered by `triggerAsyncId()`):
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const server = net.createServer((conn) => {
|
|
||||||
* // Returns the ID of the server, not of the new connection, because the
|
|
||||||
* // callback runs in the execution scope of the server's MakeCallback().
|
|
||||||
* async_hooks.executionAsyncId();
|
|
||||||
*
|
|
||||||
* }).listen(port, () => {
|
|
||||||
* // Returns the ID of a TickObject (process.nextTick()) because all
|
|
||||||
* // callbacks passed to .listen() are wrapped in a nextTick().
|
|
||||||
* async_hooks.executionAsyncId();
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Promise contexts may not get precise `executionAsyncIds` by default.
|
|
||||||
* See the section on `promise execution tracking`.
|
|
||||||
* @since v8.1.0
|
|
||||||
* @return The `asyncId` of the current execution context. Useful to track when something calls.
|
|
||||||
*/
|
|
||||||
function executionAsyncId(): number;
|
|
||||||
/**
|
|
||||||
* Resource objects returned by `executionAsyncResource()` are most often internal
|
|
||||||
* Node.js handle objects with undocumented APIs. Using any functions or properties
|
|
||||||
* on the object is likely to crash your application and should be avoided.
|
|
||||||
*
|
|
||||||
* Using `executionAsyncResource()` in the top-level execution context will
|
|
||||||
* return an empty object as there is no handle or request object to use,
|
|
||||||
* but having an object representing the top-level can be helpful.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import { open } from 'fs';
|
|
||||||
* import { executionAsyncId, executionAsyncResource } from 'async_hooks';
|
|
||||||
*
|
|
||||||
* console.log(executionAsyncId(), executionAsyncResource()); // 1 {}
|
|
||||||
* open(new URL(import.meta.url), 'r', (err, fd) => {
|
|
||||||
* console.log(executionAsyncId(), executionAsyncResource()); // 7 FSReqWrap
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* This can be used to implement continuation local storage without the
|
|
||||||
* use of a tracking `Map` to store the metadata:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import { createServer } from 'http';
|
|
||||||
* import {
|
|
||||||
* executionAsyncId,
|
|
||||||
* executionAsyncResource,
|
|
||||||
* createHook
|
|
||||||
* } from 'async_hooks';
|
|
||||||
* const sym = Symbol('state'); // Private symbol to avoid pollution
|
|
||||||
*
|
|
||||||
* createHook({
|
|
||||||
* init(asyncId, type, triggerAsyncId, resource) {
|
|
||||||
* const cr = executionAsyncResource();
|
|
||||||
* if (cr) {
|
|
||||||
* resource[sym] = cr[sym];
|
|
||||||
* }
|
|
||||||
* }
|
|
||||||
* }).enable();
|
|
||||||
*
|
|
||||||
* const server = createServer((req, res) => {
|
|
||||||
* executionAsyncResource()[sym] = { state: req.url };
|
|
||||||
* setTimeout(function() {
|
|
||||||
* res.end(JSON.stringify(executionAsyncResource()[sym]));
|
|
||||||
* }, 100);
|
|
||||||
* }).listen(3000);
|
|
||||||
* ```
|
|
||||||
* @since v13.9.0, v12.17.0
|
|
||||||
* @return The resource representing the current execution. Useful to store data within the resource.
|
|
||||||
*/
|
|
||||||
function executionAsyncResource(): object;
|
|
||||||
/**
|
|
||||||
* ```js
|
|
||||||
* const server = net.createServer((conn) => {
|
|
||||||
* // The resource that caused (or triggered) this callback to be called
|
|
||||||
* // was that of the new connection. Thus the return value of triggerAsyncId()
|
|
||||||
* // is the asyncId of "conn".
|
|
||||||
* async_hooks.triggerAsyncId();
|
|
||||||
*
|
|
||||||
* }).listen(port, () => {
|
|
||||||
* // Even though all callbacks passed to .listen() are wrapped in a nextTick()
|
|
||||||
* // the callback itself exists because the call to the server's .listen()
|
|
||||||
* // was made. So the return value would be the ID of the server.
|
|
||||||
* async_hooks.triggerAsyncId();
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Promise contexts may not get valid `triggerAsyncId`s by default. See
|
|
||||||
* the section on `promise execution tracking`.
|
|
||||||
* @return The ID of the resource responsible for calling the callback that is currently being executed.
|
|
||||||
*/
|
|
||||||
function triggerAsyncId(): number;
|
|
||||||
interface HookCallbacks {
|
|
||||||
/**
|
|
||||||
* Called when a class is constructed that has the possibility to emit an asynchronous event.
|
|
||||||
* @param asyncId a unique ID for the async resource
|
|
||||||
* @param type the type of the async resource
|
|
||||||
* @param triggerAsyncId the unique ID of the async resource in whose execution context this async resource was created
|
|
||||||
* @param resource reference to the resource representing the async operation, needs to be released during destroy
|
|
||||||
*/
|
|
||||||
init?(asyncId: number, type: string, triggerAsyncId: number, resource: object): void;
|
|
||||||
/**
|
|
||||||
* When an asynchronous operation is initiated or completes a callback is called to notify the user.
|
|
||||||
* The before callback is called just before said callback is executed.
|
|
||||||
* @param asyncId the unique identifier assigned to the resource about to execute the callback.
|
|
||||||
*/
|
|
||||||
before?(asyncId: number): void;
|
|
||||||
/**
|
|
||||||
* Called immediately after the callback specified in before is completed.
|
|
||||||
* @param asyncId the unique identifier assigned to the resource which has executed the callback.
|
|
||||||
*/
|
|
||||||
after?(asyncId: number): void;
|
|
||||||
/**
|
|
||||||
* Called when a promise has resolve() called. This may not be in the same execution id
|
|
||||||
* as the promise itself.
|
|
||||||
* @param asyncId the unique id for the promise that was resolve()d.
|
|
||||||
*/
|
|
||||||
promiseResolve?(asyncId: number): void;
|
|
||||||
/**
|
|
||||||
* Called after the resource corresponding to asyncId is destroyed
|
|
||||||
* @param asyncId a unique ID for the async resource
|
|
||||||
*/
|
|
||||||
destroy?(asyncId: number): void;
|
|
||||||
}
|
|
||||||
interface AsyncHook {
|
|
||||||
/**
|
|
||||||
* Enable the callbacks for a given AsyncHook instance. If no callbacks are provided enabling is a noop.
|
|
||||||
*/
|
|
||||||
enable(): this;
|
|
||||||
/**
|
|
||||||
* Disable the callbacks for a given AsyncHook instance from the global pool of AsyncHook callbacks to be executed. Once a hook has been disabled it will not be called again until enabled.
|
|
||||||
*/
|
|
||||||
disable(): this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Registers functions to be called for different lifetime events of each async
|
|
||||||
* operation.
|
|
||||||
*
|
|
||||||
* The callbacks `init()`/`before()`/`after()`/`destroy()` are called for the
|
|
||||||
* respective asynchronous event during a resource's lifetime.
|
|
||||||
*
|
|
||||||
* All callbacks are optional. For example, if only resource cleanup needs to
|
|
||||||
* be tracked, then only the `destroy` callback needs to be passed. The
|
|
||||||
* specifics of all functions that can be passed to `callbacks` is in the `Hook Callbacks` section.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import { createHook } from 'async_hooks';
|
|
||||||
*
|
|
||||||
* const asyncHook = createHook({
|
|
||||||
* init(asyncId, type, triggerAsyncId, resource) { },
|
|
||||||
* destroy(asyncId) { }
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* The callbacks will be inherited via the prototype chain:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* class MyAsyncCallbacks {
|
|
||||||
* init(asyncId, type, triggerAsyncId, resource) { }
|
|
||||||
* destroy(asyncId) {}
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* class MyAddedCallbacks extends MyAsyncCallbacks {
|
|
||||||
* before(asyncId) { }
|
|
||||||
* after(asyncId) { }
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* const asyncHook = async_hooks.createHook(new MyAddedCallbacks());
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Because promises are asynchronous resources whose lifecycle is tracked
|
|
||||||
* via the async hooks mechanism, the `init()`, `before()`, `after()`, and`destroy()` callbacks _must not_ be async functions that return promises.
|
|
||||||
* @since v8.1.0
|
|
||||||
* @param callbacks The `Hook Callbacks` to register
|
|
||||||
* @return Instance used for disabling and enabling hooks
|
|
||||||
*/
|
|
||||||
function createHook(callbacks: HookCallbacks): AsyncHook;
|
|
||||||
interface AsyncResourceOptions {
|
|
||||||
/**
|
|
||||||
* The ID of the execution context that created this async event.
|
|
||||||
* @default executionAsyncId()
|
|
||||||
*/
|
|
||||||
triggerAsyncId?: number | undefined;
|
|
||||||
/**
|
|
||||||
* Disables automatic `emitDestroy` when the object is garbage collected.
|
|
||||||
* This usually does not need to be set (even if `emitDestroy` is called
|
|
||||||
* manually), unless the resource's `asyncId` is retrieved and the
|
|
||||||
* sensitive API's `emitDestroy` is called with it.
|
|
||||||
* @default false
|
|
||||||
*/
|
|
||||||
requireManualDestroy?: boolean | undefined;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* The class `AsyncResource` is designed to be extended by the embedder's async
|
|
||||||
* resources. Using this, users can easily trigger the lifetime events of their
|
|
||||||
* own resources.
|
|
||||||
*
|
|
||||||
* The `init` hook will trigger when an `AsyncResource` is instantiated.
|
|
||||||
*
|
|
||||||
* The following is an overview of the `AsyncResource` API.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import { AsyncResource, executionAsyncId } from 'async_hooks';
|
|
||||||
*
|
|
||||||
* // AsyncResource() is meant to be extended. Instantiating a
|
|
||||||
* // new AsyncResource() also triggers init. If triggerAsyncId is omitted then
|
|
||||||
* // async_hook.executionAsyncId() is used.
|
|
||||||
* const asyncResource = new AsyncResource(
|
|
||||||
* type, { triggerAsyncId: executionAsyncId(), requireManualDestroy: false }
|
|
||||||
* );
|
|
||||||
*
|
|
||||||
* // Run a function in the execution context of the resource. This will
|
|
||||||
* // * establish the context of the resource
|
|
||||||
* // * trigger the AsyncHooks before callbacks
|
|
||||||
* // * call the provided function `fn` with the supplied arguments
|
|
||||||
* // * trigger the AsyncHooks after callbacks
|
|
||||||
* // * restore the original execution context
|
|
||||||
* asyncResource.runInAsyncScope(fn, thisArg, ...args);
|
|
||||||
*
|
|
||||||
* // Call AsyncHooks destroy callbacks.
|
|
||||||
* asyncResource.emitDestroy();
|
|
||||||
*
|
|
||||||
* // Return the unique ID assigned to the AsyncResource instance.
|
|
||||||
* asyncResource.asyncId();
|
|
||||||
*
|
|
||||||
* // Return the trigger ID for the AsyncResource instance.
|
|
||||||
* asyncResource.triggerAsyncId();
|
|
||||||
* ```
|
|
||||||
*/
|
|
||||||
class AsyncResource {
|
|
||||||
/**
|
|
||||||
* AsyncResource() is meant to be extended. Instantiating a
|
|
||||||
* new AsyncResource() also triggers init. If triggerAsyncId is omitted then
|
|
||||||
* async_hook.executionAsyncId() is used.
|
|
||||||
* @param type The type of async event.
|
|
||||||
* @param triggerAsyncId The ID of the execution context that created
|
|
||||||
* this async event (default: `executionAsyncId()`), or an
|
|
||||||
* AsyncResourceOptions object (since v9.3.0)
|
|
||||||
*/
|
|
||||||
constructor(type: string, triggerAsyncId?: number | AsyncResourceOptions);
|
|
||||||
/**
|
|
||||||
* Binds the given function to the current execution context.
|
|
||||||
*
|
|
||||||
* The returned function will have an `asyncResource` property referencing
|
|
||||||
* the `AsyncResource` to which the function is bound.
|
|
||||||
* @since v14.8.0, v12.19.0
|
|
||||||
* @param fn The function to bind to the current execution context.
|
|
||||||
* @param type An optional name to associate with the underlying `AsyncResource`.
|
|
||||||
*/
|
|
||||||
static bind<Func extends (this: ThisArg, ...args: any[]) => any, ThisArg>(
|
|
||||||
fn: Func,
|
|
||||||
type?: string,
|
|
||||||
thisArg?: ThisArg
|
|
||||||
): Func & {
|
|
||||||
asyncResource: AsyncResource;
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* Binds the given function to execute to this `AsyncResource`'s scope.
|
|
||||||
*
|
|
||||||
* The returned function will have an `asyncResource` property referencing
|
|
||||||
* the `AsyncResource` to which the function is bound.
|
|
||||||
* @since v14.8.0, v12.19.0
|
|
||||||
* @param fn The function to bind to the current `AsyncResource`.
|
|
||||||
*/
|
|
||||||
bind<Func extends (...args: any[]) => any>(
|
|
||||||
fn: Func
|
|
||||||
): Func & {
|
|
||||||
asyncResource: AsyncResource;
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* Call the provided function with the provided arguments in the execution context
|
|
||||||
* of the async resource. This will establish the context, trigger the AsyncHooks
|
|
||||||
* before callbacks, call the function, trigger the AsyncHooks after callbacks, and
|
|
||||||
* then restore the original execution context.
|
|
||||||
* @since v9.6.0
|
|
||||||
* @param fn The function to call in the execution context of this async resource.
|
|
||||||
* @param thisArg The receiver to be used for the function call.
|
|
||||||
* @param args Optional arguments to pass to the function.
|
|
||||||
*/
|
|
||||||
runInAsyncScope<This, Result>(fn: (this: This, ...args: any[]) => Result, thisArg?: This, ...args: any[]): Result;
|
|
||||||
/**
|
|
||||||
* Call all `destroy` hooks. This should only ever be called once. An error will
|
|
||||||
* be thrown if it is called more than once. This **must** be manually called. If
|
|
||||||
* the resource is left to be collected by the GC then the `destroy` hooks will
|
|
||||||
* never be called.
|
|
||||||
* @return A reference to `asyncResource`.
|
|
||||||
*/
|
|
||||||
emitDestroy(): this;
|
|
||||||
/**
|
|
||||||
* @return The unique `asyncId` assigned to the resource.
|
|
||||||
*/
|
|
||||||
asyncId(): number;
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @return The same `triggerAsyncId` that is passed to the `AsyncResource` constructor.
|
|
||||||
*/
|
|
||||||
triggerAsyncId(): number;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* This class creates stores that stay coherent through asynchronous operations.
|
|
||||||
*
|
|
||||||
* While you can create your own implementation on top of the `async_hooks` module,`AsyncLocalStorage` should be preferred as it is a performant and memory safe
|
|
||||||
* implementation that involves significant optimizations that are non-obvious to
|
|
||||||
* implement.
|
|
||||||
*
|
|
||||||
* The following example uses `AsyncLocalStorage` to build a simple logger
|
|
||||||
* that assigns IDs to incoming HTTP requests and includes them in messages
|
|
||||||
* logged within each request.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import http from 'http';
|
|
||||||
* import { AsyncLocalStorage } from 'async_hooks';
|
|
||||||
*
|
|
||||||
* const asyncLocalStorage = new AsyncLocalStorage();
|
|
||||||
*
|
|
||||||
* function logWithId(msg) {
|
|
||||||
* const id = asyncLocalStorage.getStore();
|
|
||||||
* console.log(`${id !== undefined ? id : '-'}:`, msg);
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* let idSeq = 0;
|
|
||||||
* http.createServer((req, res) => {
|
|
||||||
* asyncLocalStorage.run(idSeq++, () => {
|
|
||||||
* logWithId('start');
|
|
||||||
* // Imagine any chain of async operations here
|
|
||||||
* setImmediate(() => {
|
|
||||||
* logWithId('finish');
|
|
||||||
* res.end();
|
|
||||||
* });
|
|
||||||
* });
|
|
||||||
* }).listen(8080);
|
|
||||||
*
|
|
||||||
* http.get('http://localhost:8080');
|
|
||||||
* http.get('http://localhost:8080');
|
|
||||||
* // Prints:
|
|
||||||
* // 0: start
|
|
||||||
* // 1: start
|
|
||||||
* // 0: finish
|
|
||||||
* // 1: finish
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Each instance of `AsyncLocalStorage` maintains an independent storage context.
|
|
||||||
* Multiple instances can safely exist simultaneously without risk of interfering
|
|
||||||
* with each other data.
|
|
||||||
* @since v13.10.0, v12.17.0
|
|
||||||
*/
|
|
||||||
class AsyncLocalStorage<T> {
|
|
||||||
/**
|
|
||||||
* Disables the instance of `AsyncLocalStorage`. All subsequent calls
|
|
||||||
* to `asyncLocalStorage.getStore()` will return `undefined` until`asyncLocalStorage.run()` or `asyncLocalStorage.enterWith()` is called again.
|
|
||||||
*
|
|
||||||
* When calling `asyncLocalStorage.disable()`, all current contexts linked to the
|
|
||||||
* instance will be exited.
|
|
||||||
*
|
|
||||||
* Calling `asyncLocalStorage.disable()` is required before the`asyncLocalStorage` can be garbage collected. This does not apply to stores
|
|
||||||
* provided by the `asyncLocalStorage`, as those objects are garbage collected
|
|
||||||
* along with the corresponding async resources.
|
|
||||||
*
|
|
||||||
* Use this method when the `asyncLocalStorage` is not in use anymore
|
|
||||||
* in the current process.
|
|
||||||
* @since v13.10.0, v12.17.0
|
|
||||||
* @experimental
|
|
||||||
*/
|
|
||||||
disable(): void;
|
|
||||||
/**
|
|
||||||
* Returns the current store.
|
|
||||||
* If called outside of an asynchronous context initialized by
|
|
||||||
* calling `asyncLocalStorage.run()` or `asyncLocalStorage.enterWith()`, it
|
|
||||||
* returns `undefined`.
|
|
||||||
* @since v13.10.0, v12.17.0
|
|
||||||
*/
|
|
||||||
getStore(): T | undefined;
|
|
||||||
/**
|
|
||||||
* Runs a function synchronously within a context and returns its
|
|
||||||
* return value. The store is not accessible outside of the callback function.
|
|
||||||
* The store is accessible to any asynchronous operations created within the
|
|
||||||
* callback.
|
|
||||||
*
|
|
||||||
* The optional `args` are passed to the callback function.
|
|
||||||
*
|
|
||||||
* If the callback function throws an error, the error is thrown by `run()` too.
|
|
||||||
* The stacktrace is not impacted by this call and the context is exited.
|
|
||||||
*
|
|
||||||
* Example:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const store = { id: 2 };
|
|
||||||
* try {
|
|
||||||
* asyncLocalStorage.run(store, () => {
|
|
||||||
* asyncLocalStorage.getStore(); // Returns the store object
|
|
||||||
* setTimeout(() => {
|
|
||||||
* asyncLocalStorage.getStore(); // Returns the store object
|
|
||||||
* }, 200);
|
|
||||||
* throw new Error();
|
|
||||||
* });
|
|
||||||
* } catch (e) {
|
|
||||||
* asyncLocalStorage.getStore(); // Returns undefined
|
|
||||||
* // The error will be caught here
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v13.10.0, v12.17.0
|
|
||||||
*/
|
|
||||||
run<R, TArgs extends any[]>(store: T, callback: (...args: TArgs) => R, ...args: TArgs): R;
|
|
||||||
/**
|
|
||||||
* Runs a function synchronously outside of a context and returns its
|
|
||||||
* return value. The store is not accessible within the callback function or
|
|
||||||
* the asynchronous operations created within the callback. Any `getStore()`call done within the callback function will always return `undefined`.
|
|
||||||
*
|
|
||||||
* The optional `args` are passed to the callback function.
|
|
||||||
*
|
|
||||||
* If the callback function throws an error, the error is thrown by `exit()` too.
|
|
||||||
* The stacktrace is not impacted by this call and the context is re-entered.
|
|
||||||
*
|
|
||||||
* Example:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* // Within a call to run
|
|
||||||
* try {
|
|
||||||
* asyncLocalStorage.getStore(); // Returns the store object or value
|
|
||||||
* asyncLocalStorage.exit(() => {
|
|
||||||
* asyncLocalStorage.getStore(); // Returns undefined
|
|
||||||
* throw new Error();
|
|
||||||
* });
|
|
||||||
* } catch (e) {
|
|
||||||
* asyncLocalStorage.getStore(); // Returns the same object or value
|
|
||||||
* // The error will be caught here
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v13.10.0, v12.17.0
|
|
||||||
* @experimental
|
|
||||||
*/
|
|
||||||
exit<R, TArgs extends any[]>(callback: (...args: TArgs) => R, ...args: TArgs): R;
|
|
||||||
/**
|
|
||||||
* Transitions into the context for the remainder of the current
|
|
||||||
* synchronous execution and then persists the store through any following
|
|
||||||
* asynchronous calls.
|
|
||||||
*
|
|
||||||
* Example:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const store = { id: 1 };
|
|
||||||
* // Replaces previous store with the given store object
|
|
||||||
* asyncLocalStorage.enterWith(store);
|
|
||||||
* asyncLocalStorage.getStore(); // Returns the store object
|
|
||||||
* someAsyncOperation(() => {
|
|
||||||
* asyncLocalStorage.getStore(); // Returns the same object
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* This transition will continue for the _entire_ synchronous execution.
|
|
||||||
* This means that if, for example, the context is entered within an event
|
|
||||||
* handler subsequent event handlers will also run within that context unless
|
|
||||||
* specifically bound to another context with an `AsyncResource`. That is why`run()` should be preferred over `enterWith()` unless there are strong reasons
|
|
||||||
* to use the latter method.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const store = { id: 1 };
|
|
||||||
*
|
|
||||||
* emitter.on('my-event', () => {
|
|
||||||
* asyncLocalStorage.enterWith(store);
|
|
||||||
* });
|
|
||||||
* emitter.on('my-event', () => {
|
|
||||||
* asyncLocalStorage.getStore(); // Returns the same object
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* asyncLocalStorage.getStore(); // Returns undefined
|
|
||||||
* emitter.emit('my-event');
|
|
||||||
* asyncLocalStorage.getStore(); // Returns the same object
|
|
||||||
* ```
|
|
||||||
* @since v13.11.0, v12.17.0
|
|
||||||
* @experimental
|
|
||||||
*/
|
|
||||||
enterWith(store: T): void;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
declare module 'node:async_hooks' {
|
|
||||||
export * from 'async_hooks';
|
|
||||||
}
|
|
||||||
2232
Websites/Jefes/Backend/node_modules/@types/node/buffer.d.ts
generated
vendored
2232
Websites/Jefes/Backend/node_modules/@types/node/buffer.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
1366
Websites/Jefes/Backend/node_modules/@types/node/child_process.d.ts
generated
vendored
1366
Websites/Jefes/Backend/node_modules/@types/node/child_process.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
414
Websites/Jefes/Backend/node_modules/@types/node/cluster.d.ts
generated
vendored
414
Websites/Jefes/Backend/node_modules/@types/node/cluster.d.ts
generated
vendored
@ -1,414 +0,0 @@
|
|||||||
/**
|
|
||||||
* A single instance of Node.js runs in a single thread. To take advantage of
|
|
||||||
* multi-core systems, the user will sometimes want to launch a cluster of Node.js
|
|
||||||
* processes to handle the load.
|
|
||||||
*
|
|
||||||
* The cluster module allows easy creation of child processes that all share
|
|
||||||
* server ports.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import cluster from 'cluster';
|
|
||||||
* import http from 'http';
|
|
||||||
* import { cpus } from 'os';
|
|
||||||
* import process from 'process';
|
|
||||||
*
|
|
||||||
* const numCPUs = cpus().length;
|
|
||||||
*
|
|
||||||
* if (cluster.isPrimary) {
|
|
||||||
* console.log(`Primary ${process.pid} is running`);
|
|
||||||
*
|
|
||||||
* // Fork workers.
|
|
||||||
* for (let i = 0; i < numCPUs; i++) {
|
|
||||||
* cluster.fork();
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* cluster.on('exit', (worker, code, signal) => {
|
|
||||||
* console.log(`worker ${worker.process.pid} died`);
|
|
||||||
* });
|
|
||||||
* } else {
|
|
||||||
* // Workers can share any TCP connection
|
|
||||||
* // In this case it is an HTTP server
|
|
||||||
* http.createServer((req, res) => {
|
|
||||||
* res.writeHead(200);
|
|
||||||
* res.end('hello world\n');
|
|
||||||
* }).listen(8000);
|
|
||||||
*
|
|
||||||
* console.log(`Worker ${process.pid} started`);
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Running Node.js will now share port 8000 between the workers:
|
|
||||||
*
|
|
||||||
* ```console
|
|
||||||
* $ node server.js
|
|
||||||
* Primary 3596 is running
|
|
||||||
* Worker 4324 started
|
|
||||||
* Worker 4520 started
|
|
||||||
* Worker 6056 started
|
|
||||||
* Worker 5644 started
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* On Windows, it is not yet possible to set up a named pipe server in a worker.
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/cluster.js)
|
|
||||||
*/
|
|
||||||
declare module 'cluster' {
|
|
||||||
import * as child from 'node:child_process';
|
|
||||||
import EventEmitter = require('node:events');
|
|
||||||
import * as net from 'node:net';
|
|
||||||
export interface ClusterSettings {
|
|
||||||
execArgv?: string[] | undefined; // default: process.execArgv
|
|
||||||
exec?: string | undefined;
|
|
||||||
args?: string[] | undefined;
|
|
||||||
silent?: boolean | undefined;
|
|
||||||
stdio?: any[] | undefined;
|
|
||||||
uid?: number | undefined;
|
|
||||||
gid?: number | undefined;
|
|
||||||
inspectPort?: number | (() => number) | undefined;
|
|
||||||
}
|
|
||||||
export interface Address {
|
|
||||||
address: string;
|
|
||||||
port: number;
|
|
||||||
addressType: number | 'udp4' | 'udp6'; // 4, 6, -1, "udp4", "udp6"
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* A `Worker` object contains all public information and method about a worker.
|
|
||||||
* In the primary it can be obtained using `cluster.workers`. In a worker
|
|
||||||
* it can be obtained using `cluster.worker`.
|
|
||||||
* @since v0.7.0
|
|
||||||
*/
|
|
||||||
export class Worker extends EventEmitter {
|
|
||||||
/**
|
|
||||||
* Each new worker is given its own unique id, this id is stored in the`id`.
|
|
||||||
*
|
|
||||||
* While a worker is alive, this is the key that indexes it in`cluster.workers`.
|
|
||||||
* @since v0.8.0
|
|
||||||
*/
|
|
||||||
id: number;
|
|
||||||
/**
|
|
||||||
* All workers are created using `child_process.fork()`, the returned object
|
|
||||||
* from this function is stored as `.process`. In a worker, the global `process`is stored.
|
|
||||||
*
|
|
||||||
* See: `Child Process module`.
|
|
||||||
*
|
|
||||||
* Workers will call `process.exit(0)` if the `'disconnect'` event occurs
|
|
||||||
* on `process` and `.exitedAfterDisconnect` is not `true`. This protects against
|
|
||||||
* accidental disconnection.
|
|
||||||
* @since v0.7.0
|
|
||||||
*/
|
|
||||||
process: child.ChildProcess;
|
|
||||||
/**
|
|
||||||
* Send a message to a worker or primary, optionally with a handle.
|
|
||||||
*
|
|
||||||
* In the primary this sends a message to a specific worker. It is identical to `ChildProcess.send()`.
|
|
||||||
*
|
|
||||||
* In a worker this sends a message to the primary. It is identical to`process.send()`.
|
|
||||||
*
|
|
||||||
* This example will echo back all messages from the primary:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* if (cluster.isPrimary) {
|
|
||||||
* const worker = cluster.fork();
|
|
||||||
* worker.send('hi there');
|
|
||||||
*
|
|
||||||
* } else if (cluster.isWorker) {
|
|
||||||
* process.on('message', (msg) => {
|
|
||||||
* process.send(msg);
|
|
||||||
* });
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v0.7.0
|
|
||||||
* @param options The `options` argument, if present, is an object used to parameterize the sending of certain types of handles. `options` supports the following properties:
|
|
||||||
*/
|
|
||||||
send(message: child.Serializable, callback?: (error: Error | null) => void): boolean;
|
|
||||||
send(message: child.Serializable, sendHandle: child.SendHandle, callback?: (error: Error | null) => void): boolean;
|
|
||||||
send(message: child.Serializable, sendHandle: child.SendHandle, options?: child.MessageOptions, callback?: (error: Error | null) => void): boolean;
|
|
||||||
/**
|
|
||||||
* This function will kill the worker. In the primary, it does this
|
|
||||||
* by disconnecting the `worker.process`, and once disconnected, killing
|
|
||||||
* with `signal`. In the worker, it does it by disconnecting the channel,
|
|
||||||
* and then exiting with code `0`.
|
|
||||||
*
|
|
||||||
* Because `kill()` attempts to gracefully disconnect the worker process, it is
|
|
||||||
* susceptible to waiting indefinitely for the disconnect to complete. For example,
|
|
||||||
* if the worker enters an infinite loop, a graceful disconnect will never occur.
|
|
||||||
* If the graceful disconnect behavior is not needed, use `worker.process.kill()`.
|
|
||||||
*
|
|
||||||
* Causes `.exitedAfterDisconnect` to be set.
|
|
||||||
*
|
|
||||||
* This method is aliased as `worker.destroy()` for backward compatibility.
|
|
||||||
*
|
|
||||||
* In a worker, `process.kill()` exists, but it is not this function;
|
|
||||||
* it is `kill()`.
|
|
||||||
* @since v0.9.12
|
|
||||||
* @param [signal='SIGTERM'] Name of the kill signal to send to the worker process.
|
|
||||||
*/
|
|
||||||
kill(signal?: string): void;
|
|
||||||
destroy(signal?: string): void;
|
|
||||||
/**
|
|
||||||
* In a worker, this function will close all servers, wait for the `'close'` event
|
|
||||||
* on those servers, and then disconnect the IPC channel.
|
|
||||||
*
|
|
||||||
* In the primary, an internal message is sent to the worker causing it to call`.disconnect()` on itself.
|
|
||||||
*
|
|
||||||
* Causes `.exitedAfterDisconnect` to be set.
|
|
||||||
*
|
|
||||||
* After a server is closed, it will no longer accept new connections,
|
|
||||||
* but connections may be accepted by any other listening worker. Existing
|
|
||||||
* connections will be allowed to close as usual. When no more connections exist,
|
|
||||||
* see `server.close()`, the IPC channel to the worker will close allowing it
|
|
||||||
* to die gracefully.
|
|
||||||
*
|
|
||||||
* The above applies _only_ to server connections, client connections are not
|
|
||||||
* automatically closed by workers, and disconnect does not wait for them to close
|
|
||||||
* before exiting.
|
|
||||||
*
|
|
||||||
* In a worker, `process.disconnect` exists, but it is not this function;
|
|
||||||
* it is `disconnect()`.
|
|
||||||
*
|
|
||||||
* Because long living server connections may block workers from disconnecting, it
|
|
||||||
* may be useful to send a message, so application specific actions may be taken to
|
|
||||||
* close them. It also may be useful to implement a timeout, killing a worker if
|
|
||||||
* the `'disconnect'` event has not been emitted after some time.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* if (cluster.isPrimary) {
|
|
||||||
* const worker = cluster.fork();
|
|
||||||
* let timeout;
|
|
||||||
*
|
|
||||||
* worker.on('listening', (address) => {
|
|
||||||
* worker.send('shutdown');
|
|
||||||
* worker.disconnect();
|
|
||||||
* timeout = setTimeout(() => {
|
|
||||||
* worker.kill();
|
|
||||||
* }, 2000);
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* worker.on('disconnect', () => {
|
|
||||||
* clearTimeout(timeout);
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* } else if (cluster.isWorker) {
|
|
||||||
* const net = require('net');
|
|
||||||
* const server = net.createServer((socket) => {
|
|
||||||
* // Connections never end
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* server.listen(8000);
|
|
||||||
*
|
|
||||||
* process.on('message', (msg) => {
|
|
||||||
* if (msg === 'shutdown') {
|
|
||||||
* // Initiate graceful close of any connections to server
|
|
||||||
* }
|
|
||||||
* });
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v0.7.7
|
|
||||||
* @return A reference to `worker`.
|
|
||||||
*/
|
|
||||||
disconnect(): void;
|
|
||||||
/**
|
|
||||||
* This function returns `true` if the worker is connected to its primary via its
|
|
||||||
* IPC channel, `false` otherwise. A worker is connected to its primary after it
|
|
||||||
* has been created. It is disconnected after the `'disconnect'` event is emitted.
|
|
||||||
* @since v0.11.14
|
|
||||||
*/
|
|
||||||
isConnected(): boolean;
|
|
||||||
/**
|
|
||||||
* This function returns `true` if the worker's process has terminated (either
|
|
||||||
* because of exiting or being signaled). Otherwise, it returns `false`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import cluster from 'cluster';
|
|
||||||
* import http from 'http';
|
|
||||||
* import { cpus } from 'os';
|
|
||||||
* import process from 'process';
|
|
||||||
*
|
|
||||||
* const numCPUs = cpus().length;
|
|
||||||
*
|
|
||||||
* if (cluster.isPrimary) {
|
|
||||||
* console.log(`Primary ${process.pid} is running`);
|
|
||||||
*
|
|
||||||
* // Fork workers.
|
|
||||||
* for (let i = 0; i < numCPUs; i++) {
|
|
||||||
* cluster.fork();
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* cluster.on('fork', (worker) => {
|
|
||||||
* console.log('worker is dead:', worker.isDead());
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* cluster.on('exit', (worker, code, signal) => {
|
|
||||||
* console.log('worker is dead:', worker.isDead());
|
|
||||||
* });
|
|
||||||
* } else {
|
|
||||||
* // Workers can share any TCP connection. In this case, it is an HTTP server.
|
|
||||||
* http.createServer((req, res) => {
|
|
||||||
* res.writeHead(200);
|
|
||||||
* res.end(`Current process\n ${process.pid}`);
|
|
||||||
* process.kill(process.pid);
|
|
||||||
* }).listen(8000);
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v0.11.14
|
|
||||||
*/
|
|
||||||
isDead(): boolean;
|
|
||||||
/**
|
|
||||||
* This property is `true` if the worker exited due to `.kill()` or`.disconnect()`. If the worker exited any other way, it is `false`. If the
|
|
||||||
* worker has not exited, it is `undefined`.
|
|
||||||
*
|
|
||||||
* The boolean `worker.exitedAfterDisconnect` allows distinguishing between
|
|
||||||
* voluntary and accidental exit, the primary may choose not to respawn a worker
|
|
||||||
* based on this value.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* cluster.on('exit', (worker, code, signal) => {
|
|
||||||
* if (worker.exitedAfterDisconnect === true) {
|
|
||||||
* console.log('Oh, it was just voluntary – no need to worry');
|
|
||||||
* }
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* // kill worker
|
|
||||||
* worker.kill();
|
|
||||||
* ```
|
|
||||||
* @since v6.0.0
|
|
||||||
*/
|
|
||||||
exitedAfterDisconnect: boolean;
|
|
||||||
/**
|
|
||||||
* events.EventEmitter
|
|
||||||
* 1. disconnect
|
|
||||||
* 2. error
|
|
||||||
* 3. exit
|
|
||||||
* 4. listening
|
|
||||||
* 5. message
|
|
||||||
* 6. online
|
|
||||||
*/
|
|
||||||
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
addListener(event: 'disconnect', listener: () => void): this;
|
|
||||||
addListener(event: 'error', listener: (error: Error) => void): this;
|
|
||||||
addListener(event: 'exit', listener: (code: number, signal: string) => void): this;
|
|
||||||
addListener(event: 'listening', listener: (address: Address) => void): this;
|
|
||||||
addListener(event: 'message', listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
||||||
addListener(event: 'online', listener: () => void): this;
|
|
||||||
emit(event: string | symbol, ...args: any[]): boolean;
|
|
||||||
emit(event: 'disconnect'): boolean;
|
|
||||||
emit(event: 'error', error: Error): boolean;
|
|
||||||
emit(event: 'exit', code: number, signal: string): boolean;
|
|
||||||
emit(event: 'listening', address: Address): boolean;
|
|
||||||
emit(event: 'message', message: any, handle: net.Socket | net.Server): boolean;
|
|
||||||
emit(event: 'online'): boolean;
|
|
||||||
on(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
on(event: 'disconnect', listener: () => void): this;
|
|
||||||
on(event: 'error', listener: (error: Error) => void): this;
|
|
||||||
on(event: 'exit', listener: (code: number, signal: string) => void): this;
|
|
||||||
on(event: 'listening', listener: (address: Address) => void): this;
|
|
||||||
on(event: 'message', listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
||||||
on(event: 'online', listener: () => void): this;
|
|
||||||
once(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
once(event: 'disconnect', listener: () => void): this;
|
|
||||||
once(event: 'error', listener: (error: Error) => void): this;
|
|
||||||
once(event: 'exit', listener: (code: number, signal: string) => void): this;
|
|
||||||
once(event: 'listening', listener: (address: Address) => void): this;
|
|
||||||
once(event: 'message', listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
||||||
once(event: 'online', listener: () => void): this;
|
|
||||||
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
prependListener(event: 'disconnect', listener: () => void): this;
|
|
||||||
prependListener(event: 'error', listener: (error: Error) => void): this;
|
|
||||||
prependListener(event: 'exit', listener: (code: number, signal: string) => void): this;
|
|
||||||
prependListener(event: 'listening', listener: (address: Address) => void): this;
|
|
||||||
prependListener(event: 'message', listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
||||||
prependListener(event: 'online', listener: () => void): this;
|
|
||||||
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
prependOnceListener(event: 'disconnect', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'error', listener: (error: Error) => void): this;
|
|
||||||
prependOnceListener(event: 'exit', listener: (code: number, signal: string) => void): this;
|
|
||||||
prependOnceListener(event: 'listening', listener: (address: Address) => void): this;
|
|
||||||
prependOnceListener(event: 'message', listener: (message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
||||||
prependOnceListener(event: 'online', listener: () => void): this;
|
|
||||||
}
|
|
||||||
export interface Cluster extends EventEmitter {
|
|
||||||
disconnect(callback?: () => void): void;
|
|
||||||
fork(env?: any): Worker;
|
|
||||||
/** @deprecated since v16.0.0 - use isPrimary. */
|
|
||||||
readonly isMaster: boolean;
|
|
||||||
readonly isPrimary: boolean;
|
|
||||||
readonly isWorker: boolean;
|
|
||||||
schedulingPolicy: number;
|
|
||||||
readonly settings: ClusterSettings;
|
|
||||||
/** @deprecated since v16.0.0 - use setupPrimary. */
|
|
||||||
setupMaster(settings?: ClusterSettings): void;
|
|
||||||
/**
|
|
||||||
* `setupPrimary` is used to change the default 'fork' behavior. Once called, the settings will be present in cluster.settings.
|
|
||||||
*/
|
|
||||||
setupPrimary(settings?: ClusterSettings): void;
|
|
||||||
readonly worker?: Worker | undefined;
|
|
||||||
readonly workers?: NodeJS.Dict<Worker> | undefined;
|
|
||||||
readonly SCHED_NONE: number;
|
|
||||||
readonly SCHED_RR: number;
|
|
||||||
/**
|
|
||||||
* events.EventEmitter
|
|
||||||
* 1. disconnect
|
|
||||||
* 2. exit
|
|
||||||
* 3. fork
|
|
||||||
* 4. listening
|
|
||||||
* 5. message
|
|
||||||
* 6. online
|
|
||||||
* 7. setup
|
|
||||||
*/
|
|
||||||
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
addListener(event: 'disconnect', listener: (worker: Worker) => void): this;
|
|
||||||
addListener(event: 'exit', listener: (worker: Worker, code: number, signal: string) => void): this;
|
|
||||||
addListener(event: 'fork', listener: (worker: Worker) => void): this;
|
|
||||||
addListener(event: 'listening', listener: (worker: Worker, address: Address) => void): this;
|
|
||||||
addListener(event: 'message', listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
||||||
addListener(event: 'online', listener: (worker: Worker) => void): this;
|
|
||||||
addListener(event: 'setup', listener: (settings: ClusterSettings) => void): this;
|
|
||||||
emit(event: string | symbol, ...args: any[]): boolean;
|
|
||||||
emit(event: 'disconnect', worker: Worker): boolean;
|
|
||||||
emit(event: 'exit', worker: Worker, code: number, signal: string): boolean;
|
|
||||||
emit(event: 'fork', worker: Worker): boolean;
|
|
||||||
emit(event: 'listening', worker: Worker, address: Address): boolean;
|
|
||||||
emit(event: 'message', worker: Worker, message: any, handle: net.Socket | net.Server): boolean;
|
|
||||||
emit(event: 'online', worker: Worker): boolean;
|
|
||||||
emit(event: 'setup', settings: ClusterSettings): boolean;
|
|
||||||
on(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
on(event: 'disconnect', listener: (worker: Worker) => void): this;
|
|
||||||
on(event: 'exit', listener: (worker: Worker, code: number, signal: string) => void): this;
|
|
||||||
on(event: 'fork', listener: (worker: Worker) => void): this;
|
|
||||||
on(event: 'listening', listener: (worker: Worker, address: Address) => void): this;
|
|
||||||
on(event: 'message', listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
||||||
on(event: 'online', listener: (worker: Worker) => void): this;
|
|
||||||
on(event: 'setup', listener: (settings: ClusterSettings) => void): this;
|
|
||||||
once(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
once(event: 'disconnect', listener: (worker: Worker) => void): this;
|
|
||||||
once(event: 'exit', listener: (worker: Worker, code: number, signal: string) => void): this;
|
|
||||||
once(event: 'fork', listener: (worker: Worker) => void): this;
|
|
||||||
once(event: 'listening', listener: (worker: Worker, address: Address) => void): this;
|
|
||||||
once(event: 'message', listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this; // the handle is a net.Socket or net.Server object, or undefined.
|
|
||||||
once(event: 'online', listener: (worker: Worker) => void): this;
|
|
||||||
once(event: 'setup', listener: (settings: ClusterSettings) => void): this;
|
|
||||||
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
prependListener(event: 'disconnect', listener: (worker: Worker) => void): this;
|
|
||||||
prependListener(event: 'exit', listener: (worker: Worker, code: number, signal: string) => void): this;
|
|
||||||
prependListener(event: 'fork', listener: (worker: Worker) => void): this;
|
|
||||||
prependListener(event: 'listening', listener: (worker: Worker, address: Address) => void): this;
|
|
||||||
// the handle is a net.Socket or net.Server object, or undefined.
|
|
||||||
prependListener(event: 'message', listener: (worker: Worker, message: any, handle?: net.Socket | net.Server) => void): this;
|
|
||||||
prependListener(event: 'online', listener: (worker: Worker) => void): this;
|
|
||||||
prependListener(event: 'setup', listener: (settings: ClusterSettings) => void): this;
|
|
||||||
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
prependOnceListener(event: 'disconnect', listener: (worker: Worker) => void): this;
|
|
||||||
prependOnceListener(event: 'exit', listener: (worker: Worker, code: number, signal: string) => void): this;
|
|
||||||
prependOnceListener(event: 'fork', listener: (worker: Worker) => void): this;
|
|
||||||
prependOnceListener(event: 'listening', listener: (worker: Worker, address: Address) => void): this;
|
|
||||||
// the handle is a net.Socket or net.Server object, or undefined.
|
|
||||||
prependOnceListener(event: 'message', listener: (worker: Worker, message: any, handle: net.Socket | net.Server) => void): this;
|
|
||||||
prependOnceListener(event: 'online', listener: (worker: Worker) => void): this;
|
|
||||||
prependOnceListener(event: 'setup', listener: (settings: ClusterSettings) => void): this;
|
|
||||||
}
|
|
||||||
const cluster: Cluster;
|
|
||||||
export default cluster;
|
|
||||||
}
|
|
||||||
declare module 'node:cluster' {
|
|
||||||
export * from 'cluster';
|
|
||||||
export { default as default } from 'cluster';
|
|
||||||
}
|
|
||||||
412
Websites/Jefes/Backend/node_modules/@types/node/console.d.ts
generated
vendored
412
Websites/Jefes/Backend/node_modules/@types/node/console.d.ts
generated
vendored
@ -1,412 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `console` module provides a simple debugging console that is similar to the
|
|
||||||
* JavaScript console mechanism provided by web browsers.
|
|
||||||
*
|
|
||||||
* The module exports two specific components:
|
|
||||||
*
|
|
||||||
* * A `Console` class with methods such as `console.log()`, `console.error()` and`console.warn()` that can be used to write to any Node.js stream.
|
|
||||||
* * A global `console` instance configured to write to `process.stdout` and `process.stderr`. The global `console` can be used without calling`require('console')`.
|
|
||||||
*
|
|
||||||
* _**Warning**_: The global console object's methods are neither consistently
|
|
||||||
* synchronous like the browser APIs they resemble, nor are they consistently
|
|
||||||
* asynchronous like all other Node.js streams. See the `note on process I/O` for
|
|
||||||
* more information.
|
|
||||||
*
|
|
||||||
* Example using the global `console`:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* console.log('hello world');
|
|
||||||
* // Prints: hello world, to stdout
|
|
||||||
* console.log('hello %s', 'world');
|
|
||||||
* // Prints: hello world, to stdout
|
|
||||||
* console.error(new Error('Whoops, something bad happened'));
|
|
||||||
* // Prints error message and stack trace to stderr:
|
|
||||||
* // Error: Whoops, something bad happened
|
|
||||||
* // at [eval]:5:15
|
|
||||||
* // at Script.runInThisContext (node:vm:132:18)
|
|
||||||
* // at Object.runInThisContext (node:vm:309:38)
|
|
||||||
* // at node:internal/process/execution:77:19
|
|
||||||
* // at [eval]-wrapper:6:22
|
|
||||||
* // at evalScript (node:internal/process/execution:76:60)
|
|
||||||
* // at node:internal/main/eval_string:23:3
|
|
||||||
*
|
|
||||||
* const name = 'Will Robinson';
|
|
||||||
* console.warn(`Danger ${name}! Danger!`);
|
|
||||||
* // Prints: Danger Will Robinson! Danger!, to stderr
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Example using the `Console` class:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const out = getStreamSomehow();
|
|
||||||
* const err = getStreamSomehow();
|
|
||||||
* const myConsole = new console.Console(out, err);
|
|
||||||
*
|
|
||||||
* myConsole.log('hello world');
|
|
||||||
* // Prints: hello world, to out
|
|
||||||
* myConsole.log('hello %s', 'world');
|
|
||||||
* // Prints: hello world, to out
|
|
||||||
* myConsole.error(new Error('Whoops, something bad happened'));
|
|
||||||
* // Prints: [Error: Whoops, something bad happened], to err
|
|
||||||
*
|
|
||||||
* const name = 'Will Robinson';
|
|
||||||
* myConsole.warn(`Danger ${name}! Danger!`);
|
|
||||||
* // Prints: Danger Will Robinson! Danger!, to err
|
|
||||||
* ```
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/console.js)
|
|
||||||
*/
|
|
||||||
declare module 'console' {
|
|
||||||
import console = require('node:console');
|
|
||||||
export = console;
|
|
||||||
}
|
|
||||||
declare module 'node:console' {
|
|
||||||
import { InspectOptions } from 'node:util';
|
|
||||||
global {
|
|
||||||
// This needs to be global to avoid TS2403 in case lib.dom.d.ts is present in the same build
|
|
||||||
interface Console {
|
|
||||||
Console: console.ConsoleConstructor;
|
|
||||||
/**
|
|
||||||
* `console.assert()` writes a message if `value` is [falsy](https://developer.mozilla.org/en-US/docs/Glossary/Falsy) or omitted. It only
|
|
||||||
* writes a message and does not otherwise affect execution. The output always
|
|
||||||
* starts with `"Assertion failed"`. If provided, `message` is formatted using `util.format()`.
|
|
||||||
*
|
|
||||||
* If `value` is [truthy](https://developer.mozilla.org/en-US/docs/Glossary/Truthy), nothing happens.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* console.assert(true, 'does nothing');
|
|
||||||
*
|
|
||||||
* console.assert(false, 'Whoops %s work', 'didn\'t');
|
|
||||||
* // Assertion failed: Whoops didn't work
|
|
||||||
*
|
|
||||||
* console.assert();
|
|
||||||
* // Assertion failed
|
|
||||||
* ```
|
|
||||||
* @since v0.1.101
|
|
||||||
* @param value The value tested for being truthy.
|
|
||||||
* @param message All arguments besides `value` are used as error message.
|
|
||||||
*/
|
|
||||||
assert(value: any, message?: string, ...optionalParams: any[]): void;
|
|
||||||
/**
|
|
||||||
* When `stdout` is a TTY, calling `console.clear()` will attempt to clear the
|
|
||||||
* TTY. When `stdout` is not a TTY, this method does nothing.
|
|
||||||
*
|
|
||||||
* The specific operation of `console.clear()` can vary across operating systems
|
|
||||||
* and terminal types. For most Linux operating systems, `console.clear()`operates similarly to the `clear` shell command. On Windows, `console.clear()`will clear only the output in the
|
|
||||||
* current terminal viewport for the Node.js
|
|
||||||
* binary.
|
|
||||||
* @since v8.3.0
|
|
||||||
*/
|
|
||||||
clear(): void;
|
|
||||||
/**
|
|
||||||
* Maintains an internal counter specific to `label` and outputs to `stdout` the
|
|
||||||
* number of times `console.count()` has been called with the given `label`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* > console.count()
|
|
||||||
* default: 1
|
|
||||||
* undefined
|
|
||||||
* > console.count('default')
|
|
||||||
* default: 2
|
|
||||||
* undefined
|
|
||||||
* > console.count('abc')
|
|
||||||
* abc: 1
|
|
||||||
* undefined
|
|
||||||
* > console.count('xyz')
|
|
||||||
* xyz: 1
|
|
||||||
* undefined
|
|
||||||
* > console.count('abc')
|
|
||||||
* abc: 2
|
|
||||||
* undefined
|
|
||||||
* > console.count()
|
|
||||||
* default: 3
|
|
||||||
* undefined
|
|
||||||
* >
|
|
||||||
* ```
|
|
||||||
* @since v8.3.0
|
|
||||||
* @param label The display label for the counter.
|
|
||||||
*/
|
|
||||||
count(label?: string): void;
|
|
||||||
/**
|
|
||||||
* Resets the internal counter specific to `label`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* > console.count('abc');
|
|
||||||
* abc: 1
|
|
||||||
* undefined
|
|
||||||
* > console.countReset('abc');
|
|
||||||
* undefined
|
|
||||||
* > console.count('abc');
|
|
||||||
* abc: 1
|
|
||||||
* undefined
|
|
||||||
* >
|
|
||||||
* ```
|
|
||||||
* @since v8.3.0
|
|
||||||
* @param label The display label for the counter.
|
|
||||||
*/
|
|
||||||
countReset(label?: string): void;
|
|
||||||
/**
|
|
||||||
* The `console.debug()` function is an alias for {@link log}.
|
|
||||||
* @since v8.0.0
|
|
||||||
*/
|
|
||||||
debug(message?: any, ...optionalParams: any[]): void;
|
|
||||||
/**
|
|
||||||
* Uses `util.inspect()` on `obj` and prints the resulting string to `stdout`.
|
|
||||||
* This function bypasses any custom `inspect()` function defined on `obj`.
|
|
||||||
* @since v0.1.101
|
|
||||||
*/
|
|
||||||
dir(obj: any, options?: InspectOptions): void;
|
|
||||||
/**
|
|
||||||
* This method calls `console.log()` passing it the arguments received.
|
|
||||||
* This method does not produce any XML formatting.
|
|
||||||
* @since v8.0.0
|
|
||||||
*/
|
|
||||||
dirxml(...data: any[]): void;
|
|
||||||
/**
|
|
||||||
* Prints to `stderr` with newline. Multiple arguments can be passed, with the
|
|
||||||
* first used as the primary message and all additional used as substitution
|
|
||||||
* values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html) (the arguments are all passed to `util.format()`).
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const code = 5;
|
|
||||||
* console.error('error #%d', code);
|
|
||||||
* // Prints: error #5, to stderr
|
|
||||||
* console.error('error', code);
|
|
||||||
* // Prints: error 5, to stderr
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* If formatting elements (e.g. `%d`) are not found in the first string then `util.inspect()` is called on each argument and the resulting string
|
|
||||||
* values are concatenated. See `util.format()` for more information.
|
|
||||||
* @since v0.1.100
|
|
||||||
*/
|
|
||||||
error(message?: any, ...optionalParams: any[]): void;
|
|
||||||
/**
|
|
||||||
* Increases indentation of subsequent lines by spaces for `groupIndentation`length.
|
|
||||||
*
|
|
||||||
* If one or more `label`s are provided, those are printed first without the
|
|
||||||
* additional indentation.
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
group(...label: any[]): void;
|
|
||||||
/**
|
|
||||||
* An alias for {@link group}.
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
groupCollapsed(...label: any[]): void;
|
|
||||||
/**
|
|
||||||
* Decreases indentation of subsequent lines by spaces for `groupIndentation`length.
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
groupEnd(): void;
|
|
||||||
/**
|
|
||||||
* The `console.info()` function is an alias for {@link log}.
|
|
||||||
* @since v0.1.100
|
|
||||||
*/
|
|
||||||
info(message?: any, ...optionalParams: any[]): void;
|
|
||||||
/**
|
|
||||||
* Prints to `stdout` with newline. Multiple arguments can be passed, with the
|
|
||||||
* first used as the primary message and all additional used as substitution
|
|
||||||
* values similar to [`printf(3)`](http://man7.org/linux/man-pages/man3/printf.3.html) (the arguments are all passed to `util.format()`).
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const count = 5;
|
|
||||||
* console.log('count: %d', count);
|
|
||||||
* // Prints: count: 5, to stdout
|
|
||||||
* console.log('count:', count);
|
|
||||||
* // Prints: count: 5, to stdout
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* See `util.format()` for more information.
|
|
||||||
* @since v0.1.100
|
|
||||||
*/
|
|
||||||
log(message?: any, ...optionalParams: any[]): void;
|
|
||||||
/**
|
|
||||||
* Try to construct a table with the columns of the properties of `tabularData`(or use `properties`) and rows of `tabularData` and log it. Falls back to just
|
|
||||||
* logging the argument if it can’t be parsed as tabular.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* // These can't be parsed as tabular data
|
|
||||||
* console.table(Symbol());
|
|
||||||
* // Symbol()
|
|
||||||
*
|
|
||||||
* console.table(undefined);
|
|
||||||
* // undefined
|
|
||||||
*
|
|
||||||
* console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }]);
|
|
||||||
* // ┌─────────┬─────┬─────┐
|
|
||||||
* // │ (index) │ a │ b │
|
|
||||||
* // ├─────────┼─────┼─────┤
|
|
||||||
* // │ 0 │ 1 │ 'Y' │
|
|
||||||
* // │ 1 │ 'Z' │ 2 │
|
|
||||||
* // └─────────┴─────┴─────┘
|
|
||||||
*
|
|
||||||
* console.table([{ a: 1, b: 'Y' }, { a: 'Z', b: 2 }], ['a']);
|
|
||||||
* // ┌─────────┬─────┐
|
|
||||||
* // │ (index) │ a │
|
|
||||||
* // ├─────────┼─────┤
|
|
||||||
* // │ 0 │ 1 │
|
|
||||||
* // │ 1 │ 'Z' │
|
|
||||||
* // └─────────┴─────┘
|
|
||||||
* ```
|
|
||||||
* @since v10.0.0
|
|
||||||
* @param properties Alternate properties for constructing the table.
|
|
||||||
*/
|
|
||||||
table(tabularData: any, properties?: ReadonlyArray<string>): void;
|
|
||||||
/**
|
|
||||||
* Starts a timer that can be used to compute the duration of an operation. Timers
|
|
||||||
* are identified by a unique `label`. Use the same `label` when calling {@link timeEnd} to stop the timer and output the elapsed time in
|
|
||||||
* suitable time units to `stdout`. For example, if the elapsed
|
|
||||||
* time is 3869ms, `console.timeEnd()` displays "3.869s".
|
|
||||||
* @since v0.1.104
|
|
||||||
*/
|
|
||||||
time(label?: string): void;
|
|
||||||
/**
|
|
||||||
* Stops a timer that was previously started by calling {@link time} and
|
|
||||||
* prints the result to `stdout`:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* console.time('100-elements');
|
|
||||||
* for (let i = 0; i < 100; i++) {}
|
|
||||||
* console.timeEnd('100-elements');
|
|
||||||
* // prints 100-elements: 225.438ms
|
|
||||||
* ```
|
|
||||||
* @since v0.1.104
|
|
||||||
*/
|
|
||||||
timeEnd(label?: string): void;
|
|
||||||
/**
|
|
||||||
* For a timer that was previously started by calling {@link time}, prints
|
|
||||||
* the elapsed time and other `data` arguments to `stdout`:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* console.time('process');
|
|
||||||
* const value = expensiveProcess1(); // Returns 42
|
|
||||||
* console.timeLog('process', value);
|
|
||||||
* // Prints "process: 365.227ms 42".
|
|
||||||
* doExpensiveProcess2(value);
|
|
||||||
* console.timeEnd('process');
|
|
||||||
* ```
|
|
||||||
* @since v10.7.0
|
|
||||||
*/
|
|
||||||
timeLog(label?: string, ...data: any[]): void;
|
|
||||||
/**
|
|
||||||
* Prints to `stderr` the string `'Trace: '`, followed by the `util.format()` formatted message and stack trace to the current position in the code.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* console.trace('Show me');
|
|
||||||
* // Prints: (stack trace will vary based on where trace is called)
|
|
||||||
* // Trace: Show me
|
|
||||||
* // at repl:2:9
|
|
||||||
* // at REPLServer.defaultEval (repl.js:248:27)
|
|
||||||
* // at bound (domain.js:287:14)
|
|
||||||
* // at REPLServer.runBound [as eval] (domain.js:300:12)
|
|
||||||
* // at REPLServer.<anonymous> (repl.js:412:12)
|
|
||||||
* // at emitOne (events.js:82:20)
|
|
||||||
* // at REPLServer.emit (events.js:169:7)
|
|
||||||
* // at REPLServer.Interface._onLine (readline.js:210:10)
|
|
||||||
* // at REPLServer.Interface._line (readline.js:549:8)
|
|
||||||
* // at REPLServer.Interface._ttyWrite (readline.js:826:14)
|
|
||||||
* ```
|
|
||||||
* @since v0.1.104
|
|
||||||
*/
|
|
||||||
trace(message?: any, ...optionalParams: any[]): void;
|
|
||||||
/**
|
|
||||||
* The `console.warn()` function is an alias for {@link error}.
|
|
||||||
* @since v0.1.100
|
|
||||||
*/
|
|
||||||
warn(message?: any, ...optionalParams: any[]): void;
|
|
||||||
// --- Inspector mode only ---
|
|
||||||
/**
|
|
||||||
* This method does not display anything unless used in the inspector.
|
|
||||||
* Starts a JavaScript CPU profile with an optional label.
|
|
||||||
*/
|
|
||||||
profile(label?: string): void;
|
|
||||||
/**
|
|
||||||
* This method does not display anything unless used in the inspector.
|
|
||||||
* Stops the current JavaScript CPU profiling session if one has been started and prints the report to the Profiles panel of the inspector.
|
|
||||||
*/
|
|
||||||
profileEnd(label?: string): void;
|
|
||||||
/**
|
|
||||||
* This method does not display anything unless used in the inspector.
|
|
||||||
* Adds an event with the label `label` to the Timeline panel of the inspector.
|
|
||||||
*/
|
|
||||||
timeStamp(label?: string): void;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* The `console` module provides a simple debugging console that is similar to the
|
|
||||||
* JavaScript console mechanism provided by web browsers.
|
|
||||||
*
|
|
||||||
* The module exports two specific components:
|
|
||||||
*
|
|
||||||
* * A `Console` class with methods such as `console.log()`, `console.error()` and`console.warn()` that can be used to write to any Node.js stream.
|
|
||||||
* * A global `console` instance configured to write to `process.stdout` and `process.stderr`. The global `console` can be used without calling`require('console')`.
|
|
||||||
*
|
|
||||||
* _**Warning**_: The global console object's methods are neither consistently
|
|
||||||
* synchronous like the browser APIs they resemble, nor are they consistently
|
|
||||||
* asynchronous like all other Node.js streams. See the `note on process I/O` for
|
|
||||||
* more information.
|
|
||||||
*
|
|
||||||
* Example using the global `console`:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* console.log('hello world');
|
|
||||||
* // Prints: hello world, to stdout
|
|
||||||
* console.log('hello %s', 'world');
|
|
||||||
* // Prints: hello world, to stdout
|
|
||||||
* console.error(new Error('Whoops, something bad happened'));
|
|
||||||
* // Prints error message and stack trace to stderr:
|
|
||||||
* // Error: Whoops, something bad happened
|
|
||||||
* // at [eval]:5:15
|
|
||||||
* // at Script.runInThisContext (node:vm:132:18)
|
|
||||||
* // at Object.runInThisContext (node:vm:309:38)
|
|
||||||
* // at node:internal/process/execution:77:19
|
|
||||||
* // at [eval]-wrapper:6:22
|
|
||||||
* // at evalScript (node:internal/process/execution:76:60)
|
|
||||||
* // at node:internal/main/eval_string:23:3
|
|
||||||
*
|
|
||||||
* const name = 'Will Robinson';
|
|
||||||
* console.warn(`Danger ${name}! Danger!`);
|
|
||||||
* // Prints: Danger Will Robinson! Danger!, to stderr
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Example using the `Console` class:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const out = getStreamSomehow();
|
|
||||||
* const err = getStreamSomehow();
|
|
||||||
* const myConsole = new console.Console(out, err);
|
|
||||||
*
|
|
||||||
* myConsole.log('hello world');
|
|
||||||
* // Prints: hello world, to out
|
|
||||||
* myConsole.log('hello %s', 'world');
|
|
||||||
* // Prints: hello world, to out
|
|
||||||
* myConsole.error(new Error('Whoops, something bad happened'));
|
|
||||||
* // Prints: [Error: Whoops, something bad happened], to err
|
|
||||||
*
|
|
||||||
* const name = 'Will Robinson';
|
|
||||||
* myConsole.warn(`Danger ${name}! Danger!`);
|
|
||||||
* // Prints: Danger Will Robinson! Danger!, to err
|
|
||||||
* ```
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v16.4.2/lib/console.js)
|
|
||||||
*/
|
|
||||||
namespace console {
|
|
||||||
interface ConsoleConstructorOptions {
|
|
||||||
stdout: NodeJS.WritableStream;
|
|
||||||
stderr?: NodeJS.WritableStream | undefined;
|
|
||||||
ignoreErrors?: boolean | undefined;
|
|
||||||
colorMode?: boolean | 'auto' | undefined;
|
|
||||||
inspectOptions?: InspectOptions | undefined;
|
|
||||||
/**
|
|
||||||
* Set group indentation
|
|
||||||
* @default 2
|
|
||||||
*/
|
|
||||||
groupIndentation?: number | undefined;
|
|
||||||
}
|
|
||||||
interface ConsoleConstructor {
|
|
||||||
prototype: Console;
|
|
||||||
new (stdout: NodeJS.WritableStream, stderr?: NodeJS.WritableStream, ignoreErrors?: boolean): Console;
|
|
||||||
new (options: ConsoleConstructorOptions): Console;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
var console: Console;
|
|
||||||
}
|
|
||||||
export = globalThis.console;
|
|
||||||
}
|
|
||||||
18
Websites/Jefes/Backend/node_modules/@types/node/constants.d.ts
generated
vendored
18
Websites/Jefes/Backend/node_modules/@types/node/constants.d.ts
generated
vendored
@ -1,18 +0,0 @@
|
|||||||
/** @deprecated since v6.3.0 - use constants property exposed by the relevant module instead. */
|
|
||||||
declare module 'constants' {
|
|
||||||
import { constants as osConstants, SignalConstants } from 'node:os';
|
|
||||||
import { constants as cryptoConstants } from 'node:crypto';
|
|
||||||
import { constants as fsConstants } from 'node:fs';
|
|
||||||
|
|
||||||
const exp: typeof osConstants.errno &
|
|
||||||
typeof osConstants.priority &
|
|
||||||
SignalConstants &
|
|
||||||
typeof cryptoConstants &
|
|
||||||
typeof fsConstants;
|
|
||||||
export = exp;
|
|
||||||
}
|
|
||||||
|
|
||||||
declare module 'node:constants' {
|
|
||||||
import constants = require('constants');
|
|
||||||
export = constants;
|
|
||||||
}
|
|
||||||
3338
Websites/Jefes/Backend/node_modules/@types/node/crypto.d.ts
generated
vendored
3338
Websites/Jefes/Backend/node_modules/@types/node/crypto.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
545
Websites/Jefes/Backend/node_modules/@types/node/dgram.d.ts
generated
vendored
545
Websites/Jefes/Backend/node_modules/@types/node/dgram.d.ts
generated
vendored
@ -1,545 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `dgram` module provides an implementation of UDP datagram sockets.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import dgram from 'dgram';
|
|
||||||
*
|
|
||||||
* const server = dgram.createSocket('udp4');
|
|
||||||
*
|
|
||||||
* server.on('error', (err) => {
|
|
||||||
* console.log(`server error:\n${err.stack}`);
|
|
||||||
* server.close();
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* server.on('message', (msg, rinfo) => {
|
|
||||||
* console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`);
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* server.on('listening', () => {
|
|
||||||
* const address = server.address();
|
|
||||||
* console.log(`server listening ${address.address}:${address.port}`);
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* server.bind(41234);
|
|
||||||
* // Prints: server listening 0.0.0.0:41234
|
|
||||||
* ```
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/dgram.js)
|
|
||||||
*/
|
|
||||||
declare module 'dgram' {
|
|
||||||
import { AddressInfo } from 'node:net';
|
|
||||||
import * as dns from 'node:dns';
|
|
||||||
import { EventEmitter, Abortable } from 'node:events';
|
|
||||||
interface RemoteInfo {
|
|
||||||
address: string;
|
|
||||||
family: 'IPv4' | 'IPv6';
|
|
||||||
port: number;
|
|
||||||
size: number;
|
|
||||||
}
|
|
||||||
interface BindOptions {
|
|
||||||
port?: number | undefined;
|
|
||||||
address?: string | undefined;
|
|
||||||
exclusive?: boolean | undefined;
|
|
||||||
fd?: number | undefined;
|
|
||||||
}
|
|
||||||
type SocketType = 'udp4' | 'udp6';
|
|
||||||
interface SocketOptions extends Abortable {
|
|
||||||
type: SocketType;
|
|
||||||
reuseAddr?: boolean | undefined;
|
|
||||||
/**
|
|
||||||
* @default false
|
|
||||||
*/
|
|
||||||
ipv6Only?: boolean | undefined;
|
|
||||||
recvBufferSize?: number | undefined;
|
|
||||||
sendBufferSize?: number | undefined;
|
|
||||||
lookup?: ((hostname: string, options: dns.LookupOneOptions, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void) => void) | undefined;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Creates a `dgram.Socket` object. Once the socket is created, calling `socket.bind()` will instruct the socket to begin listening for datagram
|
|
||||||
* messages. When `address` and `port` are not passed to `socket.bind()` the
|
|
||||||
* method will bind the socket to the "all interfaces" address on a random port
|
|
||||||
* (it does the right thing for both `udp4` and `udp6` sockets). The bound address
|
|
||||||
* and port can be retrieved using `socket.address().address` and `socket.address().port`.
|
|
||||||
*
|
|
||||||
* If the `signal` option is enabled, calling `.abort()` on the corresponding`AbortController` is similar to calling `.close()` on the socket:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const controller = new AbortController();
|
|
||||||
* const { signal } = controller;
|
|
||||||
* const server = dgram.createSocket({ type: 'udp4', signal });
|
|
||||||
* server.on('message', (msg, rinfo) => {
|
|
||||||
* console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`);
|
|
||||||
* });
|
|
||||||
* // Later, when you want to close the server.
|
|
||||||
* controller.abort();
|
|
||||||
* ```
|
|
||||||
* @since v0.11.13
|
|
||||||
* @param options Available options are:
|
|
||||||
* @param callback Attached as a listener for `'message'` events. Optional.
|
|
||||||
*/
|
|
||||||
function createSocket(type: SocketType, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket;
|
|
||||||
function createSocket(options: SocketOptions, callback?: (msg: Buffer, rinfo: RemoteInfo) => void): Socket;
|
|
||||||
/**
|
|
||||||
* Encapsulates the datagram functionality.
|
|
||||||
*
|
|
||||||
* New instances of `dgram.Socket` are created using {@link createSocket}.
|
|
||||||
* The `new` keyword is not to be used to create `dgram.Socket` instances.
|
|
||||||
* @since v0.1.99
|
|
||||||
*/
|
|
||||||
class Socket extends EventEmitter {
|
|
||||||
/**
|
|
||||||
* Tells the kernel to join a multicast group at the given `multicastAddress` and`multicastInterface` using the `IP_ADD_MEMBERSHIP` socket option. If the`multicastInterface` argument is not
|
|
||||||
* specified, the operating system will choose
|
|
||||||
* one interface and will add membership to it. To add membership to every
|
|
||||||
* available interface, call `addMembership` multiple times, once per interface.
|
|
||||||
*
|
|
||||||
* When called on an unbound socket, this method will implicitly bind to a random
|
|
||||||
* port, listening on all interfaces.
|
|
||||||
*
|
|
||||||
* When sharing a UDP socket across multiple `cluster` workers, the`socket.addMembership()` function must be called only once or an`EADDRINUSE` error will occur:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import cluster from 'cluster';
|
|
||||||
* import dgram from 'dgram';
|
|
||||||
*
|
|
||||||
* if (cluster.isPrimary) {
|
|
||||||
* cluster.fork(); // Works ok.
|
|
||||||
* cluster.fork(); // Fails with EADDRINUSE.
|
|
||||||
* } else {
|
|
||||||
* const s = dgram.createSocket('udp4');
|
|
||||||
* s.bind(1234, () => {
|
|
||||||
* s.addMembership('224.0.0.114');
|
|
||||||
* });
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v0.6.9
|
|
||||||
*/
|
|
||||||
addMembership(multicastAddress: string, multicastInterface?: string): void;
|
|
||||||
/**
|
|
||||||
* Returns an object containing the address information for a socket.
|
|
||||||
* For UDP sockets, this object will contain `address`, `family` and `port`properties.
|
|
||||||
*
|
|
||||||
* This method throws `EBADF` if called on an unbound socket.
|
|
||||||
* @since v0.1.99
|
|
||||||
*/
|
|
||||||
address(): AddressInfo;
|
|
||||||
/**
|
|
||||||
* For UDP sockets, causes the `dgram.Socket` to listen for datagram
|
|
||||||
* messages on a named `port` and optional `address`. If `port` is not
|
|
||||||
* specified or is `0`, the operating system will attempt to bind to a
|
|
||||||
* random port. If `address` is not specified, the operating system will
|
|
||||||
* attempt to listen on all addresses. Once binding is complete, a`'listening'` event is emitted and the optional `callback` function is
|
|
||||||
* called.
|
|
||||||
*
|
|
||||||
* Specifying both a `'listening'` event listener and passing a`callback` to the `socket.bind()` method is not harmful but not very
|
|
||||||
* useful.
|
|
||||||
*
|
|
||||||
* A bound datagram socket keeps the Node.js process running to receive
|
|
||||||
* datagram messages.
|
|
||||||
*
|
|
||||||
* If binding fails, an `'error'` event is generated. In rare case (e.g.
|
|
||||||
* attempting to bind with a closed socket), an `Error` may be thrown.
|
|
||||||
*
|
|
||||||
* Example of a UDP server listening on port 41234:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import dgram from 'dgram';
|
|
||||||
*
|
|
||||||
* const server = dgram.createSocket('udp4');
|
|
||||||
*
|
|
||||||
* server.on('error', (err) => {
|
|
||||||
* console.log(`server error:\n${err.stack}`);
|
|
||||||
* server.close();
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* server.on('message', (msg, rinfo) => {
|
|
||||||
* console.log(`server got: ${msg} from ${rinfo.address}:${rinfo.port}`);
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* server.on('listening', () => {
|
|
||||||
* const address = server.address();
|
|
||||||
* console.log(`server listening ${address.address}:${address.port}`);
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* server.bind(41234);
|
|
||||||
* // Prints: server listening 0.0.0.0:41234
|
|
||||||
* ```
|
|
||||||
* @since v0.1.99
|
|
||||||
* @param callback with no parameters. Called when binding is complete.
|
|
||||||
*/
|
|
||||||
bind(port?: number, address?: string, callback?: () => void): this;
|
|
||||||
bind(port?: number, callback?: () => void): this;
|
|
||||||
bind(callback?: () => void): this;
|
|
||||||
bind(options: BindOptions, callback?: () => void): this;
|
|
||||||
/**
|
|
||||||
* Close the underlying socket and stop listening for data on it. If a callback is
|
|
||||||
* provided, it is added as a listener for the `'close'` event.
|
|
||||||
* @since v0.1.99
|
|
||||||
* @param callback Called when the socket has been closed.
|
|
||||||
*/
|
|
||||||
close(callback?: () => void): this;
|
|
||||||
/**
|
|
||||||
* Associates the `dgram.Socket` to a remote address and port. Every
|
|
||||||
* message sent by this handle is automatically sent to that destination. Also,
|
|
||||||
* the socket will only receive messages from that remote peer.
|
|
||||||
* Trying to call `connect()` on an already connected socket will result
|
|
||||||
* in an `ERR_SOCKET_DGRAM_IS_CONNECTED` exception. If `address` is not
|
|
||||||
* provided, `'127.0.0.1'` (for `udp4` sockets) or `'::1'` (for `udp6` sockets)
|
|
||||||
* will be used by default. Once the connection is complete, a `'connect'` event
|
|
||||||
* is emitted and the optional `callback` function is called. In case of failure,
|
|
||||||
* the `callback` is called or, failing this, an `'error'` event is emitted.
|
|
||||||
* @since v12.0.0
|
|
||||||
* @param callback Called when the connection is completed or on error.
|
|
||||||
*/
|
|
||||||
connect(port: number, address?: string, callback?: () => void): void;
|
|
||||||
connect(port: number, callback: () => void): void;
|
|
||||||
/**
|
|
||||||
* A synchronous function that disassociates a connected `dgram.Socket` from
|
|
||||||
* its remote address. Trying to call `disconnect()` on an unbound or already
|
|
||||||
* disconnected socket will result in an `ERR_SOCKET_DGRAM_NOT_CONNECTED` exception.
|
|
||||||
* @since v12.0.0
|
|
||||||
*/
|
|
||||||
disconnect(): void;
|
|
||||||
/**
|
|
||||||
* Instructs the kernel to leave a multicast group at `multicastAddress` using the`IP_DROP_MEMBERSHIP` socket option. This method is automatically called by the
|
|
||||||
* kernel when the socket is closed or the process terminates, so most apps will
|
|
||||||
* never have reason to call this.
|
|
||||||
*
|
|
||||||
* If `multicastInterface` is not specified, the operating system will attempt to
|
|
||||||
* drop membership on all valid interfaces.
|
|
||||||
* @since v0.6.9
|
|
||||||
*/
|
|
||||||
dropMembership(multicastAddress: string, multicastInterface?: string): void;
|
|
||||||
/**
|
|
||||||
* This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket.
|
|
||||||
* @since v8.7.0
|
|
||||||
* @return the `SO_RCVBUF` socket receive buffer size in bytes.
|
|
||||||
*/
|
|
||||||
getRecvBufferSize(): number;
|
|
||||||
/**
|
|
||||||
* This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket.
|
|
||||||
* @since v8.7.0
|
|
||||||
* @return the `SO_SNDBUF` socket send buffer size in bytes.
|
|
||||||
*/
|
|
||||||
getSendBufferSize(): number;
|
|
||||||
/**
|
|
||||||
* By default, binding a socket will cause it to block the Node.js process from
|
|
||||||
* exiting as long as the socket is open. The `socket.unref()` method can be used
|
|
||||||
* to exclude the socket from the reference counting that keeps the Node.js
|
|
||||||
* process active. The `socket.ref()` method adds the socket back to the reference
|
|
||||||
* counting and restores the default behavior.
|
|
||||||
*
|
|
||||||
* Calling `socket.ref()` multiples times will have no additional effect.
|
|
||||||
*
|
|
||||||
* The `socket.ref()` method returns a reference to the socket so calls can be
|
|
||||||
* chained.
|
|
||||||
* @since v0.9.1
|
|
||||||
*/
|
|
||||||
ref(): this;
|
|
||||||
/**
|
|
||||||
* Returns an object containing the `address`, `family`, and `port` of the remote
|
|
||||||
* endpoint. This method throws an `ERR_SOCKET_DGRAM_NOT_CONNECTED` exception
|
|
||||||
* if the socket is not connected.
|
|
||||||
* @since v12.0.0
|
|
||||||
*/
|
|
||||||
remoteAddress(): AddressInfo;
|
|
||||||
/**
|
|
||||||
* Broadcasts a datagram on the socket.
|
|
||||||
* For connectionless sockets, the destination `port` and `address` must be
|
|
||||||
* specified. Connected sockets, on the other hand, will use their associated
|
|
||||||
* remote endpoint, so the `port` and `address` arguments must not be set.
|
|
||||||
*
|
|
||||||
* The `msg` argument contains the message to be sent.
|
|
||||||
* Depending on its type, different behavior can apply. If `msg` is a `Buffer`,
|
|
||||||
* any `TypedArray` or a `DataView`,
|
|
||||||
* the `offset` and `length` specify the offset within the `Buffer` where the
|
|
||||||
* message begins and the number of bytes in the message, respectively.
|
|
||||||
* If `msg` is a `String`, then it is automatically converted to a `Buffer`with `'utf8'` encoding. With messages that
|
|
||||||
* contain multi-byte characters, `offset` and `length` will be calculated with
|
|
||||||
* respect to `byte length` and not the character position.
|
|
||||||
* If `msg` is an array, `offset` and `length` must not be specified.
|
|
||||||
*
|
|
||||||
* The `address` argument is a string. If the value of `address` is a host name,
|
|
||||||
* DNS will be used to resolve the address of the host. If `address` is not
|
|
||||||
* provided or otherwise nullish, `'127.0.0.1'` (for `udp4` sockets) or `'::1'`(for `udp6` sockets) will be used by default.
|
|
||||||
*
|
|
||||||
* If the socket has not been previously bound with a call to `bind`, the socket
|
|
||||||
* is assigned a random port number and is bound to the "all interfaces" address
|
|
||||||
* (`'0.0.0.0'` for `udp4` sockets, `'::0'` for `udp6` sockets.)
|
|
||||||
*
|
|
||||||
* An optional `callback` function may be specified to as a way of reporting
|
|
||||||
* DNS errors or for determining when it is safe to reuse the `buf` object.
|
|
||||||
* DNS lookups delay the time to send for at least one tick of the
|
|
||||||
* Node.js event loop.
|
|
||||||
*
|
|
||||||
* The only way to know for sure that the datagram has been sent is by using a`callback`. If an error occurs and a `callback` is given, the error will be
|
|
||||||
* passed as the first argument to the `callback`. If a `callback` is not given,
|
|
||||||
* the error is emitted as an `'error'` event on the `socket` object.
|
|
||||||
*
|
|
||||||
* Offset and length are optional but both _must_ be set if either are used.
|
|
||||||
* They are supported only when the first argument is a `Buffer`, a `TypedArray`,
|
|
||||||
* or a `DataView`.
|
|
||||||
*
|
|
||||||
* This method throws `ERR_SOCKET_BAD_PORT` if called on an unbound socket.
|
|
||||||
*
|
|
||||||
* Example of sending a UDP packet to a port on `localhost`;
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import dgram from 'dgram';
|
|
||||||
* import { Buffer } from 'buffer';
|
|
||||||
*
|
|
||||||
* const message = Buffer.from('Some bytes');
|
|
||||||
* const client = dgram.createSocket('udp4');
|
|
||||||
* client.send(message, 41234, 'localhost', (err) => {
|
|
||||||
* client.close();
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Example of sending a UDP packet composed of multiple buffers to a port on`127.0.0.1`;
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import dgram from 'dgram';
|
|
||||||
* import { Buffer } from 'buffer';
|
|
||||||
*
|
|
||||||
* const buf1 = Buffer.from('Some ');
|
|
||||||
* const buf2 = Buffer.from('bytes');
|
|
||||||
* const client = dgram.createSocket('udp4');
|
|
||||||
* client.send([buf1, buf2], 41234, (err) => {
|
|
||||||
* client.close();
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Sending multiple buffers might be faster or slower depending on the
|
|
||||||
* application and operating system. Run benchmarks to
|
|
||||||
* determine the optimal strategy on a case-by-case basis. Generally speaking,
|
|
||||||
* however, sending multiple buffers is faster.
|
|
||||||
*
|
|
||||||
* Example of sending a UDP packet using a socket connected to a port on`localhost`:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import dgram from 'dgram';
|
|
||||||
* import { Buffer } from 'buffer';
|
|
||||||
*
|
|
||||||
* const message = Buffer.from('Some bytes');
|
|
||||||
* const client = dgram.createSocket('udp4');
|
|
||||||
* client.connect(41234, 'localhost', (err) => {
|
|
||||||
* client.send(message, (err) => {
|
|
||||||
* client.close();
|
|
||||||
* });
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
* @since v0.1.99
|
|
||||||
* @param msg Message to be sent.
|
|
||||||
* @param offset Offset in the buffer where the message starts.
|
|
||||||
* @param length Number of bytes in the message.
|
|
||||||
* @param port Destination port.
|
|
||||||
* @param address Destination host name or IP address.
|
|
||||||
* @param callback Called when the message has been sent.
|
|
||||||
*/
|
|
||||||
send(msg: string | Uint8Array | ReadonlyArray<any>, port?: number, address?: string, callback?: (error: Error | null, bytes: number) => void): void;
|
|
||||||
send(msg: string | Uint8Array | ReadonlyArray<any>, port?: number, callback?: (error: Error | null, bytes: number) => void): void;
|
|
||||||
send(msg: string | Uint8Array | ReadonlyArray<any>, callback?: (error: Error | null, bytes: number) => void): void;
|
|
||||||
send(msg: string | Uint8Array, offset: number, length: number, port?: number, address?: string, callback?: (error: Error | null, bytes: number) => void): void;
|
|
||||||
send(msg: string | Uint8Array, offset: number, length: number, port?: number, callback?: (error: Error | null, bytes: number) => void): void;
|
|
||||||
send(msg: string | Uint8Array, offset: number, length: number, callback?: (error: Error | null, bytes: number) => void): void;
|
|
||||||
/**
|
|
||||||
* Sets or clears the `SO_BROADCAST` socket option. When set to `true`, UDP
|
|
||||||
* packets may be sent to a local interface's broadcast address.
|
|
||||||
*
|
|
||||||
* This method throws `EBADF` if called on an unbound socket.
|
|
||||||
* @since v0.6.9
|
|
||||||
*/
|
|
||||||
setBroadcast(flag: boolean): void;
|
|
||||||
/**
|
|
||||||
* _All references to scope in this section are referring to [IPv6 Zone Indices](https://en.wikipedia.org/wiki/IPv6_address#Scoped_literal_IPv6_addresses), which are defined by [RFC
|
|
||||||
* 4007](https://tools.ietf.org/html/rfc4007). In string form, an IP_
|
|
||||||
* _with a scope index is written as `'IP%scope'` where scope is an interface name_
|
|
||||||
* _or interface number._
|
|
||||||
*
|
|
||||||
* Sets the default outgoing multicast interface of the socket to a chosen
|
|
||||||
* interface or back to system interface selection. The `multicastInterface` must
|
|
||||||
* be a valid string representation of an IP from the socket's family.
|
|
||||||
*
|
|
||||||
* For IPv4 sockets, this should be the IP configured for the desired physical
|
|
||||||
* interface. All packets sent to multicast on the socket will be sent on the
|
|
||||||
* interface determined by the most recent successful use of this call.
|
|
||||||
*
|
|
||||||
* For IPv6 sockets, `multicastInterface` should include a scope to indicate the
|
|
||||||
* interface as in the examples that follow. In IPv6, individual `send` calls can
|
|
||||||
* also use explicit scope in addresses, so only packets sent to a multicast
|
|
||||||
* address without specifying an explicit scope are affected by the most recent
|
|
||||||
* successful use of this call.
|
|
||||||
*
|
|
||||||
* This method throws `EBADF` if called on an unbound socket.
|
|
||||||
*
|
|
||||||
* #### Example: IPv6 outgoing multicast interface
|
|
||||||
*
|
|
||||||
* On most systems, where scope format uses the interface name:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const socket = dgram.createSocket('udp6');
|
|
||||||
*
|
|
||||||
* socket.bind(1234, () => {
|
|
||||||
* socket.setMulticastInterface('::%eth1');
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* On Windows, where scope format uses an interface number:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const socket = dgram.createSocket('udp6');
|
|
||||||
*
|
|
||||||
* socket.bind(1234, () => {
|
|
||||||
* socket.setMulticastInterface('::%2');
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* #### Example: IPv4 outgoing multicast interface
|
|
||||||
*
|
|
||||||
* All systems use an IP of the host on the desired physical interface:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const socket = dgram.createSocket('udp4');
|
|
||||||
*
|
|
||||||
* socket.bind(1234, () => {
|
|
||||||
* socket.setMulticastInterface('10.0.0.2');
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
* @since v8.6.0
|
|
||||||
*/
|
|
||||||
setMulticastInterface(multicastInterface: string): void;
|
|
||||||
/**
|
|
||||||
* Sets or clears the `IP_MULTICAST_LOOP` socket option. When set to `true`,
|
|
||||||
* multicast packets will also be received on the local interface.
|
|
||||||
*
|
|
||||||
* This method throws `EBADF` if called on an unbound socket.
|
|
||||||
* @since v0.3.8
|
|
||||||
*/
|
|
||||||
setMulticastLoopback(flag: boolean): boolean;
|
|
||||||
/**
|
|
||||||
* Sets the `IP_MULTICAST_TTL` socket option. While TTL generally stands for
|
|
||||||
* "Time to Live", in this context it specifies the number of IP hops that a
|
|
||||||
* packet is allowed to travel through, specifically for multicast traffic. Each
|
|
||||||
* router or gateway that forwards a packet decrements the TTL. If the TTL is
|
|
||||||
* decremented to 0 by a router, it will not be forwarded.
|
|
||||||
*
|
|
||||||
* The `ttl` argument may be between 0 and 255\. The default on most systems is `1`.
|
|
||||||
*
|
|
||||||
* This method throws `EBADF` if called on an unbound socket.
|
|
||||||
* @since v0.3.8
|
|
||||||
*/
|
|
||||||
setMulticastTTL(ttl: number): number;
|
|
||||||
/**
|
|
||||||
* Sets the `SO_RCVBUF` socket option. Sets the maximum socket receive buffer
|
|
||||||
* in bytes.
|
|
||||||
*
|
|
||||||
* This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket.
|
|
||||||
* @since v8.7.0
|
|
||||||
*/
|
|
||||||
setRecvBufferSize(size: number): void;
|
|
||||||
/**
|
|
||||||
* Sets the `SO_SNDBUF` socket option. Sets the maximum socket send buffer
|
|
||||||
* in bytes.
|
|
||||||
*
|
|
||||||
* This method throws `ERR_SOCKET_BUFFER_SIZE` if called on an unbound socket.
|
|
||||||
* @since v8.7.0
|
|
||||||
*/
|
|
||||||
setSendBufferSize(size: number): void;
|
|
||||||
/**
|
|
||||||
* Sets the `IP_TTL` socket option. While TTL generally stands for "Time to Live",
|
|
||||||
* in this context it specifies the number of IP hops that a packet is allowed to
|
|
||||||
* travel through. Each router or gateway that forwards a packet decrements the
|
|
||||||
* TTL. If the TTL is decremented to 0 by a router, it will not be forwarded.
|
|
||||||
* Changing TTL values is typically done for network probes or when multicasting.
|
|
||||||
*
|
|
||||||
* The `ttl` argument may be between between 1 and 255\. The default on most systems
|
|
||||||
* is 64.
|
|
||||||
*
|
|
||||||
* This method throws `EBADF` if called on an unbound socket.
|
|
||||||
* @since v0.1.101
|
|
||||||
*/
|
|
||||||
setTTL(ttl: number): number;
|
|
||||||
/**
|
|
||||||
* By default, binding a socket will cause it to block the Node.js process from
|
|
||||||
* exiting as long as the socket is open. The `socket.unref()` method can be used
|
|
||||||
* to exclude the socket from the reference counting that keeps the Node.js
|
|
||||||
* process active, allowing the process to exit even if the socket is still
|
|
||||||
* listening.
|
|
||||||
*
|
|
||||||
* Calling `socket.unref()` multiple times will have no addition effect.
|
|
||||||
*
|
|
||||||
* The `socket.unref()` method returns a reference to the socket so calls can be
|
|
||||||
* chained.
|
|
||||||
* @since v0.9.1
|
|
||||||
*/
|
|
||||||
unref(): this;
|
|
||||||
/**
|
|
||||||
* Tells the kernel to join a source-specific multicast channel at the given`sourceAddress` and `groupAddress`, using the `multicastInterface` with the`IP_ADD_SOURCE_MEMBERSHIP` socket
|
|
||||||
* option. If the `multicastInterface` argument
|
|
||||||
* is not specified, the operating system will choose one interface and will add
|
|
||||||
* membership to it. To add membership to every available interface, call`socket.addSourceSpecificMembership()` multiple times, once per interface.
|
|
||||||
*
|
|
||||||
* When called on an unbound socket, this method will implicitly bind to a random
|
|
||||||
* port, listening on all interfaces.
|
|
||||||
* @since v13.1.0, v12.16.0
|
|
||||||
*/
|
|
||||||
addSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void;
|
|
||||||
/**
|
|
||||||
* Instructs the kernel to leave a source-specific multicast channel at the given`sourceAddress` and `groupAddress` using the `IP_DROP_SOURCE_MEMBERSHIP`socket option. This method is
|
|
||||||
* automatically called by the kernel when the
|
|
||||||
* socket is closed or the process terminates, so most apps will never have
|
|
||||||
* reason to call this.
|
|
||||||
*
|
|
||||||
* If `multicastInterface` is not specified, the operating system will attempt to
|
|
||||||
* drop membership on all valid interfaces.
|
|
||||||
* @since v13.1.0, v12.16.0
|
|
||||||
*/
|
|
||||||
dropSourceSpecificMembership(sourceAddress: string, groupAddress: string, multicastInterface?: string): void;
|
|
||||||
/**
|
|
||||||
* events.EventEmitter
|
|
||||||
* 1. close
|
|
||||||
* 2. connect
|
|
||||||
* 3. error
|
|
||||||
* 4. listening
|
|
||||||
* 5. message
|
|
||||||
*/
|
|
||||||
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
addListener(event: 'close', listener: () => void): this;
|
|
||||||
addListener(event: 'connect', listener: () => void): this;
|
|
||||||
addListener(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
addListener(event: 'listening', listener: () => void): this;
|
|
||||||
addListener(event: 'message', listener: (msg: Buffer, rinfo: RemoteInfo) => void): this;
|
|
||||||
emit(event: string | symbol, ...args: any[]): boolean;
|
|
||||||
emit(event: 'close'): boolean;
|
|
||||||
emit(event: 'connect'): boolean;
|
|
||||||
emit(event: 'error', err: Error): boolean;
|
|
||||||
emit(event: 'listening'): boolean;
|
|
||||||
emit(event: 'message', msg: Buffer, rinfo: RemoteInfo): boolean;
|
|
||||||
on(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
on(event: 'close', listener: () => void): this;
|
|
||||||
on(event: 'connect', listener: () => void): this;
|
|
||||||
on(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
on(event: 'listening', listener: () => void): this;
|
|
||||||
on(event: 'message', listener: (msg: Buffer, rinfo: RemoteInfo) => void): this;
|
|
||||||
once(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
once(event: 'close', listener: () => void): this;
|
|
||||||
once(event: 'connect', listener: () => void): this;
|
|
||||||
once(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
once(event: 'listening', listener: () => void): this;
|
|
||||||
once(event: 'message', listener: (msg: Buffer, rinfo: RemoteInfo) => void): this;
|
|
||||||
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
prependListener(event: 'close', listener: () => void): this;
|
|
||||||
prependListener(event: 'connect', listener: () => void): this;
|
|
||||||
prependListener(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
prependListener(event: 'listening', listener: () => void): this;
|
|
||||||
prependListener(event: 'message', listener: (msg: Buffer, rinfo: RemoteInfo) => void): this;
|
|
||||||
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
prependOnceListener(event: 'close', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'connect', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
prependOnceListener(event: 'listening', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'message', listener: (msg: Buffer, rinfo: RemoteInfo) => void): this;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
declare module 'node:dgram' {
|
|
||||||
export * from 'dgram';
|
|
||||||
}
|
|
||||||
152
Websites/Jefes/Backend/node_modules/@types/node/diagnostics_channel.d.ts
generated
vendored
152
Websites/Jefes/Backend/node_modules/@types/node/diagnostics_channel.d.ts
generated
vendored
@ -1,152 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `diagnostics_channel` module provides an API to create named channels
|
|
||||||
* to report arbitrary message data for diagnostics purposes.
|
|
||||||
*
|
|
||||||
* It can be accessed using:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import diagnostics_channel from 'diagnostics_channel';
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* It is intended that a module writer wanting to report diagnostics messages
|
|
||||||
* will create one or many top-level channels to report messages through.
|
|
||||||
* Channels may also be acquired at runtime but it is not encouraged
|
|
||||||
* due to the additional overhead of doing so. Channels may be exported for
|
|
||||||
* convenience, but as long as the name is known it can be acquired anywhere.
|
|
||||||
*
|
|
||||||
* If you intend for your module to produce diagnostics data for others to
|
|
||||||
* consume it is recommended that you include documentation of what named
|
|
||||||
* channels are used along with the shape of the message data. Channel names
|
|
||||||
* should generally include the module name to avoid collisions with data from
|
|
||||||
* other modules.
|
|
||||||
* @experimental
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/diagnostics_channel.js)
|
|
||||||
*/
|
|
||||||
declare module 'diagnostics_channel' {
|
|
||||||
/**
|
|
||||||
* Check if there are active subscribers to the named channel. This is helpful if
|
|
||||||
* the message you want to send might be expensive to prepare.
|
|
||||||
*
|
|
||||||
* This API is optional but helpful when trying to publish messages from very
|
|
||||||
* performance-sensitive code.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import diagnostics_channel from 'diagnostics_channel';
|
|
||||||
*
|
|
||||||
* if (diagnostics_channel.hasSubscribers('my-channel')) {
|
|
||||||
* // There are subscribers, prepare and publish message
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v15.1.0, v14.17.0
|
|
||||||
* @param name The channel name
|
|
||||||
* @return If there are active subscribers
|
|
||||||
*/
|
|
||||||
function hasSubscribers(name: string): boolean;
|
|
||||||
/**
|
|
||||||
* This is the primary entry-point for anyone wanting to interact with a named
|
|
||||||
* channel. It produces a channel object which is optimized to reduce overhead at
|
|
||||||
* publish time as much as possible.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import diagnostics_channel from 'diagnostics_channel';
|
|
||||||
*
|
|
||||||
* const channel = diagnostics_channel.channel('my-channel');
|
|
||||||
* ```
|
|
||||||
* @since v15.1.0, v14.17.0
|
|
||||||
* @param name The channel name
|
|
||||||
* @return The named channel object
|
|
||||||
*/
|
|
||||||
function channel(name: string): Channel;
|
|
||||||
type ChannelListener = (message: unknown, name: string) => void;
|
|
||||||
/**
|
|
||||||
* The class `Channel` represents an individual named channel within the data
|
|
||||||
* pipeline. It is use to track subscribers and to publish messages when there
|
|
||||||
* are subscribers present. It exists as a separate object to avoid channel
|
|
||||||
* lookups at publish time, enabling very fast publish speeds and allowing
|
|
||||||
* for heavy use while incurring very minimal cost. Channels are created with {@link channel}, constructing a channel directly
|
|
||||||
* with `new Channel(name)` is not supported.
|
|
||||||
* @since v15.1.0, v14.17.0
|
|
||||||
*/
|
|
||||||
class Channel {
|
|
||||||
readonly name: string;
|
|
||||||
/**
|
|
||||||
* Check if there are active subscribers to this channel. This is helpful if
|
|
||||||
* the message you want to send might be expensive to prepare.
|
|
||||||
*
|
|
||||||
* This API is optional but helpful when trying to publish messages from very
|
|
||||||
* performance-sensitive code.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import diagnostics_channel from 'diagnostics_channel';
|
|
||||||
*
|
|
||||||
* const channel = diagnostics_channel.channel('my-channel');
|
|
||||||
*
|
|
||||||
* if (channel.hasSubscribers) {
|
|
||||||
* // There are subscribers, prepare and publish message
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v15.1.0, v14.17.0
|
|
||||||
*/
|
|
||||||
readonly hasSubscribers: boolean;
|
|
||||||
private constructor(name: string);
|
|
||||||
/**
|
|
||||||
* Publish a message to any subscribers to the channel. This will
|
|
||||||
* trigger message handlers synchronously so they will execute within
|
|
||||||
* the same context.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import diagnostics_channel from 'diagnostics_channel';
|
|
||||||
*
|
|
||||||
* const channel = diagnostics_channel.channel('my-channel');
|
|
||||||
*
|
|
||||||
* channel.publish({
|
|
||||||
* some: 'message'
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
* @since v15.1.0, v14.17.0
|
|
||||||
* @param message The message to send to the channel subscribers
|
|
||||||
*/
|
|
||||||
publish(message: unknown): void;
|
|
||||||
/**
|
|
||||||
* Register a message handler to subscribe to this channel. This message handler
|
|
||||||
* will be run synchronously whenever a message is published to the channel. Any
|
|
||||||
* errors thrown in the message handler will trigger an `'uncaughtException'`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import diagnostics_channel from 'diagnostics_channel';
|
|
||||||
*
|
|
||||||
* const channel = diagnostics_channel.channel('my-channel');
|
|
||||||
*
|
|
||||||
* channel.subscribe((message, name) => {
|
|
||||||
* // Received data
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
* @since v15.1.0, v14.17.0
|
|
||||||
* @param onMessage The handler to receive channel messages
|
|
||||||
*/
|
|
||||||
subscribe(onMessage: ChannelListener): void;
|
|
||||||
/**
|
|
||||||
* Remove a message handler previously registered to this channel with `channel.subscribe(onMessage)`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import diagnostics_channel from 'diagnostics_channel';
|
|
||||||
*
|
|
||||||
* const channel = diagnostics_channel.channel('my-channel');
|
|
||||||
*
|
|
||||||
* function onMessage(message, name) {
|
|
||||||
* // Received data
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* channel.subscribe(onMessage);
|
|
||||||
*
|
|
||||||
* channel.unsubscribe(onMessage);
|
|
||||||
* ```
|
|
||||||
* @since v15.1.0, v14.17.0
|
|
||||||
* @param onMessage The previous subscribed handler to remove
|
|
||||||
*/
|
|
||||||
unsubscribe(onMessage: ChannelListener): void;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
declare module 'node:diagnostics_channel' {
|
|
||||||
export * from 'diagnostics_channel';
|
|
||||||
}
|
|
||||||
659
Websites/Jefes/Backend/node_modules/@types/node/dns.d.ts
generated
vendored
659
Websites/Jefes/Backend/node_modules/@types/node/dns.d.ts
generated
vendored
@ -1,659 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `dns` module enables name resolution. For example, use it to look up IP
|
|
||||||
* addresses of host names.
|
|
||||||
*
|
|
||||||
* Although named for the [Domain Name System (DNS)](https://en.wikipedia.org/wiki/Domain_Name_System), it does not always use the
|
|
||||||
* DNS protocol for lookups. {@link lookup} uses the operating system
|
|
||||||
* facilities to perform name resolution. It may not need to perform any network
|
|
||||||
* communication. To perform name resolution the way other applications on the same
|
|
||||||
* system do, use {@link lookup}.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const dns = require('dns');
|
|
||||||
*
|
|
||||||
* dns.lookup('example.org', (err, address, family) => {
|
|
||||||
* console.log('address: %j family: IPv%s', address, family);
|
|
||||||
* });
|
|
||||||
* // address: "93.184.216.34" family: IPv4
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* All other functions in the `dns` module connect to an actual DNS server to
|
|
||||||
* perform name resolution. They will always use the network to perform DNS
|
|
||||||
* queries. These functions do not use the same set of configuration files used by {@link lookup} (e.g. `/etc/hosts`). Use these functions to always perform
|
|
||||||
* DNS queries, bypassing other name-resolution facilities.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const dns = require('dns');
|
|
||||||
*
|
|
||||||
* dns.resolve4('archive.org', (err, addresses) => {
|
|
||||||
* if (err) throw err;
|
|
||||||
*
|
|
||||||
* console.log(`addresses: ${JSON.stringify(addresses)}`);
|
|
||||||
*
|
|
||||||
* addresses.forEach((a) => {
|
|
||||||
* dns.reverse(a, (err, hostnames) => {
|
|
||||||
* if (err) {
|
|
||||||
* throw err;
|
|
||||||
* }
|
|
||||||
* console.log(`reverse for ${a}: ${JSON.stringify(hostnames)}`);
|
|
||||||
* });
|
|
||||||
* });
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* See the `Implementation considerations section` for more information.
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/dns.js)
|
|
||||||
*/
|
|
||||||
declare module 'dns' {
|
|
||||||
import * as dnsPromises from 'node:dns/promises';
|
|
||||||
// Supported getaddrinfo flags.
|
|
||||||
export const ADDRCONFIG: number;
|
|
||||||
export const V4MAPPED: number;
|
|
||||||
/**
|
|
||||||
* If `dns.V4MAPPED` is specified, return resolved IPv6 addresses as
|
|
||||||
* well as IPv4 mapped IPv6 addresses.
|
|
||||||
*/
|
|
||||||
export const ALL: number;
|
|
||||||
export interface LookupOptions {
|
|
||||||
family?: number | undefined;
|
|
||||||
hints?: number | undefined;
|
|
||||||
all?: boolean | undefined;
|
|
||||||
/**
|
|
||||||
* @default true
|
|
||||||
*/
|
|
||||||
verbatim?: boolean | undefined;
|
|
||||||
}
|
|
||||||
export interface LookupOneOptions extends LookupOptions {
|
|
||||||
all?: false | undefined;
|
|
||||||
}
|
|
||||||
export interface LookupAllOptions extends LookupOptions {
|
|
||||||
all: true;
|
|
||||||
}
|
|
||||||
export interface LookupAddress {
|
|
||||||
address: string;
|
|
||||||
family: number;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Resolves a host name (e.g. `'nodejs.org'`) into the first found A (IPv4) or
|
|
||||||
* AAAA (IPv6) record. All `option` properties are optional. If `options` is an
|
|
||||||
* integer, then it must be `4` or `6` – if `options` is not provided, then IPv4
|
|
||||||
* and IPv6 addresses are both returned if found.
|
|
||||||
*
|
|
||||||
* With the `all` option set to `true`, the arguments for `callback` change to`(err, addresses)`, with `addresses` being an array of objects with the
|
|
||||||
* properties `address` and `family`.
|
|
||||||
*
|
|
||||||
* On error, `err` is an `Error` object, where `err.code` is the error code.
|
|
||||||
* Keep in mind that `err.code` will be set to `'ENOTFOUND'` not only when
|
|
||||||
* the host name does not exist but also when the lookup fails in other ways
|
|
||||||
* such as no available file descriptors.
|
|
||||||
*
|
|
||||||
* `dns.lookup()` does not necessarily have anything to do with the DNS protocol.
|
|
||||||
* The implementation uses an operating system facility that can associate names
|
|
||||||
* with addresses, and vice versa. This implementation can have subtle but
|
|
||||||
* important consequences on the behavior of any Node.js program. Please take some
|
|
||||||
* time to consult the `Implementation considerations section` before using`dns.lookup()`.
|
|
||||||
*
|
|
||||||
* Example usage:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const dns = require('dns');
|
|
||||||
* const options = {
|
|
||||||
* family: 6,
|
|
||||||
* hints: dns.ADDRCONFIG | dns.V4MAPPED,
|
|
||||||
* };
|
|
||||||
* dns.lookup('example.com', options, (err, address, family) =>
|
|
||||||
* console.log('address: %j family: IPv%s', address, family));
|
|
||||||
* // address: "2606:2800:220:1:248:1893:25c8:1946" family: IPv6
|
|
||||||
*
|
|
||||||
* // When options.all is true, the result will be an Array.
|
|
||||||
* options.all = true;
|
|
||||||
* dns.lookup('example.com', options, (err, addresses) =>
|
|
||||||
* console.log('addresses: %j', addresses));
|
|
||||||
* // addresses: [{"address":"2606:2800:220:1:248:1893:25c8:1946","family":6}]
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* If this method is invoked as its `util.promisify()` ed version, and `all`is not set to `true`, it returns a `Promise` for an `Object` with `address` and`family` properties.
|
|
||||||
* @since v0.1.90
|
|
||||||
*/
|
|
||||||
export function lookup(hostname: string, family: number, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void;
|
|
||||||
export function lookup(hostname: string, options: LookupOneOptions, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void;
|
|
||||||
export function lookup(hostname: string, options: LookupAllOptions, callback: (err: NodeJS.ErrnoException | null, addresses: LookupAddress[]) => void): void;
|
|
||||||
export function lookup(hostname: string, options: LookupOptions, callback: (err: NodeJS.ErrnoException | null, address: string | LookupAddress[], family: number) => void): void;
|
|
||||||
export function lookup(hostname: string, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void): void;
|
|
||||||
export namespace lookup {
|
|
||||||
function __promisify__(hostname: string, options: LookupAllOptions): Promise<LookupAddress[]>;
|
|
||||||
function __promisify__(hostname: string, options?: LookupOneOptions | number): Promise<LookupAddress>;
|
|
||||||
function __promisify__(hostname: string, options: LookupOptions): Promise<LookupAddress | LookupAddress[]>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Resolves the given `address` and `port` into a host name and service using
|
|
||||||
* the operating system's underlying `getnameinfo` implementation.
|
|
||||||
*
|
|
||||||
* If `address` is not a valid IP address, a `TypeError` will be thrown.
|
|
||||||
* The `port` will be coerced to a number. If it is not a legal port, a `TypeError`will be thrown.
|
|
||||||
*
|
|
||||||
* On an error, `err` is an `Error` object, where `err.code` is the error code.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const dns = require('dns');
|
|
||||||
* dns.lookupService('127.0.0.1', 22, (err, hostname, service) => {
|
|
||||||
* console.log(hostname, service);
|
|
||||||
* // Prints: localhost ssh
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* If this method is invoked as its `util.promisify()` ed version, it returns a`Promise` for an `Object` with `hostname` and `service` properties.
|
|
||||||
* @since v0.11.14
|
|
||||||
*/
|
|
||||||
export function lookupService(address: string, port: number, callback: (err: NodeJS.ErrnoException | null, hostname: string, service: string) => void): void;
|
|
||||||
export namespace lookupService {
|
|
||||||
function __promisify__(
|
|
||||||
address: string,
|
|
||||||
port: number
|
|
||||||
): Promise<{
|
|
||||||
hostname: string;
|
|
||||||
service: string;
|
|
||||||
}>;
|
|
||||||
}
|
|
||||||
export interface ResolveOptions {
|
|
||||||
ttl: boolean;
|
|
||||||
}
|
|
||||||
export interface ResolveWithTtlOptions extends ResolveOptions {
|
|
||||||
ttl: true;
|
|
||||||
}
|
|
||||||
export interface RecordWithTtl {
|
|
||||||
address: string;
|
|
||||||
ttl: number;
|
|
||||||
}
|
|
||||||
/** @deprecated Use `AnyARecord` or `AnyAaaaRecord` instead. */
|
|
||||||
export type AnyRecordWithTtl = AnyARecord | AnyAaaaRecord;
|
|
||||||
export interface AnyARecord extends RecordWithTtl {
|
|
||||||
type: 'A';
|
|
||||||
}
|
|
||||||
export interface AnyAaaaRecord extends RecordWithTtl {
|
|
||||||
type: 'AAAA';
|
|
||||||
}
|
|
||||||
export interface CaaRecord {
|
|
||||||
critial: number;
|
|
||||||
issue?: string | undefined;
|
|
||||||
issuewild?: string | undefined;
|
|
||||||
iodef?: string | undefined;
|
|
||||||
contactemail?: string | undefined;
|
|
||||||
contactphone?: string | undefined;
|
|
||||||
}
|
|
||||||
export interface MxRecord {
|
|
||||||
priority: number;
|
|
||||||
exchange: string;
|
|
||||||
}
|
|
||||||
export interface AnyMxRecord extends MxRecord {
|
|
||||||
type: 'MX';
|
|
||||||
}
|
|
||||||
export interface NaptrRecord {
|
|
||||||
flags: string;
|
|
||||||
service: string;
|
|
||||||
regexp: string;
|
|
||||||
replacement: string;
|
|
||||||
order: number;
|
|
||||||
preference: number;
|
|
||||||
}
|
|
||||||
export interface AnyNaptrRecord extends NaptrRecord {
|
|
||||||
type: 'NAPTR';
|
|
||||||
}
|
|
||||||
export interface SoaRecord {
|
|
||||||
nsname: string;
|
|
||||||
hostmaster: string;
|
|
||||||
serial: number;
|
|
||||||
refresh: number;
|
|
||||||
retry: number;
|
|
||||||
expire: number;
|
|
||||||
minttl: number;
|
|
||||||
}
|
|
||||||
export interface AnySoaRecord extends SoaRecord {
|
|
||||||
type: 'SOA';
|
|
||||||
}
|
|
||||||
export interface SrvRecord {
|
|
||||||
priority: number;
|
|
||||||
weight: number;
|
|
||||||
port: number;
|
|
||||||
name: string;
|
|
||||||
}
|
|
||||||
export interface AnySrvRecord extends SrvRecord {
|
|
||||||
type: 'SRV';
|
|
||||||
}
|
|
||||||
export interface AnyTxtRecord {
|
|
||||||
type: 'TXT';
|
|
||||||
entries: string[];
|
|
||||||
}
|
|
||||||
export interface AnyNsRecord {
|
|
||||||
type: 'NS';
|
|
||||||
value: string;
|
|
||||||
}
|
|
||||||
export interface AnyPtrRecord {
|
|
||||||
type: 'PTR';
|
|
||||||
value: string;
|
|
||||||
}
|
|
||||||
export interface AnyCnameRecord {
|
|
||||||
type: 'CNAME';
|
|
||||||
value: string;
|
|
||||||
}
|
|
||||||
export type AnyRecord = AnyARecord | AnyAaaaRecord | AnyCnameRecord | AnyMxRecord | AnyNaptrRecord | AnyNsRecord | AnyPtrRecord | AnySoaRecord | AnySrvRecord | AnyTxtRecord;
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve a host name (e.g. `'nodejs.org'`) into an array
|
|
||||||
* of the resource records. The `callback` function has arguments`(err, records)`. When successful, `records` will be an array of resource
|
|
||||||
* records. The type and structure of individual results varies based on `rrtype`:
|
|
||||||
*
|
|
||||||
* <omitted>
|
|
||||||
*
|
|
||||||
* On error, `err` is an `Error` object, where `err.code` is one of theDNS error codes.
|
|
||||||
* @since v0.1.27
|
|
||||||
* @param hostname Host name to resolve.
|
|
||||||
* @param [rrtype='A'] Resource record type.
|
|
||||||
*/
|
|
||||||
export function resolve(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
|
|
||||||
export function resolve(hostname: string, rrtype: 'A', callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
|
|
||||||
export function resolve(hostname: string, rrtype: 'AAAA', callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
|
|
||||||
export function resolve(hostname: string, rrtype: 'ANY', callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void): void;
|
|
||||||
export function resolve(hostname: string, rrtype: 'CNAME', callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
|
|
||||||
export function resolve(hostname: string, rrtype: 'MX', callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void): void;
|
|
||||||
export function resolve(hostname: string, rrtype: 'NAPTR', callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void): void;
|
|
||||||
export function resolve(hostname: string, rrtype: 'NS', callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
|
|
||||||
export function resolve(hostname: string, rrtype: 'PTR', callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
|
|
||||||
export function resolve(hostname: string, rrtype: 'SOA', callback: (err: NodeJS.ErrnoException | null, addresses: SoaRecord) => void): void;
|
|
||||||
export function resolve(hostname: string, rrtype: 'SRV', callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void): void;
|
|
||||||
export function resolve(hostname: string, rrtype: 'TXT', callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void): void;
|
|
||||||
export function resolve(
|
|
||||||
hostname: string,
|
|
||||||
rrtype: string,
|
|
||||||
callback: (err: NodeJS.ErrnoException | null, addresses: string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[]) => void
|
|
||||||
): void;
|
|
||||||
export namespace resolve {
|
|
||||||
function __promisify__(hostname: string, rrtype?: 'A' | 'AAAA' | 'CNAME' | 'NS' | 'PTR'): Promise<string[]>;
|
|
||||||
function __promisify__(hostname: string, rrtype: 'ANY'): Promise<AnyRecord[]>;
|
|
||||||
function __promisify__(hostname: string, rrtype: 'MX'): Promise<MxRecord[]>;
|
|
||||||
function __promisify__(hostname: string, rrtype: 'NAPTR'): Promise<NaptrRecord[]>;
|
|
||||||
function __promisify__(hostname: string, rrtype: 'SOA'): Promise<SoaRecord>;
|
|
||||||
function __promisify__(hostname: string, rrtype: 'SRV'): Promise<SrvRecord[]>;
|
|
||||||
function __promisify__(hostname: string, rrtype: 'TXT'): Promise<string[][]>;
|
|
||||||
function __promisify__(hostname: string, rrtype: string): Promise<string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[]>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve a IPv4 addresses (`A` records) for the`hostname`. The `addresses` argument passed to the `callback` function
|
|
||||||
* will contain an array of IPv4 addresses (e.g.`['74.125.79.104', '74.125.79.105', '74.125.79.106']`).
|
|
||||||
* @since v0.1.16
|
|
||||||
* @param hostname Host name to resolve.
|
|
||||||
*/
|
|
||||||
export function resolve4(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
|
|
||||||
export function resolve4(hostname: string, options: ResolveWithTtlOptions, callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void): void;
|
|
||||||
export function resolve4(hostname: string, options: ResolveOptions, callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void): void;
|
|
||||||
export namespace resolve4 {
|
|
||||||
function __promisify__(hostname: string): Promise<string[]>;
|
|
||||||
function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>;
|
|
||||||
function __promisify__(hostname: string, options?: ResolveOptions): Promise<string[] | RecordWithTtl[]>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve a IPv6 addresses (`AAAA` records) for the`hostname`. The `addresses` argument passed to the `callback` function
|
|
||||||
* will contain an array of IPv6 addresses.
|
|
||||||
* @since v0.1.16
|
|
||||||
* @param hostname Host name to resolve.
|
|
||||||
*/
|
|
||||||
export function resolve6(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
|
|
||||||
export function resolve6(hostname: string, options: ResolveWithTtlOptions, callback: (err: NodeJS.ErrnoException | null, addresses: RecordWithTtl[]) => void): void;
|
|
||||||
export function resolve6(hostname: string, options: ResolveOptions, callback: (err: NodeJS.ErrnoException | null, addresses: string[] | RecordWithTtl[]) => void): void;
|
|
||||||
export namespace resolve6 {
|
|
||||||
function __promisify__(hostname: string): Promise<string[]>;
|
|
||||||
function __promisify__(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>;
|
|
||||||
function __promisify__(hostname: string, options?: ResolveOptions): Promise<string[] | RecordWithTtl[]>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve `CNAME` records for the `hostname`. The`addresses` argument passed to the `callback` function
|
|
||||||
* will contain an array of canonical name records available for the `hostname`(e.g. `['bar.example.com']`).
|
|
||||||
* @since v0.3.2
|
|
||||||
*/
|
|
||||||
export function resolveCname(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
|
|
||||||
export namespace resolveCname {
|
|
||||||
function __promisify__(hostname: string): Promise<string[]>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve `CAA` records for the `hostname`. The`addresses` argument passed to the `callback` function
|
|
||||||
* will contain an array of certification authority authorization records
|
|
||||||
* available for the `hostname` (e.g. `[{critical: 0, iodef: 'mailto:pki@example.com'}, {critical: 128, issue: 'pki.example.com'}]`).
|
|
||||||
* @since v15.0.0, v14.17.0
|
|
||||||
*/
|
|
||||||
export function resolveCaa(hostname: string, callback: (err: NodeJS.ErrnoException | null, records: CaaRecord[]) => void): void;
|
|
||||||
export namespace resolveCaa {
|
|
||||||
function __promisify__(hostname: string): Promise<CaaRecord[]>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve mail exchange records (`MX` records) for the`hostname`. The `addresses` argument passed to the `callback` function will
|
|
||||||
* contain an array of objects containing both a `priority` and `exchange`property (e.g. `[{priority: 10, exchange: 'mx.example.com'}, ...]`).
|
|
||||||
* @since v0.1.27
|
|
||||||
*/
|
|
||||||
export function resolveMx(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: MxRecord[]) => void): void;
|
|
||||||
export namespace resolveMx {
|
|
||||||
function __promisify__(hostname: string): Promise<MxRecord[]>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve regular expression based records (`NAPTR`records) for the `hostname`. The `addresses` argument passed to the `callback`function will contain an array of
|
|
||||||
* objects with the following properties:
|
|
||||||
*
|
|
||||||
* * `flags`
|
|
||||||
* * `service`
|
|
||||||
* * `regexp`
|
|
||||||
* * `replacement`
|
|
||||||
* * `order`
|
|
||||||
* * `preference`
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* {
|
|
||||||
* flags: 's',
|
|
||||||
* service: 'SIP+D2U',
|
|
||||||
* regexp: '',
|
|
||||||
* replacement: '_sip._udp.example.com',
|
|
||||||
* order: 30,
|
|
||||||
* preference: 100
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v0.9.12
|
|
||||||
*/
|
|
||||||
export function resolveNaptr(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: NaptrRecord[]) => void): void;
|
|
||||||
export namespace resolveNaptr {
|
|
||||||
function __promisify__(hostname: string): Promise<NaptrRecord[]>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve name server records (`NS` records) for the`hostname`. The `addresses` argument passed to the `callback` function will
|
|
||||||
* contain an array of name server records available for `hostname`(e.g. `['ns1.example.com', 'ns2.example.com']`).
|
|
||||||
* @since v0.1.90
|
|
||||||
*/
|
|
||||||
export function resolveNs(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
|
|
||||||
export namespace resolveNs {
|
|
||||||
function __promisify__(hostname: string): Promise<string[]>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve pointer records (`PTR` records) for the`hostname`. The `addresses` argument passed to the `callback` function will
|
|
||||||
* be an array of strings containing the reply records.
|
|
||||||
* @since v6.0.0
|
|
||||||
*/
|
|
||||||
export function resolvePtr(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[]) => void): void;
|
|
||||||
export namespace resolvePtr {
|
|
||||||
function __promisify__(hostname: string): Promise<string[]>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve a start of authority record (`SOA` record) for
|
|
||||||
* the `hostname`. The `address` argument passed to the `callback` function will
|
|
||||||
* be an object with the following properties:
|
|
||||||
*
|
|
||||||
* * `nsname`
|
|
||||||
* * `hostmaster`
|
|
||||||
* * `serial`
|
|
||||||
* * `refresh`
|
|
||||||
* * `retry`
|
|
||||||
* * `expire`
|
|
||||||
* * `minttl`
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* {
|
|
||||||
* nsname: 'ns.example.com',
|
|
||||||
* hostmaster: 'root.example.com',
|
|
||||||
* serial: 2013101809,
|
|
||||||
* refresh: 10000,
|
|
||||||
* retry: 2400,
|
|
||||||
* expire: 604800,
|
|
||||||
* minttl: 3600
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v0.11.10
|
|
||||||
*/
|
|
||||||
export function resolveSoa(hostname: string, callback: (err: NodeJS.ErrnoException | null, address: SoaRecord) => void): void;
|
|
||||||
export namespace resolveSoa {
|
|
||||||
function __promisify__(hostname: string): Promise<SoaRecord>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve service records (`SRV` records) for the`hostname`. The `addresses` argument passed to the `callback` function will
|
|
||||||
* be an array of objects with the following properties:
|
|
||||||
*
|
|
||||||
* * `priority`
|
|
||||||
* * `weight`
|
|
||||||
* * `port`
|
|
||||||
* * `name`
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* {
|
|
||||||
* priority: 10,
|
|
||||||
* weight: 5,
|
|
||||||
* port: 21223,
|
|
||||||
* name: 'service.example.com'
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v0.1.27
|
|
||||||
*/
|
|
||||||
export function resolveSrv(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: SrvRecord[]) => void): void;
|
|
||||||
export namespace resolveSrv {
|
|
||||||
function __promisify__(hostname: string): Promise<SrvRecord[]>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve text queries (`TXT` records) for the`hostname`. The `records` argument passed to the `callback` function is a
|
|
||||||
* two-dimensional array of the text records available for `hostname` (e.g.`[ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ]`). Each sub-array contains TXT chunks of
|
|
||||||
* one record. Depending on the use case, these could be either joined together or
|
|
||||||
* treated separately.
|
|
||||||
* @since v0.1.27
|
|
||||||
*/
|
|
||||||
export function resolveTxt(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: string[][]) => void): void;
|
|
||||||
export namespace resolveTxt {
|
|
||||||
function __promisify__(hostname: string): Promise<string[][]>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve all records (also known as `ANY` or `*` query).
|
|
||||||
* The `ret` argument passed to the `callback` function will be an array containing
|
|
||||||
* various types of records. Each object has a property `type` that indicates the
|
|
||||||
* type of the current record. And depending on the `type`, additional properties
|
|
||||||
* will be present on the object:
|
|
||||||
*
|
|
||||||
* <omitted>
|
|
||||||
*
|
|
||||||
* Here is an example of the `ret` object passed to the callback:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* [ { type: 'A', address: '127.0.0.1', ttl: 299 },
|
|
||||||
* { type: 'CNAME', value: 'example.com' },
|
|
||||||
* { type: 'MX', exchange: 'alt4.aspmx.l.example.com', priority: 50 },
|
|
||||||
* { type: 'NS', value: 'ns1.example.com' },
|
|
||||||
* { type: 'TXT', entries: [ 'v=spf1 include:_spf.example.com ~all' ] },
|
|
||||||
* { type: 'SOA',
|
|
||||||
* nsname: 'ns1.example.com',
|
|
||||||
* hostmaster: 'admin.example.com',
|
|
||||||
* serial: 156696742,
|
|
||||||
* refresh: 900,
|
|
||||||
* retry: 900,
|
|
||||||
* expire: 1800,
|
|
||||||
* minttl: 60 } ]
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* DNS server operators may choose not to respond to `ANY`queries. It may be better to call individual methods like {@link resolve4},{@link resolveMx}, and so on. For more details, see [RFC
|
|
||||||
* 8482](https://tools.ietf.org/html/rfc8482).
|
|
||||||
*/
|
|
||||||
export function resolveAny(hostname: string, callback: (err: NodeJS.ErrnoException | null, addresses: AnyRecord[]) => void): void;
|
|
||||||
export namespace resolveAny {
|
|
||||||
function __promisify__(hostname: string): Promise<AnyRecord[]>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an
|
|
||||||
* array of host names.
|
|
||||||
*
|
|
||||||
* On error, `err` is an `Error` object, where `err.code` is
|
|
||||||
* one of the `DNS error codes`.
|
|
||||||
* @since v0.1.16
|
|
||||||
*/
|
|
||||||
export function reverse(ip: string, callback: (err: NodeJS.ErrnoException | null, hostnames: string[]) => void): void;
|
|
||||||
/**
|
|
||||||
* Sets the IP address and port of servers to be used when performing DNS
|
|
||||||
* resolution. The `servers` argument is an array of [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6) formatted
|
|
||||||
* addresses. If the port is the IANA default DNS port (53) it can be omitted.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* dns.setServers([
|
|
||||||
* '4.4.4.4',
|
|
||||||
* '[2001:4860:4860::8888]',
|
|
||||||
* '4.4.4.4:1053',
|
|
||||||
* '[2001:4860:4860::8888]:1053',
|
|
||||||
* ]);
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* An error will be thrown if an invalid address is provided.
|
|
||||||
*
|
|
||||||
* The `dns.setServers()` method must not be called while a DNS query is in
|
|
||||||
* progress.
|
|
||||||
*
|
|
||||||
* The {@link setServers} method affects only {@link resolve},`dns.resolve*()` and {@link reverse} (and specifically _not_ {@link lookup}).
|
|
||||||
*
|
|
||||||
* This method works much like [resolve.conf](https://man7.org/linux/man-pages/man5/resolv.conf.5.html).
|
|
||||||
* That is, if attempting to resolve with the first server provided results in a`NOTFOUND` error, the `resolve()` method will _not_ attempt to resolve with
|
|
||||||
* subsequent servers provided. Fallback DNS servers will only be used if the
|
|
||||||
* earlier ones time out or result in some other error.
|
|
||||||
* @since v0.11.3
|
|
||||||
* @param servers array of `RFC 5952` formatted addresses
|
|
||||||
*/
|
|
||||||
export function setServers(servers: ReadonlyArray<string>): void;
|
|
||||||
/**
|
|
||||||
* Returns an array of IP address strings, formatted according to [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6),
|
|
||||||
* that are currently configured for DNS resolution. A string will include a port
|
|
||||||
* section if a custom port is used.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* [
|
|
||||||
* '4.4.4.4',
|
|
||||||
* '2001:4860:4860::8888',
|
|
||||||
* '4.4.4.4:1053',
|
|
||||||
* '[2001:4860:4860::8888]:1053',
|
|
||||||
* ]
|
|
||||||
* ```
|
|
||||||
* @since v0.11.3
|
|
||||||
*/
|
|
||||||
export function getServers(): string[];
|
|
||||||
/**
|
|
||||||
* Set the default value of `verbatim` in {@link lookup} and `dnsPromises.lookup()`. The value could be:
|
|
||||||
*
|
|
||||||
* * `ipv4first`: sets default `verbatim` `false`.
|
|
||||||
* * `verbatim`: sets default `verbatim` `true`.
|
|
||||||
*
|
|
||||||
* The default is `ipv4first` and {@link setDefaultResultOrder} have higher
|
|
||||||
* priority than `--dns-result-order`. When using `worker threads`,{@link setDefaultResultOrder} from the main thread won't affect the default
|
|
||||||
* dns orders in workers.
|
|
||||||
* @since v16.4.0, v14.18.0
|
|
||||||
* @param order must be `'ipv4first'` or `'verbatim'`.
|
|
||||||
*/
|
|
||||||
export function setDefaultResultOrder(order: 'ipv4first' | 'verbatim'): void;
|
|
||||||
// Error codes
|
|
||||||
export const NODATA: string;
|
|
||||||
export const FORMERR: string;
|
|
||||||
export const SERVFAIL: string;
|
|
||||||
export const NOTFOUND: string;
|
|
||||||
export const NOTIMP: string;
|
|
||||||
export const REFUSED: string;
|
|
||||||
export const BADQUERY: string;
|
|
||||||
export const BADNAME: string;
|
|
||||||
export const BADFAMILY: string;
|
|
||||||
export const BADRESP: string;
|
|
||||||
export const CONNREFUSED: string;
|
|
||||||
export const TIMEOUT: string;
|
|
||||||
export const EOF: string;
|
|
||||||
export const FILE: string;
|
|
||||||
export const NOMEM: string;
|
|
||||||
export const DESTRUCTION: string;
|
|
||||||
export const BADSTR: string;
|
|
||||||
export const BADFLAGS: string;
|
|
||||||
export const NONAME: string;
|
|
||||||
export const BADHINTS: string;
|
|
||||||
export const NOTINITIALIZED: string;
|
|
||||||
export const LOADIPHLPAPI: string;
|
|
||||||
export const ADDRGETNETWORKPARAMS: string;
|
|
||||||
export const CANCELLED: string;
|
|
||||||
export interface ResolverOptions {
|
|
||||||
timeout?: number | undefined;
|
|
||||||
/**
|
|
||||||
* @default 4
|
|
||||||
*/
|
|
||||||
tries?: number;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* An independent resolver for DNS requests.
|
|
||||||
*
|
|
||||||
* Creating a new resolver uses the default server settings. Setting
|
|
||||||
* the servers used for a resolver using `resolver.setServers()` does not affect
|
|
||||||
* other resolvers:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { Resolver } = require('dns');
|
|
||||||
* const resolver = new Resolver();
|
|
||||||
* resolver.setServers(['4.4.4.4']);
|
|
||||||
*
|
|
||||||
* // This request will use the server at 4.4.4.4, independent of global settings.
|
|
||||||
* resolver.resolve4('example.org', (err, addresses) => {
|
|
||||||
* // ...
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* The following methods from the `dns` module are available:
|
|
||||||
*
|
|
||||||
* * `resolver.getServers()`
|
|
||||||
* * `resolver.resolve()`
|
|
||||||
* * `resolver.resolve4()`
|
|
||||||
* * `resolver.resolve6()`
|
|
||||||
* * `resolver.resolveAny()`
|
|
||||||
* * `resolver.resolveCaa()`
|
|
||||||
* * `resolver.resolveCname()`
|
|
||||||
* * `resolver.resolveMx()`
|
|
||||||
* * `resolver.resolveNaptr()`
|
|
||||||
* * `resolver.resolveNs()`
|
|
||||||
* * `resolver.resolvePtr()`
|
|
||||||
* * `resolver.resolveSoa()`
|
|
||||||
* * `resolver.resolveSrv()`
|
|
||||||
* * `resolver.resolveTxt()`
|
|
||||||
* * `resolver.reverse()`
|
|
||||||
* * `resolver.setServers()`
|
|
||||||
* @since v8.3.0
|
|
||||||
*/
|
|
||||||
export class Resolver {
|
|
||||||
constructor(options?: ResolverOptions);
|
|
||||||
/**
|
|
||||||
* Cancel all outstanding DNS queries made by this resolver. The corresponding
|
|
||||||
* callbacks will be called with an error with code `ECANCELLED`.
|
|
||||||
* @since v8.3.0
|
|
||||||
*/
|
|
||||||
cancel(): void;
|
|
||||||
getServers: typeof getServers;
|
|
||||||
resolve: typeof resolve;
|
|
||||||
resolve4: typeof resolve4;
|
|
||||||
resolve6: typeof resolve6;
|
|
||||||
resolveAny: typeof resolveAny;
|
|
||||||
resolveCname: typeof resolveCname;
|
|
||||||
resolveMx: typeof resolveMx;
|
|
||||||
resolveNaptr: typeof resolveNaptr;
|
|
||||||
resolveNs: typeof resolveNs;
|
|
||||||
resolvePtr: typeof resolvePtr;
|
|
||||||
resolveSoa: typeof resolveSoa;
|
|
||||||
resolveSrv: typeof resolveSrv;
|
|
||||||
resolveTxt: typeof resolveTxt;
|
|
||||||
reverse: typeof reverse;
|
|
||||||
/**
|
|
||||||
* The resolver instance will send its requests from the specified IP address.
|
|
||||||
* This allows programs to specify outbound interfaces when used on multi-homed
|
|
||||||
* systems.
|
|
||||||
*
|
|
||||||
* If a v4 or v6 address is not specified, it is set to the default, and the
|
|
||||||
* operating system will choose a local address automatically.
|
|
||||||
*
|
|
||||||
* The resolver will use the v4 local address when making requests to IPv4 DNS
|
|
||||||
* servers, and the v6 local address when making requests to IPv6 DNS servers.
|
|
||||||
* The `rrtype` of resolution requests has no impact on the local address used.
|
|
||||||
* @since v15.1.0, v14.17.0
|
|
||||||
* @param [ipv4='0.0.0.0'] A string representation of an IPv4 address.
|
|
||||||
* @param [ipv6='::0'] A string representation of an IPv6 address.
|
|
||||||
*/
|
|
||||||
setLocalAddress(ipv4?: string, ipv6?: string): void;
|
|
||||||
setServers: typeof setServers;
|
|
||||||
}
|
|
||||||
export { dnsPromises as promises };
|
|
||||||
}
|
|
||||||
declare module 'node:dns' {
|
|
||||||
export * from 'dns';
|
|
||||||
}
|
|
||||||
370
Websites/Jefes/Backend/node_modules/@types/node/dns/promises.d.ts
generated
vendored
370
Websites/Jefes/Backend/node_modules/@types/node/dns/promises.d.ts
generated
vendored
@ -1,370 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `dns.promises` API provides an alternative set of asynchronous DNS methods
|
|
||||||
* that return `Promise` objects rather than using callbacks. The API is accessible
|
|
||||||
* via `require('dns').promises` or `require('dns/promises')`.
|
|
||||||
* @since v10.6.0
|
|
||||||
*/
|
|
||||||
declare module 'dns/promises' {
|
|
||||||
import {
|
|
||||||
LookupAddress,
|
|
||||||
LookupOneOptions,
|
|
||||||
LookupAllOptions,
|
|
||||||
LookupOptions,
|
|
||||||
AnyRecord,
|
|
||||||
CaaRecord,
|
|
||||||
MxRecord,
|
|
||||||
NaptrRecord,
|
|
||||||
SoaRecord,
|
|
||||||
SrvRecord,
|
|
||||||
ResolveWithTtlOptions,
|
|
||||||
RecordWithTtl,
|
|
||||||
ResolveOptions,
|
|
||||||
ResolverOptions,
|
|
||||||
} from 'node:dns';
|
|
||||||
/**
|
|
||||||
* Returns an array of IP address strings, formatted according to [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6),
|
|
||||||
* that are currently configured for DNS resolution. A string will include a port
|
|
||||||
* section if a custom port is used.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* [
|
|
||||||
* '4.4.4.4',
|
|
||||||
* '2001:4860:4860::8888',
|
|
||||||
* '4.4.4.4:1053',
|
|
||||||
* '[2001:4860:4860::8888]:1053',
|
|
||||||
* ]
|
|
||||||
* ```
|
|
||||||
* @since v10.6.0
|
|
||||||
*/
|
|
||||||
function getServers(): string[];
|
|
||||||
/**
|
|
||||||
* Resolves a host name (e.g. `'nodejs.org'`) into the first found A (IPv4) or
|
|
||||||
* AAAA (IPv6) record. All `option` properties are optional. If `options` is an
|
|
||||||
* integer, then it must be `4` or `6` – if `options` is not provided, then IPv4
|
|
||||||
* and IPv6 addresses are both returned if found.
|
|
||||||
*
|
|
||||||
* With the `all` option set to `true`, the `Promise` is resolved with `addresses`being an array of objects with the properties `address` and `family`.
|
|
||||||
*
|
|
||||||
* On error, the `Promise` is rejected with an `Error` object, where `err.code`is the error code.
|
|
||||||
* Keep in mind that `err.code` will be set to `'ENOTFOUND'` not only when
|
|
||||||
* the host name does not exist but also when the lookup fails in other ways
|
|
||||||
* such as no available file descriptors.
|
|
||||||
*
|
|
||||||
* `dnsPromises.lookup()` does not necessarily have anything to do with the DNS
|
|
||||||
* protocol. The implementation uses an operating system facility that can
|
|
||||||
* associate names with addresses, and vice versa. This implementation can have
|
|
||||||
* subtle but important consequences on the behavior of any Node.js program. Please
|
|
||||||
* take some time to consult the `Implementation considerations section` before
|
|
||||||
* using `dnsPromises.lookup()`.
|
|
||||||
*
|
|
||||||
* Example usage:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const dns = require('dns');
|
|
||||||
* const dnsPromises = dns.promises;
|
|
||||||
* const options = {
|
|
||||||
* family: 6,
|
|
||||||
* hints: dns.ADDRCONFIG | dns.V4MAPPED,
|
|
||||||
* };
|
|
||||||
*
|
|
||||||
* dnsPromises.lookup('example.com', options).then((result) => {
|
|
||||||
* console.log('address: %j family: IPv%s', result.address, result.family);
|
|
||||||
* // address: "2606:2800:220:1:248:1893:25c8:1946" family: IPv6
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* // When options.all is true, the result will be an Array.
|
|
||||||
* options.all = true;
|
|
||||||
* dnsPromises.lookup('example.com', options).then((result) => {
|
|
||||||
* console.log('addresses: %j', result);
|
|
||||||
* // addresses: [{"address":"2606:2800:220:1:248:1893:25c8:1946","family":6}]
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
* @since v10.6.0
|
|
||||||
*/
|
|
||||||
function lookup(hostname: string, family: number): Promise<LookupAddress>;
|
|
||||||
function lookup(hostname: string, options: LookupOneOptions): Promise<LookupAddress>;
|
|
||||||
function lookup(hostname: string, options: LookupAllOptions): Promise<LookupAddress[]>;
|
|
||||||
function lookup(hostname: string, options: LookupOptions): Promise<LookupAddress | LookupAddress[]>;
|
|
||||||
function lookup(hostname: string): Promise<LookupAddress>;
|
|
||||||
/**
|
|
||||||
* Resolves the given `address` and `port` into a host name and service using
|
|
||||||
* the operating system's underlying `getnameinfo` implementation.
|
|
||||||
*
|
|
||||||
* If `address` is not a valid IP address, a `TypeError` will be thrown.
|
|
||||||
* The `port` will be coerced to a number. If it is not a legal port, a `TypeError`will be thrown.
|
|
||||||
*
|
|
||||||
* On error, the `Promise` is rejected with an `Error` object, where `err.code`is the error code.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const dnsPromises = require('dns').promises;
|
|
||||||
* dnsPromises.lookupService('127.0.0.1', 22).then((result) => {
|
|
||||||
* console.log(result.hostname, result.service);
|
|
||||||
* // Prints: localhost ssh
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
* @since v10.6.0
|
|
||||||
*/
|
|
||||||
function lookupService(
|
|
||||||
address: string,
|
|
||||||
port: number
|
|
||||||
): Promise<{
|
|
||||||
hostname: string;
|
|
||||||
service: string;
|
|
||||||
}>;
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve a host name (e.g. `'nodejs.org'`) into an array
|
|
||||||
* of the resource records. When successful, the `Promise` is resolved with an
|
|
||||||
* array of resource records. The type and structure of individual results vary
|
|
||||||
* based on `rrtype`:
|
|
||||||
*
|
|
||||||
* <omitted>
|
|
||||||
*
|
|
||||||
* On error, the `Promise` is rejected with an `Error` object, where `err.code`is one of the DNS error codes.
|
|
||||||
* @since v10.6.0
|
|
||||||
* @param hostname Host name to resolve.
|
|
||||||
* @param [rrtype='A'] Resource record type.
|
|
||||||
*/
|
|
||||||
function resolve(hostname: string): Promise<string[]>;
|
|
||||||
function resolve(hostname: string, rrtype: 'A'): Promise<string[]>;
|
|
||||||
function resolve(hostname: string, rrtype: 'AAAA'): Promise<string[]>;
|
|
||||||
function resolve(hostname: string, rrtype: 'ANY'): Promise<AnyRecord[]>;
|
|
||||||
function resolve(hostname: string, rrtype: 'CAA'): Promise<CaaRecord[]>;
|
|
||||||
function resolve(hostname: string, rrtype: 'CNAME'): Promise<string[]>;
|
|
||||||
function resolve(hostname: string, rrtype: 'MX'): Promise<MxRecord[]>;
|
|
||||||
function resolve(hostname: string, rrtype: 'NAPTR'): Promise<NaptrRecord[]>;
|
|
||||||
function resolve(hostname: string, rrtype: 'NS'): Promise<string[]>;
|
|
||||||
function resolve(hostname: string, rrtype: 'PTR'): Promise<string[]>;
|
|
||||||
function resolve(hostname: string, rrtype: 'SOA'): Promise<SoaRecord>;
|
|
||||||
function resolve(hostname: string, rrtype: 'SRV'): Promise<SrvRecord[]>;
|
|
||||||
function resolve(hostname: string, rrtype: 'TXT'): Promise<string[][]>;
|
|
||||||
function resolve(hostname: string, rrtype: string): Promise<string[] | MxRecord[] | NaptrRecord[] | SoaRecord | SrvRecord[] | string[][] | AnyRecord[]>;
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve IPv4 addresses (`A` records) for the`hostname`. On success, the `Promise` is resolved with an array of IPv4
|
|
||||||
* addresses (e.g. `['74.125.79.104', '74.125.79.105', '74.125.79.106']`).
|
|
||||||
* @since v10.6.0
|
|
||||||
* @param hostname Host name to resolve.
|
|
||||||
*/
|
|
||||||
function resolve4(hostname: string): Promise<string[]>;
|
|
||||||
function resolve4(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>;
|
|
||||||
function resolve4(hostname: string, options: ResolveOptions): Promise<string[] | RecordWithTtl[]>;
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve IPv6 addresses (`AAAA` records) for the`hostname`. On success, the `Promise` is resolved with an array of IPv6
|
|
||||||
* addresses.
|
|
||||||
* @since v10.6.0
|
|
||||||
* @param hostname Host name to resolve.
|
|
||||||
*/
|
|
||||||
function resolve6(hostname: string): Promise<string[]>;
|
|
||||||
function resolve6(hostname: string, options: ResolveWithTtlOptions): Promise<RecordWithTtl[]>;
|
|
||||||
function resolve6(hostname: string, options: ResolveOptions): Promise<string[] | RecordWithTtl[]>;
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve all records (also known as `ANY` or `*` query).
|
|
||||||
* On success, the `Promise` is resolved with an array containing various types of
|
|
||||||
* records. Each object has a property `type` that indicates the type of the
|
|
||||||
* current record. And depending on the `type`, additional properties will be
|
|
||||||
* present on the object:
|
|
||||||
*
|
|
||||||
* <omitted>
|
|
||||||
*
|
|
||||||
* Here is an example of the result object:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* [ { type: 'A', address: '127.0.0.1', ttl: 299 },
|
|
||||||
* { type: 'CNAME', value: 'example.com' },
|
|
||||||
* { type: 'MX', exchange: 'alt4.aspmx.l.example.com', priority: 50 },
|
|
||||||
* { type: 'NS', value: 'ns1.example.com' },
|
|
||||||
* { type: 'TXT', entries: [ 'v=spf1 include:_spf.example.com ~all' ] },
|
|
||||||
* { type: 'SOA',
|
|
||||||
* nsname: 'ns1.example.com',
|
|
||||||
* hostmaster: 'admin.example.com',
|
|
||||||
* serial: 156696742,
|
|
||||||
* refresh: 900,
|
|
||||||
* retry: 900,
|
|
||||||
* expire: 1800,
|
|
||||||
* minttl: 60 } ]
|
|
||||||
* ```
|
|
||||||
* @since v10.6.0
|
|
||||||
*/
|
|
||||||
function resolveAny(hostname: string): Promise<AnyRecord[]>;
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve `CAA` records for the `hostname`. On success,
|
|
||||||
* the `Promise` is resolved with an array of objects containing available
|
|
||||||
* certification authority authorization records available for the `hostname`(e.g. `[{critical: 0, iodef: 'mailto:pki@example.com'},{critical: 128, issue: 'pki.example.com'}]`).
|
|
||||||
* @since v15.0.0, v14.17.0
|
|
||||||
*/
|
|
||||||
function resolveCaa(hostname: string): Promise<CaaRecord[]>;
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve `CNAME` records for the `hostname`. On success,
|
|
||||||
* the `Promise` is resolved with an array of canonical name records available for
|
|
||||||
* the `hostname` (e.g. `['bar.example.com']`).
|
|
||||||
* @since v10.6.0
|
|
||||||
*/
|
|
||||||
function resolveCname(hostname: string): Promise<string[]>;
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve mail exchange records (`MX` records) for the`hostname`. On success, the `Promise` is resolved with an array of objects
|
|
||||||
* containing both a `priority` and `exchange` property (e.g.`[{priority: 10, exchange: 'mx.example.com'}, ...]`).
|
|
||||||
* @since v10.6.0
|
|
||||||
*/
|
|
||||||
function resolveMx(hostname: string): Promise<MxRecord[]>;
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve regular expression based records (`NAPTR`records) for the `hostname`. On success, the `Promise` is resolved with an array
|
|
||||||
* of objects with the following properties:
|
|
||||||
*
|
|
||||||
* * `flags`
|
|
||||||
* * `service`
|
|
||||||
* * `regexp`
|
|
||||||
* * `replacement`
|
|
||||||
* * `order`
|
|
||||||
* * `preference`
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* {
|
|
||||||
* flags: 's',
|
|
||||||
* service: 'SIP+D2U',
|
|
||||||
* regexp: '',
|
|
||||||
* replacement: '_sip._udp.example.com',
|
|
||||||
* order: 30,
|
|
||||||
* preference: 100
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v10.6.0
|
|
||||||
*/
|
|
||||||
function resolveNaptr(hostname: string): Promise<NaptrRecord[]>;
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve name server records (`NS` records) for the`hostname`. On success, the `Promise` is resolved with an array of name server
|
|
||||||
* records available for `hostname` (e.g.`['ns1.example.com', 'ns2.example.com']`).
|
|
||||||
* @since v10.6.0
|
|
||||||
*/
|
|
||||||
function resolveNs(hostname: string): Promise<string[]>;
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve pointer records (`PTR` records) for the`hostname`. On success, the `Promise` is resolved with an array of strings
|
|
||||||
* containing the reply records.
|
|
||||||
* @since v10.6.0
|
|
||||||
*/
|
|
||||||
function resolvePtr(hostname: string): Promise<string[]>;
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve a start of authority record (`SOA` record) for
|
|
||||||
* the `hostname`. On success, the `Promise` is resolved with an object with the
|
|
||||||
* following properties:
|
|
||||||
*
|
|
||||||
* * `nsname`
|
|
||||||
* * `hostmaster`
|
|
||||||
* * `serial`
|
|
||||||
* * `refresh`
|
|
||||||
* * `retry`
|
|
||||||
* * `expire`
|
|
||||||
* * `minttl`
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* {
|
|
||||||
* nsname: 'ns.example.com',
|
|
||||||
* hostmaster: 'root.example.com',
|
|
||||||
* serial: 2013101809,
|
|
||||||
* refresh: 10000,
|
|
||||||
* retry: 2400,
|
|
||||||
* expire: 604800,
|
|
||||||
* minttl: 3600
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v10.6.0
|
|
||||||
*/
|
|
||||||
function resolveSoa(hostname: string): Promise<SoaRecord>;
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve service records (`SRV` records) for the`hostname`. On success, the `Promise` is resolved with an array of objects with
|
|
||||||
* the following properties:
|
|
||||||
*
|
|
||||||
* * `priority`
|
|
||||||
* * `weight`
|
|
||||||
* * `port`
|
|
||||||
* * `name`
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* {
|
|
||||||
* priority: 10,
|
|
||||||
* weight: 5,
|
|
||||||
* port: 21223,
|
|
||||||
* name: 'service.example.com'
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v10.6.0
|
|
||||||
*/
|
|
||||||
function resolveSrv(hostname: string): Promise<SrvRecord[]>;
|
|
||||||
/**
|
|
||||||
* Uses the DNS protocol to resolve text queries (`TXT` records) for the`hostname`. On success, the `Promise` is resolved with a two-dimensional array
|
|
||||||
* of the text records available for `hostname` (e.g.`[ ['v=spf1 ip4:0.0.0.0 ', '~all' ] ]`). Each sub-array contains TXT chunks of
|
|
||||||
* one record. Depending on the use case, these could be either joined together or
|
|
||||||
* treated separately.
|
|
||||||
* @since v10.6.0
|
|
||||||
*/
|
|
||||||
function resolveTxt(hostname: string): Promise<string[][]>;
|
|
||||||
/**
|
|
||||||
* Performs a reverse DNS query that resolves an IPv4 or IPv6 address to an
|
|
||||||
* array of host names.
|
|
||||||
*
|
|
||||||
* On error, the `Promise` is rejected with an `Error` object, where `err.code`is one of the DNS error codes.
|
|
||||||
* @since v10.6.0
|
|
||||||
*/
|
|
||||||
function reverse(ip: string): Promise<string[]>;
|
|
||||||
/**
|
|
||||||
* Sets the IP address and port of servers to be used when performing DNS
|
|
||||||
* resolution. The `servers` argument is an array of [RFC 5952](https://tools.ietf.org/html/rfc5952#section-6) formatted
|
|
||||||
* addresses. If the port is the IANA default DNS port (53) it can be omitted.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* dnsPromises.setServers([
|
|
||||||
* '4.4.4.4',
|
|
||||||
* '[2001:4860:4860::8888]',
|
|
||||||
* '4.4.4.4:1053',
|
|
||||||
* '[2001:4860:4860::8888]:1053',
|
|
||||||
* ]);
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* An error will be thrown if an invalid address is provided.
|
|
||||||
*
|
|
||||||
* The `dnsPromises.setServers()` method must not be called while a DNS query is in
|
|
||||||
* progress.
|
|
||||||
*
|
|
||||||
* This method works much like [resolve.conf](https://man7.org/linux/man-pages/man5/resolv.conf.5.html).
|
|
||||||
* That is, if attempting to resolve with the first server provided results in a`NOTFOUND` error, the `resolve()` method will _not_ attempt to resolve with
|
|
||||||
* subsequent servers provided. Fallback DNS servers will only be used if the
|
|
||||||
* earlier ones time out or result in some other error.
|
|
||||||
* @since v10.6.0
|
|
||||||
* @param servers array of `RFC 5952` formatted addresses
|
|
||||||
*/
|
|
||||||
function setServers(servers: ReadonlyArray<string>): void;
|
|
||||||
/**
|
|
||||||
* Set the default value of `verbatim` in `dns.lookup()` and `dnsPromises.lookup()`. The value could be:
|
|
||||||
*
|
|
||||||
* * `ipv4first`: sets default `verbatim` `false`.
|
|
||||||
* * `verbatim`: sets default `verbatim` `true`.
|
|
||||||
*
|
|
||||||
* The default is `ipv4first` and `dnsPromises.setDefaultResultOrder()` have
|
|
||||||
* higher priority than `--dns-result-order`. When using `worker threads`,`dnsPromises.setDefaultResultOrder()` from the main thread won't affect the
|
|
||||||
* default dns orders in workers.
|
|
||||||
* @since v16.4.0, v14.18.0
|
|
||||||
* @param order must be `'ipv4first'` or `'verbatim'`.
|
|
||||||
*/
|
|
||||||
function setDefaultResultOrder(order: 'ipv4first' | 'verbatim'): void;
|
|
||||||
class Resolver {
|
|
||||||
constructor(options?: ResolverOptions);
|
|
||||||
cancel(): void;
|
|
||||||
getServers: typeof getServers;
|
|
||||||
resolve: typeof resolve;
|
|
||||||
resolve4: typeof resolve4;
|
|
||||||
resolve6: typeof resolve6;
|
|
||||||
resolveAny: typeof resolveAny;
|
|
||||||
resolveCname: typeof resolveCname;
|
|
||||||
resolveMx: typeof resolveMx;
|
|
||||||
resolveNaptr: typeof resolveNaptr;
|
|
||||||
resolveNs: typeof resolveNs;
|
|
||||||
resolvePtr: typeof resolvePtr;
|
|
||||||
resolveSoa: typeof resolveSoa;
|
|
||||||
resolveSrv: typeof resolveSrv;
|
|
||||||
resolveTxt: typeof resolveTxt;
|
|
||||||
reverse: typeof reverse;
|
|
||||||
setLocalAddress(ipv4?: string, ipv6?: string): void;
|
|
||||||
setServers: typeof setServers;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
declare module 'node:dns/promises' {
|
|
||||||
export * from 'dns/promises';
|
|
||||||
}
|
|
||||||
169
Websites/Jefes/Backend/node_modules/@types/node/domain.d.ts
generated
vendored
169
Websites/Jefes/Backend/node_modules/@types/node/domain.d.ts
generated
vendored
@ -1,169 +0,0 @@
|
|||||||
/**
|
|
||||||
* **This module is pending deprecation.** Once a replacement API has been
|
|
||||||
* finalized, this module will be fully deprecated. Most developers should**not** have cause to use this module. Users who absolutely must have
|
|
||||||
* the functionality that domains provide may rely on it for the time being
|
|
||||||
* but should expect to have to migrate to a different solution
|
|
||||||
* in the future.
|
|
||||||
*
|
|
||||||
* Domains provide a way to handle multiple different IO operations as a
|
|
||||||
* single group. If any of the event emitters or callbacks registered to a
|
|
||||||
* domain emit an `'error'` event, or throw an error, then the domain object
|
|
||||||
* will be notified, rather than losing the context of the error in the`process.on('uncaughtException')` handler, or causing the program to
|
|
||||||
* exit immediately with an error code.
|
|
||||||
* @deprecated Since v1.4.2 - Deprecated
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/domain.js)
|
|
||||||
*/
|
|
||||||
declare module 'domain' {
|
|
||||||
import EventEmitter = require('node:events');
|
|
||||||
/**
|
|
||||||
* The `Domain` class encapsulates the functionality of routing errors and
|
|
||||||
* uncaught exceptions to the active `Domain` object.
|
|
||||||
*
|
|
||||||
* To handle the errors that it catches, listen to its `'error'` event.
|
|
||||||
*/
|
|
||||||
class Domain extends EventEmitter {
|
|
||||||
/**
|
|
||||||
* An array of timers and event emitters that have been explicitly added
|
|
||||||
* to the domain.
|
|
||||||
*/
|
|
||||||
members: Array<EventEmitter | NodeJS.Timer>;
|
|
||||||
/**
|
|
||||||
* The `enter()` method is plumbing used by the `run()`, `bind()`, and`intercept()` methods to set the active domain. It sets `domain.active` and`process.domain` to the domain, and implicitly
|
|
||||||
* pushes the domain onto the domain
|
|
||||||
* stack managed by the domain module (see {@link exit} for details on the
|
|
||||||
* domain stack). The call to `enter()` delimits the beginning of a chain of
|
|
||||||
* asynchronous calls and I/O operations bound to a domain.
|
|
||||||
*
|
|
||||||
* Calling `enter()` changes only the active domain, and does not alter the domain
|
|
||||||
* itself. `enter()` and `exit()` can be called an arbitrary number of times on a
|
|
||||||
* single domain.
|
|
||||||
*/
|
|
||||||
enter(): void;
|
|
||||||
/**
|
|
||||||
* The `exit()` method exits the current domain, popping it off the domain stack.
|
|
||||||
* Any time execution is going to switch to the context of a different chain of
|
|
||||||
* asynchronous calls, it's important to ensure that the current domain is exited.
|
|
||||||
* The call to `exit()` delimits either the end of or an interruption to the chain
|
|
||||||
* of asynchronous calls and I/O operations bound to a domain.
|
|
||||||
*
|
|
||||||
* If there are multiple, nested domains bound to the current execution context,`exit()` will exit any domains nested within this domain.
|
|
||||||
*
|
|
||||||
* Calling `exit()` changes only the active domain, and does not alter the domain
|
|
||||||
* itself. `enter()` and `exit()` can be called an arbitrary number of times on a
|
|
||||||
* single domain.
|
|
||||||
*/
|
|
||||||
exit(): void;
|
|
||||||
/**
|
|
||||||
* Run the supplied function in the context of the domain, implicitly
|
|
||||||
* binding all event emitters, timers, and lowlevel requests that are
|
|
||||||
* created in that context. Optionally, arguments can be passed to
|
|
||||||
* the function.
|
|
||||||
*
|
|
||||||
* This is the most basic way to use a domain.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const domain = require('domain');
|
|
||||||
* const fs = require('fs');
|
|
||||||
* const d = domain.create();
|
|
||||||
* d.on('error', (er) => {
|
|
||||||
* console.error('Caught error!', er);
|
|
||||||
* });
|
|
||||||
* d.run(() => {
|
|
||||||
* process.nextTick(() => {
|
|
||||||
* setTimeout(() => { // Simulating some various async stuff
|
|
||||||
* fs.open('non-existent file', 'r', (er, fd) => {
|
|
||||||
* if (er) throw er;
|
|
||||||
* // proceed...
|
|
||||||
* });
|
|
||||||
* }, 100);
|
|
||||||
* });
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* In this example, the `d.on('error')` handler will be triggered, rather
|
|
||||||
* than crashing the program.
|
|
||||||
*/
|
|
||||||
run<T>(fn: (...args: any[]) => T, ...args: any[]): T;
|
|
||||||
/**
|
|
||||||
* Explicitly adds an emitter to the domain. If any event handlers called by
|
|
||||||
* the emitter throw an error, or if the emitter emits an `'error'` event, it
|
|
||||||
* will be routed to the domain's `'error'` event, just like with implicit
|
|
||||||
* binding.
|
|
||||||
*
|
|
||||||
* This also works with timers that are returned from `setInterval()` and `setTimeout()`. If their callback function throws, it will be caught by
|
|
||||||
* the domain `'error'` handler.
|
|
||||||
*
|
|
||||||
* If the Timer or `EventEmitter` was already bound to a domain, it is removed
|
|
||||||
* from that one, and bound to this one instead.
|
|
||||||
* @param emitter emitter or timer to be added to the domain
|
|
||||||
*/
|
|
||||||
add(emitter: EventEmitter | NodeJS.Timer): void;
|
|
||||||
/**
|
|
||||||
* The opposite of {@link add}. Removes domain handling from the
|
|
||||||
* specified emitter.
|
|
||||||
* @param emitter emitter or timer to be removed from the domain
|
|
||||||
*/
|
|
||||||
remove(emitter: EventEmitter | NodeJS.Timer): void;
|
|
||||||
/**
|
|
||||||
* The returned function will be a wrapper around the supplied callback
|
|
||||||
* function. When the returned function is called, any errors that are
|
|
||||||
* thrown will be routed to the domain's `'error'` event.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const d = domain.create();
|
|
||||||
*
|
|
||||||
* function readSomeFile(filename, cb) {
|
|
||||||
* fs.readFile(filename, 'utf8', d.bind((er, data) => {
|
|
||||||
* // If this throws, it will also be passed to the domain.
|
|
||||||
* return cb(er, data ? JSON.parse(data) : null);
|
|
||||||
* }));
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* d.on('error', (er) => {
|
|
||||||
* // An error occurred somewhere. If we throw it now, it will crash the program
|
|
||||||
* // with the normal line number and stack message.
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
* @param callback The callback function
|
|
||||||
* @return The bound function
|
|
||||||
*/
|
|
||||||
bind<T extends Function>(callback: T): T;
|
|
||||||
/**
|
|
||||||
* This method is almost identical to {@link bind}. However, in
|
|
||||||
* addition to catching thrown errors, it will also intercept `Error` objects sent as the first argument to the function.
|
|
||||||
*
|
|
||||||
* In this way, the common `if (err) return callback(err);` pattern can be replaced
|
|
||||||
* with a single error handler in a single place.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const d = domain.create();
|
|
||||||
*
|
|
||||||
* function readSomeFile(filename, cb) {
|
|
||||||
* fs.readFile(filename, 'utf8', d.intercept((data) => {
|
|
||||||
* // Note, the first argument is never passed to the
|
|
||||||
* // callback since it is assumed to be the 'Error' argument
|
|
||||||
* // and thus intercepted by the domain.
|
|
||||||
*
|
|
||||||
* // If this throws, it will also be passed to the domain
|
|
||||||
* // so the error-handling logic can be moved to the 'error'
|
|
||||||
* // event on the domain instead of being repeated throughout
|
|
||||||
* // the program.
|
|
||||||
* return cb(null, JSON.parse(data));
|
|
||||||
* }));
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* d.on('error', (er) => {
|
|
||||||
* // An error occurred somewhere. If we throw it now, it will crash the program
|
|
||||||
* // with the normal line number and stack message.
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
* @param callback The callback function
|
|
||||||
* @return The intercepted function
|
|
||||||
*/
|
|
||||||
intercept<T extends Function>(callback: T): T;
|
|
||||||
}
|
|
||||||
function create(): Domain;
|
|
||||||
}
|
|
||||||
declare module 'node:domain' {
|
|
||||||
export * from 'domain';
|
|
||||||
}
|
|
||||||
651
Websites/Jefes/Backend/node_modules/@types/node/events.d.ts
generated
vendored
651
Websites/Jefes/Backend/node_modules/@types/node/events.d.ts
generated
vendored
@ -1,651 +0,0 @@
|
|||||||
/**
|
|
||||||
* Much of the Node.js core API is built around an idiomatic asynchronous
|
|
||||||
* event-driven architecture in which certain kinds of objects (called "emitters")
|
|
||||||
* emit named events that cause `Function` objects ("listeners") to be called.
|
|
||||||
*
|
|
||||||
* For instance: a `net.Server` object emits an event each time a peer
|
|
||||||
* connects to it; a `fs.ReadStream` emits an event when the file is opened;
|
|
||||||
* a `stream` emits an event whenever data is available to be read.
|
|
||||||
*
|
|
||||||
* All objects that emit events are instances of the `EventEmitter` class. These
|
|
||||||
* objects expose an `eventEmitter.on()` function that allows one or more
|
|
||||||
* functions to be attached to named events emitted by the object. Typically,
|
|
||||||
* event names are camel-cased strings but any valid JavaScript property key
|
|
||||||
* can be used.
|
|
||||||
*
|
|
||||||
* When the `EventEmitter` object emits an event, all of the functions attached
|
|
||||||
* to that specific event are called _synchronously_. Any values returned by the
|
|
||||||
* called listeners are _ignored_ and discarded.
|
|
||||||
*
|
|
||||||
* The following example shows a simple `EventEmitter` instance with a single
|
|
||||||
* listener. The `eventEmitter.on()` method is used to register listeners, while
|
|
||||||
* the `eventEmitter.emit()` method is used to trigger the event.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const EventEmitter = require('events');
|
|
||||||
*
|
|
||||||
* class MyEmitter extends EventEmitter {}
|
|
||||||
*
|
|
||||||
* const myEmitter = new MyEmitter();
|
|
||||||
* myEmitter.on('event', () => {
|
|
||||||
* console.log('an event occurred!');
|
|
||||||
* });
|
|
||||||
* myEmitter.emit('event');
|
|
||||||
* ```
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/events.js)
|
|
||||||
*/
|
|
||||||
declare module 'events' {
|
|
||||||
interface EventEmitterOptions {
|
|
||||||
/**
|
|
||||||
* Enables automatic capturing of promise rejection.
|
|
||||||
*/
|
|
||||||
captureRejections?: boolean | undefined;
|
|
||||||
}
|
|
||||||
interface NodeEventTarget {
|
|
||||||
once(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
}
|
|
||||||
interface DOMEventTarget {
|
|
||||||
addEventListener(
|
|
||||||
eventName: string,
|
|
||||||
listener: (...args: any[]) => void,
|
|
||||||
opts?: {
|
|
||||||
once: boolean;
|
|
||||||
},
|
|
||||||
): any;
|
|
||||||
}
|
|
||||||
interface StaticEventEmitterOptions {
|
|
||||||
signal?: AbortSignal | undefined;
|
|
||||||
}
|
|
||||||
interface EventEmitter extends NodeJS.EventEmitter {}
|
|
||||||
/**
|
|
||||||
* The `EventEmitter` class is defined and exposed by the `events` module:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const EventEmitter = require('events');
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* All `EventEmitter`s emit the event `'newListener'` when new listeners are
|
|
||||||
* added and `'removeListener'` when existing listeners are removed.
|
|
||||||
*
|
|
||||||
* It supports the following option:
|
|
||||||
* @since v0.1.26
|
|
||||||
*/
|
|
||||||
class EventEmitter {
|
|
||||||
constructor(options?: EventEmitterOptions);
|
|
||||||
/**
|
|
||||||
* Creates a `Promise` that is fulfilled when the `EventEmitter` emits the given
|
|
||||||
* event or that is rejected if the `EventEmitter` emits `'error'` while waiting.
|
|
||||||
* The `Promise` will resolve with an array of all the arguments emitted to the
|
|
||||||
* given event.
|
|
||||||
*
|
|
||||||
* This method is intentionally generic and works with the web platform [EventTarget](https://dom.spec.whatwg.org/#interface-eventtarget) interface, which has no special`'error'` event
|
|
||||||
* semantics and does not listen to the `'error'` event.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { once, EventEmitter } = require('events');
|
|
||||||
*
|
|
||||||
* async function run() {
|
|
||||||
* const ee = new EventEmitter();
|
|
||||||
*
|
|
||||||
* process.nextTick(() => {
|
|
||||||
* ee.emit('myevent', 42);
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* const [value] = await once(ee, 'myevent');
|
|
||||||
* console.log(value);
|
|
||||||
*
|
|
||||||
* const err = new Error('kaboom');
|
|
||||||
* process.nextTick(() => {
|
|
||||||
* ee.emit('error', err);
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* try {
|
|
||||||
* await once(ee, 'myevent');
|
|
||||||
* } catch (err) {
|
|
||||||
* console.log('error happened', err);
|
|
||||||
* }
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* run();
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* The special handling of the `'error'` event is only used when `events.once()`is used to wait for another event. If `events.once()` is used to wait for the
|
|
||||||
* '`error'` event itself, then it is treated as any other kind of event without
|
|
||||||
* special handling:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { EventEmitter, once } = require('events');
|
|
||||||
*
|
|
||||||
* const ee = new EventEmitter();
|
|
||||||
*
|
|
||||||
* once(ee, 'error')
|
|
||||||
* .then(([err]) => console.log('ok', err.message))
|
|
||||||
* .catch((err) => console.log('error', err.message));
|
|
||||||
*
|
|
||||||
* ee.emit('error', new Error('boom'));
|
|
||||||
*
|
|
||||||
* // Prints: ok boom
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* An `AbortSignal` can be used to cancel waiting for the event:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { EventEmitter, once } = require('events');
|
|
||||||
*
|
|
||||||
* const ee = new EventEmitter();
|
|
||||||
* const ac = new AbortController();
|
|
||||||
*
|
|
||||||
* async function foo(emitter, event, signal) {
|
|
||||||
* try {
|
|
||||||
* await once(emitter, event, { signal });
|
|
||||||
* console.log('event emitted!');
|
|
||||||
* } catch (error) {
|
|
||||||
* if (error.name === 'AbortError') {
|
|
||||||
* console.error('Waiting for the event was canceled!');
|
|
||||||
* } else {
|
|
||||||
* console.error('There was an error', error.message);
|
|
||||||
* }
|
|
||||||
* }
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* foo(ee, 'foo', ac.signal);
|
|
||||||
* ac.abort(); // Abort waiting for the event
|
|
||||||
* ee.emit('foo'); // Prints: Waiting for the event was canceled!
|
|
||||||
* ```
|
|
||||||
* @since v11.13.0, v10.16.0
|
|
||||||
*/
|
|
||||||
static once(
|
|
||||||
emitter: NodeEventTarget,
|
|
||||||
eventName: string | symbol,
|
|
||||||
options?: StaticEventEmitterOptions,
|
|
||||||
): Promise<any[]>;
|
|
||||||
static once(emitter: DOMEventTarget, eventName: string, options?: StaticEventEmitterOptions): Promise<any[]>;
|
|
||||||
/**
|
|
||||||
* ```js
|
|
||||||
* const { on, EventEmitter } = require('events');
|
|
||||||
*
|
|
||||||
* (async () => {
|
|
||||||
* const ee = new EventEmitter();
|
|
||||||
*
|
|
||||||
* // Emit later on
|
|
||||||
* process.nextTick(() => {
|
|
||||||
* ee.emit('foo', 'bar');
|
|
||||||
* ee.emit('foo', 42);
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* for await (const event of on(ee, 'foo')) {
|
|
||||||
* // The execution of this inner block is synchronous and it
|
|
||||||
* // processes one event at a time (even with await). Do not use
|
|
||||||
* // if concurrent execution is required.
|
|
||||||
* console.log(event); // prints ['bar'] [42]
|
|
||||||
* }
|
|
||||||
* // Unreachable here
|
|
||||||
* })();
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Returns an `AsyncIterator` that iterates `eventName` events. It will throw
|
|
||||||
* if the `EventEmitter` emits `'error'`. It removes all listeners when
|
|
||||||
* exiting the loop. The `value` returned by each iteration is an array
|
|
||||||
* composed of the emitted event arguments.
|
|
||||||
*
|
|
||||||
* An `AbortSignal` can be used to cancel waiting on events:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { on, EventEmitter } = require('events');
|
|
||||||
* const ac = new AbortController();
|
|
||||||
*
|
|
||||||
* (async () => {
|
|
||||||
* const ee = new EventEmitter();
|
|
||||||
*
|
|
||||||
* // Emit later on
|
|
||||||
* process.nextTick(() => {
|
|
||||||
* ee.emit('foo', 'bar');
|
|
||||||
* ee.emit('foo', 42);
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* for await (const event of on(ee, 'foo', { signal: ac.signal })) {
|
|
||||||
* // The execution of this inner block is synchronous and it
|
|
||||||
* // processes one event at a time (even with await). Do not use
|
|
||||||
* // if concurrent execution is required.
|
|
||||||
* console.log(event); // prints ['bar'] [42]
|
|
||||||
* }
|
|
||||||
* // Unreachable here
|
|
||||||
* })();
|
|
||||||
*
|
|
||||||
* process.nextTick(() => ac.abort());
|
|
||||||
* ```
|
|
||||||
* @since v13.6.0, v12.16.0
|
|
||||||
* @param eventName The name of the event being listened for
|
|
||||||
* @return that iterates `eventName` events emitted by the `emitter`
|
|
||||||
*/
|
|
||||||
static on(
|
|
||||||
emitter: NodeJS.EventEmitter,
|
|
||||||
eventName: string,
|
|
||||||
options?: StaticEventEmitterOptions,
|
|
||||||
): AsyncIterableIterator<any>;
|
|
||||||
/**
|
|
||||||
* A class method that returns the number of listeners for the given `eventName`registered on the given `emitter`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { EventEmitter, listenerCount } = require('events');
|
|
||||||
* const myEmitter = new EventEmitter();
|
|
||||||
* myEmitter.on('event', () => {});
|
|
||||||
* myEmitter.on('event', () => {});
|
|
||||||
* console.log(listenerCount(myEmitter, 'event'));
|
|
||||||
* // Prints: 2
|
|
||||||
* ```
|
|
||||||
* @since v0.9.12
|
|
||||||
* @deprecated Since v3.2.0 - Use `listenerCount` instead.
|
|
||||||
* @param emitter The emitter to query
|
|
||||||
* @param eventName The event name
|
|
||||||
*/
|
|
||||||
static listenerCount(emitter: NodeJS.EventEmitter, eventName: string | symbol): number;
|
|
||||||
/**
|
|
||||||
* Returns a copy of the array of listeners for the event named `eventName`.
|
|
||||||
*
|
|
||||||
* For `EventEmitter`s this behaves exactly the same as calling `.listeners` on
|
|
||||||
* the emitter.
|
|
||||||
*
|
|
||||||
* For `EventTarget`s this is the only way to get the event listeners for the
|
|
||||||
* event target. This is useful for debugging and diagnostic purposes.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { getEventListeners, EventEmitter } = require('events');
|
|
||||||
*
|
|
||||||
* {
|
|
||||||
* const ee = new EventEmitter();
|
|
||||||
* const listener = () => console.log('Events are fun');
|
|
||||||
* ee.on('foo', listener);
|
|
||||||
* getEventListeners(ee, 'foo'); // [listener]
|
|
||||||
* }
|
|
||||||
* {
|
|
||||||
* const et = new EventTarget();
|
|
||||||
* const listener = () => console.log('Events are fun');
|
|
||||||
* et.addEventListener('foo', listener);
|
|
||||||
* getEventListeners(et, 'foo'); // [listener]
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v15.2.0, v14.17.0
|
|
||||||
*/
|
|
||||||
static getEventListeners(emitter: DOMEventTarget | NodeJS.EventEmitter, name: string | symbol): Function[];
|
|
||||||
/**
|
|
||||||
* By default `EventEmitter`s will print a warning if more than `10` listeners are
|
|
||||||
* added for a particular event. This is a useful default that helps finding
|
|
||||||
* memory leaks. The `EventEmitter.setMaxListeners()` method allows the default limit to be
|
|
||||||
* modified (if eventTargets is empty) or modify the limit specified in every `EventTarget` | `EventEmitter` passed as arguments.
|
|
||||||
* The value can be set to`Infinity` (or `0`) to indicate an unlimited number of listeners.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* EventEmitter.setMaxListeners(20);
|
|
||||||
* // Equivalent to
|
|
||||||
* EventEmitter.defaultMaxListeners = 20;
|
|
||||||
*
|
|
||||||
* const eventTarget = new EventTarget();
|
|
||||||
* // Only way to increase limit for `EventTarget` instances
|
|
||||||
* // as these doesn't expose its own `setMaxListeners` method
|
|
||||||
* EventEmitter.setMaxListeners(20, eventTarget);
|
|
||||||
* ```
|
|
||||||
* @since v15.3.0, v14.17.0
|
|
||||||
*/
|
|
||||||
static setMaxListeners(n?: number, ...eventTargets: Array<DOMEventTarget | NodeJS.EventEmitter>): void;
|
|
||||||
/**
|
|
||||||
* This symbol shall be used to install a listener for only monitoring `'error'`
|
|
||||||
* events. Listeners installed using this symbol are called before the regular
|
|
||||||
* `'error'` listeners are called.
|
|
||||||
*
|
|
||||||
* Installing a listener using this symbol does not change the behavior once an
|
|
||||||
* `'error'` event is emitted, therefore the process will still crash if no
|
|
||||||
* regular `'error'` listener is installed.
|
|
||||||
*/
|
|
||||||
static readonly errorMonitor: unique symbol;
|
|
||||||
static readonly captureRejectionSymbol: unique symbol;
|
|
||||||
/**
|
|
||||||
* Sets or gets the default captureRejection value for all emitters.
|
|
||||||
*/
|
|
||||||
// TODO: These should be described using static getter/setter pairs:
|
|
||||||
static captureRejections: boolean;
|
|
||||||
static defaultMaxListeners: number;
|
|
||||||
}
|
|
||||||
import internal = require('node:events');
|
|
||||||
namespace EventEmitter {
|
|
||||||
// Should just be `export { EventEmitter }`, but that doesn't work in TypeScript 3.4
|
|
||||||
export { internal as EventEmitter };
|
|
||||||
export interface Abortable {
|
|
||||||
/**
|
|
||||||
* When provided the corresponding `AbortController` can be used to cancel an asynchronous action.
|
|
||||||
*/
|
|
||||||
signal?: AbortSignal | undefined;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
global {
|
|
||||||
namespace NodeJS {
|
|
||||||
interface EventEmitter {
|
|
||||||
/**
|
|
||||||
* Alias for `emitter.on(eventName, listener)`.
|
|
||||||
* @since v0.1.26
|
|
||||||
*/
|
|
||||||
addListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
/**
|
|
||||||
* Adds the `listener` function to the end of the listeners array for the
|
|
||||||
* event named `eventName`. No checks are made to see if the `listener` has
|
|
||||||
* already been added. Multiple calls passing the same combination of `eventName`and `listener` will result in the `listener` being added, and called, multiple
|
|
||||||
* times.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* server.on('connection', (stream) => {
|
|
||||||
* console.log('someone connected!');
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Returns a reference to the `EventEmitter`, so that calls can be chained.
|
|
||||||
*
|
|
||||||
* By default, event listeners are invoked in the order they are added. The`emitter.prependListener()` method can be used as an alternative to add the
|
|
||||||
* event listener to the beginning of the listeners array.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const myEE = new EventEmitter();
|
|
||||||
* myEE.on('foo', () => console.log('a'));
|
|
||||||
* myEE.prependListener('foo', () => console.log('b'));
|
|
||||||
* myEE.emit('foo');
|
|
||||||
* // Prints:
|
|
||||||
* // b
|
|
||||||
* // a
|
|
||||||
* ```
|
|
||||||
* @since v0.1.101
|
|
||||||
* @param eventName The name of the event.
|
|
||||||
* @param listener The callback function
|
|
||||||
*/
|
|
||||||
on(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
/**
|
|
||||||
* Adds a **one-time**`listener` function for the event named `eventName`. The
|
|
||||||
* next time `eventName` is triggered, this listener is removed and then invoked.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* server.once('connection', (stream) => {
|
|
||||||
* console.log('Ah, we have our first user!');
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Returns a reference to the `EventEmitter`, so that calls can be chained.
|
|
||||||
*
|
|
||||||
* By default, event listeners are invoked in the order they are added. The`emitter.prependOnceListener()` method can be used as an alternative to add the
|
|
||||||
* event listener to the beginning of the listeners array.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const myEE = new EventEmitter();
|
|
||||||
* myEE.once('foo', () => console.log('a'));
|
|
||||||
* myEE.prependOnceListener('foo', () => console.log('b'));
|
|
||||||
* myEE.emit('foo');
|
|
||||||
* // Prints:
|
|
||||||
* // b
|
|
||||||
* // a
|
|
||||||
* ```
|
|
||||||
* @since v0.3.0
|
|
||||||
* @param eventName The name of the event.
|
|
||||||
* @param listener The callback function
|
|
||||||
*/
|
|
||||||
once(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
/**
|
|
||||||
* Removes the specified `listener` from the listener array for the event named`eventName`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const callback = (stream) => {
|
|
||||||
* console.log('someone connected!');
|
|
||||||
* };
|
|
||||||
* server.on('connection', callback);
|
|
||||||
* // ...
|
|
||||||
* server.removeListener('connection', callback);
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* `removeListener()` will remove, at most, one instance of a listener from the
|
|
||||||
* listener array. If any single listener has been added multiple times to the
|
|
||||||
* listener array for the specified `eventName`, then `removeListener()` must be
|
|
||||||
* called multiple times to remove each instance.
|
|
||||||
*
|
|
||||||
* Once an event is emitted, all listeners attached to it at the
|
|
||||||
* time of emitting are called in order. This implies that any`removeListener()` or `removeAllListeners()` calls _after_ emitting and_before_ the last listener finishes execution will
|
|
||||||
* not remove them from`emit()` in progress. Subsequent events behave as expected.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const myEmitter = new MyEmitter();
|
|
||||||
*
|
|
||||||
* const callbackA = () => {
|
|
||||||
* console.log('A');
|
|
||||||
* myEmitter.removeListener('event', callbackB);
|
|
||||||
* };
|
|
||||||
*
|
|
||||||
* const callbackB = () => {
|
|
||||||
* console.log('B');
|
|
||||||
* };
|
|
||||||
*
|
|
||||||
* myEmitter.on('event', callbackA);
|
|
||||||
*
|
|
||||||
* myEmitter.on('event', callbackB);
|
|
||||||
*
|
|
||||||
* // callbackA removes listener callbackB but it will still be called.
|
|
||||||
* // Internal listener array at time of emit [callbackA, callbackB]
|
|
||||||
* myEmitter.emit('event');
|
|
||||||
* // Prints:
|
|
||||||
* // A
|
|
||||||
* // B
|
|
||||||
*
|
|
||||||
* // callbackB is now removed.
|
|
||||||
* // Internal listener array [callbackA]
|
|
||||||
* myEmitter.emit('event');
|
|
||||||
* // Prints:
|
|
||||||
* // A
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Because listeners are managed using an internal array, calling this will
|
|
||||||
* change the position indices of any listener registered _after_ the listener
|
|
||||||
* being removed. This will not impact the order in which listeners are called,
|
|
||||||
* but it means that any copies of the listener array as returned by
|
|
||||||
* the `emitter.listeners()` method will need to be recreated.
|
|
||||||
*
|
|
||||||
* When a single function has been added as a handler multiple times for a single
|
|
||||||
* event (as in the example below), `removeListener()` will remove the most
|
|
||||||
* recently added instance. In the example the `once('ping')`listener is removed:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const ee = new EventEmitter();
|
|
||||||
*
|
|
||||||
* function pong() {
|
|
||||||
* console.log('pong');
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* ee.on('ping', pong);
|
|
||||||
* ee.once('ping', pong);
|
|
||||||
* ee.removeListener('ping', pong);
|
|
||||||
*
|
|
||||||
* ee.emit('ping');
|
|
||||||
* ee.emit('ping');
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Returns a reference to the `EventEmitter`, so that calls can be chained.
|
|
||||||
* @since v0.1.26
|
|
||||||
*/
|
|
||||||
removeListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
/**
|
|
||||||
* Alias for `emitter.removeListener()`.
|
|
||||||
* @since v10.0.0
|
|
||||||
*/
|
|
||||||
off(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
/**
|
|
||||||
* Removes all listeners, or those of the specified `eventName`.
|
|
||||||
*
|
|
||||||
* It is bad practice to remove listeners added elsewhere in the code,
|
|
||||||
* particularly when the `EventEmitter` instance was created by some other
|
|
||||||
* component or module (e.g. sockets or file streams).
|
|
||||||
*
|
|
||||||
* Returns a reference to the `EventEmitter`, so that calls can be chained.
|
|
||||||
* @since v0.1.26
|
|
||||||
*/
|
|
||||||
removeAllListeners(event?: string | symbol): this;
|
|
||||||
/**
|
|
||||||
* By default `EventEmitter`s will print a warning if more than `10` listeners are
|
|
||||||
* added for a particular event. This is a useful default that helps finding
|
|
||||||
* memory leaks. The `emitter.setMaxListeners()` method allows the limit to be
|
|
||||||
* modified for this specific `EventEmitter` instance. The value can be set to`Infinity` (or `0`) to indicate an unlimited number of listeners.
|
|
||||||
*
|
|
||||||
* Returns a reference to the `EventEmitter`, so that calls can be chained.
|
|
||||||
* @since v0.3.5
|
|
||||||
*/
|
|
||||||
setMaxListeners(n: number): this;
|
|
||||||
/**
|
|
||||||
* Returns the current max listener value for the `EventEmitter` which is either
|
|
||||||
* set by `emitter.setMaxListeners(n)` or defaults to {@link defaultMaxListeners}.
|
|
||||||
* @since v1.0.0
|
|
||||||
*/
|
|
||||||
getMaxListeners(): number;
|
|
||||||
/**
|
|
||||||
* Returns a copy of the array of listeners for the event named `eventName`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* server.on('connection', (stream) => {
|
|
||||||
* console.log('someone connected!');
|
|
||||||
* });
|
|
||||||
* console.log(util.inspect(server.listeners('connection')));
|
|
||||||
* // Prints: [ [Function] ]
|
|
||||||
* ```
|
|
||||||
* @since v0.1.26
|
|
||||||
*/
|
|
||||||
listeners(eventName: string | symbol): Function[];
|
|
||||||
/**
|
|
||||||
* Returns a copy of the array of listeners for the event named `eventName`,
|
|
||||||
* including any wrappers (such as those created by `.once()`).
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const emitter = new EventEmitter();
|
|
||||||
* emitter.once('log', () => console.log('log once'));
|
|
||||||
*
|
|
||||||
* // Returns a new Array with a function `onceWrapper` which has a property
|
|
||||||
* // `listener` which contains the original listener bound above
|
|
||||||
* const listeners = emitter.rawListeners('log');
|
|
||||||
* const logFnWrapper = listeners[0];
|
|
||||||
*
|
|
||||||
* // Logs "log once" to the console and does not unbind the `once` event
|
|
||||||
* logFnWrapper.listener();
|
|
||||||
*
|
|
||||||
* // Logs "log once" to the console and removes the listener
|
|
||||||
* logFnWrapper();
|
|
||||||
*
|
|
||||||
* emitter.on('log', () => console.log('log persistently'));
|
|
||||||
* // Will return a new Array with a single function bound by `.on()` above
|
|
||||||
* const newListeners = emitter.rawListeners('log');
|
|
||||||
*
|
|
||||||
* // Logs "log persistently" twice
|
|
||||||
* newListeners[0]();
|
|
||||||
* emitter.emit('log');
|
|
||||||
* ```
|
|
||||||
* @since v9.4.0
|
|
||||||
*/
|
|
||||||
rawListeners(eventName: string | symbol): Function[];
|
|
||||||
/**
|
|
||||||
* Synchronously calls each of the listeners registered for the event named`eventName`, in the order they were registered, passing the supplied arguments
|
|
||||||
* to each.
|
|
||||||
*
|
|
||||||
* Returns `true` if the event had listeners, `false` otherwise.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const EventEmitter = require('events');
|
|
||||||
* const myEmitter = new EventEmitter();
|
|
||||||
*
|
|
||||||
* // First listener
|
|
||||||
* myEmitter.on('event', function firstListener() {
|
|
||||||
* console.log('Helloooo! first listener');
|
|
||||||
* });
|
|
||||||
* // Second listener
|
|
||||||
* myEmitter.on('event', function secondListener(arg1, arg2) {
|
|
||||||
* console.log(`event with parameters ${arg1}, ${arg2} in second listener`);
|
|
||||||
* });
|
|
||||||
* // Third listener
|
|
||||||
* myEmitter.on('event', function thirdListener(...args) {
|
|
||||||
* const parameters = args.join(', ');
|
|
||||||
* console.log(`event with parameters ${parameters} in third listener`);
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* console.log(myEmitter.listeners('event'));
|
|
||||||
*
|
|
||||||
* myEmitter.emit('event', 1, 2, 3, 4, 5);
|
|
||||||
*
|
|
||||||
* // Prints:
|
|
||||||
* // [
|
|
||||||
* // [Function: firstListener],
|
|
||||||
* // [Function: secondListener],
|
|
||||||
* // [Function: thirdListener]
|
|
||||||
* // ]
|
|
||||||
* // Helloooo! first listener
|
|
||||||
* // event with parameters 1, 2 in second listener
|
|
||||||
* // event with parameters 1, 2, 3, 4, 5 in third listener
|
|
||||||
* ```
|
|
||||||
* @since v0.1.26
|
|
||||||
*/
|
|
||||||
emit(eventName: string | symbol, ...args: any[]): boolean;
|
|
||||||
/**
|
|
||||||
* Returns the number of listeners listening to the event named `eventName`.
|
|
||||||
* @since v3.2.0
|
|
||||||
* @param eventName The name of the event being listened for
|
|
||||||
*/
|
|
||||||
listenerCount(eventName: string | symbol): number;
|
|
||||||
/**
|
|
||||||
* Adds the `listener` function to the _beginning_ of the listeners array for the
|
|
||||||
* event named `eventName`. No checks are made to see if the `listener` has
|
|
||||||
* already been added. Multiple calls passing the same combination of `eventName`and `listener` will result in the `listener` being added, and called, multiple
|
|
||||||
* times.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* server.prependListener('connection', (stream) => {
|
|
||||||
* console.log('someone connected!');
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Returns a reference to the `EventEmitter`, so that calls can be chained.
|
|
||||||
* @since v6.0.0
|
|
||||||
* @param eventName The name of the event.
|
|
||||||
* @param listener The callback function
|
|
||||||
*/
|
|
||||||
prependListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
/**
|
|
||||||
* Adds a **one-time**`listener` function for the event named `eventName` to the_beginning_ of the listeners array. The next time `eventName` is triggered, this
|
|
||||||
* listener is removed, and then invoked.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* server.prependOnceListener('connection', (stream) => {
|
|
||||||
* console.log('Ah, we have our first user!');
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Returns a reference to the `EventEmitter`, so that calls can be chained.
|
|
||||||
* @since v6.0.0
|
|
||||||
* @param eventName The name of the event.
|
|
||||||
* @param listener The callback function
|
|
||||||
*/
|
|
||||||
prependOnceListener(eventName: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
/**
|
|
||||||
* Returns an array listing the events for which the emitter has registered
|
|
||||||
* listeners. The values in the array are strings or `Symbol`s.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const EventEmitter = require('events');
|
|
||||||
* const myEE = new EventEmitter();
|
|
||||||
* myEE.on('foo', () => {});
|
|
||||||
* myEE.on('bar', () => {});
|
|
||||||
*
|
|
||||||
* const sym = Symbol('symbol');
|
|
||||||
* myEE.on(sym, () => {});
|
|
||||||
*
|
|
||||||
* console.log(myEE.eventNames());
|
|
||||||
* // Prints: [ 'foo', 'bar', Symbol(symbol) ]
|
|
||||||
* ```
|
|
||||||
* @since v6.0.0
|
|
||||||
*/
|
|
||||||
eventNames(): Array<string | symbol>;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
export = EventEmitter;
|
|
||||||
}
|
|
||||||
declare module 'node:events' {
|
|
||||||
import events = require('events');
|
|
||||||
export = events;
|
|
||||||
}
|
|
||||||
3869
Websites/Jefes/Backend/node_modules/@types/node/fs.d.ts
generated
vendored
3869
Websites/Jefes/Backend/node_modules/@types/node/fs.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
1091
Websites/Jefes/Backend/node_modules/@types/node/fs/promises.d.ts
generated
vendored
1091
Websites/Jefes/Backend/node_modules/@types/node/fs/promises.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
294
Websites/Jefes/Backend/node_modules/@types/node/globals.d.ts
generated
vendored
294
Websites/Jefes/Backend/node_modules/@types/node/globals.d.ts
generated
vendored
@ -1,294 +0,0 @@
|
|||||||
// Declare "static" methods in Error
|
|
||||||
interface ErrorConstructor {
|
|
||||||
/** Create .stack property on a target object */
|
|
||||||
captureStackTrace(targetObject: object, constructorOpt?: Function): void;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Optional override for formatting stack traces
|
|
||||||
*
|
|
||||||
* @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
|
||||||
*/
|
|
||||||
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined;
|
|
||||||
|
|
||||||
stackTraceLimit: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*-----------------------------------------------*
|
|
||||||
* *
|
|
||||||
* GLOBAL *
|
|
||||||
* *
|
|
||||||
------------------------------------------------*/
|
|
||||||
|
|
||||||
// For backwards compability
|
|
||||||
interface NodeRequire extends NodeJS.Require { }
|
|
||||||
interface RequireResolve extends NodeJS.RequireResolve { }
|
|
||||||
interface NodeModule extends NodeJS.Module { }
|
|
||||||
|
|
||||||
declare var process: NodeJS.Process;
|
|
||||||
declare var console: Console;
|
|
||||||
|
|
||||||
declare var __filename: string;
|
|
||||||
declare var __dirname: string;
|
|
||||||
|
|
||||||
declare var require: NodeRequire;
|
|
||||||
declare var module: NodeModule;
|
|
||||||
|
|
||||||
// Same as module.exports
|
|
||||||
declare var exports: any;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Only available if `--expose-gc` is passed to the process.
|
|
||||||
*/
|
|
||||||
declare var gc: undefined | (() => void);
|
|
||||||
|
|
||||||
//#region borrowed
|
|
||||||
// from https://github.com/microsoft/TypeScript/blob/38da7c600c83e7b31193a62495239a0fe478cb67/lib/lib.webworker.d.ts#L633 until moved to separate lib
|
|
||||||
/** A controller object that allows you to abort one or more DOM requests as and when desired. */
|
|
||||||
interface AbortController {
|
|
||||||
/**
|
|
||||||
* Returns the AbortSignal object associated with this object.
|
|
||||||
*/
|
|
||||||
|
|
||||||
readonly signal: AbortSignal;
|
|
||||||
/**
|
|
||||||
* Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted.
|
|
||||||
*/
|
|
||||||
abort(): void;
|
|
||||||
}
|
|
||||||
|
|
||||||
/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */
|
|
||||||
interface AbortSignal {
|
|
||||||
/**
|
|
||||||
* Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise.
|
|
||||||
*/
|
|
||||||
readonly aborted: boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
declare var AbortController: {
|
|
||||||
prototype: AbortController;
|
|
||||||
new(): AbortController;
|
|
||||||
};
|
|
||||||
|
|
||||||
declare var AbortSignal: {
|
|
||||||
prototype: AbortSignal;
|
|
||||||
new(): AbortSignal;
|
|
||||||
// TODO: Add abort() static
|
|
||||||
};
|
|
||||||
//#endregion borrowed
|
|
||||||
|
|
||||||
//#region ArrayLike.at()
|
|
||||||
interface RelativeIndexable<T> {
|
|
||||||
/**
|
|
||||||
* Takes an integer value and returns the item at that index,
|
|
||||||
* allowing for positive and negative integers.
|
|
||||||
* Negative integers count back from the last item in the array.
|
|
||||||
*/
|
|
||||||
at(index: number): T | undefined;
|
|
||||||
}
|
|
||||||
interface String extends RelativeIndexable<string> {}
|
|
||||||
interface Array<T> extends RelativeIndexable<T> {}
|
|
||||||
interface Int8Array extends RelativeIndexable<number> {}
|
|
||||||
interface Uint8Array extends RelativeIndexable<number> {}
|
|
||||||
interface Uint8ClampedArray extends RelativeIndexable<number> {}
|
|
||||||
interface Int16Array extends RelativeIndexable<number> {}
|
|
||||||
interface Uint16Array extends RelativeIndexable<number> {}
|
|
||||||
interface Int32Array extends RelativeIndexable<number> {}
|
|
||||||
interface Uint32Array extends RelativeIndexable<number> {}
|
|
||||||
interface Float32Array extends RelativeIndexable<number> {}
|
|
||||||
interface Float64Array extends RelativeIndexable<number> {}
|
|
||||||
interface BigInt64Array extends RelativeIndexable<bigint> {}
|
|
||||||
interface BigUint64Array extends RelativeIndexable<bigint> {}
|
|
||||||
//#endregion ArrayLike.at() end
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @since v17.0.0
|
|
||||||
*
|
|
||||||
* Creates a deep clone of an object.
|
|
||||||
*/
|
|
||||||
declare function structuredClone<T>(
|
|
||||||
value: T,
|
|
||||||
transfer?: { transfer: ReadonlyArray<import('worker_threads').TransferListItem> },
|
|
||||||
): T;
|
|
||||||
|
|
||||||
/*----------------------------------------------*
|
|
||||||
* *
|
|
||||||
* GLOBAL INTERFACES *
|
|
||||||
* *
|
|
||||||
*-----------------------------------------------*/
|
|
||||||
declare namespace NodeJS {
|
|
||||||
interface CallSite {
|
|
||||||
/**
|
|
||||||
* Value of "this"
|
|
||||||
*/
|
|
||||||
getThis(): unknown;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Type of "this" as a string.
|
|
||||||
* This is the name of the function stored in the constructor field of
|
|
||||||
* "this", if available. Otherwise the object's [[Class]] internal
|
|
||||||
* property.
|
|
||||||
*/
|
|
||||||
getTypeName(): string | null;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Current function
|
|
||||||
*/
|
|
||||||
getFunction(): Function | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Name of the current function, typically its name property.
|
|
||||||
* If a name property is not available an attempt will be made to try
|
|
||||||
* to infer a name from the function's context.
|
|
||||||
*/
|
|
||||||
getFunctionName(): string | null;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Name of the property [of "this" or one of its prototypes] that holds
|
|
||||||
* the current function
|
|
||||||
*/
|
|
||||||
getMethodName(): string | null;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Name of the script [if this function was defined in a script]
|
|
||||||
*/
|
|
||||||
getFileName(): string | null;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Current line number [if this function was defined in a script]
|
|
||||||
*/
|
|
||||||
getLineNumber(): number | null;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Current column number [if this function was defined in a script]
|
|
||||||
*/
|
|
||||||
getColumnNumber(): number | null;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* A call site object representing the location where eval was called
|
|
||||||
* [if this function was created using a call to eval]
|
|
||||||
*/
|
|
||||||
getEvalOrigin(): string | undefined;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Is this a toplevel invocation, that is, is "this" the global object?
|
|
||||||
*/
|
|
||||||
isToplevel(): boolean;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Does this call take place in code defined by a call to eval?
|
|
||||||
*/
|
|
||||||
isEval(): boolean;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Is this call in native V8 code?
|
|
||||||
*/
|
|
||||||
isNative(): boolean;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Is this a constructor call?
|
|
||||||
*/
|
|
||||||
isConstructor(): boolean;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface ErrnoException extends Error {
|
|
||||||
errno?: number | undefined;
|
|
||||||
code?: string | undefined;
|
|
||||||
path?: string | undefined;
|
|
||||||
syscall?: string | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface ReadableStream extends EventEmitter {
|
|
||||||
readable: boolean;
|
|
||||||
read(size?: number): string | Buffer;
|
|
||||||
setEncoding(encoding: BufferEncoding): this;
|
|
||||||
pause(): this;
|
|
||||||
resume(): this;
|
|
||||||
isPaused(): boolean;
|
|
||||||
pipe<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined; }): T;
|
|
||||||
unpipe(destination?: WritableStream): this;
|
|
||||||
unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void;
|
|
||||||
wrap(oldStream: ReadableStream): this;
|
|
||||||
[Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface WritableStream extends EventEmitter {
|
|
||||||
writable: boolean;
|
|
||||||
write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean;
|
|
||||||
write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean;
|
|
||||||
end(cb?: () => void): this;
|
|
||||||
end(data: string | Uint8Array, cb?: () => void): this;
|
|
||||||
end(str: string, encoding?: BufferEncoding, cb?: () => void): this;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface ReadWriteStream extends ReadableStream, WritableStream { }
|
|
||||||
|
|
||||||
interface RefCounted {
|
|
||||||
ref(): this;
|
|
||||||
unref(): this;
|
|
||||||
}
|
|
||||||
|
|
||||||
type TypedArray =
|
|
||||||
| Uint8Array
|
|
||||||
| Uint8ClampedArray
|
|
||||||
| Uint16Array
|
|
||||||
| Uint32Array
|
|
||||||
| Int8Array
|
|
||||||
| Int16Array
|
|
||||||
| Int32Array
|
|
||||||
| BigUint64Array
|
|
||||||
| BigInt64Array
|
|
||||||
| Float32Array
|
|
||||||
| Float64Array;
|
|
||||||
type ArrayBufferView = TypedArray | DataView;
|
|
||||||
|
|
||||||
interface Require {
|
|
||||||
(id: string): any;
|
|
||||||
resolve: RequireResolve;
|
|
||||||
cache: Dict<NodeModule>;
|
|
||||||
/**
|
|
||||||
* @deprecated
|
|
||||||
*/
|
|
||||||
extensions: RequireExtensions;
|
|
||||||
main: Module | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface RequireResolve {
|
|
||||||
(id: string, options?: { paths?: string[] | undefined; }): string;
|
|
||||||
paths(request: string): string[] | null;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface RequireExtensions extends Dict<(m: Module, filename: string) => any> {
|
|
||||||
'.js': (m: Module, filename: string) => any;
|
|
||||||
'.json': (m: Module, filename: string) => any;
|
|
||||||
'.node': (m: Module, filename: string) => any;
|
|
||||||
}
|
|
||||||
interface Module {
|
|
||||||
/**
|
|
||||||
* `true` if the module is running during the Node.js preload
|
|
||||||
*/
|
|
||||||
isPreloading: boolean;
|
|
||||||
exports: any;
|
|
||||||
require: Require;
|
|
||||||
id: string;
|
|
||||||
filename: string;
|
|
||||||
loaded: boolean;
|
|
||||||
/** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */
|
|
||||||
parent: Module | null | undefined;
|
|
||||||
children: Module[];
|
|
||||||
/**
|
|
||||||
* @since v11.14.0
|
|
||||||
*
|
|
||||||
* The directory name of the module. This is usually the same as the path.dirname() of the module.id.
|
|
||||||
*/
|
|
||||||
path: string;
|
|
||||||
paths: string[];
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Dict<T> {
|
|
||||||
[key: string]: T | undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface ReadOnlyDict<T> {
|
|
||||||
readonly [key: string]: T | undefined;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
1
Websites/Jefes/Backend/node_modules/@types/node/globals.global.d.ts
generated
vendored
1
Websites/Jefes/Backend/node_modules/@types/node/globals.global.d.ts
generated
vendored
@ -1 +0,0 @@
|
|||||||
declare var global: typeof globalThis;
|
|
||||||
1396
Websites/Jefes/Backend/node_modules/@types/node/http.d.ts
generated
vendored
1396
Websites/Jefes/Backend/node_modules/@types/node/http.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
2101
Websites/Jefes/Backend/node_modules/@types/node/http2.d.ts
generated
vendored
2101
Websites/Jefes/Backend/node_modules/@types/node/http2.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
391
Websites/Jefes/Backend/node_modules/@types/node/https.d.ts
generated
vendored
391
Websites/Jefes/Backend/node_modules/@types/node/https.d.ts
generated
vendored
@ -1,391 +0,0 @@
|
|||||||
/**
|
|
||||||
* HTTPS is the HTTP protocol over TLS/SSL. In Node.js this is implemented as a
|
|
||||||
* separate module.
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/https.js)
|
|
||||||
*/
|
|
||||||
declare module 'https' {
|
|
||||||
import { Duplex } from 'node:stream';
|
|
||||||
import * as tls from 'node:tls';
|
|
||||||
import * as http from 'node:http';
|
|
||||||
import { URL } from 'node:url';
|
|
||||||
type ServerOptions = tls.SecureContextOptions & tls.TlsOptions & http.ServerOptions;
|
|
||||||
type RequestOptions = http.RequestOptions &
|
|
||||||
tls.SecureContextOptions & {
|
|
||||||
rejectUnauthorized?: boolean | undefined; // Defaults to true
|
|
||||||
servername?: string | undefined; // SNI TLS Extension
|
|
||||||
};
|
|
||||||
interface AgentOptions extends http.AgentOptions, tls.ConnectionOptions {
|
|
||||||
rejectUnauthorized?: boolean | undefined;
|
|
||||||
maxCachedSessions?: number | undefined;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* An `Agent` object for HTTPS similar to `http.Agent`. See {@link request} for more information.
|
|
||||||
* @since v0.4.5
|
|
||||||
*/
|
|
||||||
class Agent extends http.Agent {
|
|
||||||
constructor(options?: AgentOptions);
|
|
||||||
options: AgentOptions;
|
|
||||||
}
|
|
||||||
interface Server extends http.Server {}
|
|
||||||
/**
|
|
||||||
* See `http.Server` for more information.
|
|
||||||
* @since v0.3.4
|
|
||||||
*/
|
|
||||||
class Server extends tls.Server {
|
|
||||||
constructor(requestListener?: http.RequestListener);
|
|
||||||
constructor(options: ServerOptions, requestListener?: http.RequestListener);
|
|
||||||
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
addListener(event: 'keylog', listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this;
|
|
||||||
addListener(event: 'newSession', listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
|
|
||||||
addListener(event: 'OCSPRequest', listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
|
|
||||||
addListener(event: 'resumeSession', listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
|
|
||||||
addListener(event: 'secureConnection', listener: (tlsSocket: tls.TLSSocket) => void): this;
|
|
||||||
addListener(event: 'tlsClientError', listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
|
|
||||||
addListener(event: 'close', listener: () => void): this;
|
|
||||||
addListener(event: 'connection', listener: (socket: Duplex) => void): this;
|
|
||||||
addListener(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
addListener(event: 'listening', listener: () => void): this;
|
|
||||||
addListener(event: 'checkContinue', listener: http.RequestListener): this;
|
|
||||||
addListener(event: 'checkExpectation', listener: http.RequestListener): this;
|
|
||||||
addListener(event: 'clientError', listener: (err: Error, socket: Duplex) => void): this;
|
|
||||||
addListener(event: 'connect', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
|
|
||||||
addListener(event: 'request', listener: http.RequestListener): this;
|
|
||||||
addListener(event: 'upgrade', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
|
|
||||||
emit(event: string, ...args: any[]): boolean;
|
|
||||||
emit(event: 'keylog', line: Buffer, tlsSocket: tls.TLSSocket): boolean;
|
|
||||||
emit(event: 'newSession', sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void): boolean;
|
|
||||||
emit(event: 'OCSPRequest', certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void): boolean;
|
|
||||||
emit(event: 'resumeSession', sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void): boolean;
|
|
||||||
emit(event: 'secureConnection', tlsSocket: tls.TLSSocket): boolean;
|
|
||||||
emit(event: 'tlsClientError', err: Error, tlsSocket: tls.TLSSocket): boolean;
|
|
||||||
emit(event: 'close'): boolean;
|
|
||||||
emit(event: 'connection', socket: Duplex): boolean;
|
|
||||||
emit(event: 'error', err: Error): boolean;
|
|
||||||
emit(event: 'listening'): boolean;
|
|
||||||
emit(event: 'checkContinue', req: http.IncomingMessage, res: http.ServerResponse): boolean;
|
|
||||||
emit(event: 'checkExpectation', req: http.IncomingMessage, res: http.ServerResponse): boolean;
|
|
||||||
emit(event: 'clientError', err: Error, socket: Duplex): boolean;
|
|
||||||
emit(event: 'connect', req: http.IncomingMessage, socket: Duplex, head: Buffer): boolean;
|
|
||||||
emit(event: 'request', req: http.IncomingMessage, res: http.ServerResponse): boolean;
|
|
||||||
emit(event: 'upgrade', req: http.IncomingMessage, socket: Duplex, head: Buffer): boolean;
|
|
||||||
on(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
on(event: 'keylog', listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this;
|
|
||||||
on(event: 'newSession', listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
|
|
||||||
on(event: 'OCSPRequest', listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
|
|
||||||
on(event: 'resumeSession', listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
|
|
||||||
on(event: 'secureConnection', listener: (tlsSocket: tls.TLSSocket) => void): this;
|
|
||||||
on(event: 'tlsClientError', listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
|
|
||||||
on(event: 'close', listener: () => void): this;
|
|
||||||
on(event: 'connection', listener: (socket: Duplex) => void): this;
|
|
||||||
on(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
on(event: 'listening', listener: () => void): this;
|
|
||||||
on(event: 'checkContinue', listener: http.RequestListener): this;
|
|
||||||
on(event: 'checkExpectation', listener: http.RequestListener): this;
|
|
||||||
on(event: 'clientError', listener: (err: Error, socket: Duplex) => void): this;
|
|
||||||
on(event: 'connect', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
|
|
||||||
on(event: 'request', listener: http.RequestListener): this;
|
|
||||||
on(event: 'upgrade', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
|
|
||||||
once(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
once(event: 'keylog', listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this;
|
|
||||||
once(event: 'newSession', listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
|
|
||||||
once(event: 'OCSPRequest', listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
|
|
||||||
once(event: 'resumeSession', listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
|
|
||||||
once(event: 'secureConnection', listener: (tlsSocket: tls.TLSSocket) => void): this;
|
|
||||||
once(event: 'tlsClientError', listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
|
|
||||||
once(event: 'close', listener: () => void): this;
|
|
||||||
once(event: 'connection', listener: (socket: Duplex) => void): this;
|
|
||||||
once(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
once(event: 'listening', listener: () => void): this;
|
|
||||||
once(event: 'checkContinue', listener: http.RequestListener): this;
|
|
||||||
once(event: 'checkExpectation', listener: http.RequestListener): this;
|
|
||||||
once(event: 'clientError', listener: (err: Error, socket: Duplex) => void): this;
|
|
||||||
once(event: 'connect', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
|
|
||||||
once(event: 'request', listener: http.RequestListener): this;
|
|
||||||
once(event: 'upgrade', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
|
|
||||||
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
prependListener(event: 'keylog', listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this;
|
|
||||||
prependListener(event: 'newSession', listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
|
|
||||||
prependListener(event: 'OCSPRequest', listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
|
|
||||||
prependListener(event: 'resumeSession', listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
|
|
||||||
prependListener(event: 'secureConnection', listener: (tlsSocket: tls.TLSSocket) => void): this;
|
|
||||||
prependListener(event: 'tlsClientError', listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
|
|
||||||
prependListener(event: 'close', listener: () => void): this;
|
|
||||||
prependListener(event: 'connection', listener: (socket: Duplex) => void): this;
|
|
||||||
prependListener(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
prependListener(event: 'listening', listener: () => void): this;
|
|
||||||
prependListener(event: 'checkContinue', listener: http.RequestListener): this;
|
|
||||||
prependListener(event: 'checkExpectation', listener: http.RequestListener): this;
|
|
||||||
prependListener(event: 'clientError', listener: (err: Error, socket: Duplex) => void): this;
|
|
||||||
prependListener(event: 'connect', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
|
|
||||||
prependListener(event: 'request', listener: http.RequestListener): this;
|
|
||||||
prependListener(event: 'upgrade', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
|
|
||||||
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
prependOnceListener(event: 'keylog', listener: (line: Buffer, tlsSocket: tls.TLSSocket) => void): this;
|
|
||||||
prependOnceListener(event: 'newSession', listener: (sessionId: Buffer, sessionData: Buffer, callback: (err: Error, resp: Buffer) => void) => void): this;
|
|
||||||
prependOnceListener(event: 'OCSPRequest', listener: (certificate: Buffer, issuer: Buffer, callback: (err: Error | null, resp: Buffer) => void) => void): this;
|
|
||||||
prependOnceListener(event: 'resumeSession', listener: (sessionId: Buffer, callback: (err: Error, sessionData: Buffer) => void) => void): this;
|
|
||||||
prependOnceListener(event: 'secureConnection', listener: (tlsSocket: tls.TLSSocket) => void): this;
|
|
||||||
prependOnceListener(event: 'tlsClientError', listener: (err: Error, tlsSocket: tls.TLSSocket) => void): this;
|
|
||||||
prependOnceListener(event: 'close', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'connection', listener: (socket: Duplex) => void): this;
|
|
||||||
prependOnceListener(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
prependOnceListener(event: 'listening', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'checkContinue', listener: http.RequestListener): this;
|
|
||||||
prependOnceListener(event: 'checkExpectation', listener: http.RequestListener): this;
|
|
||||||
prependOnceListener(event: 'clientError', listener: (err: Error, socket: Duplex) => void): this;
|
|
||||||
prependOnceListener(event: 'connect', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
|
|
||||||
prependOnceListener(event: 'request', listener: http.RequestListener): this;
|
|
||||||
prependOnceListener(event: 'upgrade', listener: (req: http.IncomingMessage, socket: Duplex, head: Buffer) => void): this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* ```js
|
|
||||||
* // curl -k https://localhost:8000/
|
|
||||||
* const https = require('https');
|
|
||||||
* const fs = require('fs');
|
|
||||||
*
|
|
||||||
* const options = {
|
|
||||||
* key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'),
|
|
||||||
* cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem')
|
|
||||||
* };
|
|
||||||
*
|
|
||||||
* https.createServer(options, (req, res) => {
|
|
||||||
* res.writeHead(200);
|
|
||||||
* res.end('hello world\n');
|
|
||||||
* }).listen(8000);
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Or
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const https = require('https');
|
|
||||||
* const fs = require('fs');
|
|
||||||
*
|
|
||||||
* const options = {
|
|
||||||
* pfx: fs.readFileSync('test/fixtures/test_cert.pfx'),
|
|
||||||
* passphrase: 'sample'
|
|
||||||
* };
|
|
||||||
*
|
|
||||||
* https.createServer(options, (req, res) => {
|
|
||||||
* res.writeHead(200);
|
|
||||||
* res.end('hello world\n');
|
|
||||||
* }).listen(8000);
|
|
||||||
* ```
|
|
||||||
* @since v0.3.4
|
|
||||||
* @param options Accepts `options` from `createServer`, `createSecureContext` and `createServer`.
|
|
||||||
* @param requestListener A listener to be added to the `'request'` event.
|
|
||||||
*/
|
|
||||||
function createServer(requestListener?: http.RequestListener): Server;
|
|
||||||
function createServer(options: ServerOptions, requestListener?: http.RequestListener): Server;
|
|
||||||
/**
|
|
||||||
* Makes a request to a secure web server.
|
|
||||||
*
|
|
||||||
* The following additional `options` from `tls.connect()` are also accepted:`ca`, `cert`, `ciphers`, `clientCertEngine`, `crl`, `dhparam`, `ecdhCurve`,`honorCipherOrder`, `key`, `passphrase`,
|
|
||||||
* `pfx`, `rejectUnauthorized`,`secureOptions`, `secureProtocol`, `servername`, `sessionIdContext`,`highWaterMark`.
|
|
||||||
*
|
|
||||||
* `options` can be an object, a string, or a `URL` object. If `options` is a
|
|
||||||
* string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object.
|
|
||||||
*
|
|
||||||
* `https.request()` returns an instance of the `http.ClientRequest` class. The `ClientRequest` instance is a writable stream. If one needs to
|
|
||||||
* upload a file with a POST request, then write to the `ClientRequest` object.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const https = require('https');
|
|
||||||
*
|
|
||||||
* const options = {
|
|
||||||
* hostname: 'encrypted.google.com',
|
|
||||||
* port: 443,
|
|
||||||
* path: '/',
|
|
||||||
* method: 'GET'
|
|
||||||
* };
|
|
||||||
*
|
|
||||||
* const req = https.request(options, (res) => {
|
|
||||||
* console.log('statusCode:', res.statusCode);
|
|
||||||
* console.log('headers:', res.headers);
|
|
||||||
*
|
|
||||||
* res.on('data', (d) => {
|
|
||||||
* process.stdout.write(d);
|
|
||||||
* });
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* req.on('error', (e) => {
|
|
||||||
* console.error(e);
|
|
||||||
* });
|
|
||||||
* req.end();
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Example using options from `tls.connect()`:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const options = {
|
|
||||||
* hostname: 'encrypted.google.com',
|
|
||||||
* port: 443,
|
|
||||||
* path: '/',
|
|
||||||
* method: 'GET',
|
|
||||||
* key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'),
|
|
||||||
* cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem')
|
|
||||||
* };
|
|
||||||
* options.agent = new https.Agent(options);
|
|
||||||
*
|
|
||||||
* const req = https.request(options, (res) => {
|
|
||||||
* // ...
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Alternatively, opt out of connection pooling by not using an `Agent`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const options = {
|
|
||||||
* hostname: 'encrypted.google.com',
|
|
||||||
* port: 443,
|
|
||||||
* path: '/',
|
|
||||||
* method: 'GET',
|
|
||||||
* key: fs.readFileSync('test/fixtures/keys/agent2-key.pem'),
|
|
||||||
* cert: fs.readFileSync('test/fixtures/keys/agent2-cert.pem'),
|
|
||||||
* agent: false
|
|
||||||
* };
|
|
||||||
*
|
|
||||||
* const req = https.request(options, (res) => {
|
|
||||||
* // ...
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Example using a `URL` as `options`:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const options = new URL('https://abc:xyz@example.com');
|
|
||||||
*
|
|
||||||
* const req = https.request(options, (res) => {
|
|
||||||
* // ...
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Example pinning on certificate fingerprint, or the public key (similar to`pin-sha256`):
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const tls = require('tls');
|
|
||||||
* const https = require('https');
|
|
||||||
* const crypto = require('crypto');
|
|
||||||
*
|
|
||||||
* function sha256(s) {
|
|
||||||
* return crypto.createHash('sha256').update(s).digest('base64');
|
|
||||||
* }
|
|
||||||
* const options = {
|
|
||||||
* hostname: 'github.com',
|
|
||||||
* port: 443,
|
|
||||||
* path: '/',
|
|
||||||
* method: 'GET',
|
|
||||||
* checkServerIdentity: function(host, cert) {
|
|
||||||
* // Make sure the certificate is issued to the host we are connected to
|
|
||||||
* const err = tls.checkServerIdentity(host, cert);
|
|
||||||
* if (err) {
|
|
||||||
* return err;
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* // Pin the public key, similar to HPKP pin-sha25 pinning
|
|
||||||
* const pubkey256 = 'pL1+qb9HTMRZJmuC/bB/ZI9d302BYrrqiVuRyW+DGrU=';
|
|
||||||
* if (sha256(cert.pubkey) !== pubkey256) {
|
|
||||||
* const msg = 'Certificate verification error: ' +
|
|
||||||
* `The public key of '${cert.subject.CN}' ` +
|
|
||||||
* 'does not match our pinned fingerprint';
|
|
||||||
* return new Error(msg);
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* // Pin the exact certificate, rather than the pub key
|
|
||||||
* const cert256 = '25:FE:39:32:D9:63:8C:8A:FC:A1:9A:29:87:' +
|
|
||||||
* 'D8:3E:4C:1D:98:DB:71:E4:1A:48:03:98:EA:22:6A:BD:8B:93:16';
|
|
||||||
* if (cert.fingerprint256 !== cert256) {
|
|
||||||
* const msg = 'Certificate verification error: ' +
|
|
||||||
* `The certificate of '${cert.subject.CN}' ` +
|
|
||||||
* 'does not match our pinned fingerprint';
|
|
||||||
* return new Error(msg);
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* // This loop is informational only.
|
|
||||||
* // Print the certificate and public key fingerprints of all certs in the
|
|
||||||
* // chain. Its common to pin the public key of the issuer on the public
|
|
||||||
* // internet, while pinning the public key of the service in sensitive
|
|
||||||
* // environments.
|
|
||||||
* do {
|
|
||||||
* console.log('Subject Common Name:', cert.subject.CN);
|
|
||||||
* console.log(' Certificate SHA256 fingerprint:', cert.fingerprint256);
|
|
||||||
*
|
|
||||||
* hash = crypto.createHash('sha256');
|
|
||||||
* console.log(' Public key ping-sha256:', sha256(cert.pubkey));
|
|
||||||
*
|
|
||||||
* lastprint256 = cert.fingerprint256;
|
|
||||||
* cert = cert.issuerCertificate;
|
|
||||||
* } while (cert.fingerprint256 !== lastprint256);
|
|
||||||
*
|
|
||||||
* },
|
|
||||||
* };
|
|
||||||
*
|
|
||||||
* options.agent = new https.Agent(options);
|
|
||||||
* const req = https.request(options, (res) => {
|
|
||||||
* console.log('All OK. Server matched our pinned cert or public key');
|
|
||||||
* console.log('statusCode:', res.statusCode);
|
|
||||||
* // Print the HPKP values
|
|
||||||
* console.log('headers:', res.headers['public-key-pins']);
|
|
||||||
*
|
|
||||||
* res.on('data', (d) => {});
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* req.on('error', (e) => {
|
|
||||||
* console.error(e.message);
|
|
||||||
* });
|
|
||||||
* req.end();
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Outputs for example:
|
|
||||||
*
|
|
||||||
* ```text
|
|
||||||
* Subject Common Name: github.com
|
|
||||||
* Certificate SHA256 fingerprint: 25:FE:39:32:D9:63:8C:8A:FC:A1:9A:29:87:D8:3E:4C:1D:98:DB:71:E4:1A:48:03:98:EA:22:6A:BD:8B:93:16
|
|
||||||
* Public key ping-sha256: pL1+qb9HTMRZJmuC/bB/ZI9d302BYrrqiVuRyW+DGrU=
|
|
||||||
* Subject Common Name: DigiCert SHA2 Extended Validation Server CA
|
|
||||||
* Certificate SHA256 fingerprint: 40:3E:06:2A:26:53:05:91:13:28:5B:AF:80:A0:D4:AE:42:2C:84:8C:9F:78:FA:D0:1F:C9:4B:C5:B8:7F:EF:1A
|
|
||||||
* Public key ping-sha256: RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho=
|
|
||||||
* Subject Common Name: DigiCert High Assurance EV Root CA
|
|
||||||
* Certificate SHA256 fingerprint: 74:31:E5:F4:C3:C1:CE:46:90:77:4F:0B:61:E0:54:40:88:3B:A9:A0:1E:D0:0B:A6:AB:D7:80:6E:D3:B1:18:CF
|
|
||||||
* Public key ping-sha256: WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18=
|
|
||||||
* All OK. Server matched our pinned cert or public key
|
|
||||||
* statusCode: 200
|
|
||||||
* headers: max-age=0; pin-sha256="WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18="; pin-sha256="RRM1dGqnDFsCJXBTHky16vi1obOlCgFFn/yOhI/y+ho=";
|
|
||||||
* pin-sha256="k2v657xBsOVe1PQRwOsHsw3bsGT2VzIqz5K+59sNQws="; pin-sha256="K87oWBWM9UZfyddvDfoxL+8lpNyoUB2ptGtn0fv6G2Q="; pin-sha256="IQBnNBEiFuhj+8x6X8XLgh01V9Ic5/V3IRQLNFFc7v4=";
|
|
||||||
* pin-sha256="iie1VXtL7HzAMF+/PVPR9xzT80kQxdZeJ+zduCB3uj0="; pin-sha256="LvRiGEjRqfzurezaWuj8Wie2gyHMrW5Q06LspMnox7A="; includeSubDomains
|
|
||||||
* ```
|
|
||||||
* @since v0.3.6
|
|
||||||
* @param options Accepts all `options` from `request`, with some differences in default values:
|
|
||||||
*/
|
|
||||||
function request(options: RequestOptions | string | URL, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
|
|
||||||
function request(url: string | URL, options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
|
|
||||||
/**
|
|
||||||
* Like `http.get()` but for HTTPS.
|
|
||||||
*
|
|
||||||
* `options` can be an object, a string, or a `URL` object. If `options` is a
|
|
||||||
* string, it is automatically parsed with `new URL()`. If it is a `URL` object, it will be automatically converted to an ordinary `options` object.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const https = require('https');
|
|
||||||
*
|
|
||||||
* https.get('https://encrypted.google.com/', (res) => {
|
|
||||||
* console.log('statusCode:', res.statusCode);
|
|
||||||
* console.log('headers:', res.headers);
|
|
||||||
*
|
|
||||||
* res.on('data', (d) => {
|
|
||||||
* process.stdout.write(d);
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* }).on('error', (e) => {
|
|
||||||
* console.error(e);
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
* @since v0.3.6
|
|
||||||
* @param options Accepts the same `options` as {@link request}, with the `method` always set to `GET`.
|
|
||||||
*/
|
|
||||||
function get(options: RequestOptions | string | URL, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
|
|
||||||
function get(url: string | URL, options: RequestOptions, callback?: (res: http.IncomingMessage) => void): http.ClientRequest;
|
|
||||||
let globalAgent: Agent;
|
|
||||||
}
|
|
||||||
declare module 'node:https' {
|
|
||||||
export * from 'https';
|
|
||||||
}
|
|
||||||
129
Websites/Jefes/Backend/node_modules/@types/node/index.d.ts
generated
vendored
129
Websites/Jefes/Backend/node_modules/@types/node/index.d.ts
generated
vendored
@ -1,129 +0,0 @@
|
|||||||
// Type definitions for non-npm package Node.js 17.0
|
|
||||||
// Project: https://nodejs.org/
|
|
||||||
// Definitions by: Microsoft TypeScript <https://github.com/Microsoft>
|
|
||||||
// DefinitelyTyped <https://github.com/DefinitelyTyped>
|
|
||||||
// Alberto Schiabel <https://github.com/jkomyno>
|
|
||||||
// Alvis HT Tang <https://github.com/alvis>
|
|
||||||
// Andrew Makarov <https://github.com/r3nya>
|
|
||||||
// Benjamin Toueg <https://github.com/btoueg>
|
|
||||||
// Chigozirim C. <https://github.com/smac89>
|
|
||||||
// David Junger <https://github.com/touffy>
|
|
||||||
// Deividas Bakanas <https://github.com/DeividasBakanas>
|
|
||||||
// Eugene Y. Q. Shen <https://github.com/eyqs>
|
|
||||||
// Hannes Magnusson <https://github.com/Hannes-Magnusson-CK>
|
|
||||||
// Huw <https://github.com/hoo29>
|
|
||||||
// Kelvin Jin <https://github.com/kjin>
|
|
||||||
// Klaus Meinhardt <https://github.com/ajafff>
|
|
||||||
// Lishude <https://github.com/islishude>
|
|
||||||
// Mariusz Wiktorczyk <https://github.com/mwiktorczyk>
|
|
||||||
// Mohsen Azimi <https://github.com/mohsen1>
|
|
||||||
// Nicolas Even <https://github.com/n-e>
|
|
||||||
// Nikita Galkin <https://github.com/galkin>
|
|
||||||
// Parambir Singh <https://github.com/parambirs>
|
|
||||||
// Sebastian Silbermann <https://github.com/eps1lon>
|
|
||||||
// Simon Schick <https://github.com/SimonSchick>
|
|
||||||
// Thomas den Hollander <https://github.com/ThomasdenH>
|
|
||||||
// Wilco Bakker <https://github.com/WilcoBakker>
|
|
||||||
// wwwy3y3 <https://github.com/wwwy3y3>
|
|
||||||
// Samuel Ainsworth <https://github.com/samuela>
|
|
||||||
// Kyle Uehlein <https://github.com/kuehlein>
|
|
||||||
// Thanik Bhongbhibhat <https://github.com/bhongy>
|
|
||||||
// Marcin Kopacz <https://github.com/chyzwar>
|
|
||||||
// Trivikram Kamat <https://github.com/trivikr>
|
|
||||||
// Junxiao Shi <https://github.com/yoursunny>
|
|
||||||
// Ilia Baryshnikov <https://github.com/qwelias>
|
|
||||||
// ExE Boss <https://github.com/ExE-Boss>
|
|
||||||
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
|
|
||||||
// Anna Henningsen <https://github.com/addaleax>
|
|
||||||
// Victor Perin <https://github.com/victorperin>
|
|
||||||
// Yongsheng Zhang <https://github.com/ZYSzys>
|
|
||||||
// NodeJS Contributors <https://github.com/NodeJS>
|
|
||||||
// Linus Unnebäck <https://github.com/LinusU>
|
|
||||||
// wafuwafu13 <https://github.com/wafuwafu13>
|
|
||||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
||||||
|
|
||||||
/**
|
|
||||||
* License for programmatically and manually incorporated
|
|
||||||
* documentation aka. `JSDoc` from https://github.com/nodejs/node/tree/master/doc
|
|
||||||
*
|
|
||||||
* Copyright Node.js contributors. All rights reserved.
|
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
* of this software and associated documentation files (the "Software"), to
|
|
||||||
* deal in the Software without restriction, including without limitation the
|
|
||||||
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
||||||
* sell copies of the Software, and to permit persons to whom the Software is
|
|
||||||
* furnished to do so, subject to the following conditions:
|
|
||||||
*
|
|
||||||
* The above copyright notice and this permission notice shall be included in
|
|
||||||
* all copies or substantial portions of the Software.
|
|
||||||
*
|
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
||||||
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
||||||
* IN THE SOFTWARE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
// NOTE: These definitions support NodeJS and TypeScript 3.7+.
|
|
||||||
|
|
||||||
// Reference required types from the default lib:
|
|
||||||
/// <reference lib="es2020" />
|
|
||||||
/// <reference lib="esnext.asynciterable" />
|
|
||||||
/// <reference lib="esnext.intl" />
|
|
||||||
/// <reference lib="esnext.bigint" />
|
|
||||||
|
|
||||||
// Base definitions for all NodeJS modules that are not specific to any version of TypeScript:
|
|
||||||
/// <reference path="assert.d.ts" />
|
|
||||||
/// <reference path="assert/strict.d.ts" />
|
|
||||||
/// <reference path="globals.d.ts" />
|
|
||||||
/// <reference path="async_hooks.d.ts" />
|
|
||||||
/// <reference path="buffer.d.ts" />
|
|
||||||
/// <reference path="child_process.d.ts" />
|
|
||||||
/// <reference path="cluster.d.ts" />
|
|
||||||
/// <reference path="console.d.ts" />
|
|
||||||
/// <reference path="constants.d.ts" />
|
|
||||||
/// <reference path="crypto.d.ts" />
|
|
||||||
/// <reference path="dgram.d.ts" />
|
|
||||||
/// <reference path="diagnostics_channel.d.ts" />
|
|
||||||
/// <reference path="dns.d.ts" />
|
|
||||||
/// <reference path="dns/promises.d.ts" />
|
|
||||||
/// <reference path="dns/promises.d.ts" />
|
|
||||||
/// <reference path="domain.d.ts" />
|
|
||||||
/// <reference path="events.d.ts" />
|
|
||||||
/// <reference path="fs.d.ts" />
|
|
||||||
/// <reference path="fs/promises.d.ts" />
|
|
||||||
/// <reference path="http.d.ts" />
|
|
||||||
/// <reference path="http2.d.ts" />
|
|
||||||
/// <reference path="https.d.ts" />
|
|
||||||
/// <reference path="inspector.d.ts" />
|
|
||||||
/// <reference path="module.d.ts" />
|
|
||||||
/// <reference path="net.d.ts" />
|
|
||||||
/// <reference path="os.d.ts" />
|
|
||||||
/// <reference path="path.d.ts" />
|
|
||||||
/// <reference path="perf_hooks.d.ts" />
|
|
||||||
/// <reference path="process.d.ts" />
|
|
||||||
/// <reference path="punycode.d.ts" />
|
|
||||||
/// <reference path="querystring.d.ts" />
|
|
||||||
/// <reference path="readline.d.ts" />
|
|
||||||
/// <reference path="repl.d.ts" />
|
|
||||||
/// <reference path="stream.d.ts" />
|
|
||||||
/// <reference path="stream/promises.d.ts" />
|
|
||||||
/// <reference path="stream/consumers.d.ts" />
|
|
||||||
/// <reference path="stream/web.d.ts" />
|
|
||||||
/// <reference path="string_decoder.d.ts" />
|
|
||||||
/// <reference path="timers.d.ts" />
|
|
||||||
/// <reference path="timers/promises.d.ts" />
|
|
||||||
/// <reference path="tls.d.ts" />
|
|
||||||
/// <reference path="trace_events.d.ts" />
|
|
||||||
/// <reference path="tty.d.ts" />
|
|
||||||
/// <reference path="url.d.ts" />
|
|
||||||
/// <reference path="util.d.ts" />
|
|
||||||
/// <reference path="v8.d.ts" />
|
|
||||||
/// <reference path="vm.d.ts" />
|
|
||||||
/// <reference path="wasi.d.ts" />
|
|
||||||
/// <reference path="worker_threads.d.ts" />
|
|
||||||
/// <reference path="zlib.d.ts" />
|
|
||||||
|
|
||||||
/// <reference path="globals.global.d.ts" />
|
|
||||||
2744
Websites/Jefes/Backend/node_modules/@types/node/inspector.d.ts
generated
vendored
2744
Websites/Jefes/Backend/node_modules/@types/node/inspector.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
114
Websites/Jefes/Backend/node_modules/@types/node/module.d.ts
generated
vendored
114
Websites/Jefes/Backend/node_modules/@types/node/module.d.ts
generated
vendored
@ -1,114 +0,0 @@
|
|||||||
/**
|
|
||||||
* @since v0.3.7
|
|
||||||
*/
|
|
||||||
declare module 'module' {
|
|
||||||
import { URL } from 'node:url';
|
|
||||||
namespace Module {
|
|
||||||
/**
|
|
||||||
* The `module.syncBuiltinESMExports()` method updates all the live bindings for
|
|
||||||
* builtin `ES Modules` to match the properties of the `CommonJS` exports. It
|
|
||||||
* does not add or remove exported names from the `ES Modules`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const fs = require('fs');
|
|
||||||
* const assert = require('assert');
|
|
||||||
* const { syncBuiltinESMExports } = require('module');
|
|
||||||
*
|
|
||||||
* fs.readFile = newAPI;
|
|
||||||
*
|
|
||||||
* delete fs.readFileSync;
|
|
||||||
*
|
|
||||||
* function newAPI() {
|
|
||||||
* // ...
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* fs.newAPI = newAPI;
|
|
||||||
*
|
|
||||||
* syncBuiltinESMExports();
|
|
||||||
*
|
|
||||||
* import('fs').then((esmFS) => {
|
|
||||||
* // It syncs the existing readFile property with the new value
|
|
||||||
* assert.strictEqual(esmFS.readFile, newAPI);
|
|
||||||
* // readFileSync has been deleted from the required fs
|
|
||||||
* assert.strictEqual('readFileSync' in fs, false);
|
|
||||||
* // syncBuiltinESMExports() does not remove readFileSync from esmFS
|
|
||||||
* assert.strictEqual('readFileSync' in esmFS, true);
|
|
||||||
* // syncBuiltinESMExports() does not add names
|
|
||||||
* assert.strictEqual(esmFS.newAPI, undefined);
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
* @since v12.12.0
|
|
||||||
*/
|
|
||||||
function syncBuiltinESMExports(): void;
|
|
||||||
/**
|
|
||||||
* `path` is the resolved path for the file for which a corresponding source map
|
|
||||||
* should be fetched.
|
|
||||||
* @since v13.7.0, v12.17.0
|
|
||||||
*/
|
|
||||||
function findSourceMap(path: string, error?: Error): SourceMap;
|
|
||||||
interface SourceMapPayload {
|
|
||||||
file: string;
|
|
||||||
version: number;
|
|
||||||
sources: string[];
|
|
||||||
sourcesContent: string[];
|
|
||||||
names: string[];
|
|
||||||
mappings: string;
|
|
||||||
sourceRoot: string;
|
|
||||||
}
|
|
||||||
interface SourceMapping {
|
|
||||||
generatedLine: number;
|
|
||||||
generatedColumn: number;
|
|
||||||
originalSource: string;
|
|
||||||
originalLine: number;
|
|
||||||
originalColumn: number;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @since v13.7.0, v12.17.0
|
|
||||||
*/
|
|
||||||
class SourceMap {
|
|
||||||
/**
|
|
||||||
* Getter for the payload used to construct the `SourceMap` instance.
|
|
||||||
*/
|
|
||||||
readonly payload: SourceMapPayload;
|
|
||||||
constructor(payload: SourceMapPayload);
|
|
||||||
/**
|
|
||||||
* Given a line number and column number in the generated source file, returns
|
|
||||||
* an object representing the position in the original file. The object returned
|
|
||||||
* consists of the following keys:
|
|
||||||
*/
|
|
||||||
findEntry(line: number, column: number): SourceMapping;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
interface Module extends NodeModule {}
|
|
||||||
class Module {
|
|
||||||
static runMain(): void;
|
|
||||||
static wrap(code: string): string;
|
|
||||||
static createRequire(path: string | URL): NodeRequire;
|
|
||||||
static builtinModules: string[];
|
|
||||||
static Module: typeof Module;
|
|
||||||
constructor(id: string, parent?: Module);
|
|
||||||
}
|
|
||||||
global {
|
|
||||||
interface ImportMeta {
|
|
||||||
url: string;
|
|
||||||
/**
|
|
||||||
* @experimental
|
|
||||||
* This feature is only available with the `--experimental-import-meta-resolve`
|
|
||||||
* command flag enabled.
|
|
||||||
*
|
|
||||||
* Provides a module-relative resolution function scoped to each module, returning
|
|
||||||
* the URL string.
|
|
||||||
*
|
|
||||||
* @param specified The module specifier to resolve relative to `parent`.
|
|
||||||
* @param parent The absolute parent module URL to resolve from. If none
|
|
||||||
* is specified, the value of `import.meta.url` is used as the default.
|
|
||||||
*/
|
|
||||||
resolve?(specified: string, parent?: string | URL): Promise<string>;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
export = Module;
|
|
||||||
}
|
|
||||||
declare module 'node:module' {
|
|
||||||
import module = require('module');
|
|
||||||
export = module;
|
|
||||||
}
|
|
||||||
791
Websites/Jefes/Backend/node_modules/@types/node/net.d.ts
generated
vendored
791
Websites/Jefes/Backend/node_modules/@types/node/net.d.ts
generated
vendored
@ -1,791 +0,0 @@
|
|||||||
/**
|
|
||||||
* > Stability: 2 - Stable
|
|
||||||
*
|
|
||||||
* The `net` module provides an asynchronous network API for creating stream-based
|
|
||||||
* TCP or `IPC` servers ({@link createServer}) and clients
|
|
||||||
* ({@link createConnection}).
|
|
||||||
*
|
|
||||||
* It can be accessed using:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const net = require('net');
|
|
||||||
* ```
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/net.js)
|
|
||||||
*/
|
|
||||||
declare module 'net' {
|
|
||||||
import * as stream from 'node:stream';
|
|
||||||
import { Abortable, EventEmitter } from 'node:events';
|
|
||||||
import * as dns from 'node:dns';
|
|
||||||
type LookupFunction = (hostname: string, options: dns.LookupOneOptions, callback: (err: NodeJS.ErrnoException | null, address: string, family: number) => void) => void;
|
|
||||||
interface AddressInfo {
|
|
||||||
address: string;
|
|
||||||
family: string;
|
|
||||||
port: number;
|
|
||||||
}
|
|
||||||
interface SocketConstructorOpts {
|
|
||||||
fd?: number | undefined;
|
|
||||||
allowHalfOpen?: boolean | undefined;
|
|
||||||
readable?: boolean | undefined;
|
|
||||||
writable?: boolean | undefined;
|
|
||||||
signal?: AbortSignal;
|
|
||||||
}
|
|
||||||
interface OnReadOpts {
|
|
||||||
buffer: Uint8Array | (() => Uint8Array);
|
|
||||||
/**
|
|
||||||
* This function is called for every chunk of incoming data.
|
|
||||||
* Two arguments are passed to it: the number of bytes written to buffer and a reference to buffer.
|
|
||||||
* Return false from this function to implicitly pause() the socket.
|
|
||||||
*/
|
|
||||||
callback(bytesWritten: number, buf: Uint8Array): boolean;
|
|
||||||
}
|
|
||||||
interface ConnectOpts {
|
|
||||||
/**
|
|
||||||
* If specified, incoming data is stored in a single buffer and passed to the supplied callback when data arrives on the socket.
|
|
||||||
* Note: this will cause the streaming functionality to not provide any data, however events like 'error', 'end', and 'close' will
|
|
||||||
* still be emitted as normal and methods like pause() and resume() will also behave as expected.
|
|
||||||
*/
|
|
||||||
onread?: OnReadOpts | undefined;
|
|
||||||
}
|
|
||||||
interface TcpSocketConnectOpts extends ConnectOpts {
|
|
||||||
port: number;
|
|
||||||
host?: string | undefined;
|
|
||||||
localAddress?: string | undefined;
|
|
||||||
localPort?: number | undefined;
|
|
||||||
hints?: number | undefined;
|
|
||||||
family?: number | undefined;
|
|
||||||
lookup?: LookupFunction | undefined;
|
|
||||||
}
|
|
||||||
interface IpcSocketConnectOpts extends ConnectOpts {
|
|
||||||
path: string;
|
|
||||||
}
|
|
||||||
type SocketConnectOpts = TcpSocketConnectOpts | IpcSocketConnectOpts;
|
|
||||||
type SocketReadyState = 'opening' | 'open' | 'readOnly' | 'writeOnly' | 'closed';
|
|
||||||
/**
|
|
||||||
* This class is an abstraction of a TCP socket or a streaming `IPC` endpoint
|
|
||||||
* (uses named pipes on Windows, and Unix domain sockets otherwise). It is also
|
|
||||||
* an `EventEmitter`.
|
|
||||||
*
|
|
||||||
* A `net.Socket` can be created by the user and used directly to interact with
|
|
||||||
* a server. For example, it is returned by {@link createConnection},
|
|
||||||
* so the user can use it to talk to the server.
|
|
||||||
*
|
|
||||||
* It can also be created by Node.js and passed to the user when a connection
|
|
||||||
* is received. For example, it is passed to the listeners of a `'connection'` event emitted on a {@link Server}, so the user can use
|
|
||||||
* it to interact with the client.
|
|
||||||
* @since v0.3.4
|
|
||||||
*/
|
|
||||||
class Socket extends stream.Duplex {
|
|
||||||
constructor(options?: SocketConstructorOpts);
|
|
||||||
/**
|
|
||||||
* Sends data on the socket. The second parameter specifies the encoding in the
|
|
||||||
* case of a string. It defaults to UTF8 encoding.
|
|
||||||
*
|
|
||||||
* Returns `true` if the entire data was flushed successfully to the kernel
|
|
||||||
* buffer. Returns `false` if all or part of the data was queued in user memory.`'drain'` will be emitted when the buffer is again free.
|
|
||||||
*
|
|
||||||
* The optional `callback` parameter will be executed when the data is finally
|
|
||||||
* written out, which may not be immediately.
|
|
||||||
*
|
|
||||||
* See `Writable` stream `write()` method for more
|
|
||||||
* information.
|
|
||||||
* @since v0.1.90
|
|
||||||
* @param [encoding='utf8'] Only used when data is `string`.
|
|
||||||
*/
|
|
||||||
write(buffer: Uint8Array | string, cb?: (err?: Error) => void): boolean;
|
|
||||||
write(str: Uint8Array | string, encoding?: BufferEncoding, cb?: (err?: Error) => void): boolean;
|
|
||||||
/**
|
|
||||||
* Initiate a connection on a given socket.
|
|
||||||
*
|
|
||||||
* Possible signatures:
|
|
||||||
*
|
|
||||||
* * `socket.connect(options[, connectListener])`
|
|
||||||
* * `socket.connect(path[, connectListener])` for `IPC` connections.
|
|
||||||
* * `socket.connect(port[, host][, connectListener])` for TCP connections.
|
|
||||||
* * Returns: `net.Socket` The socket itself.
|
|
||||||
*
|
|
||||||
* This function is asynchronous. When the connection is established, the `'connect'` event will be emitted. If there is a problem connecting,
|
|
||||||
* instead of a `'connect'` event, an `'error'` event will be emitted with
|
|
||||||
* the error passed to the `'error'` listener.
|
|
||||||
* The last parameter `connectListener`, if supplied, will be added as a listener
|
|
||||||
* for the `'connect'` event **once**.
|
|
||||||
*
|
|
||||||
* This function should only be used for reconnecting a socket after`'close'` has been emitted or otherwise it may lead to undefined
|
|
||||||
* behavior.
|
|
||||||
*/
|
|
||||||
connect(options: SocketConnectOpts, connectionListener?: () => void): this;
|
|
||||||
connect(port: number, host: string, connectionListener?: () => void): this;
|
|
||||||
connect(port: number, connectionListener?: () => void): this;
|
|
||||||
connect(path: string, connectionListener?: () => void): this;
|
|
||||||
/**
|
|
||||||
* Set the encoding for the socket as a `Readable Stream`. See `readable.setEncoding()` for more information.
|
|
||||||
* @since v0.1.90
|
|
||||||
* @return The socket itself.
|
|
||||||
*/
|
|
||||||
setEncoding(encoding?: BufferEncoding): this;
|
|
||||||
/**
|
|
||||||
* Pauses the reading of data. That is, `'data'` events will not be emitted.
|
|
||||||
* Useful to throttle back an upload.
|
|
||||||
* @return The socket itself.
|
|
||||||
*/
|
|
||||||
pause(): this;
|
|
||||||
/**
|
|
||||||
* Resumes reading after a call to `socket.pause()`.
|
|
||||||
* @return The socket itself.
|
|
||||||
*/
|
|
||||||
resume(): this;
|
|
||||||
/**
|
|
||||||
* Sets the socket to timeout after `timeout` milliseconds of inactivity on
|
|
||||||
* the socket. By default `net.Socket` do not have a timeout.
|
|
||||||
*
|
|
||||||
* When an idle timeout is triggered the socket will receive a `'timeout'` event but the connection will not be severed. The user must manually call `socket.end()` or `socket.destroy()` to
|
|
||||||
* end the connection.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* socket.setTimeout(3000);
|
|
||||||
* socket.on('timeout', () => {
|
|
||||||
* console.log('socket timeout');
|
|
||||||
* socket.end();
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* If `timeout` is 0, then the existing idle timeout is disabled.
|
|
||||||
*
|
|
||||||
* The optional `callback` parameter will be added as a one-time listener for the `'timeout'` event.
|
|
||||||
* @since v0.1.90
|
|
||||||
* @return The socket itself.
|
|
||||||
*/
|
|
||||||
setTimeout(timeout: number, callback?: () => void): this;
|
|
||||||
/**
|
|
||||||
* Enable/disable the use of Nagle's algorithm.
|
|
||||||
*
|
|
||||||
* When a TCP connection is created, it will have Nagle's algorithm enabled.
|
|
||||||
*
|
|
||||||
* Nagle's algorithm delays data before it is sent via the network. It attempts
|
|
||||||
* to optimize throughput at the expense of latency.
|
|
||||||
*
|
|
||||||
* Passing `true` for `noDelay` or not passing an argument will disable Nagle's
|
|
||||||
* algorithm for the socket. Passing `false` for `noDelay` will enable Nagle's
|
|
||||||
* algorithm.
|
|
||||||
* @since v0.1.90
|
|
||||||
* @param [noDelay=true]
|
|
||||||
* @return The socket itself.
|
|
||||||
*/
|
|
||||||
setNoDelay(noDelay?: boolean): this;
|
|
||||||
/**
|
|
||||||
* Enable/disable keep-alive functionality, and optionally set the initial
|
|
||||||
* delay before the first keepalive probe is sent on an idle socket.
|
|
||||||
*
|
|
||||||
* Set `initialDelay` (in milliseconds) to set the delay between the last
|
|
||||||
* data packet received and the first keepalive probe. Setting `0` for`initialDelay` will leave the value unchanged from the default
|
|
||||||
* (or previous) setting.
|
|
||||||
*
|
|
||||||
* Enabling the keep-alive functionality will set the following socket options:
|
|
||||||
*
|
|
||||||
* * `SO_KEEPALIVE=1`
|
|
||||||
* * `TCP_KEEPIDLE=initialDelay`
|
|
||||||
* * `TCP_KEEPCNT=10`
|
|
||||||
* * `TCP_KEEPINTVL=1`
|
|
||||||
* @since v0.1.92
|
|
||||||
* @param [enable=false]
|
|
||||||
* @param [initialDelay=0]
|
|
||||||
* @return The socket itself.
|
|
||||||
*/
|
|
||||||
setKeepAlive(enable?: boolean, initialDelay?: number): this;
|
|
||||||
/**
|
|
||||||
* Returns the bound `address`, the address `family` name and `port` of the
|
|
||||||
* socket as reported by the operating system:`{ port: 12346, family: 'IPv4', address: '127.0.0.1' }`
|
|
||||||
* @since v0.1.90
|
|
||||||
*/
|
|
||||||
address(): AddressInfo | {};
|
|
||||||
/**
|
|
||||||
* Calling `unref()` on a socket will allow the program to exit if this is the only
|
|
||||||
* active socket in the event system. If the socket is already `unref`ed calling`unref()` again will have no effect.
|
|
||||||
* @since v0.9.1
|
|
||||||
* @return The socket itself.
|
|
||||||
*/
|
|
||||||
unref(): this;
|
|
||||||
/**
|
|
||||||
* Opposite of `unref()`, calling `ref()` on a previously `unref`ed socket will_not_ let the program exit if it's the only socket left (the default behavior).
|
|
||||||
* If the socket is `ref`ed calling `ref` again will have no effect.
|
|
||||||
* @since v0.9.1
|
|
||||||
* @return The socket itself.
|
|
||||||
*/
|
|
||||||
ref(): this;
|
|
||||||
/**
|
|
||||||
* This property shows the number of characters buffered for writing. The buffer
|
|
||||||
* may contain strings whose length after encoding is not yet known. So this number
|
|
||||||
* is only an approximation of the number of bytes in the buffer.
|
|
||||||
*
|
|
||||||
* `net.Socket` has the property that `socket.write()` always works. This is to
|
|
||||||
* help users get up and running quickly. The computer cannot always keep up
|
|
||||||
* with the amount of data that is written to a socket. The network connection
|
|
||||||
* simply might be too slow. Node.js will internally queue up the data written to a
|
|
||||||
* socket and send it out over the wire when it is possible.
|
|
||||||
*
|
|
||||||
* The consequence of this internal buffering is that memory may grow.
|
|
||||||
* Users who experience large or growing `bufferSize` should attempt to
|
|
||||||
* "throttle" the data flows in their program with `socket.pause()` and `socket.resume()`.
|
|
||||||
* @since v0.3.8
|
|
||||||
* @deprecated Since v14.6.0 - Use `writableLength` instead.
|
|
||||||
*/
|
|
||||||
readonly bufferSize: number;
|
|
||||||
/**
|
|
||||||
* The amount of received bytes.
|
|
||||||
* @since v0.5.3
|
|
||||||
*/
|
|
||||||
readonly bytesRead: number;
|
|
||||||
/**
|
|
||||||
* The amount of bytes sent.
|
|
||||||
* @since v0.5.3
|
|
||||||
*/
|
|
||||||
readonly bytesWritten: number;
|
|
||||||
/**
|
|
||||||
* If `true`,`socket.connect(options[, connectListener])` was
|
|
||||||
* called and has not yet finished. It will stay `true` until the socket becomes
|
|
||||||
* connected, then it is set to `false` and the `'connect'` event is emitted. Note
|
|
||||||
* that the `socket.connect(options[, connectListener])` callback is a listener for the `'connect'` event.
|
|
||||||
* @since v6.1.0
|
|
||||||
*/
|
|
||||||
readonly connecting: boolean;
|
|
||||||
/**
|
|
||||||
* See `writable.destroyed` for further details.
|
|
||||||
*/
|
|
||||||
readonly destroyed: boolean;
|
|
||||||
/**
|
|
||||||
* The string representation of the local IP address the remote client is
|
|
||||||
* connecting on. For example, in a server listening on `'0.0.0.0'`, if a client
|
|
||||||
* connects on `'192.168.1.1'`, the value of `socket.localAddress` would be`'192.168.1.1'`.
|
|
||||||
* @since v0.9.6
|
|
||||||
*/
|
|
||||||
readonly localAddress?: string;
|
|
||||||
/**
|
|
||||||
* The numeric representation of the local port. For example, `80` or `21`.
|
|
||||||
* @since v0.9.6
|
|
||||||
*/
|
|
||||||
readonly localPort?: number;
|
|
||||||
/**
|
|
||||||
* This property represents the state of the connection as a string.
|
|
||||||
* @see {https://nodejs.org/api/net.html#socketreadystate}
|
|
||||||
* @since v0.5.0
|
|
||||||
*/
|
|
||||||
readonly readyState: SocketReadyState;
|
|
||||||
/**
|
|
||||||
* The string representation of the remote IP address. For example,`'74.125.127.100'` or `'2001:4860:a005::68'`. Value may be `undefined` if
|
|
||||||
* the socket is destroyed (for example, if the client disconnected).
|
|
||||||
* @since v0.5.10
|
|
||||||
*/
|
|
||||||
readonly remoteAddress?: string | undefined;
|
|
||||||
/**
|
|
||||||
* The string representation of the remote IP family. `'IPv4'` or `'IPv6'`.
|
|
||||||
* @since v0.11.14
|
|
||||||
*/
|
|
||||||
readonly remoteFamily?: string | undefined;
|
|
||||||
/**
|
|
||||||
* The numeric representation of the remote port. For example, `80` or `21`.
|
|
||||||
* @since v0.5.10
|
|
||||||
*/
|
|
||||||
readonly remotePort?: number | undefined;
|
|
||||||
/**
|
|
||||||
* Half-closes the socket. i.e., it sends a FIN packet. It is possible the
|
|
||||||
* server will still send some data.
|
|
||||||
*
|
|
||||||
* See `writable.end()` for further details.
|
|
||||||
* @since v0.1.90
|
|
||||||
* @param [encoding='utf8'] Only used when data is `string`.
|
|
||||||
* @param callback Optional callback for when the socket is finished.
|
|
||||||
* @return The socket itself.
|
|
||||||
*/
|
|
||||||
end(callback?: () => void): this;
|
|
||||||
end(buffer: Uint8Array | string, callback?: () => void): this;
|
|
||||||
end(str: Uint8Array | string, encoding?: BufferEncoding, callback?: () => void): this;
|
|
||||||
/**
|
|
||||||
* events.EventEmitter
|
|
||||||
* 1. close
|
|
||||||
* 2. connect
|
|
||||||
* 3. data
|
|
||||||
* 4. drain
|
|
||||||
* 5. end
|
|
||||||
* 6. error
|
|
||||||
* 7. lookup
|
|
||||||
* 8. timeout
|
|
||||||
*/
|
|
||||||
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
addListener(event: 'close', listener: (hadError: boolean) => void): this;
|
|
||||||
addListener(event: 'connect', listener: () => void): this;
|
|
||||||
addListener(event: 'data', listener: (data: Buffer) => void): this;
|
|
||||||
addListener(event: 'drain', listener: () => void): this;
|
|
||||||
addListener(event: 'end', listener: () => void): this;
|
|
||||||
addListener(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
addListener(event: 'lookup', listener: (err: Error, address: string, family: string | number, host: string) => void): this;
|
|
||||||
addListener(event: 'ready', listener: () => void): this;
|
|
||||||
addListener(event: 'timeout', listener: () => void): this;
|
|
||||||
emit(event: string | symbol, ...args: any[]): boolean;
|
|
||||||
emit(event: 'close', hadError: boolean): boolean;
|
|
||||||
emit(event: 'connect'): boolean;
|
|
||||||
emit(event: 'data', data: Buffer): boolean;
|
|
||||||
emit(event: 'drain'): boolean;
|
|
||||||
emit(event: 'end'): boolean;
|
|
||||||
emit(event: 'error', err: Error): boolean;
|
|
||||||
emit(event: 'lookup', err: Error, address: string, family: string | number, host: string): boolean;
|
|
||||||
emit(event: 'ready'): boolean;
|
|
||||||
emit(event: 'timeout'): boolean;
|
|
||||||
on(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
on(event: 'close', listener: (hadError: boolean) => void): this;
|
|
||||||
on(event: 'connect', listener: () => void): this;
|
|
||||||
on(event: 'data', listener: (data: Buffer) => void): this;
|
|
||||||
on(event: 'drain', listener: () => void): this;
|
|
||||||
on(event: 'end', listener: () => void): this;
|
|
||||||
on(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
on(event: 'lookup', listener: (err: Error, address: string, family: string | number, host: string) => void): this;
|
|
||||||
on(event: 'ready', listener: () => void): this;
|
|
||||||
on(event: 'timeout', listener: () => void): this;
|
|
||||||
once(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
once(event: 'close', listener: (hadError: boolean) => void): this;
|
|
||||||
once(event: 'connect', listener: () => void): this;
|
|
||||||
once(event: 'data', listener: (data: Buffer) => void): this;
|
|
||||||
once(event: 'drain', listener: () => void): this;
|
|
||||||
once(event: 'end', listener: () => void): this;
|
|
||||||
once(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
once(event: 'lookup', listener: (err: Error, address: string, family: string | number, host: string) => void): this;
|
|
||||||
once(event: 'ready', listener: () => void): this;
|
|
||||||
once(event: 'timeout', listener: () => void): this;
|
|
||||||
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
prependListener(event: 'close', listener: (hadError: boolean) => void): this;
|
|
||||||
prependListener(event: 'connect', listener: () => void): this;
|
|
||||||
prependListener(event: 'data', listener: (data: Buffer) => void): this;
|
|
||||||
prependListener(event: 'drain', listener: () => void): this;
|
|
||||||
prependListener(event: 'end', listener: () => void): this;
|
|
||||||
prependListener(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
prependListener(event: 'lookup', listener: (err: Error, address: string, family: string | number, host: string) => void): this;
|
|
||||||
prependListener(event: 'ready', listener: () => void): this;
|
|
||||||
prependListener(event: 'timeout', listener: () => void): this;
|
|
||||||
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
prependOnceListener(event: 'close', listener: (hadError: boolean) => void): this;
|
|
||||||
prependOnceListener(event: 'connect', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'data', listener: (data: Buffer) => void): this;
|
|
||||||
prependOnceListener(event: 'drain', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'end', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
prependOnceListener(event: 'lookup', listener: (err: Error, address: string, family: string | number, host: string) => void): this;
|
|
||||||
prependOnceListener(event: 'ready', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'timeout', listener: () => void): this;
|
|
||||||
}
|
|
||||||
interface ListenOptions extends Abortable {
|
|
||||||
port?: number | undefined;
|
|
||||||
host?: string | undefined;
|
|
||||||
backlog?: number | undefined;
|
|
||||||
path?: string | undefined;
|
|
||||||
exclusive?: boolean | undefined;
|
|
||||||
readableAll?: boolean | undefined;
|
|
||||||
writableAll?: boolean | undefined;
|
|
||||||
/**
|
|
||||||
* @default false
|
|
||||||
*/
|
|
||||||
ipv6Only?: boolean | undefined;
|
|
||||||
}
|
|
||||||
interface ServerOpts {
|
|
||||||
/**
|
|
||||||
* Indicates whether half-opened TCP connections are allowed.
|
|
||||||
* @default false
|
|
||||||
*/
|
|
||||||
allowHalfOpen?: boolean | undefined;
|
|
||||||
/**
|
|
||||||
* Indicates whether the socket should be paused on incoming connections.
|
|
||||||
* @default false
|
|
||||||
*/
|
|
||||||
pauseOnConnect?: boolean | undefined;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* This class is used to create a TCP or `IPC` server.
|
|
||||||
* @since v0.1.90
|
|
||||||
*/
|
|
||||||
class Server extends EventEmitter {
|
|
||||||
constructor(connectionListener?: (socket: Socket) => void);
|
|
||||||
constructor(options?: ServerOpts, connectionListener?: (socket: Socket) => void);
|
|
||||||
/**
|
|
||||||
* Start a server listening for connections. A `net.Server` can be a TCP or
|
|
||||||
* an `IPC` server depending on what it listens to.
|
|
||||||
*
|
|
||||||
* Possible signatures:
|
|
||||||
*
|
|
||||||
* * `server.listen(handle[, backlog][, callback])`
|
|
||||||
* * `server.listen(options[, callback])`
|
|
||||||
* * `server.listen(path[, backlog][, callback])` for `IPC` servers
|
|
||||||
* * `server.listen([port[, host[, backlog]]][, callback])` for TCP servers
|
|
||||||
*
|
|
||||||
* This function is asynchronous. When the server starts listening, the `'listening'` event will be emitted. The last parameter `callback`will be added as a listener for the `'listening'`
|
|
||||||
* event.
|
|
||||||
*
|
|
||||||
* All `listen()` methods can take a `backlog` parameter to specify the maximum
|
|
||||||
* length of the queue of pending connections. The actual length will be determined
|
|
||||||
* by the OS through sysctl settings such as `tcp_max_syn_backlog` and `somaxconn`on Linux. The default value of this parameter is 511 (not 512).
|
|
||||||
*
|
|
||||||
* All {@link Socket} are set to `SO_REUSEADDR` (see [`socket(7)`](https://man7.org/linux/man-pages/man7/socket.7.html) for
|
|
||||||
* details).
|
|
||||||
*
|
|
||||||
* The `server.listen()` method can be called again if and only if there was an
|
|
||||||
* error during the first `server.listen()` call or `server.close()` has been
|
|
||||||
* called. Otherwise, an `ERR_SERVER_ALREADY_LISTEN` error will be thrown.
|
|
||||||
*
|
|
||||||
* One of the most common errors raised when listening is `EADDRINUSE`.
|
|
||||||
* This happens when another server is already listening on the requested`port`/`path`/`handle`. One way to handle this would be to retry
|
|
||||||
* after a certain amount of time:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* server.on('error', (e) => {
|
|
||||||
* if (e.code === 'EADDRINUSE') {
|
|
||||||
* console.log('Address in use, retrying...');
|
|
||||||
* setTimeout(() => {
|
|
||||||
* server.close();
|
|
||||||
* server.listen(PORT, HOST);
|
|
||||||
* }, 1000);
|
|
||||||
* }
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*/
|
|
||||||
listen(port?: number, hostname?: string, backlog?: number, listeningListener?: () => void): this;
|
|
||||||
listen(port?: number, hostname?: string, listeningListener?: () => void): this;
|
|
||||||
listen(port?: number, backlog?: number, listeningListener?: () => void): this;
|
|
||||||
listen(port?: number, listeningListener?: () => void): this;
|
|
||||||
listen(path: string, backlog?: number, listeningListener?: () => void): this;
|
|
||||||
listen(path: string, listeningListener?: () => void): this;
|
|
||||||
listen(options: ListenOptions, listeningListener?: () => void): this;
|
|
||||||
listen(handle: any, backlog?: number, listeningListener?: () => void): this;
|
|
||||||
listen(handle: any, listeningListener?: () => void): this;
|
|
||||||
/**
|
|
||||||
* Stops the server from accepting new connections and keeps existing
|
|
||||||
* connections. This function is asynchronous, the server is finally closed
|
|
||||||
* when all connections are ended and the server emits a `'close'` event.
|
|
||||||
* The optional `callback` will be called once the `'close'` event occurs. Unlike
|
|
||||||
* that event, it will be called with an `Error` as its only argument if the server
|
|
||||||
* was not open when it was closed.
|
|
||||||
* @since v0.1.90
|
|
||||||
* @param callback Called when the server is closed.
|
|
||||||
*/
|
|
||||||
close(callback?: (err?: Error) => void): this;
|
|
||||||
/**
|
|
||||||
* Returns the bound `address`, the address `family` name, and `port` of the server
|
|
||||||
* as reported by the operating system if listening on an IP socket
|
|
||||||
* (useful to find which port was assigned when getting an OS-assigned address):`{ port: 12346, family: 'IPv4', address: '127.0.0.1' }`.
|
|
||||||
*
|
|
||||||
* For a server listening on a pipe or Unix domain socket, the name is returned
|
|
||||||
* as a string.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const server = net.createServer((socket) => {
|
|
||||||
* socket.end('goodbye\n');
|
|
||||||
* }).on('error', (err) => {
|
|
||||||
* // Handle errors here.
|
|
||||||
* throw err;
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* // Grab an arbitrary unused port.
|
|
||||||
* server.listen(() => {
|
|
||||||
* console.log('opened server on', server.address());
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* `server.address()` returns `null` before the `'listening'` event has been
|
|
||||||
* emitted or after calling `server.close()`.
|
|
||||||
* @since v0.1.90
|
|
||||||
*/
|
|
||||||
address(): AddressInfo | string | null;
|
|
||||||
/**
|
|
||||||
* Asynchronously get the number of concurrent connections on the server. Works
|
|
||||||
* when sockets were sent to forks.
|
|
||||||
*
|
|
||||||
* Callback should take two arguments `err` and `count`.
|
|
||||||
* @since v0.9.7
|
|
||||||
*/
|
|
||||||
getConnections(cb: (error: Error | null, count: number) => void): void;
|
|
||||||
/**
|
|
||||||
* Opposite of `unref()`, calling `ref()` on a previously `unref`ed server will_not_ let the program exit if it's the only server left (the default behavior).
|
|
||||||
* If the server is `ref`ed calling `ref()` again will have no effect.
|
|
||||||
* @since v0.9.1
|
|
||||||
*/
|
|
||||||
ref(): this;
|
|
||||||
/**
|
|
||||||
* Calling `unref()` on a server will allow the program to exit if this is the only
|
|
||||||
* active server in the event system. If the server is already `unref`ed calling`unref()` again will have no effect.
|
|
||||||
* @since v0.9.1
|
|
||||||
*/
|
|
||||||
unref(): this;
|
|
||||||
/**
|
|
||||||
* Set this property to reject connections when the server's connection count gets
|
|
||||||
* high.
|
|
||||||
*
|
|
||||||
* It is not recommended to use this option once a socket has been sent to a child
|
|
||||||
* with `child_process.fork()`.
|
|
||||||
* @since v0.2.0
|
|
||||||
*/
|
|
||||||
maxConnections: number;
|
|
||||||
connections: number;
|
|
||||||
/**
|
|
||||||
* Indicates whether or not the server is listening for connections.
|
|
||||||
* @since v5.7.0
|
|
||||||
*/
|
|
||||||
listening: boolean;
|
|
||||||
/**
|
|
||||||
* events.EventEmitter
|
|
||||||
* 1. close
|
|
||||||
* 2. connection
|
|
||||||
* 3. error
|
|
||||||
* 4. listening
|
|
||||||
*/
|
|
||||||
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
addListener(event: 'close', listener: () => void): this;
|
|
||||||
addListener(event: 'connection', listener: (socket: Socket) => void): this;
|
|
||||||
addListener(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
addListener(event: 'listening', listener: () => void): this;
|
|
||||||
emit(event: string | symbol, ...args: any[]): boolean;
|
|
||||||
emit(event: 'close'): boolean;
|
|
||||||
emit(event: 'connection', socket: Socket): boolean;
|
|
||||||
emit(event: 'error', err: Error): boolean;
|
|
||||||
emit(event: 'listening'): boolean;
|
|
||||||
on(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
on(event: 'close', listener: () => void): this;
|
|
||||||
on(event: 'connection', listener: (socket: Socket) => void): this;
|
|
||||||
on(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
on(event: 'listening', listener: () => void): this;
|
|
||||||
once(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
once(event: 'close', listener: () => void): this;
|
|
||||||
once(event: 'connection', listener: (socket: Socket) => void): this;
|
|
||||||
once(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
once(event: 'listening', listener: () => void): this;
|
|
||||||
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
prependListener(event: 'close', listener: () => void): this;
|
|
||||||
prependListener(event: 'connection', listener: (socket: Socket) => void): this;
|
|
||||||
prependListener(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
prependListener(event: 'listening', listener: () => void): this;
|
|
||||||
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
prependOnceListener(event: 'close', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'connection', listener: (socket: Socket) => void): this;
|
|
||||||
prependOnceListener(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
prependOnceListener(event: 'listening', listener: () => void): this;
|
|
||||||
}
|
|
||||||
type IPVersion = 'ipv4' | 'ipv6';
|
|
||||||
/**
|
|
||||||
* The `BlockList` object can be used with some network APIs to specify rules for
|
|
||||||
* disabling inbound or outbound access to specific IP addresses, IP ranges, or
|
|
||||||
* IP subnets.
|
|
||||||
* @since v15.0.0, v14.18.0
|
|
||||||
*/
|
|
||||||
class BlockList {
|
|
||||||
/**
|
|
||||||
* Adds a rule to block the given IP address.
|
|
||||||
* @since v15.0.0, v14.18.0
|
|
||||||
* @param address An IPv4 or IPv6 address.
|
|
||||||
* @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`.
|
|
||||||
*/
|
|
||||||
addAddress(address: string, type?: IPVersion): void;
|
|
||||||
addAddress(address: SocketAddress): void;
|
|
||||||
/**
|
|
||||||
* Adds a rule to block a range of IP addresses from `start` (inclusive) to`end` (inclusive).
|
|
||||||
* @since v15.0.0, v14.18.0
|
|
||||||
* @param start The starting IPv4 or IPv6 address in the range.
|
|
||||||
* @param end The ending IPv4 or IPv6 address in the range.
|
|
||||||
* @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`.
|
|
||||||
*/
|
|
||||||
addRange(start: string, end: string, type?: IPVersion): void;
|
|
||||||
addRange(start: SocketAddress, end: SocketAddress): void;
|
|
||||||
/**
|
|
||||||
* Adds a rule to block a range of IP addresses specified as a subnet mask.
|
|
||||||
* @since v15.0.0, v14.18.0
|
|
||||||
* @param net The network IPv4 or IPv6 address.
|
|
||||||
* @param prefix The number of CIDR prefix bits. For IPv4, this must be a value between `0` and `32`. For IPv6, this must be between `0` and `128`.
|
|
||||||
* @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`.
|
|
||||||
*/
|
|
||||||
addSubnet(net: SocketAddress, prefix: number): void;
|
|
||||||
addSubnet(net: string, prefix: number, type?: IPVersion): void;
|
|
||||||
/**
|
|
||||||
* Returns `true` if the given IP address matches any of the rules added to the`BlockList`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const blockList = new net.BlockList();
|
|
||||||
* blockList.addAddress('123.123.123.123');
|
|
||||||
* blockList.addRange('10.0.0.1', '10.0.0.10');
|
|
||||||
* blockList.addSubnet('8592:757c:efae:4e45::', 64, 'ipv6');
|
|
||||||
*
|
|
||||||
* console.log(blockList.check('123.123.123.123')); // Prints: true
|
|
||||||
* console.log(blockList.check('10.0.0.3')); // Prints: true
|
|
||||||
* console.log(blockList.check('222.111.111.222')); // Prints: false
|
|
||||||
*
|
|
||||||
* // IPv6 notation for IPv4 addresses works:
|
|
||||||
* console.log(blockList.check('::ffff:7b7b:7b7b', 'ipv6')); // Prints: true
|
|
||||||
* console.log(blockList.check('::ffff:123.123.123.123', 'ipv6')); // Prints: true
|
|
||||||
* ```
|
|
||||||
* @since v15.0.0, v14.18.0
|
|
||||||
* @param address The IP address to check
|
|
||||||
* @param [type='ipv4'] Either `'ipv4'` or `'ipv6'`.
|
|
||||||
*/
|
|
||||||
check(address: SocketAddress): boolean;
|
|
||||||
check(address: string, type?: IPVersion): boolean;
|
|
||||||
}
|
|
||||||
interface TcpNetConnectOpts extends TcpSocketConnectOpts, SocketConstructorOpts {
|
|
||||||
timeout?: number | undefined;
|
|
||||||
}
|
|
||||||
interface IpcNetConnectOpts extends IpcSocketConnectOpts, SocketConstructorOpts {
|
|
||||||
timeout?: number | undefined;
|
|
||||||
}
|
|
||||||
type NetConnectOpts = TcpNetConnectOpts | IpcNetConnectOpts;
|
|
||||||
/**
|
|
||||||
* Creates a new TCP or `IPC` server.
|
|
||||||
*
|
|
||||||
* If `allowHalfOpen` is set to `true`, when the other end of the socket
|
|
||||||
* signals the end of transmission, the server will only send back the end of
|
|
||||||
* transmission when `socket.end()` is explicitly called. For example, in the
|
|
||||||
* context of TCP, when a FIN packed is received, a FIN packed is sent
|
|
||||||
* back only when `socket.end()` is explicitly called. Until then the
|
|
||||||
* connection is half-closed (non-readable but still writable). See `'end'` event and [RFC 1122](https://tools.ietf.org/html/rfc1122) (section 4.2.2.13) for more information.
|
|
||||||
*
|
|
||||||
* If `pauseOnConnect` is set to `true`, then the socket associated with each
|
|
||||||
* incoming connection will be paused, and no data will be read from its handle.
|
|
||||||
* This allows connections to be passed between processes without any data being
|
|
||||||
* read by the original process. To begin reading data from a paused socket, call `socket.resume()`.
|
|
||||||
*
|
|
||||||
* The server can be a TCP server or an `IPC` server, depending on what it `listen()` to.
|
|
||||||
*
|
|
||||||
* Here is an example of an TCP echo server which listens for connections
|
|
||||||
* on port 8124:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const net = require('net');
|
|
||||||
* const server = net.createServer((c) => {
|
|
||||||
* // 'connection' listener.
|
|
||||||
* console.log('client connected');
|
|
||||||
* c.on('end', () => {
|
|
||||||
* console.log('client disconnected');
|
|
||||||
* });
|
|
||||||
* c.write('hello\r\n');
|
|
||||||
* c.pipe(c);
|
|
||||||
* });
|
|
||||||
* server.on('error', (err) => {
|
|
||||||
* throw err;
|
|
||||||
* });
|
|
||||||
* server.listen(8124, () => {
|
|
||||||
* console.log('server bound');
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Test this by using `telnet`:
|
|
||||||
*
|
|
||||||
* ```console
|
|
||||||
* $ telnet localhost 8124
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* To listen on the socket `/tmp/echo.sock`:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* server.listen('/tmp/echo.sock', () => {
|
|
||||||
* console.log('server bound');
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Use `nc` to connect to a Unix domain socket server:
|
|
||||||
*
|
|
||||||
* ```console
|
|
||||||
* $ nc -U /tmp/echo.sock
|
|
||||||
* ```
|
|
||||||
* @since v0.5.0
|
|
||||||
* @param connectionListener Automatically set as a listener for the {@link 'connection'} event.
|
|
||||||
*/
|
|
||||||
function createServer(connectionListener?: (socket: Socket) => void): Server;
|
|
||||||
function createServer(options?: ServerOpts, connectionListener?: (socket: Socket) => void): Server;
|
|
||||||
/**
|
|
||||||
* Aliases to {@link createConnection}.
|
|
||||||
*
|
|
||||||
* Possible signatures:
|
|
||||||
*
|
|
||||||
* * {@link connect}
|
|
||||||
* * {@link connect} for `IPC` connections.
|
|
||||||
* * {@link connect} for TCP connections.
|
|
||||||
*/
|
|
||||||
function connect(options: NetConnectOpts, connectionListener?: () => void): Socket;
|
|
||||||
function connect(port: number, host?: string, connectionListener?: () => void): Socket;
|
|
||||||
function connect(path: string, connectionListener?: () => void): Socket;
|
|
||||||
/**
|
|
||||||
* A factory function, which creates a new {@link Socket},
|
|
||||||
* immediately initiates connection with `socket.connect()`,
|
|
||||||
* then returns the `net.Socket` that starts the connection.
|
|
||||||
*
|
|
||||||
* When the connection is established, a `'connect'` event will be emitted
|
|
||||||
* on the returned socket. The last parameter `connectListener`, if supplied,
|
|
||||||
* will be added as a listener for the `'connect'` event **once**.
|
|
||||||
*
|
|
||||||
* Possible signatures:
|
|
||||||
*
|
|
||||||
* * {@link createConnection}
|
|
||||||
* * {@link createConnection} for `IPC` connections.
|
|
||||||
* * {@link createConnection} for TCP connections.
|
|
||||||
*
|
|
||||||
* The {@link connect} function is an alias to this function.
|
|
||||||
*/
|
|
||||||
function createConnection(options: NetConnectOpts, connectionListener?: () => void): Socket;
|
|
||||||
function createConnection(port: number, host?: string, connectionListener?: () => void): Socket;
|
|
||||||
function createConnection(path: string, connectionListener?: () => void): Socket;
|
|
||||||
/**
|
|
||||||
* Tests if input is an IP address. Returns `0` for invalid strings,
|
|
||||||
* returns `4` for IP version 4 addresses, and returns `6` for IP version 6
|
|
||||||
* addresses.
|
|
||||||
* @since v0.3.0
|
|
||||||
*/
|
|
||||||
function isIP(input: string): number;
|
|
||||||
/**
|
|
||||||
* Returns `true` if input is a version 4 IP address, otherwise returns `false`.
|
|
||||||
* @since v0.3.0
|
|
||||||
*/
|
|
||||||
function isIPv4(input: string): boolean;
|
|
||||||
/**
|
|
||||||
* Returns `true` if input is a version 6 IP address, otherwise returns `false`.
|
|
||||||
* @since v0.3.0
|
|
||||||
*/
|
|
||||||
function isIPv6(input: string): boolean;
|
|
||||||
interface SocketAddressInitOptions {
|
|
||||||
/**
|
|
||||||
* The network address as either an IPv4 or IPv6 string.
|
|
||||||
* @default 127.0.0.1
|
|
||||||
*/
|
|
||||||
address?: string | undefined;
|
|
||||||
/**
|
|
||||||
* @default `'ipv4'`
|
|
||||||
*/
|
|
||||||
family?: IPVersion | undefined;
|
|
||||||
/**
|
|
||||||
* An IPv6 flow-label used only if `family` is `'ipv6'`.
|
|
||||||
* @default 0
|
|
||||||
*/
|
|
||||||
flowlabel?: number | undefined;
|
|
||||||
/**
|
|
||||||
* An IP port.
|
|
||||||
* @default 0
|
|
||||||
*/
|
|
||||||
port?: number | undefined;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @since v15.14.0, v14.18.0
|
|
||||||
*/
|
|
||||||
class SocketAddress {
|
|
||||||
constructor(options: SocketAddressInitOptions);
|
|
||||||
/**
|
|
||||||
* Either \`'ipv4'\` or \`'ipv6'\`.
|
|
||||||
* @since v15.14.0, v14.18.0
|
|
||||||
*/
|
|
||||||
readonly address: string;
|
|
||||||
/**
|
|
||||||
* Either \`'ipv4'\` or \`'ipv6'\`.
|
|
||||||
* @since v15.14.0, v14.18.0
|
|
||||||
*/
|
|
||||||
readonly family: IPVersion;
|
|
||||||
/**
|
|
||||||
* @since v15.14.0, v14.18.0
|
|
||||||
*/
|
|
||||||
readonly port: number;
|
|
||||||
/**
|
|
||||||
* @since v15.14.0, v14.18.0
|
|
||||||
*/
|
|
||||||
readonly flowlabel: number;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
declare module 'node:net' {
|
|
||||||
export * from 'net';
|
|
||||||
}
|
|
||||||
455
Websites/Jefes/Backend/node_modules/@types/node/os.d.ts
generated
vendored
455
Websites/Jefes/Backend/node_modules/@types/node/os.d.ts
generated
vendored
@ -1,455 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `os` module provides operating system-related utility methods and
|
|
||||||
* properties. It can be accessed using:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const os = require('os');
|
|
||||||
* ```
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/os.js)
|
|
||||||
*/
|
|
||||||
declare module 'os' {
|
|
||||||
interface CpuInfo {
|
|
||||||
model: string;
|
|
||||||
speed: number;
|
|
||||||
times: {
|
|
||||||
user: number;
|
|
||||||
nice: number;
|
|
||||||
sys: number;
|
|
||||||
idle: number;
|
|
||||||
irq: number;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
interface NetworkInterfaceBase {
|
|
||||||
address: string;
|
|
||||||
netmask: string;
|
|
||||||
mac: string;
|
|
||||||
internal: boolean;
|
|
||||||
cidr: string | null;
|
|
||||||
}
|
|
||||||
interface NetworkInterfaceInfoIPv4 extends NetworkInterfaceBase {
|
|
||||||
family: 'IPv4';
|
|
||||||
}
|
|
||||||
interface NetworkInterfaceInfoIPv6 extends NetworkInterfaceBase {
|
|
||||||
family: 'IPv6';
|
|
||||||
scopeid: number;
|
|
||||||
}
|
|
||||||
interface UserInfo<T> {
|
|
||||||
username: T;
|
|
||||||
uid: number;
|
|
||||||
gid: number;
|
|
||||||
shell: T;
|
|
||||||
homedir: T;
|
|
||||||
}
|
|
||||||
type NetworkInterfaceInfo = NetworkInterfaceInfoIPv4 | NetworkInterfaceInfoIPv6;
|
|
||||||
/**
|
|
||||||
* Returns the host name of the operating system as a string.
|
|
||||||
* @since v0.3.3
|
|
||||||
*/
|
|
||||||
function hostname(): string;
|
|
||||||
/**
|
|
||||||
* Returns an array containing the 1, 5, and 15 minute load averages.
|
|
||||||
*
|
|
||||||
* The load average is a measure of system activity calculated by the operating
|
|
||||||
* system and expressed as a fractional number.
|
|
||||||
*
|
|
||||||
* The load average is a Unix-specific concept. On Windows, the return value is
|
|
||||||
* always `[0, 0, 0]`.
|
|
||||||
* @since v0.3.3
|
|
||||||
*/
|
|
||||||
function loadavg(): number[];
|
|
||||||
/**
|
|
||||||
* Returns the system uptime in number of seconds.
|
|
||||||
* @since v0.3.3
|
|
||||||
*/
|
|
||||||
function uptime(): number;
|
|
||||||
/**
|
|
||||||
* Returns the amount of free system memory in bytes as an integer.
|
|
||||||
* @since v0.3.3
|
|
||||||
*/
|
|
||||||
function freemem(): number;
|
|
||||||
/**
|
|
||||||
* Returns the total amount of system memory in bytes as an integer.
|
|
||||||
* @since v0.3.3
|
|
||||||
*/
|
|
||||||
function totalmem(): number;
|
|
||||||
/**
|
|
||||||
* Returns an array of objects containing information about each logical CPU core.
|
|
||||||
*
|
|
||||||
* The properties included on each object include:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* [
|
|
||||||
* {
|
|
||||||
* model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
|
|
||||||
* speed: 2926,
|
|
||||||
* times: {
|
|
||||||
* user: 252020,
|
|
||||||
* nice: 0,
|
|
||||||
* sys: 30340,
|
|
||||||
* idle: 1070356870,
|
|
||||||
* irq: 0
|
|
||||||
* }
|
|
||||||
* },
|
|
||||||
* {
|
|
||||||
* model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
|
|
||||||
* speed: 2926,
|
|
||||||
* times: {
|
|
||||||
* user: 306960,
|
|
||||||
* nice: 0,
|
|
||||||
* sys: 26980,
|
|
||||||
* idle: 1071569080,
|
|
||||||
* irq: 0
|
|
||||||
* }
|
|
||||||
* },
|
|
||||||
* {
|
|
||||||
* model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
|
|
||||||
* speed: 2926,
|
|
||||||
* times: {
|
|
||||||
* user: 248450,
|
|
||||||
* nice: 0,
|
|
||||||
* sys: 21750,
|
|
||||||
* idle: 1070919370,
|
|
||||||
* irq: 0
|
|
||||||
* }
|
|
||||||
* },
|
|
||||||
* {
|
|
||||||
* model: 'Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz',
|
|
||||||
* speed: 2926,
|
|
||||||
* times: {
|
|
||||||
* user: 256880,
|
|
||||||
* nice: 0,
|
|
||||||
* sys: 19430,
|
|
||||||
* idle: 1070905480,
|
|
||||||
* irq: 20
|
|
||||||
* }
|
|
||||||
* },
|
|
||||||
* ]
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* `nice` values are POSIX-only. On Windows, the `nice` values of all processors
|
|
||||||
* are always 0.
|
|
||||||
* @since v0.3.3
|
|
||||||
*/
|
|
||||||
function cpus(): CpuInfo[];
|
|
||||||
/**
|
|
||||||
* Returns the operating system name as returned by [`uname(3)`](https://linux.die.net/man/3/uname). For example, it
|
|
||||||
* returns `'Linux'` on Linux, `'Darwin'` on macOS, and `'Windows_NT'` on Windows.
|
|
||||||
*
|
|
||||||
* See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for additional information
|
|
||||||
* about the output of running [`uname(3)`](https://linux.die.net/man/3/uname) on various operating systems.
|
|
||||||
* @since v0.3.3
|
|
||||||
*/
|
|
||||||
function type(): string;
|
|
||||||
/**
|
|
||||||
* Returns the operating system as a string.
|
|
||||||
*
|
|
||||||
* On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `GetVersionExW()` is used. See
|
|
||||||
* [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information.
|
|
||||||
* @since v0.3.3
|
|
||||||
*/
|
|
||||||
function release(): string;
|
|
||||||
/**
|
|
||||||
* Returns an object containing network interfaces that have been assigned a
|
|
||||||
* network address.
|
|
||||||
*
|
|
||||||
* Each key on the returned object identifies a network interface. The associated
|
|
||||||
* value is an array of objects that each describe an assigned network address.
|
|
||||||
*
|
|
||||||
* The properties available on the assigned network address object include:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* {
|
|
||||||
* lo: [
|
|
||||||
* {
|
|
||||||
* address: '127.0.0.1',
|
|
||||||
* netmask: '255.0.0.0',
|
|
||||||
* family: 'IPv4',
|
|
||||||
* mac: '00:00:00:00:00:00',
|
|
||||||
* internal: true,
|
|
||||||
* cidr: '127.0.0.1/8'
|
|
||||||
* },
|
|
||||||
* {
|
|
||||||
* address: '::1',
|
|
||||||
* netmask: 'ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff',
|
|
||||||
* family: 'IPv6',
|
|
||||||
* mac: '00:00:00:00:00:00',
|
|
||||||
* scopeid: 0,
|
|
||||||
* internal: true,
|
|
||||||
* cidr: '::1/128'
|
|
||||||
* }
|
|
||||||
* ],
|
|
||||||
* eth0: [
|
|
||||||
* {
|
|
||||||
* address: '192.168.1.108',
|
|
||||||
* netmask: '255.255.255.0',
|
|
||||||
* family: 'IPv4',
|
|
||||||
* mac: '01:02:03:0a:0b:0c',
|
|
||||||
* internal: false,
|
|
||||||
* cidr: '192.168.1.108/24'
|
|
||||||
* },
|
|
||||||
* {
|
|
||||||
* address: 'fe80::a00:27ff:fe4e:66a1',
|
|
||||||
* netmask: 'ffff:ffff:ffff:ffff::',
|
|
||||||
* family: 'IPv6',
|
|
||||||
* mac: '01:02:03:0a:0b:0c',
|
|
||||||
* scopeid: 1,
|
|
||||||
* internal: false,
|
|
||||||
* cidr: 'fe80::a00:27ff:fe4e:66a1/64'
|
|
||||||
* }
|
|
||||||
* ]
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v0.6.0
|
|
||||||
*/
|
|
||||||
function networkInterfaces(): NodeJS.Dict<NetworkInterfaceInfo[]>;
|
|
||||||
/**
|
|
||||||
* Returns the string path of the current user's home directory.
|
|
||||||
*
|
|
||||||
* On POSIX, it uses the `$HOME` environment variable if defined. Otherwise it
|
|
||||||
* uses the [effective UID](https://en.wikipedia.org/wiki/User_identifier#Effective_user_ID) to look up the user's home directory.
|
|
||||||
*
|
|
||||||
* On Windows, it uses the `USERPROFILE` environment variable if defined.
|
|
||||||
* Otherwise it uses the path to the profile directory of the current user.
|
|
||||||
* @since v2.3.0
|
|
||||||
*/
|
|
||||||
function homedir(): string;
|
|
||||||
/**
|
|
||||||
* Returns information about the currently effective user. On POSIX platforms,
|
|
||||||
* this is typically a subset of the password file. The returned object includes
|
|
||||||
* the `username`, `uid`, `gid`, `shell`, and `homedir`. On Windows, the `uid` and`gid` fields are `-1`, and `shell` is `null`.
|
|
||||||
*
|
|
||||||
* The value of `homedir` returned by `os.userInfo()` is provided by the operating
|
|
||||||
* system. This differs from the result of `os.homedir()`, which queries
|
|
||||||
* environment variables for the home directory before falling back to the
|
|
||||||
* operating system response.
|
|
||||||
*
|
|
||||||
* Throws a `SystemError` if a user has no `username` or `homedir`.
|
|
||||||
* @since v6.0.0
|
|
||||||
*/
|
|
||||||
function userInfo(options: { encoding: 'buffer' }): UserInfo<Buffer>;
|
|
||||||
function userInfo(options?: { encoding: BufferEncoding }): UserInfo<string>;
|
|
||||||
type SignalConstants = {
|
|
||||||
[key in NodeJS.Signals]: number;
|
|
||||||
};
|
|
||||||
namespace constants {
|
|
||||||
const UV_UDP_REUSEADDR: number;
|
|
||||||
namespace signals {}
|
|
||||||
const signals: SignalConstants;
|
|
||||||
namespace errno {
|
|
||||||
const E2BIG: number;
|
|
||||||
const EACCES: number;
|
|
||||||
const EADDRINUSE: number;
|
|
||||||
const EADDRNOTAVAIL: number;
|
|
||||||
const EAFNOSUPPORT: number;
|
|
||||||
const EAGAIN: number;
|
|
||||||
const EALREADY: number;
|
|
||||||
const EBADF: number;
|
|
||||||
const EBADMSG: number;
|
|
||||||
const EBUSY: number;
|
|
||||||
const ECANCELED: number;
|
|
||||||
const ECHILD: number;
|
|
||||||
const ECONNABORTED: number;
|
|
||||||
const ECONNREFUSED: number;
|
|
||||||
const ECONNRESET: number;
|
|
||||||
const EDEADLK: number;
|
|
||||||
const EDESTADDRREQ: number;
|
|
||||||
const EDOM: number;
|
|
||||||
const EDQUOT: number;
|
|
||||||
const EEXIST: number;
|
|
||||||
const EFAULT: number;
|
|
||||||
const EFBIG: number;
|
|
||||||
const EHOSTUNREACH: number;
|
|
||||||
const EIDRM: number;
|
|
||||||
const EILSEQ: number;
|
|
||||||
const EINPROGRESS: number;
|
|
||||||
const EINTR: number;
|
|
||||||
const EINVAL: number;
|
|
||||||
const EIO: number;
|
|
||||||
const EISCONN: number;
|
|
||||||
const EISDIR: number;
|
|
||||||
const ELOOP: number;
|
|
||||||
const EMFILE: number;
|
|
||||||
const EMLINK: number;
|
|
||||||
const EMSGSIZE: number;
|
|
||||||
const EMULTIHOP: number;
|
|
||||||
const ENAMETOOLONG: number;
|
|
||||||
const ENETDOWN: number;
|
|
||||||
const ENETRESET: number;
|
|
||||||
const ENETUNREACH: number;
|
|
||||||
const ENFILE: number;
|
|
||||||
const ENOBUFS: number;
|
|
||||||
const ENODATA: number;
|
|
||||||
const ENODEV: number;
|
|
||||||
const ENOENT: number;
|
|
||||||
const ENOEXEC: number;
|
|
||||||
const ENOLCK: number;
|
|
||||||
const ENOLINK: number;
|
|
||||||
const ENOMEM: number;
|
|
||||||
const ENOMSG: number;
|
|
||||||
const ENOPROTOOPT: number;
|
|
||||||
const ENOSPC: number;
|
|
||||||
const ENOSR: number;
|
|
||||||
const ENOSTR: number;
|
|
||||||
const ENOSYS: number;
|
|
||||||
const ENOTCONN: number;
|
|
||||||
const ENOTDIR: number;
|
|
||||||
const ENOTEMPTY: number;
|
|
||||||
const ENOTSOCK: number;
|
|
||||||
const ENOTSUP: number;
|
|
||||||
const ENOTTY: number;
|
|
||||||
const ENXIO: number;
|
|
||||||
const EOPNOTSUPP: number;
|
|
||||||
const EOVERFLOW: number;
|
|
||||||
const EPERM: number;
|
|
||||||
const EPIPE: number;
|
|
||||||
const EPROTO: number;
|
|
||||||
const EPROTONOSUPPORT: number;
|
|
||||||
const EPROTOTYPE: number;
|
|
||||||
const ERANGE: number;
|
|
||||||
const EROFS: number;
|
|
||||||
const ESPIPE: number;
|
|
||||||
const ESRCH: number;
|
|
||||||
const ESTALE: number;
|
|
||||||
const ETIME: number;
|
|
||||||
const ETIMEDOUT: number;
|
|
||||||
const ETXTBSY: number;
|
|
||||||
const EWOULDBLOCK: number;
|
|
||||||
const EXDEV: number;
|
|
||||||
const WSAEINTR: number;
|
|
||||||
const WSAEBADF: number;
|
|
||||||
const WSAEACCES: number;
|
|
||||||
const WSAEFAULT: number;
|
|
||||||
const WSAEINVAL: number;
|
|
||||||
const WSAEMFILE: number;
|
|
||||||
const WSAEWOULDBLOCK: number;
|
|
||||||
const WSAEINPROGRESS: number;
|
|
||||||
const WSAEALREADY: number;
|
|
||||||
const WSAENOTSOCK: number;
|
|
||||||
const WSAEDESTADDRREQ: number;
|
|
||||||
const WSAEMSGSIZE: number;
|
|
||||||
const WSAEPROTOTYPE: number;
|
|
||||||
const WSAENOPROTOOPT: number;
|
|
||||||
const WSAEPROTONOSUPPORT: number;
|
|
||||||
const WSAESOCKTNOSUPPORT: number;
|
|
||||||
const WSAEOPNOTSUPP: number;
|
|
||||||
const WSAEPFNOSUPPORT: number;
|
|
||||||
const WSAEAFNOSUPPORT: number;
|
|
||||||
const WSAEADDRINUSE: number;
|
|
||||||
const WSAEADDRNOTAVAIL: number;
|
|
||||||
const WSAENETDOWN: number;
|
|
||||||
const WSAENETUNREACH: number;
|
|
||||||
const WSAENETRESET: number;
|
|
||||||
const WSAECONNABORTED: number;
|
|
||||||
const WSAECONNRESET: number;
|
|
||||||
const WSAENOBUFS: number;
|
|
||||||
const WSAEISCONN: number;
|
|
||||||
const WSAENOTCONN: number;
|
|
||||||
const WSAESHUTDOWN: number;
|
|
||||||
const WSAETOOMANYREFS: number;
|
|
||||||
const WSAETIMEDOUT: number;
|
|
||||||
const WSAECONNREFUSED: number;
|
|
||||||
const WSAELOOP: number;
|
|
||||||
const WSAENAMETOOLONG: number;
|
|
||||||
const WSAEHOSTDOWN: number;
|
|
||||||
const WSAEHOSTUNREACH: number;
|
|
||||||
const WSAENOTEMPTY: number;
|
|
||||||
const WSAEPROCLIM: number;
|
|
||||||
const WSAEUSERS: number;
|
|
||||||
const WSAEDQUOT: number;
|
|
||||||
const WSAESTALE: number;
|
|
||||||
const WSAEREMOTE: number;
|
|
||||||
const WSASYSNOTREADY: number;
|
|
||||||
const WSAVERNOTSUPPORTED: number;
|
|
||||||
const WSANOTINITIALISED: number;
|
|
||||||
const WSAEDISCON: number;
|
|
||||||
const WSAENOMORE: number;
|
|
||||||
const WSAECANCELLED: number;
|
|
||||||
const WSAEINVALIDPROCTABLE: number;
|
|
||||||
const WSAEINVALIDPROVIDER: number;
|
|
||||||
const WSAEPROVIDERFAILEDINIT: number;
|
|
||||||
const WSASYSCALLFAILURE: number;
|
|
||||||
const WSASERVICE_NOT_FOUND: number;
|
|
||||||
const WSATYPE_NOT_FOUND: number;
|
|
||||||
const WSA_E_NO_MORE: number;
|
|
||||||
const WSA_E_CANCELLED: number;
|
|
||||||
const WSAEREFUSED: number;
|
|
||||||
}
|
|
||||||
namespace priority {
|
|
||||||
const PRIORITY_LOW: number;
|
|
||||||
const PRIORITY_BELOW_NORMAL: number;
|
|
||||||
const PRIORITY_NORMAL: number;
|
|
||||||
const PRIORITY_ABOVE_NORMAL: number;
|
|
||||||
const PRIORITY_HIGH: number;
|
|
||||||
const PRIORITY_HIGHEST: number;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
const devNull: string;
|
|
||||||
const EOL: string;
|
|
||||||
/**
|
|
||||||
* Returns the operating system CPU architecture for which the Node.js binary was
|
|
||||||
* compiled. Possible values are `'arm'`, `'arm64'`, `'ia32'`, `'mips'`,`'mipsel'`, `'ppc'`, `'ppc64'`, `'s390'`, `'s390x'`, `'x32'`, and `'x64'`.
|
|
||||||
*
|
|
||||||
* The return value is equivalent to `process.arch`.
|
|
||||||
* @since v0.5.0
|
|
||||||
*/
|
|
||||||
function arch(): string;
|
|
||||||
/**
|
|
||||||
* Returns a string identifying the kernel version.
|
|
||||||
*
|
|
||||||
* On POSIX systems, the operating system release is determined by calling [`uname(3)`](https://linux.die.net/man/3/uname). On Windows, `RtlGetVersion()` is used, and if it is not
|
|
||||||
* available, `GetVersionExW()` will be used. See [https://en.wikipedia.org/wiki/Uname#Examples](https://en.wikipedia.org/wiki/Uname#Examples) for more information.
|
|
||||||
* @since v13.11.0, v12.17.0
|
|
||||||
*/
|
|
||||||
function version(): string;
|
|
||||||
/**
|
|
||||||
* Returns a string identifying the operating system platform. The value is set
|
|
||||||
* at compile time. Possible values are `'aix'`, `'darwin'`, `'freebsd'`,`'linux'`, `'openbsd'`, `'sunos'`, and `'win32'`.
|
|
||||||
*
|
|
||||||
* The return value is equivalent to `process.platform`.
|
|
||||||
*
|
|
||||||
* The value `'android'` may also be returned if Node.js is built on the Android
|
|
||||||
* operating system. [Android support is experimental](https://github.com/nodejs/node/blob/HEAD/BUILDING.md#androidandroid-based-devices-eg-firefox-os).
|
|
||||||
* @since v0.5.0
|
|
||||||
*/
|
|
||||||
function platform(): NodeJS.Platform;
|
|
||||||
/**
|
|
||||||
* Returns the operating system's default directory for temporary files as a
|
|
||||||
* string.
|
|
||||||
* @since v0.9.9
|
|
||||||
*/
|
|
||||||
function tmpdir(): string;
|
|
||||||
/**
|
|
||||||
* Returns a string identifying the endianness of the CPU for which the Node.js
|
|
||||||
* binary was compiled.
|
|
||||||
*
|
|
||||||
* Possible values are `'BE'` for big endian and `'LE'` for little endian.
|
|
||||||
* @since v0.9.4
|
|
||||||
*/
|
|
||||||
function endianness(): 'BE' | 'LE';
|
|
||||||
/**
|
|
||||||
* Returns the scheduling priority for the process specified by `pid`. If `pid` is
|
|
||||||
* not provided or is `0`, the priority of the current process is returned.
|
|
||||||
* @since v10.10.0
|
|
||||||
* @param [pid=0] The process ID to retrieve scheduling priority for.
|
|
||||||
*/
|
|
||||||
function getPriority(pid?: number): number;
|
|
||||||
/**
|
|
||||||
* Attempts to set the scheduling priority for the process specified by `pid`. If`pid` is not provided or is `0`, the process ID of the current process is used.
|
|
||||||
*
|
|
||||||
* The `priority` input must be an integer between `-20` (high priority) and `19`(low priority). Due to differences between Unix priority levels and Windows
|
|
||||||
* priority classes, `priority` is mapped to one of six priority constants in`os.constants.priority`. When retrieving a process priority level, this range
|
|
||||||
* mapping may cause the return value to be slightly different on Windows. To avoid
|
|
||||||
* confusion, set `priority` to one of the priority constants.
|
|
||||||
*
|
|
||||||
* On Windows, setting priority to `PRIORITY_HIGHEST` requires elevated user
|
|
||||||
* privileges. Otherwise the set priority will be silently reduced to`PRIORITY_HIGH`.
|
|
||||||
* @since v10.10.0
|
|
||||||
* @param [pid=0] The process ID to set scheduling priority for.
|
|
||||||
* @param priority The scheduling priority to assign to the process.
|
|
||||||
*/
|
|
||||||
function setPriority(priority: number): void;
|
|
||||||
function setPriority(pid: number, priority: number): void;
|
|
||||||
}
|
|
||||||
declare module 'node:os' {
|
|
||||||
export * from 'os';
|
|
||||||
}
|
|
||||||
220
Websites/Jefes/Backend/node_modules/@types/node/package.json
generated
vendored
220
Websites/Jefes/Backend/node_modules/@types/node/package.json
generated
vendored
@ -1,220 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "@types/node",
|
|
||||||
"version": "17.0.45",
|
|
||||||
"description": "TypeScript definitions for Node.js",
|
|
||||||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
|
|
||||||
"license": "MIT",
|
|
||||||
"contributors": [
|
|
||||||
{
|
|
||||||
"name": "Microsoft TypeScript",
|
|
||||||
"url": "https://github.com/Microsoft",
|
|
||||||
"githubUsername": "Microsoft"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "DefinitelyTyped",
|
|
||||||
"url": "https://github.com/DefinitelyTyped",
|
|
||||||
"githubUsername": "DefinitelyTyped"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Alberto Schiabel",
|
|
||||||
"url": "https://github.com/jkomyno",
|
|
||||||
"githubUsername": "jkomyno"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Alvis HT Tang",
|
|
||||||
"url": "https://github.com/alvis",
|
|
||||||
"githubUsername": "alvis"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Andrew Makarov",
|
|
||||||
"url": "https://github.com/r3nya",
|
|
||||||
"githubUsername": "r3nya"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Benjamin Toueg",
|
|
||||||
"url": "https://github.com/btoueg",
|
|
||||||
"githubUsername": "btoueg"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Chigozirim C.",
|
|
||||||
"url": "https://github.com/smac89",
|
|
||||||
"githubUsername": "smac89"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "David Junger",
|
|
||||||
"url": "https://github.com/touffy",
|
|
||||||
"githubUsername": "touffy"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Deividas Bakanas",
|
|
||||||
"url": "https://github.com/DeividasBakanas",
|
|
||||||
"githubUsername": "DeividasBakanas"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Eugene Y. Q. Shen",
|
|
||||||
"url": "https://github.com/eyqs",
|
|
||||||
"githubUsername": "eyqs"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Hannes Magnusson",
|
|
||||||
"url": "https://github.com/Hannes-Magnusson-CK",
|
|
||||||
"githubUsername": "Hannes-Magnusson-CK"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Huw",
|
|
||||||
"url": "https://github.com/hoo29",
|
|
||||||
"githubUsername": "hoo29"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Kelvin Jin",
|
|
||||||
"url": "https://github.com/kjin",
|
|
||||||
"githubUsername": "kjin"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Klaus Meinhardt",
|
|
||||||
"url": "https://github.com/ajafff",
|
|
||||||
"githubUsername": "ajafff"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Lishude",
|
|
||||||
"url": "https://github.com/islishude",
|
|
||||||
"githubUsername": "islishude"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Mariusz Wiktorczyk",
|
|
||||||
"url": "https://github.com/mwiktorczyk",
|
|
||||||
"githubUsername": "mwiktorczyk"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Mohsen Azimi",
|
|
||||||
"url": "https://github.com/mohsen1",
|
|
||||||
"githubUsername": "mohsen1"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Nicolas Even",
|
|
||||||
"url": "https://github.com/n-e",
|
|
||||||
"githubUsername": "n-e"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Nikita Galkin",
|
|
||||||
"url": "https://github.com/galkin",
|
|
||||||
"githubUsername": "galkin"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Parambir Singh",
|
|
||||||
"url": "https://github.com/parambirs",
|
|
||||||
"githubUsername": "parambirs"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Sebastian Silbermann",
|
|
||||||
"url": "https://github.com/eps1lon",
|
|
||||||
"githubUsername": "eps1lon"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Simon Schick",
|
|
||||||
"url": "https://github.com/SimonSchick",
|
|
||||||
"githubUsername": "SimonSchick"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Thomas den Hollander",
|
|
||||||
"url": "https://github.com/ThomasdenH",
|
|
||||||
"githubUsername": "ThomasdenH"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Wilco Bakker",
|
|
||||||
"url": "https://github.com/WilcoBakker",
|
|
||||||
"githubUsername": "WilcoBakker"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "wwwy3y3",
|
|
||||||
"url": "https://github.com/wwwy3y3",
|
|
||||||
"githubUsername": "wwwy3y3"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Samuel Ainsworth",
|
|
||||||
"url": "https://github.com/samuela",
|
|
||||||
"githubUsername": "samuela"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Kyle Uehlein",
|
|
||||||
"url": "https://github.com/kuehlein",
|
|
||||||
"githubUsername": "kuehlein"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Thanik Bhongbhibhat",
|
|
||||||
"url": "https://github.com/bhongy",
|
|
||||||
"githubUsername": "bhongy"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Marcin Kopacz",
|
|
||||||
"url": "https://github.com/chyzwar",
|
|
||||||
"githubUsername": "chyzwar"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Trivikram Kamat",
|
|
||||||
"url": "https://github.com/trivikr",
|
|
||||||
"githubUsername": "trivikr"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Junxiao Shi",
|
|
||||||
"url": "https://github.com/yoursunny",
|
|
||||||
"githubUsername": "yoursunny"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Ilia Baryshnikov",
|
|
||||||
"url": "https://github.com/qwelias",
|
|
||||||
"githubUsername": "qwelias"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "ExE Boss",
|
|
||||||
"url": "https://github.com/ExE-Boss",
|
|
||||||
"githubUsername": "ExE-Boss"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Piotr Błażejewicz",
|
|
||||||
"url": "https://github.com/peterblazejewicz",
|
|
||||||
"githubUsername": "peterblazejewicz"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Anna Henningsen",
|
|
||||||
"url": "https://github.com/addaleax",
|
|
||||||
"githubUsername": "addaleax"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Victor Perin",
|
|
||||||
"url": "https://github.com/victorperin",
|
|
||||||
"githubUsername": "victorperin"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Yongsheng Zhang",
|
|
||||||
"url": "https://github.com/ZYSzys",
|
|
||||||
"githubUsername": "ZYSzys"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "NodeJS Contributors",
|
|
||||||
"url": "https://github.com/NodeJS",
|
|
||||||
"githubUsername": "NodeJS"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Linus Unnebäck",
|
|
||||||
"url": "https://github.com/LinusU",
|
|
||||||
"githubUsername": "LinusU"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "wafuwafu13",
|
|
||||||
"url": "https://github.com/wafuwafu13",
|
|
||||||
"githubUsername": "wafuwafu13"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"main": "",
|
|
||||||
"types": "index.d.ts",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
|
|
||||||
"directory": "types/node"
|
|
||||||
},
|
|
||||||
"scripts": {},
|
|
||||||
"dependencies": {},
|
|
||||||
"typesPublisherContentHash": "af50fb21a4ee56ffd08ac1a41afbed06689aa44fec9f855368376b13ef1742b6",
|
|
||||||
"typeScriptVersion": "4.0"
|
|
||||||
}
|
|
||||||
180
Websites/Jefes/Backend/node_modules/@types/node/path.d.ts
generated
vendored
180
Websites/Jefes/Backend/node_modules/@types/node/path.d.ts
generated
vendored
@ -1,180 +0,0 @@
|
|||||||
declare module 'path/posix' {
|
|
||||||
import path = require('path');
|
|
||||||
export = path;
|
|
||||||
}
|
|
||||||
declare module 'path/win32' {
|
|
||||||
import path = require('path');
|
|
||||||
export = path;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* The `path` module provides utilities for working with file and directory paths.
|
|
||||||
* It can be accessed using:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const path = require('path');
|
|
||||||
* ```
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/path.js)
|
|
||||||
*/
|
|
||||||
declare module 'path' {
|
|
||||||
namespace path {
|
|
||||||
/**
|
|
||||||
* A parsed path object generated by path.parse() or consumed by path.format().
|
|
||||||
*/
|
|
||||||
interface ParsedPath {
|
|
||||||
/**
|
|
||||||
* The root of the path such as '/' or 'c:\'
|
|
||||||
*/
|
|
||||||
root: string;
|
|
||||||
/**
|
|
||||||
* The full directory path such as '/home/user/dir' or 'c:\path\dir'
|
|
||||||
*/
|
|
||||||
dir: string;
|
|
||||||
/**
|
|
||||||
* The file name including extension (if any) such as 'index.html'
|
|
||||||
*/
|
|
||||||
base: string;
|
|
||||||
/**
|
|
||||||
* The file extension (if any) such as '.html'
|
|
||||||
*/
|
|
||||||
ext: string;
|
|
||||||
/**
|
|
||||||
* The file name without extension (if any) such as 'index'
|
|
||||||
*/
|
|
||||||
name: string;
|
|
||||||
}
|
|
||||||
interface FormatInputPathObject {
|
|
||||||
/**
|
|
||||||
* The root of the path such as '/' or 'c:\'
|
|
||||||
*/
|
|
||||||
root?: string | undefined;
|
|
||||||
/**
|
|
||||||
* The full directory path such as '/home/user/dir' or 'c:\path\dir'
|
|
||||||
*/
|
|
||||||
dir?: string | undefined;
|
|
||||||
/**
|
|
||||||
* The file name including extension (if any) such as 'index.html'
|
|
||||||
*/
|
|
||||||
base?: string | undefined;
|
|
||||||
/**
|
|
||||||
* The file extension (if any) such as '.html'
|
|
||||||
*/
|
|
||||||
ext?: string | undefined;
|
|
||||||
/**
|
|
||||||
* The file name without extension (if any) such as 'index'
|
|
||||||
*/
|
|
||||||
name?: string | undefined;
|
|
||||||
}
|
|
||||||
interface PlatformPath {
|
|
||||||
/**
|
|
||||||
* Normalize a string path, reducing '..' and '.' parts.
|
|
||||||
* When multiple slashes are found, they're replaced by a single one; when the path contains a trailing slash, it is preserved. On Windows backslashes are used.
|
|
||||||
*
|
|
||||||
* @param p string path to normalize.
|
|
||||||
*/
|
|
||||||
normalize(p: string): string;
|
|
||||||
/**
|
|
||||||
* Join all arguments together and normalize the resulting path.
|
|
||||||
* Arguments must be strings. In v0.8, non-string arguments were silently ignored. In v0.10 and up, an exception is thrown.
|
|
||||||
*
|
|
||||||
* @param paths paths to join.
|
|
||||||
*/
|
|
||||||
join(...paths: string[]): string;
|
|
||||||
/**
|
|
||||||
* The right-most parameter is considered {to}. Other parameters are considered an array of {from}.
|
|
||||||
*
|
|
||||||
* Starting from leftmost {from} parameter, resolves {to} to an absolute path.
|
|
||||||
*
|
|
||||||
* If {to} isn't already absolute, {from} arguments are prepended in right to left order,
|
|
||||||
* until an absolute path is found. If after using all {from} paths still no absolute path is found,
|
|
||||||
* the current working directory is used as well. The resulting path is normalized,
|
|
||||||
* and trailing slashes are removed unless the path gets resolved to the root directory.
|
|
||||||
*
|
|
||||||
* @param pathSegments string paths to join. Non-string arguments are ignored.
|
|
||||||
*/
|
|
||||||
resolve(...pathSegments: string[]): string;
|
|
||||||
/**
|
|
||||||
* Determines whether {path} is an absolute path. An absolute path will always resolve to the same location, regardless of the working directory.
|
|
||||||
*
|
|
||||||
* @param path path to test.
|
|
||||||
*/
|
|
||||||
isAbsolute(p: string): boolean;
|
|
||||||
/**
|
|
||||||
* Solve the relative path from {from} to {to}.
|
|
||||||
* At times we have two absolute paths, and we need to derive the relative path from one to the other. This is actually the reverse transform of path.resolve.
|
|
||||||
*/
|
|
||||||
relative(from: string, to: string): string;
|
|
||||||
/**
|
|
||||||
* Return the directory name of a path. Similar to the Unix dirname command.
|
|
||||||
*
|
|
||||||
* @param p the path to evaluate.
|
|
||||||
*/
|
|
||||||
dirname(p: string): string;
|
|
||||||
/**
|
|
||||||
* Return the last portion of a path. Similar to the Unix basename command.
|
|
||||||
* Often used to extract the file name from a fully qualified path.
|
|
||||||
*
|
|
||||||
* @param p the path to evaluate.
|
|
||||||
* @param ext optionally, an extension to remove from the result.
|
|
||||||
*/
|
|
||||||
basename(p: string, ext?: string): string;
|
|
||||||
/**
|
|
||||||
* Return the extension of the path, from the last '.' to end of string in the last portion of the path.
|
|
||||||
* If there is no '.' in the last portion of the path or the first character of it is '.', then it returns an empty string
|
|
||||||
*
|
|
||||||
* @param p the path to evaluate.
|
|
||||||
*/
|
|
||||||
extname(p: string): string;
|
|
||||||
/**
|
|
||||||
* The platform-specific file separator. '\\' or '/'.
|
|
||||||
*/
|
|
||||||
readonly sep: string;
|
|
||||||
/**
|
|
||||||
* The platform-specific file delimiter. ';' or ':'.
|
|
||||||
*/
|
|
||||||
readonly delimiter: string;
|
|
||||||
/**
|
|
||||||
* Returns an object from a path string - the opposite of format().
|
|
||||||
*
|
|
||||||
* @param pathString path to evaluate.
|
|
||||||
*/
|
|
||||||
parse(p: string): ParsedPath;
|
|
||||||
/**
|
|
||||||
* Returns a path string from an object - the opposite of parse().
|
|
||||||
*
|
|
||||||
* @param pathString path to evaluate.
|
|
||||||
*/
|
|
||||||
format(pP: FormatInputPathObject): string;
|
|
||||||
/**
|
|
||||||
* On Windows systems only, returns an equivalent namespace-prefixed path for the given path.
|
|
||||||
* If path is not a string, path will be returned without modifications.
|
|
||||||
* This method is meaningful only on Windows system.
|
|
||||||
* On POSIX systems, the method is non-operational and always returns path without modifications.
|
|
||||||
*/
|
|
||||||
toNamespacedPath(path: string): string;
|
|
||||||
/**
|
|
||||||
* Posix specific pathing.
|
|
||||||
* Same as parent object on posix.
|
|
||||||
*/
|
|
||||||
readonly posix: PlatformPath;
|
|
||||||
/**
|
|
||||||
* Windows specific pathing.
|
|
||||||
* Same as parent object on windows
|
|
||||||
*/
|
|
||||||
readonly win32: PlatformPath;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
const path: path.PlatformPath;
|
|
||||||
export = path;
|
|
||||||
}
|
|
||||||
declare module 'node:path' {
|
|
||||||
import path = require('path');
|
|
||||||
export = path;
|
|
||||||
}
|
|
||||||
declare module 'node:path/posix' {
|
|
||||||
import path = require('path/posix');
|
|
||||||
export = path;
|
|
||||||
}
|
|
||||||
declare module 'node:path/win32' {
|
|
||||||
import path = require('path/win32');
|
|
||||||
export = path;
|
|
||||||
}
|
|
||||||
557
Websites/Jefes/Backend/node_modules/@types/node/perf_hooks.d.ts
generated
vendored
557
Websites/Jefes/Backend/node_modules/@types/node/perf_hooks.d.ts
generated
vendored
@ -1,557 +0,0 @@
|
|||||||
/**
|
|
||||||
* This module provides an implementation of a subset of the W3C [Web Performance APIs](https://w3c.github.io/perf-timing-primer/) as well as additional APIs for
|
|
||||||
* Node.js-specific performance measurements.
|
|
||||||
*
|
|
||||||
* Node.js supports the following [Web Performance APIs](https://w3c.github.io/perf-timing-primer/):
|
|
||||||
*
|
|
||||||
* * [High Resolution Time](https://www.w3.org/TR/hr-time-2)
|
|
||||||
* * [Performance Timeline](https://w3c.github.io/performance-timeline/)
|
|
||||||
* * [User Timing](https://www.w3.org/TR/user-timing/)
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { PerformanceObserver, performance } = require('perf_hooks');
|
|
||||||
*
|
|
||||||
* const obs = new PerformanceObserver((items) => {
|
|
||||||
* console.log(items.getEntries()[0].duration);
|
|
||||||
* performance.clearMarks();
|
|
||||||
* });
|
|
||||||
* obs.observe({ type: 'measure' });
|
|
||||||
* performance.measure('Start to Now');
|
|
||||||
*
|
|
||||||
* performance.mark('A');
|
|
||||||
* doSomeLongRunningProcess(() => {
|
|
||||||
* performance.measure('A to Now', 'A');
|
|
||||||
*
|
|
||||||
* performance.mark('B');
|
|
||||||
* performance.measure('A to B', 'A', 'B');
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/perf_hooks.js)
|
|
||||||
*/
|
|
||||||
declare module 'perf_hooks' {
|
|
||||||
import { AsyncResource } from 'node:async_hooks';
|
|
||||||
type EntryType = 'node' | 'mark' | 'measure' | 'gc' | 'function' | 'http2' | 'http';
|
|
||||||
interface NodeGCPerformanceDetail {
|
|
||||||
/**
|
|
||||||
* When `performanceEntry.entryType` is equal to 'gc', `the performance.kind` property identifies
|
|
||||||
* the type of garbage collection operation that occurred.
|
|
||||||
* See perf_hooks.constants for valid values.
|
|
||||||
*/
|
|
||||||
readonly kind?: number | undefined;
|
|
||||||
/**
|
|
||||||
* When `performanceEntry.entryType` is equal to 'gc', the `performance.flags`
|
|
||||||
* property contains additional information about garbage collection operation.
|
|
||||||
* See perf_hooks.constants for valid values.
|
|
||||||
*/
|
|
||||||
readonly flags?: number | undefined;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
class PerformanceEntry {
|
|
||||||
protected constructor();
|
|
||||||
/**
|
|
||||||
* The total number of milliseconds elapsed for this entry. This value will not
|
|
||||||
* be meaningful for all Performance Entry types.
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
readonly duration: number;
|
|
||||||
/**
|
|
||||||
* The name of the performance entry.
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
readonly name: string;
|
|
||||||
/**
|
|
||||||
* The high resolution millisecond timestamp marking the starting time of the
|
|
||||||
* Performance Entry.
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
readonly startTime: number;
|
|
||||||
/**
|
|
||||||
* The type of the performance entry. It may be one of:
|
|
||||||
*
|
|
||||||
* * `'node'` (Node.js only)
|
|
||||||
* * `'mark'` (available on the Web)
|
|
||||||
* * `'measure'` (available on the Web)
|
|
||||||
* * `'gc'` (Node.js only)
|
|
||||||
* * `'function'` (Node.js only)
|
|
||||||
* * `'http2'` (Node.js only)
|
|
||||||
* * `'http'` (Node.js only)
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
readonly entryType: EntryType;
|
|
||||||
/**
|
|
||||||
* Additional detail specific to the `entryType`.
|
|
||||||
* @since v16.0.0
|
|
||||||
*/
|
|
||||||
readonly detail?: NodeGCPerformanceDetail | unknown | undefined; // TODO: Narrow this based on entry type.
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* _This property is an extension by Node.js. It is not available in Web browsers._
|
|
||||||
*
|
|
||||||
* Provides timing details for Node.js itself. The constructor of this class
|
|
||||||
* is not exposed to users.
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
class PerformanceNodeTiming extends PerformanceEntry {
|
|
||||||
/**
|
|
||||||
* The high resolution millisecond timestamp at which the Node.js process
|
|
||||||
* completed bootstrapping. If bootstrapping has not yet finished, the property
|
|
||||||
* has the value of -1.
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
readonly bootstrapComplete: number;
|
|
||||||
/**
|
|
||||||
* The high resolution millisecond timestamp at which the Node.js environment was
|
|
||||||
* initialized.
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
readonly environment: number;
|
|
||||||
/**
|
|
||||||
* The high resolution millisecond timestamp of the amount of time the event loop
|
|
||||||
* has been idle within the event loop's event provider (e.g. `epoll_wait`). This
|
|
||||||
* does not take CPU usage into consideration. If the event loop has not yet
|
|
||||||
* started (e.g., in the first tick of the main script), the property has the
|
|
||||||
* value of 0.
|
|
||||||
* @since v14.10.0, v12.19.0
|
|
||||||
*/
|
|
||||||
readonly idleTime: number;
|
|
||||||
/**
|
|
||||||
* The high resolution millisecond timestamp at which the Node.js event loop
|
|
||||||
* exited. If the event loop has not yet exited, the property has the value of -1\.
|
|
||||||
* It can only have a value of not -1 in a handler of the `'exit'` event.
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
readonly loopExit: number;
|
|
||||||
/**
|
|
||||||
* The high resolution millisecond timestamp at which the Node.js event loop
|
|
||||||
* started. If the event loop has not yet started (e.g., in the first tick of the
|
|
||||||
* main script), the property has the value of -1.
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
readonly loopStart: number;
|
|
||||||
/**
|
|
||||||
* The high resolution millisecond timestamp at which the V8 platform was
|
|
||||||
* initialized.
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
readonly v8Start: number;
|
|
||||||
}
|
|
||||||
interface EventLoopUtilization {
|
|
||||||
idle: number;
|
|
||||||
active: number;
|
|
||||||
utilization: number;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @param util1 The result of a previous call to eventLoopUtilization()
|
|
||||||
* @param util2 The result of a previous call to eventLoopUtilization() prior to util1
|
|
||||||
*/
|
|
||||||
type EventLoopUtilityFunction = (util1?: EventLoopUtilization, util2?: EventLoopUtilization) => EventLoopUtilization;
|
|
||||||
interface MarkOptions {
|
|
||||||
/**
|
|
||||||
* Additional optional detail to include with the mark.
|
|
||||||
*/
|
|
||||||
detail?: unknown | undefined;
|
|
||||||
/**
|
|
||||||
* An optional timestamp to be used as the mark time.
|
|
||||||
* @default `performance.now()`.
|
|
||||||
*/
|
|
||||||
startTime?: number | undefined;
|
|
||||||
}
|
|
||||||
interface MeasureOptions {
|
|
||||||
/**
|
|
||||||
* Additional optional detail to include with the mark.
|
|
||||||
*/
|
|
||||||
detail?: unknown | undefined;
|
|
||||||
/**
|
|
||||||
* Duration between start and end times.
|
|
||||||
*/
|
|
||||||
duration?: number | undefined;
|
|
||||||
/**
|
|
||||||
* Timestamp to be used as the end time, or a string identifying a previously recorded mark.
|
|
||||||
*/
|
|
||||||
end?: number | string | undefined;
|
|
||||||
/**
|
|
||||||
* Timestamp to be used as the start time, or a string identifying a previously recorded mark.
|
|
||||||
*/
|
|
||||||
start?: number | string | undefined;
|
|
||||||
}
|
|
||||||
interface TimerifyOptions {
|
|
||||||
/**
|
|
||||||
* A histogram object created using
|
|
||||||
* `perf_hooks.createHistogram()` that will record runtime durations in
|
|
||||||
* nanoseconds.
|
|
||||||
*/
|
|
||||||
histogram?: RecordableHistogram | undefined;
|
|
||||||
}
|
|
||||||
interface Performance {
|
|
||||||
/**
|
|
||||||
* If name is not provided, removes all PerformanceMark objects from the Performance Timeline.
|
|
||||||
* If name is provided, removes only the named mark.
|
|
||||||
* @param name
|
|
||||||
*/
|
|
||||||
clearMarks(name?: string): void;
|
|
||||||
/**
|
|
||||||
* Creates a new PerformanceMark entry in the Performance Timeline.
|
|
||||||
* A PerformanceMark is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'mark',
|
|
||||||
* and whose performanceEntry.duration is always 0.
|
|
||||||
* Performance marks are used to mark specific significant moments in the Performance Timeline.
|
|
||||||
* @param name
|
|
||||||
*/
|
|
||||||
mark(name?: string, options?: MarkOptions): void;
|
|
||||||
/**
|
|
||||||
* Creates a new PerformanceMeasure entry in the Performance Timeline.
|
|
||||||
* A PerformanceMeasure is a subclass of PerformanceEntry whose performanceEntry.entryType is always 'measure',
|
|
||||||
* and whose performanceEntry.duration measures the number of milliseconds elapsed since startMark and endMark.
|
|
||||||
*
|
|
||||||
* The startMark argument may identify any existing PerformanceMark in the the Performance Timeline, or may identify
|
|
||||||
* any of the timestamp properties provided by the PerformanceNodeTiming class. If the named startMark does not exist,
|
|
||||||
* then startMark is set to timeOrigin by default.
|
|
||||||
*
|
|
||||||
* The endMark argument must identify any existing PerformanceMark in the the Performance Timeline or any of the timestamp
|
|
||||||
* properties provided by the PerformanceNodeTiming class. If the named endMark does not exist, an error will be thrown.
|
|
||||||
* @param name
|
|
||||||
* @param startMark
|
|
||||||
* @param endMark
|
|
||||||
*/
|
|
||||||
measure(name: string, startMark?: string, endMark?: string): void;
|
|
||||||
measure(name: string, options: MeasureOptions): void;
|
|
||||||
/**
|
|
||||||
* An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones.
|
|
||||||
*/
|
|
||||||
readonly nodeTiming: PerformanceNodeTiming;
|
|
||||||
/**
|
|
||||||
* @return the current high resolution millisecond timestamp
|
|
||||||
*/
|
|
||||||
now(): number;
|
|
||||||
/**
|
|
||||||
* The timeOrigin specifies the high resolution millisecond timestamp from which all performance metric durations are measured.
|
|
||||||
*/
|
|
||||||
readonly timeOrigin: number;
|
|
||||||
/**
|
|
||||||
* Wraps a function within a new function that measures the running time of the wrapped function.
|
|
||||||
* A PerformanceObserver must be subscribed to the 'function' event type in order for the timing details to be accessed.
|
|
||||||
* @param fn
|
|
||||||
*/
|
|
||||||
timerify<T extends (...params: any[]) => any>(fn: T, options?: TimerifyOptions): T;
|
|
||||||
/**
|
|
||||||
* eventLoopUtilization is similar to CPU utilization except that it is calculated using high precision wall-clock time.
|
|
||||||
* It represents the percentage of time the event loop has spent outside the event loop's event provider (e.g. epoll_wait).
|
|
||||||
* No other CPU idle time is taken into consideration.
|
|
||||||
*/
|
|
||||||
eventLoopUtilization: EventLoopUtilityFunction;
|
|
||||||
}
|
|
||||||
interface PerformanceObserverEntryList {
|
|
||||||
/**
|
|
||||||
* Returns a list of `PerformanceEntry` objects in chronological order
|
|
||||||
* with respect to `performanceEntry.startTime`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const {
|
|
||||||
* performance,
|
|
||||||
* PerformanceObserver
|
|
||||||
* } = require('perf_hooks');
|
|
||||||
*
|
|
||||||
* const obs = new PerformanceObserver((perfObserverList, observer) => {
|
|
||||||
* console.log(perfObserverList.getEntries());
|
|
||||||
*
|
|
||||||
* * [
|
|
||||||
* * PerformanceEntry {
|
|
||||||
* * name: 'test',
|
|
||||||
* * entryType: 'mark',
|
|
||||||
* * startTime: 81.465639,
|
|
||||||
* * duration: 0
|
|
||||||
* * },
|
|
||||||
* * PerformanceEntry {
|
|
||||||
* * name: 'meow',
|
|
||||||
* * entryType: 'mark',
|
|
||||||
* * startTime: 81.860064,
|
|
||||||
* * duration: 0
|
|
||||||
* * }
|
|
||||||
* * ]
|
|
||||||
*
|
|
||||||
* observer.disconnect();
|
|
||||||
* });
|
|
||||||
* obs.observe({ type: 'mark' });
|
|
||||||
*
|
|
||||||
* performance.mark('test');
|
|
||||||
* performance.mark('meow');
|
|
||||||
* ```
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
getEntries(): PerformanceEntry[];
|
|
||||||
/**
|
|
||||||
* Returns a list of `PerformanceEntry` objects in chronological order
|
|
||||||
* with respect to `performanceEntry.startTime` whose `performanceEntry.name` is
|
|
||||||
* equal to `name`, and optionally, whose `performanceEntry.entryType` is equal to`type`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const {
|
|
||||||
* performance,
|
|
||||||
* PerformanceObserver
|
|
||||||
* } = require('perf_hooks');
|
|
||||||
*
|
|
||||||
* const obs = new PerformanceObserver((perfObserverList, observer) => {
|
|
||||||
* console.log(perfObserverList.getEntriesByName('meow'));
|
|
||||||
*
|
|
||||||
* * [
|
|
||||||
* * PerformanceEntry {
|
|
||||||
* * name: 'meow',
|
|
||||||
* * entryType: 'mark',
|
|
||||||
* * startTime: 98.545991,
|
|
||||||
* * duration: 0
|
|
||||||
* * }
|
|
||||||
* * ]
|
|
||||||
*
|
|
||||||
* console.log(perfObserverList.getEntriesByName('nope')); // []
|
|
||||||
*
|
|
||||||
* console.log(perfObserverList.getEntriesByName('test', 'mark'));
|
|
||||||
*
|
|
||||||
* * [
|
|
||||||
* * PerformanceEntry {
|
|
||||||
* * name: 'test',
|
|
||||||
* * entryType: 'mark',
|
|
||||||
* * startTime: 63.518931,
|
|
||||||
* * duration: 0
|
|
||||||
* * }
|
|
||||||
* * ]
|
|
||||||
*
|
|
||||||
* console.log(perfObserverList.getEntriesByName('test', 'measure')); // []
|
|
||||||
* observer.disconnect();
|
|
||||||
* });
|
|
||||||
* obs.observe({ entryTypes: ['mark', 'measure'] });
|
|
||||||
*
|
|
||||||
* performance.mark('test');
|
|
||||||
* performance.mark('meow');
|
|
||||||
* ```
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
getEntriesByName(name: string, type?: EntryType): PerformanceEntry[];
|
|
||||||
/**
|
|
||||||
* Returns a list of `PerformanceEntry` objects in chronological order
|
|
||||||
* with respect to `performanceEntry.startTime` whose `performanceEntry.entryType`is equal to `type`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const {
|
|
||||||
* performance,
|
|
||||||
* PerformanceObserver
|
|
||||||
* } = require('perf_hooks');
|
|
||||||
*
|
|
||||||
* const obs = new PerformanceObserver((perfObserverList, observer) => {
|
|
||||||
* console.log(perfObserverList.getEntriesByType('mark'));
|
|
||||||
*
|
|
||||||
* * [
|
|
||||||
* * PerformanceEntry {
|
|
||||||
* * name: 'test',
|
|
||||||
* * entryType: 'mark',
|
|
||||||
* * startTime: 55.897834,
|
|
||||||
* * duration: 0
|
|
||||||
* * },
|
|
||||||
* * PerformanceEntry {
|
|
||||||
* * name: 'meow',
|
|
||||||
* * entryType: 'mark',
|
|
||||||
* * startTime: 56.350146,
|
|
||||||
* * duration: 0
|
|
||||||
* * }
|
|
||||||
* * ]
|
|
||||||
*
|
|
||||||
* observer.disconnect();
|
|
||||||
* });
|
|
||||||
* obs.observe({ type: 'mark' });
|
|
||||||
*
|
|
||||||
* performance.mark('test');
|
|
||||||
* performance.mark('meow');
|
|
||||||
* ```
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
getEntriesByType(type: EntryType): PerformanceEntry[];
|
|
||||||
}
|
|
||||||
type PerformanceObserverCallback = (list: PerformanceObserverEntryList, observer: PerformanceObserver) => void;
|
|
||||||
class PerformanceObserver extends AsyncResource {
|
|
||||||
constructor(callback: PerformanceObserverCallback);
|
|
||||||
/**
|
|
||||||
* Disconnects the `PerformanceObserver` instance from all notifications.
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
disconnect(): void;
|
|
||||||
/**
|
|
||||||
* Subscribes the `PerformanceObserver` instance to notifications of new `PerformanceEntry` instances identified either by `options.entryTypes`or `options.type`:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const {
|
|
||||||
* performance,
|
|
||||||
* PerformanceObserver
|
|
||||||
* } = require('perf_hooks');
|
|
||||||
*
|
|
||||||
* const obs = new PerformanceObserver((list, observer) => {
|
|
||||||
* // Called three times synchronously. `list` contains one item.
|
|
||||||
* });
|
|
||||||
* obs.observe({ type: 'mark' });
|
|
||||||
*
|
|
||||||
* for (let n = 0; n < 3; n++)
|
|
||||||
* performance.mark(`test${n}`);
|
|
||||||
* ```
|
|
||||||
* @since v8.5.0
|
|
||||||
*/
|
|
||||||
observe(
|
|
||||||
options:
|
|
||||||
| {
|
|
||||||
entryTypes: ReadonlyArray<EntryType>;
|
|
||||||
buffered?: boolean | undefined;
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
type: EntryType;
|
|
||||||
buffered?: boolean | undefined;
|
|
||||||
}
|
|
||||||
): void;
|
|
||||||
}
|
|
||||||
namespace constants {
|
|
||||||
const NODE_PERFORMANCE_GC_MAJOR: number;
|
|
||||||
const NODE_PERFORMANCE_GC_MINOR: number;
|
|
||||||
const NODE_PERFORMANCE_GC_INCREMENTAL: number;
|
|
||||||
const NODE_PERFORMANCE_GC_WEAKCB: number;
|
|
||||||
const NODE_PERFORMANCE_GC_FLAGS_NO: number;
|
|
||||||
const NODE_PERFORMANCE_GC_FLAGS_CONSTRUCT_RETAINED: number;
|
|
||||||
const NODE_PERFORMANCE_GC_FLAGS_FORCED: number;
|
|
||||||
const NODE_PERFORMANCE_GC_FLAGS_SYNCHRONOUS_PHANTOM_PROCESSING: number;
|
|
||||||
const NODE_PERFORMANCE_GC_FLAGS_ALL_AVAILABLE_GARBAGE: number;
|
|
||||||
const NODE_PERFORMANCE_GC_FLAGS_ALL_EXTERNAL_MEMORY: number;
|
|
||||||
const NODE_PERFORMANCE_GC_FLAGS_SCHEDULE_IDLE: number;
|
|
||||||
}
|
|
||||||
const performance: Performance;
|
|
||||||
interface EventLoopMonitorOptions {
|
|
||||||
/**
|
|
||||||
* The sampling rate in milliseconds.
|
|
||||||
* Must be greater than zero.
|
|
||||||
* @default 10
|
|
||||||
*/
|
|
||||||
resolution?: number | undefined;
|
|
||||||
}
|
|
||||||
interface Histogram {
|
|
||||||
/**
|
|
||||||
* Returns a `Map` object detailing the accumulated percentile distribution.
|
|
||||||
* @since v11.10.0
|
|
||||||
*/
|
|
||||||
readonly percentiles: Map<number, number>;
|
|
||||||
/**
|
|
||||||
* The number of times the event loop delay exceeded the maximum 1 hour event
|
|
||||||
* loop delay threshold.
|
|
||||||
* @since v11.10.0
|
|
||||||
*/
|
|
||||||
readonly exceeds: number;
|
|
||||||
/**
|
|
||||||
* The minimum recorded event loop delay.
|
|
||||||
* @since v11.10.0
|
|
||||||
*/
|
|
||||||
readonly min: number;
|
|
||||||
/**
|
|
||||||
* The maximum recorded event loop delay.
|
|
||||||
* @since v11.10.0
|
|
||||||
*/
|
|
||||||
readonly max: number;
|
|
||||||
/**
|
|
||||||
* The mean of the recorded event loop delays.
|
|
||||||
* @since v11.10.0
|
|
||||||
*/
|
|
||||||
readonly mean: number;
|
|
||||||
/**
|
|
||||||
* The standard deviation of the recorded event loop delays.
|
|
||||||
* @since v11.10.0
|
|
||||||
*/
|
|
||||||
readonly stddev: number;
|
|
||||||
/**
|
|
||||||
* Resets the collected histogram data.
|
|
||||||
* @since v11.10.0
|
|
||||||
*/
|
|
||||||
reset(): void;
|
|
||||||
/**
|
|
||||||
* Returns the value at the given percentile.
|
|
||||||
* @since v11.10.0
|
|
||||||
* @param percentile A percentile value in the range (0, 100].
|
|
||||||
*/
|
|
||||||
percentile(percentile: number): number;
|
|
||||||
}
|
|
||||||
interface IntervalHistogram extends Histogram {
|
|
||||||
/**
|
|
||||||
* Enables the update interval timer. Returns `true` if the timer was
|
|
||||||
* started, `false` if it was already started.
|
|
||||||
* @since v11.10.0
|
|
||||||
*/
|
|
||||||
enable(): boolean;
|
|
||||||
/**
|
|
||||||
* Disables the update interval timer. Returns `true` if the timer was
|
|
||||||
* stopped, `false` if it was already stopped.
|
|
||||||
* @since v11.10.0
|
|
||||||
*/
|
|
||||||
disable(): boolean;
|
|
||||||
}
|
|
||||||
interface RecordableHistogram extends Histogram {
|
|
||||||
/**
|
|
||||||
* @since v15.9.0, v14.18.0
|
|
||||||
* @param val The amount to record in the histogram.
|
|
||||||
*/
|
|
||||||
record(val: number | bigint): void;
|
|
||||||
/**
|
|
||||||
* Calculates the amount of time (in nanoseconds) that has passed since the
|
|
||||||
* previous call to `recordDelta()` and records that amount in the histogram.
|
|
||||||
*
|
|
||||||
* ## Examples
|
|
||||||
* @since v15.9.0, v14.18.0
|
|
||||||
*/
|
|
||||||
recordDelta(): void;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* _This property is an extension by Node.js. It is not available in Web browsers._
|
|
||||||
*
|
|
||||||
* Creates an `IntervalHistogram` object that samples and reports the event loop
|
|
||||||
* delay over time. The delays will be reported in nanoseconds.
|
|
||||||
*
|
|
||||||
* Using a timer to detect approximate event loop delay works because the
|
|
||||||
* execution of timers is tied specifically to the lifecycle of the libuv
|
|
||||||
* event loop. That is, a delay in the loop will cause a delay in the execution
|
|
||||||
* of the timer, and those delays are specifically what this API is intended to
|
|
||||||
* detect.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { monitorEventLoopDelay } = require('perf_hooks');
|
|
||||||
* const h = monitorEventLoopDelay({ resolution: 20 });
|
|
||||||
* h.enable();
|
|
||||||
* // Do something.
|
|
||||||
* h.disable();
|
|
||||||
* console.log(h.min);
|
|
||||||
* console.log(h.max);
|
|
||||||
* console.log(h.mean);
|
|
||||||
* console.log(h.stddev);
|
|
||||||
* console.log(h.percentiles);
|
|
||||||
* console.log(h.percentile(50));
|
|
||||||
* console.log(h.percentile(99));
|
|
||||||
* ```
|
|
||||||
* @since v11.10.0
|
|
||||||
*/
|
|
||||||
function monitorEventLoopDelay(options?: EventLoopMonitorOptions): IntervalHistogram;
|
|
||||||
interface CreateHistogramOptions {
|
|
||||||
/**
|
|
||||||
* The minimum recordable value. Must be an integer value greater than 0.
|
|
||||||
* @default 1
|
|
||||||
*/
|
|
||||||
min?: number | bigint | undefined;
|
|
||||||
/**
|
|
||||||
* The maximum recordable value. Must be an integer value greater than min.
|
|
||||||
* @default Number.MAX_SAFE_INTEGER
|
|
||||||
*/
|
|
||||||
max?: number | bigint | undefined;
|
|
||||||
/**
|
|
||||||
* The number of accuracy digits. Must be a number between 1 and 5.
|
|
||||||
* @default 3
|
|
||||||
*/
|
|
||||||
figures?: number | undefined;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Returns a `RecordableHistogram`.
|
|
||||||
* @since v15.9.0, v14.18.0
|
|
||||||
*/
|
|
||||||
function createHistogram(options?: CreateHistogramOptions): RecordableHistogram;
|
|
||||||
}
|
|
||||||
declare module 'node:perf_hooks' {
|
|
||||||
export * from 'perf_hooks';
|
|
||||||
}
|
|
||||||
1481
Websites/Jefes/Backend/node_modules/@types/node/process.d.ts
generated
vendored
1481
Websites/Jefes/Backend/node_modules/@types/node/process.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
117
Websites/Jefes/Backend/node_modules/@types/node/punycode.d.ts
generated
vendored
117
Websites/Jefes/Backend/node_modules/@types/node/punycode.d.ts
generated
vendored
@ -1,117 +0,0 @@
|
|||||||
/**
|
|
||||||
* **The version of the punycode module bundled in Node.js is being deprecated.**In a future major version of Node.js this module will be removed. Users
|
|
||||||
* currently depending on the `punycode` module should switch to using the
|
|
||||||
* userland-provided [Punycode.js](https://github.com/bestiejs/punycode.js) module instead. For punycode-based URL
|
|
||||||
* encoding, see `url.domainToASCII` or, more generally, the `WHATWG URL API`.
|
|
||||||
*
|
|
||||||
* The `punycode` module is a bundled version of the [Punycode.js](https://github.com/bestiejs/punycode.js) module. It
|
|
||||||
* can be accessed using:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const punycode = require('punycode');
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* [Punycode](https://tools.ietf.org/html/rfc3492) is a character encoding scheme defined by RFC 3492 that is
|
|
||||||
* primarily intended for use in Internationalized Domain Names. Because host
|
|
||||||
* names in URLs are limited to ASCII characters only, Domain Names that contain
|
|
||||||
* non-ASCII characters must be converted into ASCII using the Punycode scheme.
|
|
||||||
* For instance, the Japanese character that translates into the English word,`'example'` is `'例'`. The Internationalized Domain Name, `'例.com'` (equivalent
|
|
||||||
* to `'example.com'`) is represented by Punycode as the ASCII string`'xn--fsq.com'`.
|
|
||||||
*
|
|
||||||
* The `punycode` module provides a simple implementation of the Punycode standard.
|
|
||||||
*
|
|
||||||
* The `punycode` module is a third-party dependency used by Node.js and
|
|
||||||
* made available to developers as a convenience. Fixes or other modifications to
|
|
||||||
* the module must be directed to the [Punycode.js](https://github.com/bestiejs/punycode.js) project.
|
|
||||||
* @deprecated Since v7.0.0 - Deprecated
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/punycode.js)
|
|
||||||
*/
|
|
||||||
declare module 'punycode' {
|
|
||||||
/**
|
|
||||||
* The `punycode.decode()` method converts a [Punycode](https://tools.ietf.org/html/rfc3492) string of ASCII-only
|
|
||||||
* characters to the equivalent string of Unicode codepoints.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* punycode.decode('maana-pta'); // 'mañana'
|
|
||||||
* punycode.decode('--dqo34k'); // '☃-⌘'
|
|
||||||
* ```
|
|
||||||
* @since v0.5.1
|
|
||||||
*/
|
|
||||||
function decode(string: string): string;
|
|
||||||
/**
|
|
||||||
* The `punycode.encode()` method converts a string of Unicode codepoints to a [Punycode](https://tools.ietf.org/html/rfc3492) string of ASCII-only characters.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* punycode.encode('mañana'); // 'maana-pta'
|
|
||||||
* punycode.encode('☃-⌘'); // '--dqo34k'
|
|
||||||
* ```
|
|
||||||
* @since v0.5.1
|
|
||||||
*/
|
|
||||||
function encode(string: string): string;
|
|
||||||
/**
|
|
||||||
* The `punycode.toUnicode()` method converts a string representing a domain name
|
|
||||||
* containing [Punycode](https://tools.ietf.org/html/rfc3492) encoded characters into Unicode. Only the [Punycode](https://tools.ietf.org/html/rfc3492) encoded parts of the domain name are be
|
|
||||||
* converted.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* // decode domain names
|
|
||||||
* punycode.toUnicode('xn--maana-pta.com'); // 'mañana.com'
|
|
||||||
* punycode.toUnicode('xn----dqo34k.com'); // '☃-⌘.com'
|
|
||||||
* punycode.toUnicode('example.com'); // 'example.com'
|
|
||||||
* ```
|
|
||||||
* @since v0.6.1
|
|
||||||
*/
|
|
||||||
function toUnicode(domain: string): string;
|
|
||||||
/**
|
|
||||||
* The `punycode.toASCII()` method converts a Unicode string representing an
|
|
||||||
* Internationalized Domain Name to [Punycode](https://tools.ietf.org/html/rfc3492). Only the non-ASCII parts of the
|
|
||||||
* domain name will be converted. Calling `punycode.toASCII()` on a string that
|
|
||||||
* already only contains ASCII characters will have no effect.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* // encode domain names
|
|
||||||
* punycode.toASCII('mañana.com'); // 'xn--maana-pta.com'
|
|
||||||
* punycode.toASCII('☃-⌘.com'); // 'xn----dqo34k.com'
|
|
||||||
* punycode.toASCII('example.com'); // 'example.com'
|
|
||||||
* ```
|
|
||||||
* @since v0.6.1
|
|
||||||
*/
|
|
||||||
function toASCII(domain: string): string;
|
|
||||||
/**
|
|
||||||
* @deprecated since v7.0.0
|
|
||||||
* The version of the punycode module bundled in Node.js is being deprecated.
|
|
||||||
* In a future major version of Node.js this module will be removed.
|
|
||||||
* Users currently depending on the punycode module should switch to using
|
|
||||||
* the userland-provided Punycode.js module instead.
|
|
||||||
*/
|
|
||||||
const ucs2: ucs2;
|
|
||||||
interface ucs2 {
|
|
||||||
/**
|
|
||||||
* @deprecated since v7.0.0
|
|
||||||
* The version of the punycode module bundled in Node.js is being deprecated.
|
|
||||||
* In a future major version of Node.js this module will be removed.
|
|
||||||
* Users currently depending on the punycode module should switch to using
|
|
||||||
* the userland-provided Punycode.js module instead.
|
|
||||||
*/
|
|
||||||
decode(string: string): number[];
|
|
||||||
/**
|
|
||||||
* @deprecated since v7.0.0
|
|
||||||
* The version of the punycode module bundled in Node.js is being deprecated.
|
|
||||||
* In a future major version of Node.js this module will be removed.
|
|
||||||
* Users currently depending on the punycode module should switch to using
|
|
||||||
* the userland-provided Punycode.js module instead.
|
|
||||||
*/
|
|
||||||
encode(codePoints: ReadonlyArray<number>): string;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* @deprecated since v7.0.0
|
|
||||||
* The version of the punycode module bundled in Node.js is being deprecated.
|
|
||||||
* In a future major version of Node.js this module will be removed.
|
|
||||||
* Users currently depending on the punycode module should switch to using
|
|
||||||
* the userland-provided Punycode.js module instead.
|
|
||||||
*/
|
|
||||||
const version: string;
|
|
||||||
}
|
|
||||||
declare module 'node:punycode' {
|
|
||||||
export * from 'punycode';
|
|
||||||
}
|
|
||||||
131
Websites/Jefes/Backend/node_modules/@types/node/querystring.d.ts
generated
vendored
131
Websites/Jefes/Backend/node_modules/@types/node/querystring.d.ts
generated
vendored
@ -1,131 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `querystring` module provides utilities for parsing and formatting URL
|
|
||||||
* query strings. It can be accessed using:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const querystring = require('querystring');
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* The `querystring` API is considered Legacy. While it is still maintained,
|
|
||||||
* new code should use the `URLSearchParams` API instead.
|
|
||||||
* @deprecated Legacy
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/querystring.js)
|
|
||||||
*/
|
|
||||||
declare module 'querystring' {
|
|
||||||
interface StringifyOptions {
|
|
||||||
encodeURIComponent?: ((str: string) => string) | undefined;
|
|
||||||
}
|
|
||||||
interface ParseOptions {
|
|
||||||
maxKeys?: number | undefined;
|
|
||||||
decodeURIComponent?: ((str: string) => string) | undefined;
|
|
||||||
}
|
|
||||||
interface ParsedUrlQuery extends NodeJS.Dict<string | string[]> {}
|
|
||||||
interface ParsedUrlQueryInput extends NodeJS.Dict<string | number | boolean | ReadonlyArray<string> | ReadonlyArray<number> | ReadonlyArray<boolean> | null> {}
|
|
||||||
/**
|
|
||||||
* The `querystring.stringify()` method produces a URL query string from a
|
|
||||||
* given `obj` by iterating through the object's "own properties".
|
|
||||||
*
|
|
||||||
* It serializes the following types of values passed in `obj`:[string](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) |
|
|
||||||
* [number](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) |
|
|
||||||
* [bigint](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) |
|
|
||||||
* [boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) |
|
|
||||||
* [string\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) |
|
|
||||||
* [number\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Number_type) |
|
|
||||||
* [bigint\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt) |
|
|
||||||
* [boolean\[\]](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) The numeric values must be finite. Any other input values will be coerced to
|
|
||||||
* empty strings.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* querystring.stringify({ foo: 'bar', baz: ['qux', 'quux'], corge: '' });
|
|
||||||
* // Returns 'foo=bar&baz=qux&baz=quux&corge='
|
|
||||||
*
|
|
||||||
* querystring.stringify({ foo: 'bar', baz: 'qux' }, ';', ':');
|
|
||||||
* // Returns 'foo:bar;baz:qux'
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* By default, characters requiring percent-encoding within the query string will
|
|
||||||
* be encoded as UTF-8\. If an alternative encoding is required, then an alternative`encodeURIComponent` option will need to be specified:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* // Assuming gbkEncodeURIComponent function already exists,
|
|
||||||
*
|
|
||||||
* querystring.stringify({ w: '中文', foo: 'bar' }, null, null,
|
|
||||||
* { encodeURIComponent: gbkEncodeURIComponent });
|
|
||||||
* ```
|
|
||||||
* @since v0.1.25
|
|
||||||
* @param obj The object to serialize into a URL query string
|
|
||||||
* @param [sep='&'] The substring used to delimit key and value pairs in the query string.
|
|
||||||
* @param [eq='='] . The substring used to delimit keys and values in the query string.
|
|
||||||
*/
|
|
||||||
function stringify(obj?: ParsedUrlQueryInput, sep?: string, eq?: string, options?: StringifyOptions): string;
|
|
||||||
/**
|
|
||||||
* The `querystring.parse()` method parses a URL query string (`str`) into a
|
|
||||||
* collection of key and value pairs.
|
|
||||||
*
|
|
||||||
* For example, the query string `'foo=bar&abc=xyz&abc=123'` is parsed into:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* {
|
|
||||||
* foo: 'bar',
|
|
||||||
* abc: ['xyz', '123']
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* The object returned by the `querystring.parse()` method _does not_prototypically inherit from the JavaScript `Object`. This means that typical`Object` methods such as `obj.toString()`,
|
|
||||||
* `obj.hasOwnProperty()`, and others
|
|
||||||
* are not defined and _will not work_.
|
|
||||||
*
|
|
||||||
* By default, percent-encoded characters within the query string will be assumed
|
|
||||||
* to use UTF-8 encoding. If an alternative character encoding is used, then an
|
|
||||||
* alternative `decodeURIComponent` option will need to be specified:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* // Assuming gbkDecodeURIComponent function already exists...
|
|
||||||
*
|
|
||||||
* querystring.parse('w=%D6%D0%CE%C4&foo=bar', null, null,
|
|
||||||
* { decodeURIComponent: gbkDecodeURIComponent });
|
|
||||||
* ```
|
|
||||||
* @since v0.1.25
|
|
||||||
* @param str The URL query string to parse
|
|
||||||
* @param [sep='&'] The substring used to delimit key and value pairs in the query string.
|
|
||||||
* @param [eq='='] . The substring used to delimit keys and values in the query string.
|
|
||||||
*/
|
|
||||||
function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery;
|
|
||||||
/**
|
|
||||||
* The querystring.encode() function is an alias for querystring.stringify().
|
|
||||||
*/
|
|
||||||
const encode: typeof stringify;
|
|
||||||
/**
|
|
||||||
* The querystring.decode() function is an alias for querystring.parse().
|
|
||||||
*/
|
|
||||||
const decode: typeof parse;
|
|
||||||
/**
|
|
||||||
* The `querystring.escape()` method performs URL percent-encoding on the given`str` in a manner that is optimized for the specific requirements of URL
|
|
||||||
* query strings.
|
|
||||||
*
|
|
||||||
* The `querystring.escape()` method is used by `querystring.stringify()` and is
|
|
||||||
* generally not expected to be used directly. It is exported primarily to allow
|
|
||||||
* application code to provide a replacement percent-encoding implementation if
|
|
||||||
* necessary by assigning `querystring.escape` to an alternative function.
|
|
||||||
* @since v0.1.25
|
|
||||||
*/
|
|
||||||
function escape(str: string): string;
|
|
||||||
/**
|
|
||||||
* The `querystring.unescape()` method performs decoding of URL percent-encoded
|
|
||||||
* characters on the given `str`.
|
|
||||||
*
|
|
||||||
* The `querystring.unescape()` method is used by `querystring.parse()` and is
|
|
||||||
* generally not expected to be used directly. It is exported primarily to allow
|
|
||||||
* application code to provide a replacement decoding implementation if
|
|
||||||
* necessary by assigning `querystring.unescape` to an alternative function.
|
|
||||||
*
|
|
||||||
* By default, the `querystring.unescape()` method will attempt to use the
|
|
||||||
* JavaScript built-in `decodeURIComponent()` method to decode. If that fails,
|
|
||||||
* a safer equivalent that does not throw on malformed URLs will be used.
|
|
||||||
* @since v0.1.25
|
|
||||||
*/
|
|
||||||
function unescape(str: string): string;
|
|
||||||
}
|
|
||||||
declare module 'node:querystring' {
|
|
||||||
export * from 'querystring';
|
|
||||||
}
|
|
||||||
650
Websites/Jefes/Backend/node_modules/@types/node/readline.d.ts
generated
vendored
650
Websites/Jefes/Backend/node_modules/@types/node/readline.d.ts
generated
vendored
@ -1,650 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `readline` module provides an interface for reading data from a `Readable` stream (such as `process.stdin`) one line at a time.
|
|
||||||
*
|
|
||||||
* To use the promise-based APIs:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import * as readline from 'node:readline/promises';
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* To use the callback and sync APIs:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import * as readline from 'node:readline';
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* The following simple example illustrates the basic use of the `readline` module.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import * as readline from 'node:readline/promises';
|
|
||||||
* import { stdin as input, stdout as output } from 'process';
|
|
||||||
*
|
|
||||||
* const rl = readline.createInterface({ input, output });
|
|
||||||
*
|
|
||||||
* const answer = await rl.question('What do you think of Node.js? ');
|
|
||||||
*
|
|
||||||
* console.log(`Thank you for your valuable feedback: ${answer}`);
|
|
||||||
*
|
|
||||||
* rl.close();
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Once this code is invoked, the Node.js application will not terminate until the`readline.Interface` is closed because the interface waits for data to be
|
|
||||||
* received on the `input` stream.
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/readline.js)
|
|
||||||
*/
|
|
||||||
declare module 'readline' {
|
|
||||||
import { Abortable, EventEmitter } from 'node:events';
|
|
||||||
interface Key {
|
|
||||||
sequence?: string | undefined;
|
|
||||||
name?: string | undefined;
|
|
||||||
ctrl?: boolean | undefined;
|
|
||||||
meta?: boolean | undefined;
|
|
||||||
shift?: boolean | undefined;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Instances of the `readline.Interface` class are constructed using the`readline.createInterface()` method. Every instance is associated with a
|
|
||||||
* single `input` `Readable` stream and a single `output` `Writable` stream.
|
|
||||||
* The `output` stream is used to print prompts for user input that arrives on,
|
|
||||||
* and is read from, the `input` stream.
|
|
||||||
* @since v0.1.104
|
|
||||||
*/
|
|
||||||
class Interface extends EventEmitter {
|
|
||||||
readonly terminal: boolean;
|
|
||||||
/**
|
|
||||||
* The current input data being processed by node.
|
|
||||||
*
|
|
||||||
* This can be used when collecting input from a TTY stream to retrieve the
|
|
||||||
* current value that has been processed thus far, prior to the `line` event
|
|
||||||
* being emitted. Once the `line` event has been emitted, this property will
|
|
||||||
* be an empty string.
|
|
||||||
*
|
|
||||||
* Be aware that modifying the value during the instance runtime may have
|
|
||||||
* unintended consequences if `rl.cursor` is not also controlled.
|
|
||||||
*
|
|
||||||
* **If not using a TTY stream for input, use the `'line'` event.**
|
|
||||||
*
|
|
||||||
* One possible use case would be as follows:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const values = ['lorem ipsum', 'dolor sit amet'];
|
|
||||||
* const rl = readline.createInterface(process.stdin);
|
|
||||||
* const showResults = debounce(() => {
|
|
||||||
* console.log(
|
|
||||||
* '\n',
|
|
||||||
* values.filter((val) => val.startsWith(rl.line)).join(' ')
|
|
||||||
* );
|
|
||||||
* }, 300);
|
|
||||||
* process.stdin.on('keypress', (c, k) => {
|
|
||||||
* showResults();
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
* @since v0.1.98
|
|
||||||
*/
|
|
||||||
readonly line: string;
|
|
||||||
/**
|
|
||||||
* The cursor position relative to `rl.line`.
|
|
||||||
*
|
|
||||||
* This will track where the current cursor lands in the input string, when
|
|
||||||
* reading input from a TTY stream. The position of cursor determines the
|
|
||||||
* portion of the input string that will be modified as input is processed,
|
|
||||||
* as well as the column where the terminal caret will be rendered.
|
|
||||||
* @since v0.1.98
|
|
||||||
*/
|
|
||||||
readonly cursor: number;
|
|
||||||
/**
|
|
||||||
* NOTE: According to the documentation:
|
|
||||||
*
|
|
||||||
* > Instances of the `readline.Interface` class are constructed using the
|
|
||||||
* > `readline.createInterface()` method.
|
|
||||||
*
|
|
||||||
* @see https://nodejs.org/dist/latest-v10.x/docs/api/readline.html#readline_class_interface
|
|
||||||
*/
|
|
||||||
protected constructor(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean);
|
|
||||||
/**
|
|
||||||
* NOTE: According to the documentation:
|
|
||||||
*
|
|
||||||
* > Instances of the `readline.Interface` class are constructed using the
|
|
||||||
* > `readline.createInterface()` method.
|
|
||||||
*
|
|
||||||
* @see https://nodejs.org/dist/latest-v10.x/docs/api/readline.html#readline_class_interface
|
|
||||||
*/
|
|
||||||
protected constructor(options: ReadLineOptions);
|
|
||||||
/**
|
|
||||||
* The `rl.getPrompt()` method returns the current prompt used by `rl.prompt()`.
|
|
||||||
* @since v15.3.0
|
|
||||||
* @return the current prompt string
|
|
||||||
*/
|
|
||||||
getPrompt(): string;
|
|
||||||
/**
|
|
||||||
* The `rl.setPrompt()` method sets the prompt that will be written to `output`whenever `rl.prompt()` is called.
|
|
||||||
* @since v0.1.98
|
|
||||||
*/
|
|
||||||
setPrompt(prompt: string): void;
|
|
||||||
/**
|
|
||||||
* The `rl.prompt()` method writes the `readline.Interface` instances configured`prompt` to a new line in `output` in order to provide a user with a new
|
|
||||||
* location at which to provide input.
|
|
||||||
*
|
|
||||||
* When called, `rl.prompt()` will resume the `input` stream if it has been
|
|
||||||
* paused.
|
|
||||||
*
|
|
||||||
* If the `readline.Interface` was created with `output` set to `null` or`undefined` the prompt is not written.
|
|
||||||
* @since v0.1.98
|
|
||||||
* @param preserveCursor If `true`, prevents the cursor placement from being reset to `0`.
|
|
||||||
*/
|
|
||||||
prompt(preserveCursor?: boolean): void;
|
|
||||||
/**
|
|
||||||
* The `rl.question()` method displays the `query` by writing it to the `output`,
|
|
||||||
* waits for user input to be provided on `input`, then invokes the `callback`function passing the provided input as the first argument.
|
|
||||||
*
|
|
||||||
* When called, `rl.question()` will resume the `input` stream if it has been
|
|
||||||
* paused.
|
|
||||||
*
|
|
||||||
* If the `readline.Interface` was created with `output` set to `null` or`undefined` the `query` is not written.
|
|
||||||
*
|
|
||||||
* The `callback` function passed to `rl.question()` does not follow the typical
|
|
||||||
* pattern of accepting an `Error` object or `null` as the first argument.
|
|
||||||
* The `callback` is called with the provided answer as the only argument.
|
|
||||||
*
|
|
||||||
* Example usage:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* rl.question('What is your favorite food? ', (answer) => {
|
|
||||||
* console.log(`Oh, so your favorite food is ${answer}`);
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Using an `AbortController` to cancel a question.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const ac = new AbortController();
|
|
||||||
* const signal = ac.signal;
|
|
||||||
*
|
|
||||||
* rl.question('What is your favorite food? ', { signal }, (answer) => {
|
|
||||||
* console.log(`Oh, so your favorite food is ${answer}`);
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* signal.addEventListener('abort', () => {
|
|
||||||
* console.log('The food question timed out');
|
|
||||||
* }, { once: true });
|
|
||||||
*
|
|
||||||
* setTimeout(() => ac.abort(), 10000);
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* If this method is invoked as it's util.promisify()ed version, it returns a
|
|
||||||
* Promise that fulfills with the answer. If the question is canceled using
|
|
||||||
* an `AbortController` it will reject with an `AbortError`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const util = require('util');
|
|
||||||
* const question = util.promisify(rl.question).bind(rl);
|
|
||||||
*
|
|
||||||
* async function questionExample() {
|
|
||||||
* try {
|
|
||||||
* const answer = await question('What is you favorite food? ');
|
|
||||||
* console.log(`Oh, so your favorite food is ${answer}`);
|
|
||||||
* } catch (err) {
|
|
||||||
* console.error('Question rejected', err);
|
|
||||||
* }
|
|
||||||
* }
|
|
||||||
* questionExample();
|
|
||||||
* ```
|
|
||||||
* @since v0.3.3
|
|
||||||
* @param query A statement or query to write to `output`, prepended to the prompt.
|
|
||||||
* @param callback A callback function that is invoked with the user's input in response to the `query`.
|
|
||||||
*/
|
|
||||||
question(query: string, callback: (answer: string) => void): void;
|
|
||||||
question(query: string, options: Abortable, callback: (answer: string) => void): void;
|
|
||||||
/**
|
|
||||||
* The `rl.pause()` method pauses the `input` stream, allowing it to be resumed
|
|
||||||
* later if necessary.
|
|
||||||
*
|
|
||||||
* Calling `rl.pause()` does not immediately pause other events (including`'line'`) from being emitted by the `readline.Interface` instance.
|
|
||||||
* @since v0.3.4
|
|
||||||
*/
|
|
||||||
pause(): this;
|
|
||||||
/**
|
|
||||||
* The `rl.resume()` method resumes the `input` stream if it has been paused.
|
|
||||||
* @since v0.3.4
|
|
||||||
*/
|
|
||||||
resume(): this;
|
|
||||||
/**
|
|
||||||
* The `rl.close()` method closes the `readline.Interface` instance and
|
|
||||||
* relinquishes control over the `input` and `output` streams. When called,
|
|
||||||
* the `'close'` event will be emitted.
|
|
||||||
*
|
|
||||||
* Calling `rl.close()` does not immediately stop other events (including `'line'`)
|
|
||||||
* from being emitted by the `readline.Interface` instance.
|
|
||||||
* @since v0.1.98
|
|
||||||
*/
|
|
||||||
close(): void;
|
|
||||||
/**
|
|
||||||
* The `rl.write()` method will write either `data` or a key sequence identified
|
|
||||||
* by `key` to the `output`. The `key` argument is supported only if `output` is
|
|
||||||
* a `TTY` text terminal. See `TTY keybindings` for a list of key
|
|
||||||
* combinations.
|
|
||||||
*
|
|
||||||
* If `key` is specified, `data` is ignored.
|
|
||||||
*
|
|
||||||
* When called, `rl.write()` will resume the `input` stream if it has been
|
|
||||||
* paused.
|
|
||||||
*
|
|
||||||
* If the `readline.Interface` was created with `output` set to `null` or`undefined` the `data` and `key` are not written.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* rl.write('Delete this!');
|
|
||||||
* // Simulate Ctrl+U to delete the line written previously
|
|
||||||
* rl.write(null, { ctrl: true, name: 'u' });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* The `rl.write()` method will write the data to the `readline` `Interface`'s`input`_as if it were provided by the user_.
|
|
||||||
* @since v0.1.98
|
|
||||||
*/
|
|
||||||
write(data: string | Buffer, key?: Key): void;
|
|
||||||
write(data: undefined | null | string | Buffer, key: Key): void;
|
|
||||||
/**
|
|
||||||
* Returns the real position of the cursor in relation to the input
|
|
||||||
* prompt + string. Long input (wrapping) strings, as well as multiple
|
|
||||||
* line prompts are included in the calculations.
|
|
||||||
* @since v13.5.0, v12.16.0
|
|
||||||
*/
|
|
||||||
getCursorPos(): CursorPos;
|
|
||||||
/**
|
|
||||||
* events.EventEmitter
|
|
||||||
* 1. close
|
|
||||||
* 2. line
|
|
||||||
* 3. pause
|
|
||||||
* 4. resume
|
|
||||||
* 5. SIGCONT
|
|
||||||
* 6. SIGINT
|
|
||||||
* 7. SIGTSTP
|
|
||||||
* 8. history
|
|
||||||
*/
|
|
||||||
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
addListener(event: 'close', listener: () => void): this;
|
|
||||||
addListener(event: 'line', listener: (input: string) => void): this;
|
|
||||||
addListener(event: 'pause', listener: () => void): this;
|
|
||||||
addListener(event: 'resume', listener: () => void): this;
|
|
||||||
addListener(event: 'SIGCONT', listener: () => void): this;
|
|
||||||
addListener(event: 'SIGINT', listener: () => void): this;
|
|
||||||
addListener(event: 'SIGTSTP', listener: () => void): this;
|
|
||||||
addListener(event: 'history', listener: (history: string[]) => void): this;
|
|
||||||
emit(event: string | symbol, ...args: any[]): boolean;
|
|
||||||
emit(event: 'close'): boolean;
|
|
||||||
emit(event: 'line', input: string): boolean;
|
|
||||||
emit(event: 'pause'): boolean;
|
|
||||||
emit(event: 'resume'): boolean;
|
|
||||||
emit(event: 'SIGCONT'): boolean;
|
|
||||||
emit(event: 'SIGINT'): boolean;
|
|
||||||
emit(event: 'SIGTSTP'): boolean;
|
|
||||||
emit(event: 'history', history: string[]): boolean;
|
|
||||||
on(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
on(event: 'close', listener: () => void): this;
|
|
||||||
on(event: 'line', listener: (input: string) => void): this;
|
|
||||||
on(event: 'pause', listener: () => void): this;
|
|
||||||
on(event: 'resume', listener: () => void): this;
|
|
||||||
on(event: 'SIGCONT', listener: () => void): this;
|
|
||||||
on(event: 'SIGINT', listener: () => void): this;
|
|
||||||
on(event: 'SIGTSTP', listener: () => void): this;
|
|
||||||
on(event: 'history', listener: (history: string[]) => void): this;
|
|
||||||
once(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
once(event: 'close', listener: () => void): this;
|
|
||||||
once(event: 'line', listener: (input: string) => void): this;
|
|
||||||
once(event: 'pause', listener: () => void): this;
|
|
||||||
once(event: 'resume', listener: () => void): this;
|
|
||||||
once(event: 'SIGCONT', listener: () => void): this;
|
|
||||||
once(event: 'SIGINT', listener: () => void): this;
|
|
||||||
once(event: 'SIGTSTP', listener: () => void): this;
|
|
||||||
once(event: 'history', listener: (history: string[]) => void): this;
|
|
||||||
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
prependListener(event: 'close', listener: () => void): this;
|
|
||||||
prependListener(event: 'line', listener: (input: string) => void): this;
|
|
||||||
prependListener(event: 'pause', listener: () => void): this;
|
|
||||||
prependListener(event: 'resume', listener: () => void): this;
|
|
||||||
prependListener(event: 'SIGCONT', listener: () => void): this;
|
|
||||||
prependListener(event: 'SIGINT', listener: () => void): this;
|
|
||||||
prependListener(event: 'SIGTSTP', listener: () => void): this;
|
|
||||||
prependListener(event: 'history', listener: (history: string[]) => void): this;
|
|
||||||
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
prependOnceListener(event: 'close', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'line', listener: (input: string) => void): this;
|
|
||||||
prependOnceListener(event: 'pause', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'resume', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'SIGCONT', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'SIGINT', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'SIGTSTP', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'history', listener: (history: string[]) => void): this;
|
|
||||||
[Symbol.asyncIterator](): AsyncIterableIterator<string>;
|
|
||||||
}
|
|
||||||
type ReadLine = Interface; // type forwarded for backwards compatibility
|
|
||||||
type Completer = (line: string) => CompleterResult;
|
|
||||||
type AsyncCompleter = (line: string, callback: (err?: null | Error, result?: CompleterResult) => void) => void;
|
|
||||||
type CompleterResult = [string[], string];
|
|
||||||
interface ReadLineOptions {
|
|
||||||
input: NodeJS.ReadableStream;
|
|
||||||
output?: NodeJS.WritableStream | undefined;
|
|
||||||
completer?: Completer | AsyncCompleter | undefined;
|
|
||||||
terminal?: boolean | undefined;
|
|
||||||
/**
|
|
||||||
* Initial list of history lines. This option makes sense
|
|
||||||
* only if `terminal` is set to `true` by the user or by an internal `output`
|
|
||||||
* check, otherwise the history caching mechanism is not initialized at all.
|
|
||||||
* @default []
|
|
||||||
*/
|
|
||||||
history?: string[] | undefined;
|
|
||||||
historySize?: number | undefined;
|
|
||||||
prompt?: string | undefined;
|
|
||||||
crlfDelay?: number | undefined;
|
|
||||||
/**
|
|
||||||
* If `true`, when a new input line added
|
|
||||||
* to the history list duplicates an older one, this removes the older line
|
|
||||||
* from the list.
|
|
||||||
* @default false
|
|
||||||
*/
|
|
||||||
removeHistoryDuplicates?: boolean | undefined;
|
|
||||||
escapeCodeTimeout?: number | undefined;
|
|
||||||
tabSize?: number | undefined;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* The `readline.createInterface()` method creates a new `readline.Interface`instance.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const readline = require('readline');
|
|
||||||
* const rl = readline.createInterface({
|
|
||||||
* input: process.stdin,
|
|
||||||
* output: process.stdout
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Once the `readline.Interface` instance is created, the most common case is to
|
|
||||||
* listen for the `'line'` event:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* rl.on('line', (line) => {
|
|
||||||
* console.log(`Received: ${line}`);
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* If `terminal` is `true` for this instance then the `output` stream will get
|
|
||||||
* the best compatibility if it defines an `output.columns` property and emits
|
|
||||||
* a `'resize'` event on the `output` if or when the columns ever change
|
|
||||||
* (`process.stdout` does this automatically when it is a TTY).
|
|
||||||
*
|
|
||||||
* When creating a `readline.Interface` using `stdin` as input, the program
|
|
||||||
* will not terminate until it receives `EOF` (Ctrl+D on
|
|
||||||
* Linux/macOS, Ctrl+Z followed by Return on
|
|
||||||
* Windows).
|
|
||||||
* If you want your application to exit without waiting for user input, you can `unref()` the standard input stream:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* process.stdin.unref();
|
|
||||||
* ```
|
|
||||||
* @since v0.1.98
|
|
||||||
*/
|
|
||||||
function createInterface(input: NodeJS.ReadableStream, output?: NodeJS.WritableStream, completer?: Completer | AsyncCompleter, terminal?: boolean): Interface;
|
|
||||||
function createInterface(options: ReadLineOptions): Interface;
|
|
||||||
/**
|
|
||||||
* The `readline.emitKeypressEvents()` method causes the given `Readable` stream to begin emitting `'keypress'` events corresponding to received input.
|
|
||||||
*
|
|
||||||
* Optionally, `interface` specifies a `readline.Interface` instance for which
|
|
||||||
* autocompletion is disabled when copy-pasted input is detected.
|
|
||||||
*
|
|
||||||
* If the `stream` is a `TTY`, then it must be in raw mode.
|
|
||||||
*
|
|
||||||
* This is automatically called by any readline instance on its `input` if the`input` is a terminal. Closing the `readline` instance does not stop
|
|
||||||
* the `input` from emitting `'keypress'` events.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* readline.emitKeypressEvents(process.stdin);
|
|
||||||
* if (process.stdin.isTTY)
|
|
||||||
* process.stdin.setRawMode(true);
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* ## Example: Tiny CLI
|
|
||||||
*
|
|
||||||
* The following example illustrates the use of `readline.Interface` class to
|
|
||||||
* implement a small command-line interface:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const readline = require('readline');
|
|
||||||
* const rl = readline.createInterface({
|
|
||||||
* input: process.stdin,
|
|
||||||
* output: process.stdout,
|
|
||||||
* prompt: 'OHAI> '
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* rl.prompt();
|
|
||||||
*
|
|
||||||
* rl.on('line', (line) => {
|
|
||||||
* switch (line.trim()) {
|
|
||||||
* case 'hello':
|
|
||||||
* console.log('world!');
|
|
||||||
* break;
|
|
||||||
* default:
|
|
||||||
* console.log(`Say what? I might have heard '${line.trim()}'`);
|
|
||||||
* break;
|
|
||||||
* }
|
|
||||||
* rl.prompt();
|
|
||||||
* }).on('close', () => {
|
|
||||||
* console.log('Have a great day!');
|
|
||||||
* process.exit(0);
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* ## Example: Read file stream line-by-Line
|
|
||||||
*
|
|
||||||
* A common use case for `readline` is to consume an input file one line at a
|
|
||||||
* time. The easiest way to do so is leveraging the `fs.ReadStream` API as
|
|
||||||
* well as a `for await...of` loop:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const fs = require('fs');
|
|
||||||
* const readline = require('readline');
|
|
||||||
*
|
|
||||||
* async function processLineByLine() {
|
|
||||||
* const fileStream = fs.createReadStream('input.txt');
|
|
||||||
*
|
|
||||||
* const rl = readline.createInterface({
|
|
||||||
* input: fileStream,
|
|
||||||
* crlfDelay: Infinity
|
|
||||||
* });
|
|
||||||
* // Note: we use the crlfDelay option to recognize all instances of CR LF
|
|
||||||
* // ('\r\n') in input.txt as a single line break.
|
|
||||||
*
|
|
||||||
* for await (const line of rl) {
|
|
||||||
* // Each line in input.txt will be successively available here as `line`.
|
|
||||||
* console.log(`Line from file: ${line}`);
|
|
||||||
* }
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* processLineByLine();
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Alternatively, one could use the `'line'` event:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const fs = require('fs');
|
|
||||||
* const readline = require('readline');
|
|
||||||
*
|
|
||||||
* const rl = readline.createInterface({
|
|
||||||
* input: fs.createReadStream('sample.txt'),
|
|
||||||
* crlfDelay: Infinity
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* rl.on('line', (line) => {
|
|
||||||
* console.log(`Line from file: ${line}`);
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Currently, `for await...of` loop can be a bit slower. If `async` / `await`flow and speed are both essential, a mixed approach can be applied:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { once } = require('events');
|
|
||||||
* const { createReadStream } = require('fs');
|
|
||||||
* const { createInterface } = require('readline');
|
|
||||||
*
|
|
||||||
* (async function processLineByLine() {
|
|
||||||
* try {
|
|
||||||
* const rl = createInterface({
|
|
||||||
* input: createReadStream('big-file.txt'),
|
|
||||||
* crlfDelay: Infinity
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* rl.on('line', (line) => {
|
|
||||||
* // Process the line.
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* await once(rl, 'close');
|
|
||||||
*
|
|
||||||
* console.log('File processed.');
|
|
||||||
* } catch (err) {
|
|
||||||
* console.error(err);
|
|
||||||
* }
|
|
||||||
* })();
|
|
||||||
* ```
|
|
||||||
* @since v0.7.7
|
|
||||||
*/
|
|
||||||
function emitKeypressEvents(stream: NodeJS.ReadableStream, readlineInterface?: Interface): void;
|
|
||||||
type Direction = -1 | 0 | 1;
|
|
||||||
interface CursorPos {
|
|
||||||
rows: number;
|
|
||||||
cols: number;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* The `readline.clearLine()` method clears current line of given `TTY` stream
|
|
||||||
* in a specified direction identified by `dir`.
|
|
||||||
* @since v0.7.7
|
|
||||||
* @param callback Invoked once the operation completes.
|
|
||||||
* @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
|
|
||||||
*/
|
|
||||||
function clearLine(stream: NodeJS.WritableStream, dir: Direction, callback?: () => void): boolean;
|
|
||||||
/**
|
|
||||||
* The `readline.clearScreenDown()` method clears the given `TTY` stream from
|
|
||||||
* the current position of the cursor down.
|
|
||||||
* @since v0.7.7
|
|
||||||
* @param callback Invoked once the operation completes.
|
|
||||||
* @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
|
|
||||||
*/
|
|
||||||
function clearScreenDown(stream: NodeJS.WritableStream, callback?: () => void): boolean;
|
|
||||||
/**
|
|
||||||
* The `readline.cursorTo()` method moves cursor to the specified position in a
|
|
||||||
* given `TTY` `stream`.
|
|
||||||
* @since v0.7.7
|
|
||||||
* @param callback Invoked once the operation completes.
|
|
||||||
* @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
|
|
||||||
*/
|
|
||||||
function cursorTo(stream: NodeJS.WritableStream, x: number, y?: number, callback?: () => void): boolean;
|
|
||||||
/**
|
|
||||||
* The `readline.moveCursor()` method moves the cursor _relative_ to its current
|
|
||||||
* position in a given `TTY` `stream`.
|
|
||||||
*
|
|
||||||
* ## Example: Tiny CLI
|
|
||||||
*
|
|
||||||
* The following example illustrates the use of `readline.Interface` class to
|
|
||||||
* implement a small command-line interface:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const readline = require('readline');
|
|
||||||
* const rl = readline.createInterface({
|
|
||||||
* input: process.stdin,
|
|
||||||
* output: process.stdout,
|
|
||||||
* prompt: 'OHAI> '
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* rl.prompt();
|
|
||||||
*
|
|
||||||
* rl.on('line', (line) => {
|
|
||||||
* switch (line.trim()) {
|
|
||||||
* case 'hello':
|
|
||||||
* console.log('world!');
|
|
||||||
* break;
|
|
||||||
* default:
|
|
||||||
* console.log(`Say what? I might have heard '${line.trim()}'`);
|
|
||||||
* break;
|
|
||||||
* }
|
|
||||||
* rl.prompt();
|
|
||||||
* }).on('close', () => {
|
|
||||||
* console.log('Have a great day!');
|
|
||||||
* process.exit(0);
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* ## Example: Read file stream line-by-Line
|
|
||||||
*
|
|
||||||
* A common use case for `readline` is to consume an input file one line at a
|
|
||||||
* time. The easiest way to do so is leveraging the `fs.ReadStream` API as
|
|
||||||
* well as a `for await...of` loop:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const fs = require('fs');
|
|
||||||
* const readline = require('readline');
|
|
||||||
*
|
|
||||||
* async function processLineByLine() {
|
|
||||||
* const fileStream = fs.createReadStream('input.txt');
|
|
||||||
*
|
|
||||||
* const rl = readline.createInterface({
|
|
||||||
* input: fileStream,
|
|
||||||
* crlfDelay: Infinity
|
|
||||||
* });
|
|
||||||
* // Note: we use the crlfDelay option to recognize all instances of CR LF
|
|
||||||
* // ('\r\n') in input.txt as a single line break.
|
|
||||||
*
|
|
||||||
* for await (const line of rl) {
|
|
||||||
* // Each line in input.txt will be successively available here as `line`.
|
|
||||||
* console.log(`Line from file: ${line}`);
|
|
||||||
* }
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* processLineByLine();
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Alternatively, one could use the `'line'` event:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const fs = require('fs');
|
|
||||||
* const readline = require('readline');
|
|
||||||
*
|
|
||||||
* const rl = readline.createInterface({
|
|
||||||
* input: fs.createReadStream('sample.txt'),
|
|
||||||
* crlfDelay: Infinity
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* rl.on('line', (line) => {
|
|
||||||
* console.log(`Line from file: ${line}`);
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Currently, `for await...of` loop can be a bit slower. If `async` / `await`flow and speed are both essential, a mixed approach can be applied:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { once } = require('events');
|
|
||||||
* const { createReadStream } = require('fs');
|
|
||||||
* const { createInterface } = require('readline');
|
|
||||||
*
|
|
||||||
* (async function processLineByLine() {
|
|
||||||
* try {
|
|
||||||
* const rl = createInterface({
|
|
||||||
* input: createReadStream('big-file.txt'),
|
|
||||||
* crlfDelay: Infinity
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* rl.on('line', (line) => {
|
|
||||||
* // Process the line.
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* await once(rl, 'close');
|
|
||||||
*
|
|
||||||
* console.log('File processed.');
|
|
||||||
* } catch (err) {
|
|
||||||
* console.error(err);
|
|
||||||
* }
|
|
||||||
* })();
|
|
||||||
* ```
|
|
||||||
* @since v0.7.7
|
|
||||||
* @param callback Invoked once the operation completes.
|
|
||||||
* @return `false` if `stream` wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
|
|
||||||
*/
|
|
||||||
function moveCursor(stream: NodeJS.WritableStream, dx: number, dy: number, callback?: () => void): boolean;
|
|
||||||
}
|
|
||||||
declare module 'node:readline' {
|
|
||||||
export * from 'readline';
|
|
||||||
}
|
|
||||||
424
Websites/Jefes/Backend/node_modules/@types/node/repl.d.ts
generated
vendored
424
Websites/Jefes/Backend/node_modules/@types/node/repl.d.ts
generated
vendored
@ -1,424 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `repl` module provides a Read-Eval-Print-Loop (REPL) implementation that
|
|
||||||
* is available both as a standalone program or includible in other applications.
|
|
||||||
* It can be accessed using:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const repl = require('repl');
|
|
||||||
* ```
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/repl.js)
|
|
||||||
*/
|
|
||||||
declare module 'repl' {
|
|
||||||
import { Interface, Completer, AsyncCompleter } from 'node:readline';
|
|
||||||
import { Context } from 'node:vm';
|
|
||||||
import { InspectOptions } from 'node:util';
|
|
||||||
interface ReplOptions {
|
|
||||||
/**
|
|
||||||
* The input prompt to display.
|
|
||||||
* @default "> "
|
|
||||||
*/
|
|
||||||
prompt?: string | undefined;
|
|
||||||
/**
|
|
||||||
* The `Readable` stream from which REPL input will be read.
|
|
||||||
* @default process.stdin
|
|
||||||
*/
|
|
||||||
input?: NodeJS.ReadableStream | undefined;
|
|
||||||
/**
|
|
||||||
* The `Writable` stream to which REPL output will be written.
|
|
||||||
* @default process.stdout
|
|
||||||
*/
|
|
||||||
output?: NodeJS.WritableStream | undefined;
|
|
||||||
/**
|
|
||||||
* If `true`, specifies that the output should be treated as a TTY terminal, and have
|
|
||||||
* ANSI/VT100 escape codes written to it.
|
|
||||||
* Default: checking the value of the `isTTY` property on the output stream upon
|
|
||||||
* instantiation.
|
|
||||||
*/
|
|
||||||
terminal?: boolean | undefined;
|
|
||||||
/**
|
|
||||||
* The function to be used when evaluating each given line of input.
|
|
||||||
* Default: an async wrapper for the JavaScript `eval()` function. An `eval` function can
|
|
||||||
* error with `repl.Recoverable` to indicate the input was incomplete and prompt for
|
|
||||||
* additional lines.
|
|
||||||
*
|
|
||||||
* @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_default_evaluation
|
|
||||||
* @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_custom_evaluation_functions
|
|
||||||
*/
|
|
||||||
eval?: REPLEval | undefined;
|
|
||||||
/**
|
|
||||||
* Defines if the repl prints output previews or not.
|
|
||||||
* @default `true` Always `false` in case `terminal` is falsy.
|
|
||||||
*/
|
|
||||||
preview?: boolean | undefined;
|
|
||||||
/**
|
|
||||||
* If `true`, specifies that the default `writer` function should include ANSI color
|
|
||||||
* styling to REPL output. If a custom `writer` function is provided then this has no
|
|
||||||
* effect.
|
|
||||||
* Default: the REPL instance's `terminal` value.
|
|
||||||
*/
|
|
||||||
useColors?: boolean | undefined;
|
|
||||||
/**
|
|
||||||
* If `true`, specifies that the default evaluation function will use the JavaScript
|
|
||||||
* `global` as the context as opposed to creating a new separate context for the REPL
|
|
||||||
* instance. The node CLI REPL sets this value to `true`.
|
|
||||||
* Default: `false`.
|
|
||||||
*/
|
|
||||||
useGlobal?: boolean | undefined;
|
|
||||||
/**
|
|
||||||
* If `true`, specifies that the default writer will not output the return value of a
|
|
||||||
* command if it evaluates to `undefined`.
|
|
||||||
* Default: `false`.
|
|
||||||
*/
|
|
||||||
ignoreUndefined?: boolean | undefined;
|
|
||||||
/**
|
|
||||||
* The function to invoke to format the output of each command before writing to `output`.
|
|
||||||
* Default: a wrapper for `util.inspect`.
|
|
||||||
*
|
|
||||||
* @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_customizing_repl_output
|
|
||||||
*/
|
|
||||||
writer?: REPLWriter | undefined;
|
|
||||||
/**
|
|
||||||
* An optional function used for custom Tab auto completion.
|
|
||||||
*
|
|
||||||
* @see https://nodejs.org/dist/latest-v11.x/docs/api/readline.html#readline_use_of_the_completer_function
|
|
||||||
*/
|
|
||||||
completer?: Completer | AsyncCompleter | undefined;
|
|
||||||
/**
|
|
||||||
* A flag that specifies whether the default evaluator executes all JavaScript commands in
|
|
||||||
* strict mode or default (sloppy) mode.
|
|
||||||
* Accepted values are:
|
|
||||||
* - `repl.REPL_MODE_SLOPPY` - evaluates expressions in sloppy mode.
|
|
||||||
* - `repl.REPL_MODE_STRICT` - evaluates expressions in strict mode. This is equivalent to
|
|
||||||
* prefacing every repl statement with `'use strict'`.
|
|
||||||
*/
|
|
||||||
replMode?: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT | undefined;
|
|
||||||
/**
|
|
||||||
* Stop evaluating the current piece of code when `SIGINT` is received, i.e. `Ctrl+C` is
|
|
||||||
* pressed. This cannot be used together with a custom `eval` function.
|
|
||||||
* Default: `false`.
|
|
||||||
*/
|
|
||||||
breakEvalOnSigint?: boolean | undefined;
|
|
||||||
}
|
|
||||||
type REPLEval = (this: REPLServer, evalCmd: string, context: Context, file: string, cb: (err: Error | null, result: any) => void) => void;
|
|
||||||
type REPLWriter = (this: REPLServer, obj: any) => string;
|
|
||||||
/**
|
|
||||||
* This is the default "writer" value, if none is passed in the REPL options,
|
|
||||||
* and it can be overridden by custom print functions.
|
|
||||||
*/
|
|
||||||
const writer: REPLWriter & {
|
|
||||||
options: InspectOptions;
|
|
||||||
};
|
|
||||||
type REPLCommandAction = (this: REPLServer, text: string) => void;
|
|
||||||
interface REPLCommand {
|
|
||||||
/**
|
|
||||||
* Help text to be displayed when `.help` is entered.
|
|
||||||
*/
|
|
||||||
help?: string | undefined;
|
|
||||||
/**
|
|
||||||
* The function to execute, optionally accepting a single string argument.
|
|
||||||
*/
|
|
||||||
action: REPLCommandAction;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Instances of `repl.REPLServer` are created using the {@link start} method
|
|
||||||
* or directly using the JavaScript `new` keyword.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const repl = require('repl');
|
|
||||||
*
|
|
||||||
* const options = { useColors: true };
|
|
||||||
*
|
|
||||||
* const firstInstance = repl.start(options);
|
|
||||||
* const secondInstance = new repl.REPLServer(options);
|
|
||||||
* ```
|
|
||||||
* @since v0.1.91
|
|
||||||
*/
|
|
||||||
class REPLServer extends Interface {
|
|
||||||
/**
|
|
||||||
* The `vm.Context` provided to the `eval` function to be used for JavaScript
|
|
||||||
* evaluation.
|
|
||||||
*/
|
|
||||||
readonly context: Context;
|
|
||||||
/**
|
|
||||||
* @deprecated since v14.3.0 - Use `input` instead.
|
|
||||||
*/
|
|
||||||
readonly inputStream: NodeJS.ReadableStream;
|
|
||||||
/**
|
|
||||||
* @deprecated since v14.3.0 - Use `output` instead.
|
|
||||||
*/
|
|
||||||
readonly outputStream: NodeJS.WritableStream;
|
|
||||||
/**
|
|
||||||
* The `Readable` stream from which REPL input will be read.
|
|
||||||
*/
|
|
||||||
readonly input: NodeJS.ReadableStream;
|
|
||||||
/**
|
|
||||||
* The `Writable` stream to which REPL output will be written.
|
|
||||||
*/
|
|
||||||
readonly output: NodeJS.WritableStream;
|
|
||||||
/**
|
|
||||||
* The commands registered via `replServer.defineCommand()`.
|
|
||||||
*/
|
|
||||||
readonly commands: NodeJS.ReadOnlyDict<REPLCommand>;
|
|
||||||
/**
|
|
||||||
* A value indicating whether the REPL is currently in "editor mode".
|
|
||||||
*
|
|
||||||
* @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_commands_and_special_keys
|
|
||||||
*/
|
|
||||||
readonly editorMode: boolean;
|
|
||||||
/**
|
|
||||||
* A value indicating whether the `_` variable has been assigned.
|
|
||||||
*
|
|
||||||
* @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
|
|
||||||
*/
|
|
||||||
readonly underscoreAssigned: boolean;
|
|
||||||
/**
|
|
||||||
* The last evaluation result from the REPL (assigned to the `_` variable inside of the REPL).
|
|
||||||
*
|
|
||||||
* @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
|
|
||||||
*/
|
|
||||||
readonly last: any;
|
|
||||||
/**
|
|
||||||
* A value indicating whether the `_error` variable has been assigned.
|
|
||||||
*
|
|
||||||
* @since v9.8.0
|
|
||||||
* @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
|
|
||||||
*/
|
|
||||||
readonly underscoreErrAssigned: boolean;
|
|
||||||
/**
|
|
||||||
* The last error raised inside the REPL (assigned to the `_error` variable inside of the REPL).
|
|
||||||
*
|
|
||||||
* @since v9.8.0
|
|
||||||
* @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_assignment_of_the_underscore_variable
|
|
||||||
*/
|
|
||||||
readonly lastError: any;
|
|
||||||
/**
|
|
||||||
* Specified in the REPL options, this is the function to be used when evaluating each
|
|
||||||
* given line of input. If not specified in the REPL options, this is an async wrapper
|
|
||||||
* for the JavaScript `eval()` function.
|
|
||||||
*/
|
|
||||||
readonly eval: REPLEval;
|
|
||||||
/**
|
|
||||||
* Specified in the REPL options, this is a value indicating whether the default
|
|
||||||
* `writer` function should include ANSI color styling to REPL output.
|
|
||||||
*/
|
|
||||||
readonly useColors: boolean;
|
|
||||||
/**
|
|
||||||
* Specified in the REPL options, this is a value indicating whether the default `eval`
|
|
||||||
* function will use the JavaScript `global` as the context as opposed to creating a new
|
|
||||||
* separate context for the REPL instance.
|
|
||||||
*/
|
|
||||||
readonly useGlobal: boolean;
|
|
||||||
/**
|
|
||||||
* Specified in the REPL options, this is a value indicating whether the default `writer`
|
|
||||||
* function should output the result of a command if it evaluates to `undefined`.
|
|
||||||
*/
|
|
||||||
readonly ignoreUndefined: boolean;
|
|
||||||
/**
|
|
||||||
* Specified in the REPL options, this is the function to invoke to format the output of
|
|
||||||
* each command before writing to `outputStream`. If not specified in the REPL options,
|
|
||||||
* this will be a wrapper for `util.inspect`.
|
|
||||||
*/
|
|
||||||
readonly writer: REPLWriter;
|
|
||||||
/**
|
|
||||||
* Specified in the REPL options, this is the function to use for custom Tab auto-completion.
|
|
||||||
*/
|
|
||||||
readonly completer: Completer | AsyncCompleter;
|
|
||||||
/**
|
|
||||||
* Specified in the REPL options, this is a flag that specifies whether the default `eval`
|
|
||||||
* function should execute all JavaScript commands in strict mode or default (sloppy) mode.
|
|
||||||
* Possible values are:
|
|
||||||
* - `repl.REPL_MODE_SLOPPY` - evaluates expressions in sloppy mode.
|
|
||||||
* - `repl.REPL_MODE_STRICT` - evaluates expressions in strict mode. This is equivalent to
|
|
||||||
* prefacing every repl statement with `'use strict'`.
|
|
||||||
*/
|
|
||||||
readonly replMode: typeof REPL_MODE_SLOPPY | typeof REPL_MODE_STRICT;
|
|
||||||
/**
|
|
||||||
* NOTE: According to the documentation:
|
|
||||||
*
|
|
||||||
* > Instances of `repl.REPLServer` are created using the `repl.start()` method and
|
|
||||||
* > _should not_ be created directly using the JavaScript `new` keyword.
|
|
||||||
*
|
|
||||||
* `REPLServer` cannot be subclassed due to implementation specifics in NodeJS.
|
|
||||||
*
|
|
||||||
* @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_class_replserver
|
|
||||||
*/
|
|
||||||
private constructor();
|
|
||||||
/**
|
|
||||||
* The `replServer.defineCommand()` method is used to add new `.`\-prefixed commands
|
|
||||||
* to the REPL instance. Such commands are invoked by typing a `.` followed by the`keyword`. The `cmd` is either a `Function` or an `Object` with the following
|
|
||||||
* properties:
|
|
||||||
*
|
|
||||||
* The following example shows two new commands added to the REPL instance:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const repl = require('repl');
|
|
||||||
*
|
|
||||||
* const replServer = repl.start({ prompt: '> ' });
|
|
||||||
* replServer.defineCommand('sayhello', {
|
|
||||||
* help: 'Say hello',
|
|
||||||
* action(name) {
|
|
||||||
* this.clearBufferedCommand();
|
|
||||||
* console.log(`Hello, ${name}!`);
|
|
||||||
* this.displayPrompt();
|
|
||||||
* }
|
|
||||||
* });
|
|
||||||
* replServer.defineCommand('saybye', function saybye() {
|
|
||||||
* console.log('Goodbye!');
|
|
||||||
* this.close();
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* The new commands can then be used from within the REPL instance:
|
|
||||||
*
|
|
||||||
* ```console
|
|
||||||
* > .sayhello Node.js User
|
|
||||||
* Hello, Node.js User!
|
|
||||||
* > .saybye
|
|
||||||
* Goodbye!
|
|
||||||
* ```
|
|
||||||
* @since v0.3.0
|
|
||||||
* @param keyword The command keyword (*without* a leading `.` character).
|
|
||||||
* @param cmd The function to invoke when the command is processed.
|
|
||||||
*/
|
|
||||||
defineCommand(keyword: string, cmd: REPLCommandAction | REPLCommand): void;
|
|
||||||
/**
|
|
||||||
* The `replServer.displayPrompt()` method readies the REPL instance for input
|
|
||||||
* from the user, printing the configured `prompt` to a new line in the `output`and resuming the `input` to accept new input.
|
|
||||||
*
|
|
||||||
* When multi-line input is being entered, an ellipsis is printed rather than the
|
|
||||||
* 'prompt'.
|
|
||||||
*
|
|
||||||
* When `preserveCursor` is `true`, the cursor placement will not be reset to `0`.
|
|
||||||
*
|
|
||||||
* The `replServer.displayPrompt` method is primarily intended to be called from
|
|
||||||
* within the action function for commands registered using the`replServer.defineCommand()` method.
|
|
||||||
* @since v0.1.91
|
|
||||||
*/
|
|
||||||
displayPrompt(preserveCursor?: boolean): void;
|
|
||||||
/**
|
|
||||||
* The `replServer.clearBufferedCommand()` method clears any command that has been
|
|
||||||
* buffered but not yet executed. This method is primarily intended to be
|
|
||||||
* called from within the action function for commands registered using the`replServer.defineCommand()` method.
|
|
||||||
* @since v9.0.0
|
|
||||||
*/
|
|
||||||
clearBufferedCommand(): void;
|
|
||||||
/**
|
|
||||||
* Initializes a history log file for the REPL instance. When executing the
|
|
||||||
* Node.js binary and using the command-line REPL, a history file is initialized
|
|
||||||
* by default. However, this is not the case when creating a REPL
|
|
||||||
* programmatically. Use this method to initialize a history log file when working
|
|
||||||
* with REPL instances programmatically.
|
|
||||||
* @since v11.10.0
|
|
||||||
* @param historyPath the path to the history file
|
|
||||||
* @param callback called when history writes are ready or upon error
|
|
||||||
*/
|
|
||||||
setupHistory(path: string, callback: (err: Error | null, repl: this) => void): void;
|
|
||||||
/**
|
|
||||||
* events.EventEmitter
|
|
||||||
* 1. close - inherited from `readline.Interface`
|
|
||||||
* 2. line - inherited from `readline.Interface`
|
|
||||||
* 3. pause - inherited from `readline.Interface`
|
|
||||||
* 4. resume - inherited from `readline.Interface`
|
|
||||||
* 5. SIGCONT - inherited from `readline.Interface`
|
|
||||||
* 6. SIGINT - inherited from `readline.Interface`
|
|
||||||
* 7. SIGTSTP - inherited from `readline.Interface`
|
|
||||||
* 8. exit
|
|
||||||
* 9. reset
|
|
||||||
*/
|
|
||||||
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
addListener(event: 'close', listener: () => void): this;
|
|
||||||
addListener(event: 'line', listener: (input: string) => void): this;
|
|
||||||
addListener(event: 'pause', listener: () => void): this;
|
|
||||||
addListener(event: 'resume', listener: () => void): this;
|
|
||||||
addListener(event: 'SIGCONT', listener: () => void): this;
|
|
||||||
addListener(event: 'SIGINT', listener: () => void): this;
|
|
||||||
addListener(event: 'SIGTSTP', listener: () => void): this;
|
|
||||||
addListener(event: 'exit', listener: () => void): this;
|
|
||||||
addListener(event: 'reset', listener: (context: Context) => void): this;
|
|
||||||
emit(event: string | symbol, ...args: any[]): boolean;
|
|
||||||
emit(event: 'close'): boolean;
|
|
||||||
emit(event: 'line', input: string): boolean;
|
|
||||||
emit(event: 'pause'): boolean;
|
|
||||||
emit(event: 'resume'): boolean;
|
|
||||||
emit(event: 'SIGCONT'): boolean;
|
|
||||||
emit(event: 'SIGINT'): boolean;
|
|
||||||
emit(event: 'SIGTSTP'): boolean;
|
|
||||||
emit(event: 'exit'): boolean;
|
|
||||||
emit(event: 'reset', context: Context): boolean;
|
|
||||||
on(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
on(event: 'close', listener: () => void): this;
|
|
||||||
on(event: 'line', listener: (input: string) => void): this;
|
|
||||||
on(event: 'pause', listener: () => void): this;
|
|
||||||
on(event: 'resume', listener: () => void): this;
|
|
||||||
on(event: 'SIGCONT', listener: () => void): this;
|
|
||||||
on(event: 'SIGINT', listener: () => void): this;
|
|
||||||
on(event: 'SIGTSTP', listener: () => void): this;
|
|
||||||
on(event: 'exit', listener: () => void): this;
|
|
||||||
on(event: 'reset', listener: (context: Context) => void): this;
|
|
||||||
once(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
once(event: 'close', listener: () => void): this;
|
|
||||||
once(event: 'line', listener: (input: string) => void): this;
|
|
||||||
once(event: 'pause', listener: () => void): this;
|
|
||||||
once(event: 'resume', listener: () => void): this;
|
|
||||||
once(event: 'SIGCONT', listener: () => void): this;
|
|
||||||
once(event: 'SIGINT', listener: () => void): this;
|
|
||||||
once(event: 'SIGTSTP', listener: () => void): this;
|
|
||||||
once(event: 'exit', listener: () => void): this;
|
|
||||||
once(event: 'reset', listener: (context: Context) => void): this;
|
|
||||||
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
prependListener(event: 'close', listener: () => void): this;
|
|
||||||
prependListener(event: 'line', listener: (input: string) => void): this;
|
|
||||||
prependListener(event: 'pause', listener: () => void): this;
|
|
||||||
prependListener(event: 'resume', listener: () => void): this;
|
|
||||||
prependListener(event: 'SIGCONT', listener: () => void): this;
|
|
||||||
prependListener(event: 'SIGINT', listener: () => void): this;
|
|
||||||
prependListener(event: 'SIGTSTP', listener: () => void): this;
|
|
||||||
prependListener(event: 'exit', listener: () => void): this;
|
|
||||||
prependListener(event: 'reset', listener: (context: Context) => void): this;
|
|
||||||
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
prependOnceListener(event: 'close', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'line', listener: (input: string) => void): this;
|
|
||||||
prependOnceListener(event: 'pause', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'resume', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'SIGCONT', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'SIGINT', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'SIGTSTP', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'exit', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'reset', listener: (context: Context) => void): this;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* A flag passed in the REPL options. Evaluates expressions in sloppy mode.
|
|
||||||
*/
|
|
||||||
const REPL_MODE_SLOPPY: unique symbol;
|
|
||||||
/**
|
|
||||||
* A flag passed in the REPL options. Evaluates expressions in strict mode.
|
|
||||||
* This is equivalent to prefacing every repl statement with `'use strict'`.
|
|
||||||
*/
|
|
||||||
const REPL_MODE_STRICT: unique symbol;
|
|
||||||
/**
|
|
||||||
* The `repl.start()` method creates and starts a {@link REPLServer} instance.
|
|
||||||
*
|
|
||||||
* If `options` is a string, then it specifies the input prompt:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const repl = require('repl');
|
|
||||||
*
|
|
||||||
* // a Unix style prompt
|
|
||||||
* repl.start('$ ');
|
|
||||||
* ```
|
|
||||||
* @since v0.1.91
|
|
||||||
*/
|
|
||||||
function start(options?: string | ReplOptions): REPLServer;
|
|
||||||
/**
|
|
||||||
* Indicates a recoverable error that a `REPLServer` can use to support multi-line input.
|
|
||||||
*
|
|
||||||
* @see https://nodejs.org/dist/latest-v10.x/docs/api/repl.html#repl_recoverable_errors
|
|
||||||
*/
|
|
||||||
class Recoverable extends SyntaxError {
|
|
||||||
err: Error;
|
|
||||||
constructor(err: Error);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
declare module 'node:repl' {
|
|
||||||
export * from 'repl';
|
|
||||||
}
|
|
||||||
1249
Websites/Jefes/Backend/node_modules/@types/node/stream.d.ts
generated
vendored
1249
Websites/Jefes/Backend/node_modules/@types/node/stream.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
24
Websites/Jefes/Backend/node_modules/@types/node/stream/consumers.d.ts
generated
vendored
24
Websites/Jefes/Backend/node_modules/@types/node/stream/consumers.d.ts
generated
vendored
@ -1,24 +0,0 @@
|
|||||||
// Duplicates of interface in lib.dom.ts.
|
|
||||||
// Duplicated here rather than referencing lib.dom.ts because doing so causes lib.dom.ts to be loaded for "test-all"
|
|
||||||
// Which in turn causes tests to pass that shouldn't pass.
|
|
||||||
//
|
|
||||||
// This interface is not, and should not be, exported.
|
|
||||||
interface Blob {
|
|
||||||
readonly size: number;
|
|
||||||
readonly type: string;
|
|
||||||
arrayBuffer(): Promise<ArrayBuffer>;
|
|
||||||
slice(start?: number, end?: number, contentType?: string): Blob;
|
|
||||||
stream(): NodeJS.ReadableStream;
|
|
||||||
text(): Promise<string>;
|
|
||||||
}
|
|
||||||
declare module 'stream/consumers' {
|
|
||||||
import { Readable } from 'node:stream';
|
|
||||||
function buffer(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<Buffer>;
|
|
||||||
function text(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<string>;
|
|
||||||
function arrayBuffer(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<ArrayBuffer>;
|
|
||||||
function blob(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<Blob>;
|
|
||||||
function json(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<unknown>;
|
|
||||||
}
|
|
||||||
declare module 'node:stream/consumers' {
|
|
||||||
export * from 'stream/consumers';
|
|
||||||
}
|
|
||||||
42
Websites/Jefes/Backend/node_modules/@types/node/stream/promises.d.ts
generated
vendored
42
Websites/Jefes/Backend/node_modules/@types/node/stream/promises.d.ts
generated
vendored
@ -1,42 +0,0 @@
|
|||||||
declare module 'stream/promises' {
|
|
||||||
import { FinishedOptions, PipelineSource, PipelineTransform, PipelineDestination, PipelinePromise, PipelineOptions } from 'node:stream';
|
|
||||||
function finished(stream: NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream, options?: FinishedOptions): Promise<void>;
|
|
||||||
function pipeline<A extends PipelineSource<any>, B extends PipelineDestination<A, any>>(source: A, destination: B, options?: PipelineOptions): PipelinePromise<B>;
|
|
||||||
function pipeline<A extends PipelineSource<any>, T1 extends PipelineTransform<A, any>, B extends PipelineDestination<T1, any>>(
|
|
||||||
source: A,
|
|
||||||
transform1: T1,
|
|
||||||
destination: B,
|
|
||||||
options?: PipelineOptions
|
|
||||||
): PipelinePromise<B>;
|
|
||||||
function pipeline<A extends PipelineSource<any>, T1 extends PipelineTransform<A, any>, T2 extends PipelineTransform<T1, any>, B extends PipelineDestination<T2, any>>(
|
|
||||||
source: A,
|
|
||||||
transform1: T1,
|
|
||||||
transform2: T2,
|
|
||||||
destination: B,
|
|
||||||
options?: PipelineOptions
|
|
||||||
): PipelinePromise<B>;
|
|
||||||
function pipeline<
|
|
||||||
A extends PipelineSource<any>,
|
|
||||||
T1 extends PipelineTransform<A, any>,
|
|
||||||
T2 extends PipelineTransform<T1, any>,
|
|
||||||
T3 extends PipelineTransform<T2, any>,
|
|
||||||
B extends PipelineDestination<T3, any>
|
|
||||||
>(source: A, transform1: T1, transform2: T2, transform3: T3, destination: B, options?: PipelineOptions): PipelinePromise<B>;
|
|
||||||
function pipeline<
|
|
||||||
A extends PipelineSource<any>,
|
|
||||||
T1 extends PipelineTransform<A, any>,
|
|
||||||
T2 extends PipelineTransform<T1, any>,
|
|
||||||
T3 extends PipelineTransform<T2, any>,
|
|
||||||
T4 extends PipelineTransform<T3, any>,
|
|
||||||
B extends PipelineDestination<T4, any>
|
|
||||||
>(source: A, transform1: T1, transform2: T2, transform3: T3, transform4: T4, destination: B, options?: PipelineOptions): PipelinePromise<B>;
|
|
||||||
function pipeline(streams: ReadonlyArray<NodeJS.ReadableStream | NodeJS.WritableStream | NodeJS.ReadWriteStream>, options?: PipelineOptions): Promise<void>;
|
|
||||||
function pipeline(
|
|
||||||
stream1: NodeJS.ReadableStream,
|
|
||||||
stream2: NodeJS.ReadWriteStream | NodeJS.WritableStream,
|
|
||||||
...streams: Array<NodeJS.ReadWriteStream | NodeJS.WritableStream | PipelineOptions>
|
|
||||||
): Promise<void>;
|
|
||||||
}
|
|
||||||
declare module 'node:stream/promises' {
|
|
||||||
export * from 'stream/promises';
|
|
||||||
}
|
|
||||||
330
Websites/Jefes/Backend/node_modules/@types/node/stream/web.d.ts
generated
vendored
330
Websites/Jefes/Backend/node_modules/@types/node/stream/web.d.ts
generated
vendored
@ -1,330 +0,0 @@
|
|||||||
declare module 'stream/web' {
|
|
||||||
// stub module, pending copy&paste from .d.ts or manual impl
|
|
||||||
// copy from lib.dom.d.ts
|
|
||||||
interface ReadableWritablePair<R = any, W = any> {
|
|
||||||
readable: ReadableStream<R>;
|
|
||||||
/**
|
|
||||||
* Provides a convenient, chainable way of piping this readable stream
|
|
||||||
* through a transform stream (or any other { writable, readable }
|
|
||||||
* pair). It simply pipes the stream into the writable side of the
|
|
||||||
* supplied pair, and returns the readable side for further use.
|
|
||||||
*
|
|
||||||
* Piping a stream will lock it for the duration of the pipe, preventing
|
|
||||||
* any other consumer from acquiring a reader.
|
|
||||||
*/
|
|
||||||
writable: WritableStream<W>;
|
|
||||||
}
|
|
||||||
interface StreamPipeOptions {
|
|
||||||
preventAbort?: boolean;
|
|
||||||
preventCancel?: boolean;
|
|
||||||
/**
|
|
||||||
* Pipes this readable stream to a given writable stream destination.
|
|
||||||
* The way in which the piping process behaves under various error
|
|
||||||
* conditions can be customized with a number of passed options. It
|
|
||||||
* returns a promise that fulfills when the piping process completes
|
|
||||||
* successfully, or rejects if any errors were encountered.
|
|
||||||
*
|
|
||||||
* Piping a stream will lock it for the duration of the pipe, preventing
|
|
||||||
* any other consumer from acquiring a reader.
|
|
||||||
*
|
|
||||||
* Errors and closures of the source and destination streams propagate
|
|
||||||
* as follows:
|
|
||||||
*
|
|
||||||
* An error in this source readable stream will abort destination,
|
|
||||||
* unless preventAbort is truthy. The returned promise will be rejected
|
|
||||||
* with the source's error, or with any error that occurs during
|
|
||||||
* aborting the destination.
|
|
||||||
*
|
|
||||||
* An error in destination will cancel this source readable stream,
|
|
||||||
* unless preventCancel is truthy. The returned promise will be rejected
|
|
||||||
* with the destination's error, or with any error that occurs during
|
|
||||||
* canceling the source.
|
|
||||||
*
|
|
||||||
* When this source readable stream closes, destination will be closed,
|
|
||||||
* unless preventClose is truthy. The returned promise will be fulfilled
|
|
||||||
* once this process completes, unless an error is encountered while
|
|
||||||
* closing the destination, in which case it will be rejected with that
|
|
||||||
* error.
|
|
||||||
*
|
|
||||||
* If destination starts out closed or closing, this source readable
|
|
||||||
* stream will be canceled, unless preventCancel is true. The returned
|
|
||||||
* promise will be rejected with an error indicating piping to a closed
|
|
||||||
* stream failed, or with any error that occurs during canceling the
|
|
||||||
* source.
|
|
||||||
*
|
|
||||||
* The signal option can be set to an AbortSignal to allow aborting an
|
|
||||||
* ongoing pipe operation via the corresponding AbortController. In this
|
|
||||||
* case, this source readable stream will be canceled, and destination
|
|
||||||
* aborted, unless the respective options preventCancel or preventAbort
|
|
||||||
* are set.
|
|
||||||
*/
|
|
||||||
preventClose?: boolean;
|
|
||||||
signal?: AbortSignal;
|
|
||||||
}
|
|
||||||
interface ReadableStreamGenericReader {
|
|
||||||
readonly closed: Promise<undefined>;
|
|
||||||
cancel(reason?: any): Promise<void>;
|
|
||||||
}
|
|
||||||
interface ReadableStreamDefaultReadValueResult<T> {
|
|
||||||
done: false;
|
|
||||||
value: T;
|
|
||||||
}
|
|
||||||
interface ReadableStreamDefaultReadDoneResult {
|
|
||||||
done: true;
|
|
||||||
value?: undefined;
|
|
||||||
}
|
|
||||||
type ReadableStreamController<T> = ReadableStreamDefaultController<T>;
|
|
||||||
type ReadableStreamDefaultReadResult<T> = ReadableStreamDefaultReadValueResult<T> | ReadableStreamDefaultReadDoneResult;
|
|
||||||
interface ReadableByteStreamControllerCallback {
|
|
||||||
(controller: ReadableByteStreamController): void | PromiseLike<void>;
|
|
||||||
}
|
|
||||||
interface UnderlyingSinkAbortCallback {
|
|
||||||
(reason?: any): void | PromiseLike<void>;
|
|
||||||
}
|
|
||||||
interface UnderlyingSinkCloseCallback {
|
|
||||||
(): void | PromiseLike<void>;
|
|
||||||
}
|
|
||||||
interface UnderlyingSinkStartCallback {
|
|
||||||
(controller: WritableStreamDefaultController): any;
|
|
||||||
}
|
|
||||||
interface UnderlyingSinkWriteCallback<W> {
|
|
||||||
(chunk: W, controller: WritableStreamDefaultController): void | PromiseLike<void>;
|
|
||||||
}
|
|
||||||
interface UnderlyingSourceCancelCallback {
|
|
||||||
(reason?: any): void | PromiseLike<void>;
|
|
||||||
}
|
|
||||||
interface UnderlyingSourcePullCallback<R> {
|
|
||||||
(controller: ReadableStreamController<R>): void | PromiseLike<void>;
|
|
||||||
}
|
|
||||||
interface UnderlyingSourceStartCallback<R> {
|
|
||||||
(controller: ReadableStreamController<R>): any;
|
|
||||||
}
|
|
||||||
interface TransformerFlushCallback<O> {
|
|
||||||
(controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;
|
|
||||||
}
|
|
||||||
interface TransformerStartCallback<O> {
|
|
||||||
(controller: TransformStreamDefaultController<O>): any;
|
|
||||||
}
|
|
||||||
interface TransformerTransformCallback<I, O> {
|
|
||||||
(chunk: I, controller: TransformStreamDefaultController<O>): void | PromiseLike<void>;
|
|
||||||
}
|
|
||||||
interface UnderlyingByteSource {
|
|
||||||
autoAllocateChunkSize?: number;
|
|
||||||
cancel?: ReadableStreamErrorCallback;
|
|
||||||
pull?: ReadableByteStreamControllerCallback;
|
|
||||||
start?: ReadableByteStreamControllerCallback;
|
|
||||||
type: 'bytes';
|
|
||||||
}
|
|
||||||
interface UnderlyingSource<R = any> {
|
|
||||||
cancel?: UnderlyingSourceCancelCallback;
|
|
||||||
pull?: UnderlyingSourcePullCallback<R>;
|
|
||||||
start?: UnderlyingSourceStartCallback<R>;
|
|
||||||
type?: undefined;
|
|
||||||
}
|
|
||||||
interface UnderlyingSink<W = any> {
|
|
||||||
abort?: UnderlyingSinkAbortCallback;
|
|
||||||
close?: UnderlyingSinkCloseCallback;
|
|
||||||
start?: UnderlyingSinkStartCallback;
|
|
||||||
type?: undefined;
|
|
||||||
write?: UnderlyingSinkWriteCallback<W>;
|
|
||||||
}
|
|
||||||
interface ReadableStreamErrorCallback {
|
|
||||||
(reason: any): void | PromiseLike<void>;
|
|
||||||
}
|
|
||||||
/** This Streams API interface represents a readable stream of byte data. */
|
|
||||||
interface ReadableStream<R = any> {
|
|
||||||
readonly locked: boolean;
|
|
||||||
cancel(reason?: any): Promise<void>;
|
|
||||||
getReader(): ReadableStreamDefaultReader<R>;
|
|
||||||
pipeThrough<T>(transform: ReadableWritablePair<T, R>, options?: StreamPipeOptions): ReadableStream<T>;
|
|
||||||
pipeTo(destination: WritableStream<R>, options?: StreamPipeOptions): Promise<void>;
|
|
||||||
tee(): [ReadableStream<R>, ReadableStream<R>];
|
|
||||||
values(options?: { preventCancel?: boolean }): AsyncIterableIterator<R>;
|
|
||||||
[Symbol.asyncIterator](): AsyncIterableIterator<R>;
|
|
||||||
}
|
|
||||||
const ReadableStream: {
|
|
||||||
prototype: ReadableStream;
|
|
||||||
new (underlyingSource: UnderlyingByteSource, strategy?: QueuingStrategy<Uint8Array>): ReadableStream<Uint8Array>;
|
|
||||||
new <R = any>(underlyingSource?: UnderlyingSource<R>, strategy?: QueuingStrategy<R>): ReadableStream<R>;
|
|
||||||
};
|
|
||||||
interface ReadableStreamDefaultReader<R = any> extends ReadableStreamGenericReader {
|
|
||||||
read(): Promise<ReadableStreamDefaultReadResult<R>>;
|
|
||||||
releaseLock(): void;
|
|
||||||
}
|
|
||||||
const ReadableStreamDefaultReader: {
|
|
||||||
prototype: ReadableStreamDefaultReader;
|
|
||||||
new <R = any>(stream: ReadableStream<R>): ReadableStreamDefaultReader<R>;
|
|
||||||
};
|
|
||||||
const ReadableStreamBYOBReader: any;
|
|
||||||
const ReadableStreamBYOBRequest: any;
|
|
||||||
interface ReadableByteStreamController {
|
|
||||||
readonly byobRequest: undefined;
|
|
||||||
readonly desiredSize: number | null;
|
|
||||||
close(): void;
|
|
||||||
enqueue(chunk: ArrayBufferView): void;
|
|
||||||
error(error?: any): void;
|
|
||||||
}
|
|
||||||
const ReadableByteStreamController: {
|
|
||||||
prototype: ReadableByteStreamController;
|
|
||||||
new (): ReadableByteStreamController;
|
|
||||||
};
|
|
||||||
interface ReadableStreamDefaultController<R = any> {
|
|
||||||
readonly desiredSize: number | null;
|
|
||||||
close(): void;
|
|
||||||
enqueue(chunk?: R): void;
|
|
||||||
error(e?: any): void;
|
|
||||||
}
|
|
||||||
const ReadableStreamDefaultController: {
|
|
||||||
prototype: ReadableStreamDefaultController;
|
|
||||||
new (): ReadableStreamDefaultController;
|
|
||||||
};
|
|
||||||
interface Transformer<I = any, O = any> {
|
|
||||||
flush?: TransformerFlushCallback<O>;
|
|
||||||
readableType?: undefined;
|
|
||||||
start?: TransformerStartCallback<O>;
|
|
||||||
transform?: TransformerTransformCallback<I, O>;
|
|
||||||
writableType?: undefined;
|
|
||||||
}
|
|
||||||
interface TransformStream<I = any, O = any> {
|
|
||||||
readonly readable: ReadableStream<O>;
|
|
||||||
readonly writable: WritableStream<I>;
|
|
||||||
}
|
|
||||||
const TransformStream: {
|
|
||||||
prototype: TransformStream;
|
|
||||||
new <I = any, O = any>(transformer?: Transformer<I, O>, writableStrategy?: QueuingStrategy<I>, readableStrategy?: QueuingStrategy<O>): TransformStream<I, O>;
|
|
||||||
};
|
|
||||||
interface TransformStreamDefaultController<O = any> {
|
|
||||||
readonly desiredSize: number | null;
|
|
||||||
enqueue(chunk?: O): void;
|
|
||||||
error(reason?: any): void;
|
|
||||||
terminate(): void;
|
|
||||||
}
|
|
||||||
const TransformStreamDefaultController: {
|
|
||||||
prototype: TransformStreamDefaultController;
|
|
||||||
new (): TransformStreamDefaultController;
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* This Streams API interface provides a standard abstraction for writing
|
|
||||||
* streaming data to a destination, known as a sink. This object comes with
|
|
||||||
* built-in back pressure and queuing.
|
|
||||||
*/
|
|
||||||
interface WritableStream<W = any> {
|
|
||||||
readonly locked: boolean;
|
|
||||||
abort(reason?: any): Promise<void>;
|
|
||||||
close(): Promise<void>;
|
|
||||||
getWriter(): WritableStreamDefaultWriter<W>;
|
|
||||||
}
|
|
||||||
const WritableStream: {
|
|
||||||
prototype: WritableStream;
|
|
||||||
new <W = any>(underlyingSink?: UnderlyingSink<W>, strategy?: QueuingStrategy<W>): WritableStream<W>;
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* This Streams API interface is the object returned by
|
|
||||||
* WritableStream.getWriter() and once created locks the < writer to the
|
|
||||||
* WritableStream ensuring that no other streams can write to the underlying
|
|
||||||
* sink.
|
|
||||||
*/
|
|
||||||
interface WritableStreamDefaultWriter<W = any> {
|
|
||||||
readonly closed: Promise<undefined>;
|
|
||||||
readonly desiredSize: number | null;
|
|
||||||
readonly ready: Promise<undefined>;
|
|
||||||
abort(reason?: any): Promise<void>;
|
|
||||||
close(): Promise<void>;
|
|
||||||
releaseLock(): void;
|
|
||||||
write(chunk?: W): Promise<void>;
|
|
||||||
}
|
|
||||||
const WritableStreamDefaultWriter: {
|
|
||||||
prototype: WritableStreamDefaultWriter;
|
|
||||||
new <W = any>(stream: WritableStream<W>): WritableStreamDefaultWriter<W>;
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* This Streams API interface represents a controller allowing control of a
|
|
||||||
* WritableStream's state. When constructing a WritableStream, the
|
|
||||||
* underlying sink is given a corresponding WritableStreamDefaultController
|
|
||||||
* instance to manipulate.
|
|
||||||
*/
|
|
||||||
interface WritableStreamDefaultController {
|
|
||||||
error(e?: any): void;
|
|
||||||
}
|
|
||||||
const WritableStreamDefaultController: {
|
|
||||||
prototype: WritableStreamDefaultController;
|
|
||||||
new (): WritableStreamDefaultController;
|
|
||||||
};
|
|
||||||
interface QueuingStrategy<T = any> {
|
|
||||||
highWaterMark?: number;
|
|
||||||
size?: QueuingStrategySize<T>;
|
|
||||||
}
|
|
||||||
interface QueuingStrategySize<T = any> {
|
|
||||||
(chunk?: T): number;
|
|
||||||
}
|
|
||||||
interface QueuingStrategyInit {
|
|
||||||
/**
|
|
||||||
* Creates a new ByteLengthQueuingStrategy with the provided high water
|
|
||||||
* mark.
|
|
||||||
*
|
|
||||||
* Note that the provided high water mark will not be validated ahead of
|
|
||||||
* time. Instead, if it is negative, NaN, or not a number, the resulting
|
|
||||||
* ByteLengthQueuingStrategy will cause the corresponding stream
|
|
||||||
* constructor to throw.
|
|
||||||
*/
|
|
||||||
highWaterMark: number;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* This Streams API interface provides a built-in byte length queuing
|
|
||||||
* strategy that can be used when constructing streams.
|
|
||||||
*/
|
|
||||||
interface ByteLengthQueuingStrategy extends QueuingStrategy<ArrayBufferView> {
|
|
||||||
readonly highWaterMark: number;
|
|
||||||
readonly size: QueuingStrategySize<ArrayBufferView>;
|
|
||||||
}
|
|
||||||
const ByteLengthQueuingStrategy: {
|
|
||||||
prototype: ByteLengthQueuingStrategy;
|
|
||||||
new (init: QueuingStrategyInit): ByteLengthQueuingStrategy;
|
|
||||||
};
|
|
||||||
/**
|
|
||||||
* This Streams API interface provides a built-in byte length queuing
|
|
||||||
* strategy that can be used when constructing streams.
|
|
||||||
*/
|
|
||||||
interface CountQueuingStrategy extends QueuingStrategy {
|
|
||||||
readonly highWaterMark: number;
|
|
||||||
readonly size: QueuingStrategySize;
|
|
||||||
}
|
|
||||||
const CountQueuingStrategy: {
|
|
||||||
prototype: CountQueuingStrategy;
|
|
||||||
new (init: QueuingStrategyInit): CountQueuingStrategy;
|
|
||||||
};
|
|
||||||
interface TextEncoderStream {
|
|
||||||
/** Returns "utf-8". */
|
|
||||||
readonly encoding: 'utf-8';
|
|
||||||
readonly readable: ReadableStream<Uint8Array>;
|
|
||||||
readonly writable: WritableStream<string>;
|
|
||||||
readonly [Symbol.toStringTag]: string;
|
|
||||||
}
|
|
||||||
const TextEncoderStream: {
|
|
||||||
prototype: TextEncoderStream;
|
|
||||||
new (): TextEncoderStream;
|
|
||||||
};
|
|
||||||
interface TextDecoderOptions {
|
|
||||||
fatal?: boolean;
|
|
||||||
ignoreBOM?: boolean;
|
|
||||||
}
|
|
||||||
type BufferSource = ArrayBufferView | ArrayBuffer;
|
|
||||||
interface TextDecoderStream {
|
|
||||||
/** Returns encoding's name, lower cased. */
|
|
||||||
readonly encoding: string;
|
|
||||||
/** Returns `true` if error mode is "fatal", and `false` otherwise. */
|
|
||||||
readonly fatal: boolean;
|
|
||||||
/** Returns `true` if ignore BOM flag is set, and `false` otherwise. */
|
|
||||||
readonly ignoreBOM: boolean;
|
|
||||||
readonly readable: ReadableStream<string>;
|
|
||||||
readonly writable: WritableStream<BufferSource>;
|
|
||||||
readonly [Symbol.toStringTag]: string;
|
|
||||||
}
|
|
||||||
const TextDecoderStream: {
|
|
||||||
prototype: TextDecoderStream;
|
|
||||||
new (label?: string, options?: TextDecoderOptions): TextDecoderStream;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
declare module 'node:stream/web' {
|
|
||||||
export * from 'stream/web';
|
|
||||||
}
|
|
||||||
67
Websites/Jefes/Backend/node_modules/@types/node/string_decoder.d.ts
generated
vendored
67
Websites/Jefes/Backend/node_modules/@types/node/string_decoder.d.ts
generated
vendored
@ -1,67 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `string_decoder` module provides an API for decoding `Buffer` objects into
|
|
||||||
* strings in a manner that preserves encoded multi-byte UTF-8 and UTF-16
|
|
||||||
* characters. It can be accessed using:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { StringDecoder } = require('string_decoder');
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* The following example shows the basic use of the `StringDecoder` class.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { StringDecoder } = require('string_decoder');
|
|
||||||
* const decoder = new StringDecoder('utf8');
|
|
||||||
*
|
|
||||||
* const cent = Buffer.from([0xC2, 0xA2]);
|
|
||||||
* console.log(decoder.write(cent));
|
|
||||||
*
|
|
||||||
* const euro = Buffer.from([0xE2, 0x82, 0xAC]);
|
|
||||||
* console.log(decoder.write(euro));
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* When a `Buffer` instance is written to the `StringDecoder` instance, an
|
|
||||||
* internal buffer is used to ensure that the decoded string does not contain
|
|
||||||
* any incomplete multibyte characters. These are held in the buffer until the
|
|
||||||
* next call to `stringDecoder.write()` or until `stringDecoder.end()` is called.
|
|
||||||
*
|
|
||||||
* In the following example, the three UTF-8 encoded bytes of the European Euro
|
|
||||||
* symbol (`€`) are written over three separate operations:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { StringDecoder } = require('string_decoder');
|
|
||||||
* const decoder = new StringDecoder('utf8');
|
|
||||||
*
|
|
||||||
* decoder.write(Buffer.from([0xE2]));
|
|
||||||
* decoder.write(Buffer.from([0x82]));
|
|
||||||
* console.log(decoder.end(Buffer.from([0xAC])));
|
|
||||||
* ```
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/string_decoder.js)
|
|
||||||
*/
|
|
||||||
declare module 'string_decoder' {
|
|
||||||
class StringDecoder {
|
|
||||||
constructor(encoding?: BufferEncoding);
|
|
||||||
/**
|
|
||||||
* Returns a decoded string, ensuring that any incomplete multibyte characters at
|
|
||||||
* the end of the `Buffer`, or `TypedArray`, or `DataView` are omitted from the
|
|
||||||
* returned string and stored in an internal buffer for the next call to`stringDecoder.write()` or `stringDecoder.end()`.
|
|
||||||
* @since v0.1.99
|
|
||||||
* @param buffer A `Buffer`, or `TypedArray`, or `DataView` containing the bytes to decode.
|
|
||||||
*/
|
|
||||||
write(buffer: Buffer): string;
|
|
||||||
/**
|
|
||||||
* Returns any remaining input stored in the internal buffer as a string. Bytes
|
|
||||||
* representing incomplete UTF-8 and UTF-16 characters will be replaced with
|
|
||||||
* substitution characters appropriate for the character encoding.
|
|
||||||
*
|
|
||||||
* If the `buffer` argument is provided, one final call to `stringDecoder.write()`is performed before returning the remaining input.
|
|
||||||
* After `end()` is called, the `stringDecoder` object can be reused for new input.
|
|
||||||
* @since v0.9.3
|
|
||||||
* @param buffer A `Buffer`, or `TypedArray`, or `DataView` containing the bytes to decode.
|
|
||||||
*/
|
|
||||||
end(buffer?: Buffer): string;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
declare module 'node:string_decoder' {
|
|
||||||
export * from 'string_decoder';
|
|
||||||
}
|
|
||||||
94
Websites/Jefes/Backend/node_modules/@types/node/timers.d.ts
generated
vendored
94
Websites/Jefes/Backend/node_modules/@types/node/timers.d.ts
generated
vendored
@ -1,94 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `timer` module exposes a global API for scheduling functions to
|
|
||||||
* be called at some future period of time. Because the timer functions are
|
|
||||||
* globals, there is no need to call `require('timers')` to use the API.
|
|
||||||
*
|
|
||||||
* The timer functions within Node.js implement a similar API as the timers API
|
|
||||||
* provided by Web Browsers but use a different internal implementation that is
|
|
||||||
* built around the Node.js [Event Loop](https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/#setimmediate-vs-settimeout).
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/timers.js)
|
|
||||||
*/
|
|
||||||
declare module 'timers' {
|
|
||||||
import { Abortable } from 'node:events';
|
|
||||||
import { setTimeout as setTimeoutPromise, setImmediate as setImmediatePromise, setInterval as setIntervalPromise } from 'node:timers/promises';
|
|
||||||
interface TimerOptions extends Abortable {
|
|
||||||
/**
|
|
||||||
* Set to `false` to indicate that the scheduled `Timeout`
|
|
||||||
* should not require the Node.js event loop to remain active.
|
|
||||||
* @default true
|
|
||||||
*/
|
|
||||||
ref?: boolean | undefined;
|
|
||||||
}
|
|
||||||
let setTimeout: typeof global.setTimeout;
|
|
||||||
let clearTimeout: typeof global.clearTimeout;
|
|
||||||
let setInterval: typeof global.setInterval;
|
|
||||||
let clearInterval: typeof global.clearInterval;
|
|
||||||
let setImmediate: typeof global.setImmediate;
|
|
||||||
let clearImmediate: typeof global.clearImmediate;
|
|
||||||
global {
|
|
||||||
namespace NodeJS {
|
|
||||||
// compatibility with older typings
|
|
||||||
interface Timer extends RefCounted {
|
|
||||||
hasRef(): boolean;
|
|
||||||
refresh(): this;
|
|
||||||
[Symbol.toPrimitive](): number;
|
|
||||||
}
|
|
||||||
interface Immediate extends RefCounted {
|
|
||||||
/**
|
|
||||||
* If true, the `Immediate` object will keep the Node.js event loop active.
|
|
||||||
* @since v11.0.0
|
|
||||||
*/
|
|
||||||
hasRef(): boolean;
|
|
||||||
_onImmediate: Function; // to distinguish it from the Timeout class
|
|
||||||
}
|
|
||||||
interface Timeout extends Timer {
|
|
||||||
/**
|
|
||||||
* If true, the `Timeout` object will keep the Node.js event loop active.
|
|
||||||
* @since v11.0.0
|
|
||||||
*/
|
|
||||||
hasRef(): boolean;
|
|
||||||
/**
|
|
||||||
* Sets the timer's start time to the current time, and reschedules the timer to
|
|
||||||
* call its callback at the previously specified duration adjusted to the current
|
|
||||||
* time. This is useful for refreshing a timer without allocating a new
|
|
||||||
* JavaScript object.
|
|
||||||
*
|
|
||||||
* Using this on a timer that has already called its callback will reactivate the
|
|
||||||
* timer.
|
|
||||||
* @since v10.2.0
|
|
||||||
* @return a reference to `timeout`
|
|
||||||
*/
|
|
||||||
refresh(): this;
|
|
||||||
[Symbol.toPrimitive](): number;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
function setTimeout<TArgs extends any[]>(callback: (...args: TArgs) => void, ms?: number, ...args: TArgs): NodeJS.Timeout;
|
|
||||||
// util.promisify no rest args compability
|
|
||||||
// tslint:disable-next-line void-return
|
|
||||||
function setTimeout(callback: (args: void) => void, ms?: number): NodeJS.Timeout;
|
|
||||||
namespace setTimeout {
|
|
||||||
const __promisify__: typeof setTimeoutPromise;
|
|
||||||
}
|
|
||||||
function clearTimeout(timeoutId: NodeJS.Timeout | undefined): void;
|
|
||||||
function setInterval<TArgs extends any[]>(callback: (...args: TArgs) => void, ms?: number, ...args: TArgs): NodeJS.Timer;
|
|
||||||
// util.promisify no rest args compability
|
|
||||||
// tslint:disable-next-line void-return
|
|
||||||
function setInterval(callback: (args: void) => void, ms?: number): NodeJS.Timer;
|
|
||||||
namespace setInterval {
|
|
||||||
const __promisify__: typeof setIntervalPromise;
|
|
||||||
}
|
|
||||||
function clearInterval(intervalId: NodeJS.Timeout | undefined): void;
|
|
||||||
function setImmediate<TArgs extends any[]>(callback: (...args: TArgs) => void, ...args: TArgs): NodeJS.Immediate;
|
|
||||||
// util.promisify no rest args compability
|
|
||||||
// tslint:disable-next-line void-return
|
|
||||||
function setImmediate(callback: (args: void) => void): NodeJS.Immediate;
|
|
||||||
namespace setImmediate {
|
|
||||||
const __promisify__: typeof setImmediatePromise;
|
|
||||||
}
|
|
||||||
function clearImmediate(immediateId: NodeJS.Immediate | undefined): void;
|
|
||||||
function queueMicrotask(callback: () => void): void;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
declare module 'node:timers' {
|
|
||||||
export * from 'timers';
|
|
||||||
}
|
|
||||||
68
Websites/Jefes/Backend/node_modules/@types/node/timers/promises.d.ts
generated
vendored
68
Websites/Jefes/Backend/node_modules/@types/node/timers/promises.d.ts
generated
vendored
@ -1,68 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `timers/promises` API provides an alternative set of timer functions
|
|
||||||
* that return `Promise` objects. The API is accessible via`require('timers/promises')`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import {
|
|
||||||
* setTimeout,
|
|
||||||
* setImmediate,
|
|
||||||
* setInterval,
|
|
||||||
* } from 'timers/promises';
|
|
||||||
* ```
|
|
||||||
* @since v15.0.0
|
|
||||||
*/
|
|
||||||
declare module 'timers/promises' {
|
|
||||||
import { TimerOptions } from 'node:timers';
|
|
||||||
/**
|
|
||||||
* ```js
|
|
||||||
* import {
|
|
||||||
* setTimeout,
|
|
||||||
* } from 'timers/promises';
|
|
||||||
*
|
|
||||||
* const res = await setTimeout(100, 'result');
|
|
||||||
*
|
|
||||||
* console.log(res); // Prints 'result'
|
|
||||||
* ```
|
|
||||||
* @since v15.0.0
|
|
||||||
* @param [delay=1] The number of milliseconds to wait before fulfilling the promise.
|
|
||||||
* @param value A value with which the promise is fulfilled.
|
|
||||||
*/
|
|
||||||
function setTimeout<T = void>(delay?: number, value?: T, options?: TimerOptions): Promise<T>;
|
|
||||||
/**
|
|
||||||
* ```js
|
|
||||||
* import {
|
|
||||||
* setImmediate,
|
|
||||||
* } from 'timers/promises';
|
|
||||||
*
|
|
||||||
* const res = await setImmediate('result');
|
|
||||||
*
|
|
||||||
* console.log(res); // Prints 'result'
|
|
||||||
* ```
|
|
||||||
* @since v15.0.0
|
|
||||||
* @param value A value with which the promise is fulfilled.
|
|
||||||
*/
|
|
||||||
function setImmediate<T = void>(value?: T, options?: TimerOptions): Promise<T>;
|
|
||||||
/**
|
|
||||||
* Returns an async iterator that generates values in an interval of `delay` ms.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import {
|
|
||||||
* setInterval,
|
|
||||||
* } from 'timers/promises';
|
|
||||||
*
|
|
||||||
* const interval = 100;
|
|
||||||
* for await (const startTime of setInterval(interval, Date.now())) {
|
|
||||||
* const now = Date.now();
|
|
||||||
* console.log(now);
|
|
||||||
* if ((now - startTime) > 1000)
|
|
||||||
* break;
|
|
||||||
* }
|
|
||||||
* console.log(Date.now());
|
|
||||||
* ```
|
|
||||||
* @since v15.9.0
|
|
||||||
*/
|
|
||||||
function setInterval<T = void>(delay?: number, value?: T, options?: TimerOptions): AsyncIterable<T>;
|
|
||||||
}
|
|
||||||
declare module 'node:timers/promises' {
|
|
||||||
export * from 'timers/promises';
|
|
||||||
}
|
|
||||||
1020
Websites/Jefes/Backend/node_modules/@types/node/tls.d.ts
generated
vendored
1020
Websites/Jefes/Backend/node_modules/@types/node/tls.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
161
Websites/Jefes/Backend/node_modules/@types/node/trace_events.d.ts
generated
vendored
161
Websites/Jefes/Backend/node_modules/@types/node/trace_events.d.ts
generated
vendored
@ -1,161 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `trace_events` module provides a mechanism to centralize tracing information
|
|
||||||
* generated by V8, Node.js core, and userspace code.
|
|
||||||
*
|
|
||||||
* Tracing can be enabled with the `--trace-event-categories` command-line flag
|
|
||||||
* or by using the `trace_events` module. The `--trace-event-categories` flag
|
|
||||||
* accepts a list of comma-separated category names.
|
|
||||||
*
|
|
||||||
* The available categories are:
|
|
||||||
*
|
|
||||||
* * `node`: An empty placeholder.
|
|
||||||
* * `node.async_hooks`: Enables capture of detailed `async_hooks` trace data.
|
|
||||||
* The `async_hooks` events have a unique `asyncId` and a special `triggerId` `triggerAsyncId` property.
|
|
||||||
* * `node.bootstrap`: Enables capture of Node.js bootstrap milestones.
|
|
||||||
* * `node.console`: Enables capture of `console.time()` and `console.count()`output.
|
|
||||||
* * `node.dns.native`: Enables capture of trace data for DNS queries.
|
|
||||||
* * `node.environment`: Enables capture of Node.js Environment milestones.
|
|
||||||
* * `node.fs.sync`: Enables capture of trace data for file system sync methods.
|
|
||||||
* * `node.perf`: Enables capture of `Performance API` measurements.
|
|
||||||
* * `node.perf.usertiming`: Enables capture of only Performance API User Timing
|
|
||||||
* measures and marks.
|
|
||||||
* * `node.perf.timerify`: Enables capture of only Performance API timerify
|
|
||||||
* measurements.
|
|
||||||
* * `node.promises.rejections`: Enables capture of trace data tracking the number
|
|
||||||
* of unhandled Promise rejections and handled-after-rejections.
|
|
||||||
* * `node.vm.script`: Enables capture of trace data for the `vm` module's`runInNewContext()`, `runInContext()`, and `runInThisContext()` methods.
|
|
||||||
* * `v8`: The `V8` events are GC, compiling, and execution related.
|
|
||||||
*
|
|
||||||
* By default the `node`, `node.async_hooks`, and `v8` categories are enabled.
|
|
||||||
*
|
|
||||||
* ```bash
|
|
||||||
* node --trace-event-categories v8,node,node.async_hooks server.js
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Prior versions of Node.js required the use of the `--trace-events-enabled`flag to enable trace events. This requirement has been removed. However, the`--trace-events-enabled` flag _may_ still be
|
|
||||||
* used and will enable the`node`, `node.async_hooks`, and `v8` trace event categories by default.
|
|
||||||
*
|
|
||||||
* ```bash
|
|
||||||
* node --trace-events-enabled
|
|
||||||
*
|
|
||||||
* # is equivalent to
|
|
||||||
*
|
|
||||||
* node --trace-event-categories v8,node,node.async_hooks
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Alternatively, trace events may be enabled using the `trace_events` module:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const trace_events = require('trace_events');
|
|
||||||
* const tracing = trace_events.createTracing({ categories: ['node.perf'] });
|
|
||||||
* tracing.enable(); // Enable trace event capture for the 'node.perf' category
|
|
||||||
*
|
|
||||||
* // do work
|
|
||||||
*
|
|
||||||
* tracing.disable(); // Disable trace event capture for the 'node.perf' category
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Running Node.js with tracing enabled will produce log files that can be opened
|
|
||||||
* in the [`chrome://tracing`](https://www.chromium.org/developers/how-tos/trace-event-profiling-tool) tab of Chrome.
|
|
||||||
*
|
|
||||||
* The logging file is by default called `node_trace.${rotation}.log`, where`${rotation}` is an incrementing log-rotation id. The filepath pattern can
|
|
||||||
* be specified with `--trace-event-file-pattern` that accepts a template
|
|
||||||
* string that supports `${rotation}` and `${pid}`:
|
|
||||||
*
|
|
||||||
* ```bash
|
|
||||||
* node --trace-event-categories v8 --trace-event-file-pattern '${pid}-${rotation}.log' server.js
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* The tracing system uses the same time source
|
|
||||||
* as the one used by `process.hrtime()`.
|
|
||||||
* However the trace-event timestamps are expressed in microseconds,
|
|
||||||
* unlike `process.hrtime()` which returns nanoseconds.
|
|
||||||
*
|
|
||||||
* The features from this module are not available in `Worker` threads.
|
|
||||||
* @experimental
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/trace_events.js)
|
|
||||||
*/
|
|
||||||
declare module 'trace_events' {
|
|
||||||
/**
|
|
||||||
* The `Tracing` object is used to enable or disable tracing for sets of
|
|
||||||
* categories. Instances are created using the
|
|
||||||
* `trace_events.createTracing()` method.
|
|
||||||
*
|
|
||||||
* When created, the `Tracing` object is disabled. Calling the
|
|
||||||
* `tracing.enable()` method adds the categories to the set of enabled trace
|
|
||||||
* event categories. Calling `tracing.disable()` will remove the categories
|
|
||||||
* from the set of enabled trace event categories.
|
|
||||||
*/
|
|
||||||
interface Tracing {
|
|
||||||
/**
|
|
||||||
* A comma-separated list of the trace event categories covered by this
|
|
||||||
* `Tracing` object.
|
|
||||||
*/
|
|
||||||
readonly categories: string;
|
|
||||||
/**
|
|
||||||
* Disables this `Tracing` object.
|
|
||||||
*
|
|
||||||
* Only trace event categories _not_ covered by other enabled `Tracing`
|
|
||||||
* objects and _not_ specified by the `--trace-event-categories` flag
|
|
||||||
* will be disabled.
|
|
||||||
*/
|
|
||||||
disable(): void;
|
|
||||||
/**
|
|
||||||
* Enables this `Tracing` object for the set of categories covered by
|
|
||||||
* the `Tracing` object.
|
|
||||||
*/
|
|
||||||
enable(): void;
|
|
||||||
/**
|
|
||||||
* `true` only if the `Tracing` object has been enabled.
|
|
||||||
*/
|
|
||||||
readonly enabled: boolean;
|
|
||||||
}
|
|
||||||
interface CreateTracingOptions {
|
|
||||||
/**
|
|
||||||
* An array of trace category names. Values included in the array are
|
|
||||||
* coerced to a string when possible. An error will be thrown if the
|
|
||||||
* value cannot be coerced.
|
|
||||||
*/
|
|
||||||
categories: string[];
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Creates and returns a `Tracing` object for the given set of `categories`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const trace_events = require('trace_events');
|
|
||||||
* const categories = ['node.perf', 'node.async_hooks'];
|
|
||||||
* const tracing = trace_events.createTracing({ categories });
|
|
||||||
* tracing.enable();
|
|
||||||
* // do stuff
|
|
||||||
* tracing.disable();
|
|
||||||
* ```
|
|
||||||
* @since v10.0.0
|
|
||||||
* @return .
|
|
||||||
*/
|
|
||||||
function createTracing(options: CreateTracingOptions): Tracing;
|
|
||||||
/**
|
|
||||||
* Returns a comma-separated list of all currently-enabled trace event
|
|
||||||
* categories. The current set of enabled trace event categories is determined
|
|
||||||
* by the _union_ of all currently-enabled `Tracing` objects and any categories
|
|
||||||
* enabled using the `--trace-event-categories` flag.
|
|
||||||
*
|
|
||||||
* Given the file `test.js` below, the command`node --trace-event-categories node.perf test.js` will print`'node.async_hooks,node.perf'` to the console.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const trace_events = require('trace_events');
|
|
||||||
* const t1 = trace_events.createTracing({ categories: ['node.async_hooks'] });
|
|
||||||
* const t2 = trace_events.createTracing({ categories: ['node.perf'] });
|
|
||||||
* const t3 = trace_events.createTracing({ categories: ['v8'] });
|
|
||||||
*
|
|
||||||
* t1.enable();
|
|
||||||
* t2.enable();
|
|
||||||
*
|
|
||||||
* console.log(trace_events.getEnabledCategories());
|
|
||||||
* ```
|
|
||||||
* @since v10.0.0
|
|
||||||
*/
|
|
||||||
function getEnabledCategories(): string | undefined;
|
|
||||||
}
|
|
||||||
declare module 'node:trace_events' {
|
|
||||||
export * from 'trace_events';
|
|
||||||
}
|
|
||||||
204
Websites/Jefes/Backend/node_modules/@types/node/tty.d.ts
generated
vendored
204
Websites/Jefes/Backend/node_modules/@types/node/tty.d.ts
generated
vendored
@ -1,204 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `tty` module provides the `tty.ReadStream` and `tty.WriteStream` classes.
|
|
||||||
* In most cases, it will not be necessary or possible to use this module directly.
|
|
||||||
* However, it can be accessed using:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const tty = require('tty');
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* When Node.js detects that it is being run with a text terminal ("TTY")
|
|
||||||
* attached, `process.stdin` will, by default, be initialized as an instance of`tty.ReadStream` and both `process.stdout` and `process.stderr` will, by
|
|
||||||
* default, be instances of `tty.WriteStream`. The preferred method of determining
|
|
||||||
* whether Node.js is being run within a TTY context is to check that the value of
|
|
||||||
* the `process.stdout.isTTY` property is `true`:
|
|
||||||
*
|
|
||||||
* ```console
|
|
||||||
* $ node -p -e "Boolean(process.stdout.isTTY)"
|
|
||||||
* true
|
|
||||||
* $ node -p -e "Boolean(process.stdout.isTTY)" | cat
|
|
||||||
* false
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* In most cases, there should be little to no reason for an application to
|
|
||||||
* manually create instances of the `tty.ReadStream` and `tty.WriteStream`classes.
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/tty.js)
|
|
||||||
*/
|
|
||||||
declare module 'tty' {
|
|
||||||
import * as net from 'node:net';
|
|
||||||
/**
|
|
||||||
* The `tty.isatty()` method returns `true` if the given `fd` is associated with
|
|
||||||
* a TTY and `false` if it is not, including whenever `fd` is not a non-negative
|
|
||||||
* integer.
|
|
||||||
* @since v0.5.8
|
|
||||||
* @param fd A numeric file descriptor
|
|
||||||
*/
|
|
||||||
function isatty(fd: number): boolean;
|
|
||||||
/**
|
|
||||||
* Represents the readable side of a TTY. In normal circumstances `process.stdin` will be the only `tty.ReadStream` instance in a Node.js
|
|
||||||
* process and there should be no reason to create additional instances.
|
|
||||||
* @since v0.5.8
|
|
||||||
*/
|
|
||||||
class ReadStream extends net.Socket {
|
|
||||||
constructor(fd: number, options?: net.SocketConstructorOpts);
|
|
||||||
/**
|
|
||||||
* A `boolean` that is `true` if the TTY is currently configured to operate as a
|
|
||||||
* raw device. Defaults to `false`.
|
|
||||||
* @since v0.7.7
|
|
||||||
*/
|
|
||||||
isRaw: boolean;
|
|
||||||
/**
|
|
||||||
* Allows configuration of `tty.ReadStream` so that it operates as a raw device.
|
|
||||||
*
|
|
||||||
* When in raw mode, input is always available character-by-character, not
|
|
||||||
* including modifiers. Additionally, all special processing of characters by the
|
|
||||||
* terminal is disabled, including echoing input characters.Ctrl+C will no longer cause a `SIGINT` when in this mode.
|
|
||||||
* @since v0.7.7
|
|
||||||
* @param mode If `true`, configures the `tty.ReadStream` to operate as a raw device. If `false`, configures the `tty.ReadStream` to operate in its default mode. The `readStream.isRaw`
|
|
||||||
* property will be set to the resulting mode.
|
|
||||||
* @return The read stream instance.
|
|
||||||
*/
|
|
||||||
setRawMode(mode: boolean): this;
|
|
||||||
/**
|
|
||||||
* A `boolean` that is always `true` for `tty.ReadStream` instances.
|
|
||||||
* @since v0.5.8
|
|
||||||
*/
|
|
||||||
isTTY: boolean;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* -1 - to the left from cursor
|
|
||||||
* 0 - the entire line
|
|
||||||
* 1 - to the right from cursor
|
|
||||||
*/
|
|
||||||
type Direction = -1 | 0 | 1;
|
|
||||||
/**
|
|
||||||
* Represents the writable side of a TTY. In normal circumstances,`process.stdout` and `process.stderr` will be the only`tty.WriteStream` instances created for a Node.js process and there
|
|
||||||
* should be no reason to create additional instances.
|
|
||||||
* @since v0.5.8
|
|
||||||
*/
|
|
||||||
class WriteStream extends net.Socket {
|
|
||||||
constructor(fd: number);
|
|
||||||
addListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
addListener(event: 'resize', listener: () => void): this;
|
|
||||||
emit(event: string | symbol, ...args: any[]): boolean;
|
|
||||||
emit(event: 'resize'): boolean;
|
|
||||||
on(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
on(event: 'resize', listener: () => void): this;
|
|
||||||
once(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
once(event: 'resize', listener: () => void): this;
|
|
||||||
prependListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
prependListener(event: 'resize', listener: () => void): this;
|
|
||||||
prependOnceListener(event: string, listener: (...args: any[]) => void): this;
|
|
||||||
prependOnceListener(event: 'resize', listener: () => void): this;
|
|
||||||
/**
|
|
||||||
* `writeStream.clearLine()` clears the current line of this `WriteStream` in a
|
|
||||||
* direction identified by `dir`.
|
|
||||||
* @since v0.7.7
|
|
||||||
* @param callback Invoked once the operation completes.
|
|
||||||
* @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
|
|
||||||
*/
|
|
||||||
clearLine(dir: Direction, callback?: () => void): boolean;
|
|
||||||
/**
|
|
||||||
* `writeStream.clearScreenDown()` clears this `WriteStream` from the current
|
|
||||||
* cursor down.
|
|
||||||
* @since v0.7.7
|
|
||||||
* @param callback Invoked once the operation completes.
|
|
||||||
* @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
|
|
||||||
*/
|
|
||||||
clearScreenDown(callback?: () => void): boolean;
|
|
||||||
/**
|
|
||||||
* `writeStream.cursorTo()` moves this `WriteStream`'s cursor to the specified
|
|
||||||
* position.
|
|
||||||
* @since v0.7.7
|
|
||||||
* @param callback Invoked once the operation completes.
|
|
||||||
* @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
|
|
||||||
*/
|
|
||||||
cursorTo(x: number, y?: number, callback?: () => void): boolean;
|
|
||||||
cursorTo(x: number, callback: () => void): boolean;
|
|
||||||
/**
|
|
||||||
* `writeStream.moveCursor()` moves this `WriteStream`'s cursor _relative_ to its
|
|
||||||
* current position.
|
|
||||||
* @since v0.7.7
|
|
||||||
* @param callback Invoked once the operation completes.
|
|
||||||
* @return `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.
|
|
||||||
*/
|
|
||||||
moveCursor(dx: number, dy: number, callback?: () => void): boolean;
|
|
||||||
/**
|
|
||||||
* Returns:
|
|
||||||
*
|
|
||||||
* * `1` for 2,
|
|
||||||
* * `4` for 16,
|
|
||||||
* * `8` for 256,
|
|
||||||
* * `24` for 16,777,216 colors supported.
|
|
||||||
*
|
|
||||||
* Use this to determine what colors the terminal supports. Due to the nature of
|
|
||||||
* colors in terminals it is possible to either have false positives or false
|
|
||||||
* negatives. It depends on process information and the environment variables that
|
|
||||||
* may lie about what terminal is used.
|
|
||||||
* It is possible to pass in an `env` object to simulate the usage of a specific
|
|
||||||
* terminal. This can be useful to check how specific environment settings behave.
|
|
||||||
*
|
|
||||||
* To enforce a specific color support, use one of the below environment settings.
|
|
||||||
*
|
|
||||||
* * 2 colors: `FORCE_COLOR = 0` (Disables colors)
|
|
||||||
* * 16 colors: `FORCE_COLOR = 1`
|
|
||||||
* * 256 colors: `FORCE_COLOR = 2`
|
|
||||||
* * 16,777,216 colors: `FORCE_COLOR = 3`
|
|
||||||
*
|
|
||||||
* Disabling color support is also possible by using the `NO_COLOR` and`NODE_DISABLE_COLORS` environment variables.
|
|
||||||
* @since v9.9.0
|
|
||||||
* @param [env=process.env] An object containing the environment variables to check. This enables simulating the usage of a specific terminal.
|
|
||||||
*/
|
|
||||||
getColorDepth(env?: object): number;
|
|
||||||
/**
|
|
||||||
* Returns `true` if the `writeStream` supports at least as many colors as provided
|
|
||||||
* in `count`. Minimum support is 2 (black and white).
|
|
||||||
*
|
|
||||||
* This has the same false positives and negatives as described in `writeStream.getColorDepth()`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* process.stdout.hasColors();
|
|
||||||
* // Returns true or false depending on if `stdout` supports at least 16 colors.
|
|
||||||
* process.stdout.hasColors(256);
|
|
||||||
* // Returns true or false depending on if `stdout` supports at least 256 colors.
|
|
||||||
* process.stdout.hasColors({ TMUX: '1' });
|
|
||||||
* // Returns true.
|
|
||||||
* process.stdout.hasColors(2 ** 24, { TMUX: '1' });
|
|
||||||
* // Returns false (the environment setting pretends to support 2 ** 8 colors).
|
|
||||||
* ```
|
|
||||||
* @since v11.13.0, v10.16.0
|
|
||||||
* @param [count=16] The number of colors that are requested (minimum 2).
|
|
||||||
* @param [env=process.env] An object containing the environment variables to check. This enables simulating the usage of a specific terminal.
|
|
||||||
*/
|
|
||||||
hasColors(count?: number): boolean;
|
|
||||||
hasColors(env?: object): boolean;
|
|
||||||
hasColors(count: number, env?: object): boolean;
|
|
||||||
/**
|
|
||||||
* `writeStream.getWindowSize()` returns the size of the TTY
|
|
||||||
* corresponding to this `WriteStream`. The array is of the type`[numColumns, numRows]` where `numColumns` and `numRows` represent the number
|
|
||||||
* of columns and rows in the corresponding TTY.
|
|
||||||
* @since v0.7.7
|
|
||||||
*/
|
|
||||||
getWindowSize(): [number, number];
|
|
||||||
/**
|
|
||||||
* A `number` specifying the number of columns the TTY currently has. This property
|
|
||||||
* is updated whenever the `'resize'` event is emitted.
|
|
||||||
* @since v0.7.7
|
|
||||||
*/
|
|
||||||
columns: number;
|
|
||||||
/**
|
|
||||||
* A `number` specifying the number of rows the TTY currently has. This property
|
|
||||||
* is updated whenever the `'resize'` event is emitted.
|
|
||||||
* @since v0.7.7
|
|
||||||
*/
|
|
||||||
rows: number;
|
|
||||||
/**
|
|
||||||
* A `boolean` that is always `true`.
|
|
||||||
* @since v0.5.8
|
|
||||||
*/
|
|
||||||
isTTY: boolean;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
declare module 'node:tty' {
|
|
||||||
export * from 'tty';
|
|
||||||
}
|
|
||||||
891
Websites/Jefes/Backend/node_modules/@types/node/url.d.ts
generated
vendored
891
Websites/Jefes/Backend/node_modules/@types/node/url.d.ts
generated
vendored
@ -1,891 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `url` module provides utilities for URL resolution and parsing. It can be
|
|
||||||
* accessed using:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import url from 'url';
|
|
||||||
* ```
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/url.js)
|
|
||||||
*/
|
|
||||||
declare module 'url' {
|
|
||||||
import { Blob } from 'node:buffer';
|
|
||||||
import { ClientRequestArgs } from 'node:http';
|
|
||||||
import { ParsedUrlQuery, ParsedUrlQueryInput } from 'node:querystring';
|
|
||||||
// Input to `url.format`
|
|
||||||
interface UrlObject {
|
|
||||||
auth?: string | null | undefined;
|
|
||||||
hash?: string | null | undefined;
|
|
||||||
host?: string | null | undefined;
|
|
||||||
hostname?: string | null | undefined;
|
|
||||||
href?: string | null | undefined;
|
|
||||||
pathname?: string | null | undefined;
|
|
||||||
protocol?: string | null | undefined;
|
|
||||||
search?: string | null | undefined;
|
|
||||||
slashes?: boolean | null | undefined;
|
|
||||||
port?: string | number | null | undefined;
|
|
||||||
query?: string | null | ParsedUrlQueryInput | undefined;
|
|
||||||
}
|
|
||||||
// Output of `url.parse`
|
|
||||||
interface Url {
|
|
||||||
auth: string | null;
|
|
||||||
hash: string | null;
|
|
||||||
host: string | null;
|
|
||||||
hostname: string | null;
|
|
||||||
href: string;
|
|
||||||
path: string | null;
|
|
||||||
pathname: string | null;
|
|
||||||
protocol: string | null;
|
|
||||||
search: string | null;
|
|
||||||
slashes: boolean | null;
|
|
||||||
port: string | null;
|
|
||||||
query: string | null | ParsedUrlQuery;
|
|
||||||
}
|
|
||||||
interface UrlWithParsedQuery extends Url {
|
|
||||||
query: ParsedUrlQuery;
|
|
||||||
}
|
|
||||||
interface UrlWithStringQuery extends Url {
|
|
||||||
query: string | null;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* The `url.parse()` method takes a URL string, parses it, and returns a URL
|
|
||||||
* object.
|
|
||||||
*
|
|
||||||
* A `TypeError` is thrown if `urlString` is not a string.
|
|
||||||
*
|
|
||||||
* A `URIError` is thrown if the `auth` property is present but cannot be decoded.
|
|
||||||
*
|
|
||||||
* Use of the legacy `url.parse()` method is discouraged. Users should
|
|
||||||
* use the WHATWG `URL` API. Because the `url.parse()` method uses a
|
|
||||||
* lenient, non-standard algorithm for parsing URL strings, security
|
|
||||||
* issues can be introduced. Specifically, issues with [host name spoofing](https://hackerone.com/reports/678487) and
|
|
||||||
* incorrect handling of usernames and passwords have been identified.
|
|
||||||
* @since v0.1.25
|
|
||||||
* @deprecated Legacy: Use the WHATWG URL API instead.
|
|
||||||
* @param urlString The URL string to parse.
|
|
||||||
* @param [parseQueryString=false] If `true`, the `query` property will always be set to an object returned by the {@link querystring} module's `parse()` method. If `false`, the `query` property
|
|
||||||
* on the returned URL object will be an unparsed, undecoded string.
|
|
||||||
* @param [slashesDenoteHost=false] If `true`, the first token after the literal string `//` and preceding the next `/` will be interpreted as the `host`. For instance, given `//foo/bar`, the
|
|
||||||
* result would be `{host: 'foo', pathname: '/bar'}` rather than `{pathname: '//foo/bar'}`.
|
|
||||||
*/
|
|
||||||
function parse(urlString: string): UrlWithStringQuery;
|
|
||||||
function parse(urlString: string, parseQueryString: false | undefined, slashesDenoteHost?: boolean): UrlWithStringQuery;
|
|
||||||
function parse(urlString: string, parseQueryString: true, slashesDenoteHost?: boolean): UrlWithParsedQuery;
|
|
||||||
function parse(urlString: string, parseQueryString: boolean, slashesDenoteHost?: boolean): Url;
|
|
||||||
/**
|
|
||||||
* The `url.format()` method returns a formatted URL string derived from`urlObject`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const url = require('url');
|
|
||||||
* url.format({
|
|
||||||
* protocol: 'https',
|
|
||||||
* hostname: 'example.com',
|
|
||||||
* pathname: '/some/path',
|
|
||||||
* query: {
|
|
||||||
* page: 1,
|
|
||||||
* format: 'json'
|
|
||||||
* }
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* // => 'https://example.com/some/path?page=1&format=json'
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* If `urlObject` is not an object or a string, `url.format()` will throw a `TypeError`.
|
|
||||||
*
|
|
||||||
* The formatting process operates as follows:
|
|
||||||
*
|
|
||||||
* * A new empty string `result` is created.
|
|
||||||
* * If `urlObject.protocol` is a string, it is appended as-is to `result`.
|
|
||||||
* * Otherwise, if `urlObject.protocol` is not `undefined` and is not a string, an `Error` is thrown.
|
|
||||||
* * For all string values of `urlObject.protocol` that _do not end_ with an ASCII
|
|
||||||
* colon (`:`) character, the literal string `:` will be appended to `result`.
|
|
||||||
* * If either of the following conditions is true, then the literal string `//`will be appended to `result`:
|
|
||||||
* * `urlObject.slashes` property is true;
|
|
||||||
* * `urlObject.protocol` begins with `http`, `https`, `ftp`, `gopher`, or`file`;
|
|
||||||
* * If the value of the `urlObject.auth` property is truthy, and either`urlObject.host` or `urlObject.hostname` are not `undefined`, the value of`urlObject.auth` will be coerced into a string
|
|
||||||
* and appended to `result`followed by the literal string `@`.
|
|
||||||
* * If the `urlObject.host` property is `undefined` then:
|
|
||||||
* * If the `urlObject.hostname` is a string, it is appended to `result`.
|
|
||||||
* * Otherwise, if `urlObject.hostname` is not `undefined` and is not a string,
|
|
||||||
* an `Error` is thrown.
|
|
||||||
* * If the `urlObject.port` property value is truthy, and `urlObject.hostname`is not `undefined`:
|
|
||||||
* * The literal string `:` is appended to `result`, and
|
|
||||||
* * The value of `urlObject.port` is coerced to a string and appended to`result`.
|
|
||||||
* * Otherwise, if the `urlObject.host` property value is truthy, the value of`urlObject.host` is coerced to a string and appended to `result`.
|
|
||||||
* * If the `urlObject.pathname` property is a string that is not an empty string:
|
|
||||||
* * If the `urlObject.pathname`_does not start_ with an ASCII forward slash
|
|
||||||
* (`/`), then the literal string `'/'` is appended to `result`.
|
|
||||||
* * The value of `urlObject.pathname` is appended to `result`.
|
|
||||||
* * Otherwise, if `urlObject.pathname` is not `undefined` and is not a string, an `Error` is thrown.
|
|
||||||
* * If the `urlObject.search` property is `undefined` and if the `urlObject.query`property is an `Object`, the literal string `?` is appended to `result`followed by the output of calling the
|
|
||||||
* `querystring` module's `stringify()`method passing the value of `urlObject.query`.
|
|
||||||
* * Otherwise, if `urlObject.search` is a string:
|
|
||||||
* * If the value of `urlObject.search`_does not start_ with the ASCII question
|
|
||||||
* mark (`?`) character, the literal string `?` is appended to `result`.
|
|
||||||
* * The value of `urlObject.search` is appended to `result`.
|
|
||||||
* * Otherwise, if `urlObject.search` is not `undefined` and is not a string, an `Error` is thrown.
|
|
||||||
* * If the `urlObject.hash` property is a string:
|
|
||||||
* * If the value of `urlObject.hash`_does not start_ with the ASCII hash (`#`)
|
|
||||||
* character, the literal string `#` is appended to `result`.
|
|
||||||
* * The value of `urlObject.hash` is appended to `result`.
|
|
||||||
* * Otherwise, if the `urlObject.hash` property is not `undefined` and is not a
|
|
||||||
* string, an `Error` is thrown.
|
|
||||||
* * `result` is returned.
|
|
||||||
* @since v0.1.25
|
|
||||||
* @deprecated Legacy: Use the WHATWG URL API instead.
|
|
||||||
* @param urlObject A URL object (as returned by `url.parse()` or constructed otherwise). If a string, it is converted to an object by passing it to `url.parse()`.
|
|
||||||
*/
|
|
||||||
function format(urlObject: URL, options?: URLFormatOptions): string;
|
|
||||||
/**
|
|
||||||
* The `url.format()` method returns a formatted URL string derived from`urlObject`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const url = require('url');
|
|
||||||
* url.format({
|
|
||||||
* protocol: 'https',
|
|
||||||
* hostname: 'example.com',
|
|
||||||
* pathname: '/some/path',
|
|
||||||
* query: {
|
|
||||||
* page: 1,
|
|
||||||
* format: 'json'
|
|
||||||
* }
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* // => 'https://example.com/some/path?page=1&format=json'
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* If `urlObject` is not an object or a string, `url.format()` will throw a `TypeError`.
|
|
||||||
*
|
|
||||||
* The formatting process operates as follows:
|
|
||||||
*
|
|
||||||
* * A new empty string `result` is created.
|
|
||||||
* * If `urlObject.protocol` is a string, it is appended as-is to `result`.
|
|
||||||
* * Otherwise, if `urlObject.protocol` is not `undefined` and is not a string, an `Error` is thrown.
|
|
||||||
* * For all string values of `urlObject.protocol` that _do not end_ with an ASCII
|
|
||||||
* colon (`:`) character, the literal string `:` will be appended to `result`.
|
|
||||||
* * If either of the following conditions is true, then the literal string `//`will be appended to `result`:
|
|
||||||
* * `urlObject.slashes` property is true;
|
|
||||||
* * `urlObject.protocol` begins with `http`, `https`, `ftp`, `gopher`, or`file`;
|
|
||||||
* * If the value of the `urlObject.auth` property is truthy, and either`urlObject.host` or `urlObject.hostname` are not `undefined`, the value of`urlObject.auth` will be coerced into a string
|
|
||||||
* and appended to `result`followed by the literal string `@`.
|
|
||||||
* * If the `urlObject.host` property is `undefined` then:
|
|
||||||
* * If the `urlObject.hostname` is a string, it is appended to `result`.
|
|
||||||
* * Otherwise, if `urlObject.hostname` is not `undefined` and is not a string,
|
|
||||||
* an `Error` is thrown.
|
|
||||||
* * If the `urlObject.port` property value is truthy, and `urlObject.hostname`is not `undefined`:
|
|
||||||
* * The literal string `:` is appended to `result`, and
|
|
||||||
* * The value of `urlObject.port` is coerced to a string and appended to`result`.
|
|
||||||
* * Otherwise, if the `urlObject.host` property value is truthy, the value of`urlObject.host` is coerced to a string and appended to `result`.
|
|
||||||
* * If the `urlObject.pathname` property is a string that is not an empty string:
|
|
||||||
* * If the `urlObject.pathname`_does not start_ with an ASCII forward slash
|
|
||||||
* (`/`), then the literal string `'/'` is appended to `result`.
|
|
||||||
* * The value of `urlObject.pathname` is appended to `result`.
|
|
||||||
* * Otherwise, if `urlObject.pathname` is not `undefined` and is not a string, an `Error` is thrown.
|
|
||||||
* * If the `urlObject.search` property is `undefined` and if the `urlObject.query`property is an `Object`, the literal string `?` is appended to `result`followed by the output of calling the
|
|
||||||
* `querystring` module's `stringify()`method passing the value of `urlObject.query`.
|
|
||||||
* * Otherwise, if `urlObject.search` is a string:
|
|
||||||
* * If the value of `urlObject.search`_does not start_ with the ASCII question
|
|
||||||
* mark (`?`) character, the literal string `?` is appended to `result`.
|
|
||||||
* * The value of `urlObject.search` is appended to `result`.
|
|
||||||
* * Otherwise, if `urlObject.search` is not `undefined` and is not a string, an `Error` is thrown.
|
|
||||||
* * If the `urlObject.hash` property is a string:
|
|
||||||
* * If the value of `urlObject.hash`_does not start_ with the ASCII hash (`#`)
|
|
||||||
* character, the literal string `#` is appended to `result`.
|
|
||||||
* * The value of `urlObject.hash` is appended to `result`.
|
|
||||||
* * Otherwise, if the `urlObject.hash` property is not `undefined` and is not a
|
|
||||||
* string, an `Error` is thrown.
|
|
||||||
* * `result` is returned.
|
|
||||||
* @since v0.1.25
|
|
||||||
* @deprecated Legacy: Use the WHATWG URL API instead.
|
|
||||||
* @param urlObject A URL object (as returned by `url.parse()` or constructed otherwise). If a string, it is converted to an object by passing it to `url.parse()`.
|
|
||||||
*/
|
|
||||||
function format(urlObject: UrlObject | string): string;
|
|
||||||
/**
|
|
||||||
* The `url.resolve()` method resolves a target URL relative to a base URL in a
|
|
||||||
* manner similar to that of a Web browser resolving an anchor tag HREF.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const url = require('url');
|
|
||||||
* url.resolve('/one/two/three', 'four'); // '/one/two/four'
|
|
||||||
* url.resolve('http://example.com/', '/one'); // 'http://example.com/one'
|
|
||||||
* url.resolve('http://example.com/one', '/two'); // 'http://example.com/two'
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* You can achieve the same result using the WHATWG URL API:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* function resolve(from, to) {
|
|
||||||
* const resolvedUrl = new URL(to, new URL(from, 'resolve://'));
|
|
||||||
* if (resolvedUrl.protocol === 'resolve:') {
|
|
||||||
* // `from` is a relative URL.
|
|
||||||
* const { pathname, search, hash } = resolvedUrl;
|
|
||||||
* return pathname + search + hash;
|
|
||||||
* }
|
|
||||||
* return resolvedUrl.toString();
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* resolve('/one/two/three', 'four'); // '/one/two/four'
|
|
||||||
* resolve('http://example.com/', '/one'); // 'http://example.com/one'
|
|
||||||
* resolve('http://example.com/one', '/two'); // 'http://example.com/two'
|
|
||||||
* ```
|
|
||||||
* @since v0.1.25
|
|
||||||
* @deprecated Legacy: Use the WHATWG URL API instead.
|
|
||||||
* @param from The Base URL being resolved against.
|
|
||||||
* @param to The HREF URL being resolved.
|
|
||||||
*/
|
|
||||||
function resolve(from: string, to: string): string;
|
|
||||||
/**
|
|
||||||
* Returns the [Punycode](https://tools.ietf.org/html/rfc5891#section-4.4) ASCII serialization of the `domain`. If `domain` is an
|
|
||||||
* invalid domain, the empty string is returned.
|
|
||||||
*
|
|
||||||
* It performs the inverse operation to {@link domainToUnicode}.
|
|
||||||
*
|
|
||||||
* This feature is only available if the `node` executable was compiled with `ICU` enabled. If not, the domain names are passed through unchanged.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import url from 'url';
|
|
||||||
*
|
|
||||||
* console.log(url.domainToASCII('español.com'));
|
|
||||||
* // Prints xn--espaol-zwa.com
|
|
||||||
* console.log(url.domainToASCII('中文.com'));
|
|
||||||
* // Prints xn--fiq228c.com
|
|
||||||
* console.log(url.domainToASCII('xn--iñvalid.com'));
|
|
||||||
* // Prints an empty string
|
|
||||||
* ```
|
|
||||||
* @since v7.4.0, v6.13.0
|
|
||||||
*/
|
|
||||||
function domainToASCII(domain: string): string;
|
|
||||||
/**
|
|
||||||
* Returns the Unicode serialization of the `domain`. If `domain` is an invalid
|
|
||||||
* domain, the empty string is returned.
|
|
||||||
*
|
|
||||||
* It performs the inverse operation to {@link domainToASCII}.
|
|
||||||
*
|
|
||||||
* This feature is only available if the `node` executable was compiled with `ICU` enabled. If not, the domain names are passed through unchanged.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import url from 'url';
|
|
||||||
*
|
|
||||||
* console.log(url.domainToUnicode('xn--espaol-zwa.com'));
|
|
||||||
* // Prints español.com
|
|
||||||
* console.log(url.domainToUnicode('xn--fiq228c.com'));
|
|
||||||
* // Prints 中文.com
|
|
||||||
* console.log(url.domainToUnicode('xn--iñvalid.com'));
|
|
||||||
* // Prints an empty string
|
|
||||||
* ```
|
|
||||||
* @since v7.4.0, v6.13.0
|
|
||||||
*/
|
|
||||||
function domainToUnicode(domain: string): string;
|
|
||||||
/**
|
|
||||||
* This function ensures the correct decodings of percent-encoded characters as
|
|
||||||
* well as ensuring a cross-platform valid absolute path string.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import { fileURLToPath } from 'url';
|
|
||||||
*
|
|
||||||
* const __filename = fileURLToPath(import.meta.url);
|
|
||||||
*
|
|
||||||
* new URL('file:///C:/path/').pathname; // Incorrect: /C:/path/
|
|
||||||
* fileURLToPath('file:///C:/path/'); // Correct: C:\path\ (Windows)
|
|
||||||
*
|
|
||||||
* new URL('file://nas/foo.txt').pathname; // Incorrect: /foo.txt
|
|
||||||
* fileURLToPath('file://nas/foo.txt'); // Correct: \\nas\foo.txt (Windows)
|
|
||||||
*
|
|
||||||
* new URL('file:///你好.txt').pathname; // Incorrect: /%E4%BD%A0%E5%A5%BD.txt
|
|
||||||
* fileURLToPath('file:///你好.txt'); // Correct: /你好.txt (POSIX)
|
|
||||||
*
|
|
||||||
* new URL('file:///hello world').pathname; // Incorrect: /hello%20world
|
|
||||||
* fileURLToPath('file:///hello world'); // Correct: /hello world (POSIX)
|
|
||||||
* ```
|
|
||||||
* @since v10.12.0
|
|
||||||
* @param url The file URL string or URL object to convert to a path.
|
|
||||||
* @return The fully-resolved platform-specific Node.js file path.
|
|
||||||
*/
|
|
||||||
function fileURLToPath(url: string | URL): string;
|
|
||||||
/**
|
|
||||||
* This function ensures that `path` is resolved absolutely, and that the URL
|
|
||||||
* control characters are correctly encoded when converting into a File URL.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import { pathToFileURL } from 'url';
|
|
||||||
*
|
|
||||||
* new URL('/foo#1', 'file:'); // Incorrect: file:///foo#1
|
|
||||||
* pathToFileURL('/foo#1'); // Correct: file:///foo%231 (POSIX)
|
|
||||||
*
|
|
||||||
* new URL('/some/path%.c', 'file:'); // Incorrect: file:///some/path%.c
|
|
||||||
* pathToFileURL('/some/path%.c'); // Correct: file:///some/path%25.c (POSIX)
|
|
||||||
* ```
|
|
||||||
* @since v10.12.0
|
|
||||||
* @param path The path to convert to a File URL.
|
|
||||||
* @return The file URL object.
|
|
||||||
*/
|
|
||||||
function pathToFileURL(path: string): URL;
|
|
||||||
/**
|
|
||||||
* This utility function converts a URL object into an ordinary options object as
|
|
||||||
* expected by the `http.request()` and `https.request()` APIs.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import { urlToHttpOptions } from 'url';
|
|
||||||
* const myURL = new URL('https://a:b@測試?abc#foo');
|
|
||||||
*
|
|
||||||
* console.log(urlToHttpOptions(myURL));
|
|
||||||
*
|
|
||||||
* {
|
|
||||||
* protocol: 'https:',
|
|
||||||
* hostname: 'xn--g6w251d',
|
|
||||||
* hash: '#foo',
|
|
||||||
* search: '?abc',
|
|
||||||
* pathname: '/',
|
|
||||||
* path: '/?abc',
|
|
||||||
* href: 'https://a:b@xn--g6w251d/?abc#foo',
|
|
||||||
* auth: 'a:b'
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* ```
|
|
||||||
* @since v15.7.0, v14.18.0
|
|
||||||
* @param url The `WHATWG URL` object to convert to an options object.
|
|
||||||
* @return Options object
|
|
||||||
*/
|
|
||||||
function urlToHttpOptions(url: URL): ClientRequestArgs;
|
|
||||||
interface URLFormatOptions {
|
|
||||||
auth?: boolean | undefined;
|
|
||||||
fragment?: boolean | undefined;
|
|
||||||
search?: boolean | undefined;
|
|
||||||
unicode?: boolean | undefined;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Browser-compatible `URL` class, implemented by following the WHATWG URL
|
|
||||||
* Standard. [Examples of parsed URLs](https://url.spec.whatwg.org/#example-url-parsing) may be found in the Standard itself.
|
|
||||||
* The `URL` class is also available on the global object.
|
|
||||||
*
|
|
||||||
* In accordance with browser conventions, all properties of `URL` objects
|
|
||||||
* are implemented as getters and setters on the class prototype, rather than as
|
|
||||||
* data properties on the object itself. Thus, unlike `legacy urlObject` s,
|
|
||||||
* using the `delete` keyword on any properties of `URL` objects (e.g. `delete myURL.protocol`, `delete myURL.pathname`, etc) has no effect but will still
|
|
||||||
* return `true`.
|
|
||||||
* @since v7.0.0, v6.13.0
|
|
||||||
*/
|
|
||||||
class URL {
|
|
||||||
/**
|
|
||||||
* Creates a `'blob:nodedata:...'` URL string that represents the given `Blob` object and can be used to retrieve the `Blob` later.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const {
|
|
||||||
* Blob,
|
|
||||||
* resolveObjectURL,
|
|
||||||
* } = require('buffer');
|
|
||||||
*
|
|
||||||
* const blob = new Blob(['hello']);
|
|
||||||
* const id = URL.createObjectURL(blob);
|
|
||||||
*
|
|
||||||
* // later...
|
|
||||||
*
|
|
||||||
* const otherBlob = resolveObjectURL(id);
|
|
||||||
* console.log(otherBlob.size);
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* The data stored by the registered `Blob` will be retained in memory until`URL.revokeObjectURL()` is called to remove it.
|
|
||||||
*
|
|
||||||
* `Blob` objects are registered within the current thread. If using Worker
|
|
||||||
* Threads, `Blob` objects registered within one Worker will not be available
|
|
||||||
* to other workers or the main thread.
|
|
||||||
* @since v16.7.0
|
|
||||||
* @experimental
|
|
||||||
*/
|
|
||||||
static createObjectURL(blob: Blob): string;
|
|
||||||
/**
|
|
||||||
* Removes the stored `Blob` identified by the given ID.
|
|
||||||
* @since v16.7.0
|
|
||||||
* @experimental
|
|
||||||
* @param id A `'blob:nodedata:...` URL string returned by a prior call to `URL.createObjectURL()`.
|
|
||||||
*/
|
|
||||||
static revokeObjectURL(objectUrl: string): void;
|
|
||||||
constructor(input: string, base?: string | URL);
|
|
||||||
/**
|
|
||||||
* Gets and sets the fragment portion of the URL.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const myURL = new URL('https://example.org/foo#bar');
|
|
||||||
* console.log(myURL.hash);
|
|
||||||
* // Prints #bar
|
|
||||||
*
|
|
||||||
* myURL.hash = 'baz';
|
|
||||||
* console.log(myURL.href);
|
|
||||||
* // Prints https://example.org/foo#baz
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Invalid URL characters included in the value assigned to the `hash` property
|
|
||||||
* are `percent-encoded`. The selection of which characters to
|
|
||||||
* percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce.
|
|
||||||
*/
|
|
||||||
hash: string;
|
|
||||||
/**
|
|
||||||
* Gets and sets the host portion of the URL.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const myURL = new URL('https://example.org:81/foo');
|
|
||||||
* console.log(myURL.host);
|
|
||||||
* // Prints example.org:81
|
|
||||||
*
|
|
||||||
* myURL.host = 'example.com:82';
|
|
||||||
* console.log(myURL.href);
|
|
||||||
* // Prints https://example.com:82/foo
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Invalid host values assigned to the `host` property are ignored.
|
|
||||||
*/
|
|
||||||
host: string;
|
|
||||||
/**
|
|
||||||
* Gets and sets the host name portion of the URL. The key difference between`url.host` and `url.hostname` is that `url.hostname` does _not_ include the
|
|
||||||
* port.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const myURL = new URL('https://example.org:81/foo');
|
|
||||||
* console.log(myURL.hostname);
|
|
||||||
* // Prints example.org
|
|
||||||
*
|
|
||||||
* // Setting the hostname does not change the port
|
|
||||||
* myURL.hostname = 'example.com:82';
|
|
||||||
* console.log(myURL.href);
|
|
||||||
* // Prints https://example.com:81/foo
|
|
||||||
*
|
|
||||||
* // Use myURL.host to change the hostname and port
|
|
||||||
* myURL.host = 'example.org:82';
|
|
||||||
* console.log(myURL.href);
|
|
||||||
* // Prints https://example.org:82/foo
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Invalid host name values assigned to the `hostname` property are ignored.
|
|
||||||
*/
|
|
||||||
hostname: string;
|
|
||||||
/**
|
|
||||||
* Gets and sets the serialized URL.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const myURL = new URL('https://example.org/foo');
|
|
||||||
* console.log(myURL.href);
|
|
||||||
* // Prints https://example.org/foo
|
|
||||||
*
|
|
||||||
* myURL.href = 'https://example.com/bar';
|
|
||||||
* console.log(myURL.href);
|
|
||||||
* // Prints https://example.com/bar
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Getting the value of the `href` property is equivalent to calling {@link toString}.
|
|
||||||
*
|
|
||||||
* Setting the value of this property to a new value is equivalent to creating a
|
|
||||||
* new `URL` object using `new URL(value)`. Each of the `URL`object's properties will be modified.
|
|
||||||
*
|
|
||||||
* If the value assigned to the `href` property is not a valid URL, a `TypeError`will be thrown.
|
|
||||||
*/
|
|
||||||
href: string;
|
|
||||||
/**
|
|
||||||
* Gets the read-only serialization of the URL's origin.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const myURL = new URL('https://example.org/foo/bar?baz');
|
|
||||||
* console.log(myURL.origin);
|
|
||||||
* // Prints https://example.org
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const idnURL = new URL('https://測試');
|
|
||||||
* console.log(idnURL.origin);
|
|
||||||
* // Prints https://xn--g6w251d
|
|
||||||
*
|
|
||||||
* console.log(idnURL.hostname);
|
|
||||||
* // Prints xn--g6w251d
|
|
||||||
* ```
|
|
||||||
*/
|
|
||||||
readonly origin: string;
|
|
||||||
/**
|
|
||||||
* Gets and sets the password portion of the URL.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const myURL = new URL('https://abc:xyz@example.com');
|
|
||||||
* console.log(myURL.password);
|
|
||||||
* // Prints xyz
|
|
||||||
*
|
|
||||||
* myURL.password = '123';
|
|
||||||
* console.log(myURL.href);
|
|
||||||
* // Prints https://abc:123@example.com
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Invalid URL characters included in the value assigned to the `password` property
|
|
||||||
* are `percent-encoded`. The selection of which characters to
|
|
||||||
* percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce.
|
|
||||||
*/
|
|
||||||
password: string;
|
|
||||||
/**
|
|
||||||
* Gets and sets the path portion of the URL.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const myURL = new URL('https://example.org/abc/xyz?123');
|
|
||||||
* console.log(myURL.pathname);
|
|
||||||
* // Prints /abc/xyz
|
|
||||||
*
|
|
||||||
* myURL.pathname = '/abcdef';
|
|
||||||
* console.log(myURL.href);
|
|
||||||
* // Prints https://example.org/abcdef?123
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Invalid URL characters included in the value assigned to the `pathname`property are `percent-encoded`. The selection of which characters
|
|
||||||
* to percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce.
|
|
||||||
*/
|
|
||||||
pathname: string;
|
|
||||||
/**
|
|
||||||
* Gets and sets the port portion of the URL.
|
|
||||||
*
|
|
||||||
* The port value may be a number or a string containing a number in the range`0` to `65535` (inclusive). Setting the value to the default port of the`URL` objects given `protocol` will
|
|
||||||
* result in the `port` value becoming
|
|
||||||
* the empty string (`''`).
|
|
||||||
*
|
|
||||||
* The port value can be an empty string in which case the port depends on
|
|
||||||
* the protocol/scheme:
|
|
||||||
*
|
|
||||||
* <omitted>
|
|
||||||
*
|
|
||||||
* Upon assigning a value to the port, the value will first be converted to a
|
|
||||||
* string using `.toString()`.
|
|
||||||
*
|
|
||||||
* If that string is invalid but it begins with a number, the leading number is
|
|
||||||
* assigned to `port`.
|
|
||||||
* If the number lies outside the range denoted above, it is ignored.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const myURL = new URL('https://example.org:8888');
|
|
||||||
* console.log(myURL.port);
|
|
||||||
* // Prints 8888
|
|
||||||
*
|
|
||||||
* // Default ports are automatically transformed to the empty string
|
|
||||||
* // (HTTPS protocol's default port is 443)
|
|
||||||
* myURL.port = '443';
|
|
||||||
* console.log(myURL.port);
|
|
||||||
* // Prints the empty string
|
|
||||||
* console.log(myURL.href);
|
|
||||||
* // Prints https://example.org/
|
|
||||||
*
|
|
||||||
* myURL.port = 1234;
|
|
||||||
* console.log(myURL.port);
|
|
||||||
* // Prints 1234
|
|
||||||
* console.log(myURL.href);
|
|
||||||
* // Prints https://example.org:1234/
|
|
||||||
*
|
|
||||||
* // Completely invalid port strings are ignored
|
|
||||||
* myURL.port = 'abcd';
|
|
||||||
* console.log(myURL.port);
|
|
||||||
* // Prints 1234
|
|
||||||
*
|
|
||||||
* // Leading numbers are treated as a port number
|
|
||||||
* myURL.port = '5678abcd';
|
|
||||||
* console.log(myURL.port);
|
|
||||||
* // Prints 5678
|
|
||||||
*
|
|
||||||
* // Non-integers are truncated
|
|
||||||
* myURL.port = 1234.5678;
|
|
||||||
* console.log(myURL.port);
|
|
||||||
* // Prints 1234
|
|
||||||
*
|
|
||||||
* // Out-of-range numbers which are not represented in scientific notation
|
|
||||||
* // will be ignored.
|
|
||||||
* myURL.port = 1e10; // 10000000000, will be range-checked as described below
|
|
||||||
* console.log(myURL.port);
|
|
||||||
* // Prints 1234
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Numbers which contain a decimal point,
|
|
||||||
* such as floating-point numbers or numbers in scientific notation,
|
|
||||||
* are not an exception to this rule.
|
|
||||||
* Leading numbers up to the decimal point will be set as the URL's port,
|
|
||||||
* assuming they are valid:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* myURL.port = 4.567e21;
|
|
||||||
* console.log(myURL.port);
|
|
||||||
* // Prints 4 (because it is the leading number in the string '4.567e21')
|
|
||||||
* ```
|
|
||||||
*/
|
|
||||||
port: string;
|
|
||||||
/**
|
|
||||||
* Gets and sets the protocol portion of the URL.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const myURL = new URL('https://example.org');
|
|
||||||
* console.log(myURL.protocol);
|
|
||||||
* // Prints https:
|
|
||||||
*
|
|
||||||
* myURL.protocol = 'ftp';
|
|
||||||
* console.log(myURL.href);
|
|
||||||
* // Prints ftp://example.org/
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Invalid URL protocol values assigned to the `protocol` property are ignored.
|
|
||||||
*/
|
|
||||||
protocol: string;
|
|
||||||
/**
|
|
||||||
* Gets and sets the serialized query portion of the URL.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const myURL = new URL('https://example.org/abc?123');
|
|
||||||
* console.log(myURL.search);
|
|
||||||
* // Prints ?123
|
|
||||||
*
|
|
||||||
* myURL.search = 'abc=xyz';
|
|
||||||
* console.log(myURL.href);
|
|
||||||
* // Prints https://example.org/abc?abc=xyz
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Any invalid URL characters appearing in the value assigned the `search`property will be `percent-encoded`. The selection of which
|
|
||||||
* characters to percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce.
|
|
||||||
*/
|
|
||||||
search: string;
|
|
||||||
/**
|
|
||||||
* Gets the `URLSearchParams` object representing the query parameters of the
|
|
||||||
* URL. This property is read-only but the `URLSearchParams` object it provides
|
|
||||||
* can be used to mutate the URL instance; to replace the entirety of query
|
|
||||||
* parameters of the URL, use the {@link search} setter. See `URLSearchParams` documentation for details.
|
|
||||||
*
|
|
||||||
* Use care when using `.searchParams` to modify the `URL` because,
|
|
||||||
* per the WHATWG specification, the `URLSearchParams` object uses
|
|
||||||
* different rules to determine which characters to percent-encode. For
|
|
||||||
* instance, the `URL` object will not percent encode the ASCII tilde (`~`)
|
|
||||||
* character, while `URLSearchParams` will always encode it:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const myUrl = new URL('https://example.org/abc?foo=~bar');
|
|
||||||
*
|
|
||||||
* console.log(myUrl.search); // prints ?foo=~bar
|
|
||||||
*
|
|
||||||
* // Modify the URL via searchParams...
|
|
||||||
* myUrl.searchParams.sort();
|
|
||||||
*
|
|
||||||
* console.log(myUrl.search); // prints ?foo=%7Ebar
|
|
||||||
* ```
|
|
||||||
*/
|
|
||||||
readonly searchParams: URLSearchParams;
|
|
||||||
/**
|
|
||||||
* Gets and sets the username portion of the URL.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const myURL = new URL('https://abc:xyz@example.com');
|
|
||||||
* console.log(myURL.username);
|
|
||||||
* // Prints abc
|
|
||||||
*
|
|
||||||
* myURL.username = '123';
|
|
||||||
* console.log(myURL.href);
|
|
||||||
* // Prints https://123:xyz@example.com/
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Any invalid URL characters appearing in the value assigned the `username`property will be `percent-encoded`. The selection of which
|
|
||||||
* characters to percent-encode may vary somewhat from what the {@link parse} and {@link format} methods would produce.
|
|
||||||
*/
|
|
||||||
username: string;
|
|
||||||
/**
|
|
||||||
* The `toString()` method on the `URL` object returns the serialized URL. The
|
|
||||||
* value returned is equivalent to that of {@link href} and {@link toJSON}.
|
|
||||||
*/
|
|
||||||
toString(): string;
|
|
||||||
/**
|
|
||||||
* The `toJSON()` method on the `URL` object returns the serialized URL. The
|
|
||||||
* value returned is equivalent to that of {@link href} and {@link toString}.
|
|
||||||
*
|
|
||||||
* This method is automatically called when an `URL` object is serialized
|
|
||||||
* with [`JSON.stringify()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify).
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const myURLs = [
|
|
||||||
* new URL('https://www.example.com'),
|
|
||||||
* new URL('https://test.example.org'),
|
|
||||||
* ];
|
|
||||||
* console.log(JSON.stringify(myURLs));
|
|
||||||
* // Prints ["https://www.example.com/","https://test.example.org/"]
|
|
||||||
* ```
|
|
||||||
*/
|
|
||||||
toJSON(): string;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* The `URLSearchParams` API provides read and write access to the query of a`URL`. The `URLSearchParams` class can also be used standalone with one of the
|
|
||||||
* four following constructors.
|
|
||||||
* The `URLSearchParams` class is also available on the global object.
|
|
||||||
*
|
|
||||||
* The WHATWG `URLSearchParams` interface and the `querystring` module have
|
|
||||||
* similar purpose, but the purpose of the `querystring` module is more
|
|
||||||
* general, as it allows the customization of delimiter characters (`&` and `=`).
|
|
||||||
* On the other hand, this API is designed purely for URL query strings.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const myURL = new URL('https://example.org/?abc=123');
|
|
||||||
* console.log(myURL.searchParams.get('abc'));
|
|
||||||
* // Prints 123
|
|
||||||
*
|
|
||||||
* myURL.searchParams.append('abc', 'xyz');
|
|
||||||
* console.log(myURL.href);
|
|
||||||
* // Prints https://example.org/?abc=123&abc=xyz
|
|
||||||
*
|
|
||||||
* myURL.searchParams.delete('abc');
|
|
||||||
* myURL.searchParams.set('a', 'b');
|
|
||||||
* console.log(myURL.href);
|
|
||||||
* // Prints https://example.org/?a=b
|
|
||||||
*
|
|
||||||
* const newSearchParams = new URLSearchParams(myURL.searchParams);
|
|
||||||
* // The above is equivalent to
|
|
||||||
* // const newSearchParams = new URLSearchParams(myURL.search);
|
|
||||||
*
|
|
||||||
* newSearchParams.append('a', 'c');
|
|
||||||
* console.log(myURL.href);
|
|
||||||
* // Prints https://example.org/?a=b
|
|
||||||
* console.log(newSearchParams.toString());
|
|
||||||
* // Prints a=b&a=c
|
|
||||||
*
|
|
||||||
* // newSearchParams.toString() is implicitly called
|
|
||||||
* myURL.search = newSearchParams;
|
|
||||||
* console.log(myURL.href);
|
|
||||||
* // Prints https://example.org/?a=b&a=c
|
|
||||||
* newSearchParams.delete('a');
|
|
||||||
* console.log(myURL.href);
|
|
||||||
* // Prints https://example.org/?a=b&a=c
|
|
||||||
* ```
|
|
||||||
* @since v7.5.0, v6.13.0
|
|
||||||
*/
|
|
||||||
class URLSearchParams implements Iterable<[string, string]> {
|
|
||||||
constructor(init?: URLSearchParams | string | Record<string, string | ReadonlyArray<string>> | Iterable<[string, string]> | ReadonlyArray<[string, string]>);
|
|
||||||
/**
|
|
||||||
* Append a new name-value pair to the query string.
|
|
||||||
*/
|
|
||||||
append(name: string, value: string): void;
|
|
||||||
/**
|
|
||||||
* Remove all name-value pairs whose name is `name`.
|
|
||||||
*/
|
|
||||||
delete(name: string): void;
|
|
||||||
/**
|
|
||||||
* Returns an ES6 `Iterator` over each of the name-value pairs in the query.
|
|
||||||
* Each item of the iterator is a JavaScript `Array`. The first item of the `Array`is the `name`, the second item of the `Array` is the `value`.
|
|
||||||
*
|
|
||||||
* Alias for `urlSearchParams[@@iterator]()`.
|
|
||||||
*/
|
|
||||||
entries(): IterableIterator<[string, string]>;
|
|
||||||
/**
|
|
||||||
* Iterates over each name-value pair in the query and invokes the given function.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const myURL = new URL('https://example.org/?a=b&c=d');
|
|
||||||
* myURL.searchParams.forEach((value, name, searchParams) => {
|
|
||||||
* console.log(name, value, myURL.searchParams === searchParams);
|
|
||||||
* });
|
|
||||||
* // Prints:
|
|
||||||
* // a b true
|
|
||||||
* // c d true
|
|
||||||
* ```
|
|
||||||
* @param fn Invoked for each name-value pair in the query
|
|
||||||
* @param thisArg To be used as `this` value for when `fn` is called
|
|
||||||
*/
|
|
||||||
forEach<TThis = this>(callback: (this: TThis, value: string, name: string, searchParams: URLSearchParams) => void, thisArg?: TThis): void;
|
|
||||||
/**
|
|
||||||
* Returns the value of the first name-value pair whose name is `name`. If there
|
|
||||||
* are no such pairs, `null` is returned.
|
|
||||||
* @return or `null` if there is no name-value pair with the given `name`.
|
|
||||||
*/
|
|
||||||
get(name: string): string | null;
|
|
||||||
/**
|
|
||||||
* Returns the values of all name-value pairs whose name is `name`. If there are
|
|
||||||
* no such pairs, an empty array is returned.
|
|
||||||
*/
|
|
||||||
getAll(name: string): string[];
|
|
||||||
/**
|
|
||||||
* Returns `true` if there is at least one name-value pair whose name is `name`.
|
|
||||||
*/
|
|
||||||
has(name: string): boolean;
|
|
||||||
/**
|
|
||||||
* Returns an ES6 `Iterator` over the names of each name-value pair.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const params = new URLSearchParams('foo=bar&foo=baz');
|
|
||||||
* for (const name of params.keys()) {
|
|
||||||
* console.log(name);
|
|
||||||
* }
|
|
||||||
* // Prints:
|
|
||||||
* // foo
|
|
||||||
* // foo
|
|
||||||
* ```
|
|
||||||
*/
|
|
||||||
keys(): IterableIterator<string>;
|
|
||||||
/**
|
|
||||||
* Sets the value in the `URLSearchParams` object associated with `name` to`value`. If there are any pre-existing name-value pairs whose names are `name`,
|
|
||||||
* set the first such pair's value to `value` and remove all others. If not,
|
|
||||||
* append the name-value pair to the query string.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const params = new URLSearchParams();
|
|
||||||
* params.append('foo', 'bar');
|
|
||||||
* params.append('foo', 'baz');
|
|
||||||
* params.append('abc', 'def');
|
|
||||||
* console.log(params.toString());
|
|
||||||
* // Prints foo=bar&foo=baz&abc=def
|
|
||||||
*
|
|
||||||
* params.set('foo', 'def');
|
|
||||||
* params.set('xyz', 'opq');
|
|
||||||
* console.log(params.toString());
|
|
||||||
* // Prints foo=def&abc=def&xyz=opq
|
|
||||||
* ```
|
|
||||||
*/
|
|
||||||
set(name: string, value: string): void;
|
|
||||||
/**
|
|
||||||
* Sort all existing name-value pairs in-place by their names. Sorting is done
|
|
||||||
* with a [stable sorting algorithm](https://en.wikipedia.org/wiki/Sorting_algorithm#Stability), so relative order between name-value pairs
|
|
||||||
* with the same name is preserved.
|
|
||||||
*
|
|
||||||
* This method can be used, in particular, to increase cache hits.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const params = new URLSearchParams('query[]=abc&type=search&query[]=123');
|
|
||||||
* params.sort();
|
|
||||||
* console.log(params.toString());
|
|
||||||
* // Prints query%5B%5D=abc&query%5B%5D=123&type=search
|
|
||||||
* ```
|
|
||||||
* @since v7.7.0, v6.13.0
|
|
||||||
*/
|
|
||||||
sort(): void;
|
|
||||||
/**
|
|
||||||
* Returns the search parameters serialized as a string, with characters
|
|
||||||
* percent-encoded where necessary.
|
|
||||||
*/
|
|
||||||
toString(): string;
|
|
||||||
/**
|
|
||||||
* Returns an ES6 `Iterator` over the values of each name-value pair.
|
|
||||||
*/
|
|
||||||
values(): IterableIterator<string>;
|
|
||||||
[Symbol.iterator](): IterableIterator<[string, string]>;
|
|
||||||
}
|
|
||||||
|
|
||||||
import { URL as _URL, URLSearchParams as _URLSearchParams } from 'url';
|
|
||||||
global {
|
|
||||||
interface URLSearchParams extends _URLSearchParams {}
|
|
||||||
interface URL extends _URL {}
|
|
||||||
interface Global {
|
|
||||||
URL: typeof _URL;
|
|
||||||
URLSearchParams: typeof _URLSearchParams;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* `URL` class is a global reference for `require('url').URL`
|
|
||||||
* https://nodejs.org/api/url.html#the-whatwg-url-api
|
|
||||||
* @since v10.0.0
|
|
||||||
*/
|
|
||||||
var URL:
|
|
||||||
// For compatibility with "dom" and "webworker" URL declarations
|
|
||||||
typeof globalThis extends { onmessage: any, URL: infer URL }
|
|
||||||
? URL
|
|
||||||
: typeof _URL;
|
|
||||||
/**
|
|
||||||
* `URLSearchParams` class is a global reference for `require('url').URLSearchParams`
|
|
||||||
* https://nodejs.org/api/url.html#class-urlsearchparams
|
|
||||||
* @since v10.0.0
|
|
||||||
*/
|
|
||||||
var URLSearchParams:
|
|
||||||
// For compatibility with "dom" and "webworker" URLSearchParams declarations
|
|
||||||
typeof globalThis extends { onmessage: any, URLSearchParams: infer URLSearchParams }
|
|
||||||
? URLSearchParams
|
|
||||||
: typeof _URLSearchParams;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
declare module 'node:url' {
|
|
||||||
export * from 'url';
|
|
||||||
}
|
|
||||||
1594
Websites/Jefes/Backend/node_modules/@types/node/util.d.ts
generated
vendored
1594
Websites/Jefes/Backend/node_modules/@types/node/util.d.ts
generated
vendored
File diff suppressed because it is too large
Load Diff
378
Websites/Jefes/Backend/node_modules/@types/node/v8.d.ts
generated
vendored
378
Websites/Jefes/Backend/node_modules/@types/node/v8.d.ts
generated
vendored
@ -1,378 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `v8` module exposes APIs that are specific to the version of [V8](https://developers.google.com/v8/) built into the Node.js binary. It can be accessed using:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const v8 = require('v8');
|
|
||||||
* ```
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/v8.js)
|
|
||||||
*/
|
|
||||||
declare module 'v8' {
|
|
||||||
import { Readable } from 'node:stream';
|
|
||||||
interface HeapSpaceInfo {
|
|
||||||
space_name: string;
|
|
||||||
space_size: number;
|
|
||||||
space_used_size: number;
|
|
||||||
space_available_size: number;
|
|
||||||
physical_space_size: number;
|
|
||||||
}
|
|
||||||
// ** Signifies if the --zap_code_space option is enabled or not. 1 == enabled, 0 == disabled. */
|
|
||||||
type DoesZapCodeSpaceFlag = 0 | 1;
|
|
||||||
interface HeapInfo {
|
|
||||||
total_heap_size: number;
|
|
||||||
total_heap_size_executable: number;
|
|
||||||
total_physical_size: number;
|
|
||||||
total_available_size: number;
|
|
||||||
used_heap_size: number;
|
|
||||||
heap_size_limit: number;
|
|
||||||
malloced_memory: number;
|
|
||||||
peak_malloced_memory: number;
|
|
||||||
does_zap_garbage: DoesZapCodeSpaceFlag;
|
|
||||||
number_of_native_contexts: number;
|
|
||||||
number_of_detached_contexts: number;
|
|
||||||
}
|
|
||||||
interface HeapCodeStatistics {
|
|
||||||
code_and_metadata_size: number;
|
|
||||||
bytecode_and_metadata_size: number;
|
|
||||||
external_script_source_size: number;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Returns an integer representing a version tag derived from the V8 version,
|
|
||||||
* command-line flags, and detected CPU features. This is useful for determining
|
|
||||||
* whether a `vm.Script` `cachedData` buffer is compatible with this instance
|
|
||||||
* of V8.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* console.log(v8.cachedDataVersionTag()); // 3947234607
|
|
||||||
* // The value returned by v8.cachedDataVersionTag() is derived from the V8
|
|
||||||
* // version, command-line flags, and detected CPU features. Test that the value
|
|
||||||
* // does indeed update when flags are toggled.
|
|
||||||
* v8.setFlagsFromString('--allow_natives_syntax');
|
|
||||||
* console.log(v8.cachedDataVersionTag()); // 183726201
|
|
||||||
* ```
|
|
||||||
* @since v8.0.0
|
|
||||||
*/
|
|
||||||
function cachedDataVersionTag(): number;
|
|
||||||
/**
|
|
||||||
* Returns an object with the following properties:
|
|
||||||
*
|
|
||||||
* `does_zap_garbage` is a 0/1 boolean, which signifies whether the`--zap_code_space` option is enabled or not. This makes V8 overwrite heap
|
|
||||||
* garbage with a bit pattern. The RSS footprint (resident set size) gets bigger
|
|
||||||
* because it continuously touches all heap pages and that makes them less likely
|
|
||||||
* to get swapped out by the operating system.
|
|
||||||
*
|
|
||||||
* `number_of_native_contexts` The value of native\_context is the number of the
|
|
||||||
* top-level contexts currently active. Increase of this number over time indicates
|
|
||||||
* a memory leak.
|
|
||||||
*
|
|
||||||
* `number_of_detached_contexts` The value of detached\_context is the number
|
|
||||||
* of contexts that were detached and not yet garbage collected. This number
|
|
||||||
* being non-zero indicates a potential memory leak.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* {
|
|
||||||
* total_heap_size: 7326976,
|
|
||||||
* total_heap_size_executable: 4194304,
|
|
||||||
* total_physical_size: 7326976,
|
|
||||||
* total_available_size: 1152656,
|
|
||||||
* used_heap_size: 3476208,
|
|
||||||
* heap_size_limit: 1535115264,
|
|
||||||
* malloced_memory: 16384,
|
|
||||||
* peak_malloced_memory: 1127496,
|
|
||||||
* does_zap_garbage: 0,
|
|
||||||
* number_of_native_contexts: 1,
|
|
||||||
* number_of_detached_contexts: 0
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v1.0.0
|
|
||||||
*/
|
|
||||||
function getHeapStatistics(): HeapInfo;
|
|
||||||
/**
|
|
||||||
* Returns statistics about the V8 heap spaces, i.e. the segments which make up
|
|
||||||
* the V8 heap. Neither the ordering of heap spaces, nor the availability of a
|
|
||||||
* heap space can be guaranteed as the statistics are provided via the
|
|
||||||
* V8[`GetHeapSpaceStatistics`](https://v8docs.nodesource.com/node-13.2/d5/dda/classv8_1_1_isolate.html#ac673576f24fdc7a33378f8f57e1d13a4) function and may change from one V8 version to the
|
|
||||||
* next.
|
|
||||||
*
|
|
||||||
* The value returned is an array of objects containing the following properties:
|
|
||||||
*
|
|
||||||
* ```json
|
|
||||||
* [
|
|
||||||
* {
|
|
||||||
* "space_name": "new_space",
|
|
||||||
* "space_size": 2063872,
|
|
||||||
* "space_used_size": 951112,
|
|
||||||
* "space_available_size": 80824,
|
|
||||||
* "physical_space_size": 2063872
|
|
||||||
* },
|
|
||||||
* {
|
|
||||||
* "space_name": "old_space",
|
|
||||||
* "space_size": 3090560,
|
|
||||||
* "space_used_size": 2493792,
|
|
||||||
* "space_available_size": 0,
|
|
||||||
* "physical_space_size": 3090560
|
|
||||||
* },
|
|
||||||
* {
|
|
||||||
* "space_name": "code_space",
|
|
||||||
* "space_size": 1260160,
|
|
||||||
* "space_used_size": 644256,
|
|
||||||
* "space_available_size": 960,
|
|
||||||
* "physical_space_size": 1260160
|
|
||||||
* },
|
|
||||||
* {
|
|
||||||
* "space_name": "map_space",
|
|
||||||
* "space_size": 1094160,
|
|
||||||
* "space_used_size": 201608,
|
|
||||||
* "space_available_size": 0,
|
|
||||||
* "physical_space_size": 1094160
|
|
||||||
* },
|
|
||||||
* {
|
|
||||||
* "space_name": "large_object_space",
|
|
||||||
* "space_size": 0,
|
|
||||||
* "space_used_size": 0,
|
|
||||||
* "space_available_size": 1490980608,
|
|
||||||
* "physical_space_size": 0
|
|
||||||
* }
|
|
||||||
* ]
|
|
||||||
* ```
|
|
||||||
* @since v6.0.0
|
|
||||||
*/
|
|
||||||
function getHeapSpaceStatistics(): HeapSpaceInfo[];
|
|
||||||
/**
|
|
||||||
* The `v8.setFlagsFromString()` method can be used to programmatically set
|
|
||||||
* V8 command-line flags. This method should be used with care. Changing settings
|
|
||||||
* after the VM has started may result in unpredictable behavior, including
|
|
||||||
* crashes and data loss; or it may simply do nothing.
|
|
||||||
*
|
|
||||||
* The V8 options available for a version of Node.js may be determined by running`node --v8-options`.
|
|
||||||
*
|
|
||||||
* Usage:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* // Print GC events to stdout for one minute.
|
|
||||||
* const v8 = require('v8');
|
|
||||||
* v8.setFlagsFromString('--trace_gc');
|
|
||||||
* setTimeout(() => { v8.setFlagsFromString('--notrace_gc'); }, 60e3);
|
|
||||||
* ```
|
|
||||||
* @since v1.0.0
|
|
||||||
*/
|
|
||||||
function setFlagsFromString(flags: string): void;
|
|
||||||
/**
|
|
||||||
* Generates a snapshot of the current V8 heap and returns a Readable
|
|
||||||
* Stream that may be used to read the JSON serialized representation.
|
|
||||||
* This JSON stream format is intended to be used with tools such as
|
|
||||||
* Chrome DevTools. The JSON schema is undocumented and specific to the
|
|
||||||
* V8 engine. Therefore, the schema may change from one version of V8 to the next.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* // Print heap snapshot to the console
|
|
||||||
* const v8 = require('v8');
|
|
||||||
* const stream = v8.getHeapSnapshot();
|
|
||||||
* stream.pipe(process.stdout);
|
|
||||||
* ```
|
|
||||||
* @since v11.13.0
|
|
||||||
* @return A Readable Stream containing the V8 heap snapshot
|
|
||||||
*/
|
|
||||||
function getHeapSnapshot(): Readable;
|
|
||||||
/**
|
|
||||||
* Generates a snapshot of the current V8 heap and writes it to a JSON
|
|
||||||
* file. This file is intended to be used with tools such as Chrome
|
|
||||||
* DevTools. The JSON schema is undocumented and specific to the V8
|
|
||||||
* engine, and may change from one version of V8 to the next.
|
|
||||||
*
|
|
||||||
* A heap snapshot is specific to a single V8 isolate. When using `worker threads`, a heap snapshot generated from the main thread will
|
|
||||||
* not contain any information about the workers, and vice versa.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { writeHeapSnapshot } = require('v8');
|
|
||||||
* const {
|
|
||||||
* Worker,
|
|
||||||
* isMainThread,
|
|
||||||
* parentPort
|
|
||||||
* } = require('worker_threads');
|
|
||||||
*
|
|
||||||
* if (isMainThread) {
|
|
||||||
* const worker = new Worker(__filename);
|
|
||||||
*
|
|
||||||
* worker.once('message', (filename) => {
|
|
||||||
* console.log(`worker heapdump: ${filename}`);
|
|
||||||
* // Now get a heapdump for the main thread.
|
|
||||||
* console.log(`main thread heapdump: ${writeHeapSnapshot()}`);
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* // Tell the worker to create a heapdump.
|
|
||||||
* worker.postMessage('heapdump');
|
|
||||||
* } else {
|
|
||||||
* parentPort.once('message', (message) => {
|
|
||||||
* if (message === 'heapdump') {
|
|
||||||
* // Generate a heapdump for the worker
|
|
||||||
* // and return the filename to the parent.
|
|
||||||
* parentPort.postMessage(writeHeapSnapshot());
|
|
||||||
* }
|
|
||||||
* });
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v11.13.0
|
|
||||||
* @param filename The file path where the V8 heap snapshot is to be saved. If not specified, a file name with the pattern `'Heap-${yyyymmdd}-${hhmmss}-${pid}-${thread_id}.heapsnapshot'` will be
|
|
||||||
* generated, where `{pid}` will be the PID of the Node.js process, `{thread_id}` will be `0` when `writeHeapSnapshot()` is called from the main Node.js thread or the id of a
|
|
||||||
* worker thread.
|
|
||||||
* @return The filename where the snapshot was saved.
|
|
||||||
*/
|
|
||||||
function writeHeapSnapshot(filename?: string): string;
|
|
||||||
/**
|
|
||||||
* Returns an object with the following properties:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* {
|
|
||||||
* code_and_metadata_size: 212208,
|
|
||||||
* bytecode_and_metadata_size: 161368,
|
|
||||||
* external_script_source_size: 1410794
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v12.8.0
|
|
||||||
*/
|
|
||||||
function getHeapCodeStatistics(): HeapCodeStatistics;
|
|
||||||
/**
|
|
||||||
* @since v8.0.0
|
|
||||||
*/
|
|
||||||
class Serializer {
|
|
||||||
/**
|
|
||||||
* Writes out a header, which includes the serialization format version.
|
|
||||||
*/
|
|
||||||
writeHeader(): void;
|
|
||||||
/**
|
|
||||||
* Serializes a JavaScript value and adds the serialized representation to the
|
|
||||||
* internal buffer.
|
|
||||||
*
|
|
||||||
* This throws an error if `value` cannot be serialized.
|
|
||||||
*/
|
|
||||||
writeValue(val: any): boolean;
|
|
||||||
/**
|
|
||||||
* Returns the stored internal buffer. This serializer should not be used once
|
|
||||||
* the buffer is released. Calling this method results in undefined behavior
|
|
||||||
* if a previous write has failed.
|
|
||||||
*/
|
|
||||||
releaseBuffer(): Buffer;
|
|
||||||
/**
|
|
||||||
* Marks an `ArrayBuffer` as having its contents transferred out of band.
|
|
||||||
* Pass the corresponding `ArrayBuffer` in the deserializing context to `deserializer.transferArrayBuffer()`.
|
|
||||||
* @param id A 32-bit unsigned integer.
|
|
||||||
* @param arrayBuffer An `ArrayBuffer` instance.
|
|
||||||
*/
|
|
||||||
transferArrayBuffer(id: number, arrayBuffer: ArrayBuffer): void;
|
|
||||||
/**
|
|
||||||
* Write a raw 32-bit unsigned integer.
|
|
||||||
* For use inside of a custom `serializer._writeHostObject()`.
|
|
||||||
*/
|
|
||||||
writeUint32(value: number): void;
|
|
||||||
/**
|
|
||||||
* Write a raw 64-bit unsigned integer, split into high and low 32-bit parts.
|
|
||||||
* For use inside of a custom `serializer._writeHostObject()`.
|
|
||||||
*/
|
|
||||||
writeUint64(hi: number, lo: number): void;
|
|
||||||
/**
|
|
||||||
* Write a JS `number` value.
|
|
||||||
* For use inside of a custom `serializer._writeHostObject()`.
|
|
||||||
*/
|
|
||||||
writeDouble(value: number): void;
|
|
||||||
/**
|
|
||||||
* Write raw bytes into the serializer’s internal buffer. The deserializer
|
|
||||||
* will require a way to compute the length of the buffer.
|
|
||||||
* For use inside of a custom `serializer._writeHostObject()`.
|
|
||||||
*/
|
|
||||||
writeRawBytes(buffer: NodeJS.TypedArray): void;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* A subclass of `Serializer` that serializes `TypedArray`(in particular `Buffer`) and `DataView` objects as host objects, and only
|
|
||||||
* stores the part of their underlying `ArrayBuffer`s that they are referring to.
|
|
||||||
* @since v8.0.0
|
|
||||||
*/
|
|
||||||
class DefaultSerializer extends Serializer {}
|
|
||||||
/**
|
|
||||||
* @since v8.0.0
|
|
||||||
*/
|
|
||||||
class Deserializer {
|
|
||||||
constructor(data: NodeJS.TypedArray);
|
|
||||||
/**
|
|
||||||
* Reads and validates a header (including the format version).
|
|
||||||
* May, for example, reject an invalid or unsupported wire format. In that case,
|
|
||||||
* an `Error` is thrown.
|
|
||||||
*/
|
|
||||||
readHeader(): boolean;
|
|
||||||
/**
|
|
||||||
* Deserializes a JavaScript value from the buffer and returns it.
|
|
||||||
*/
|
|
||||||
readValue(): any;
|
|
||||||
/**
|
|
||||||
* Marks an `ArrayBuffer` as having its contents transferred out of band.
|
|
||||||
* Pass the corresponding `ArrayBuffer` in the serializing context to `serializer.transferArrayBuffer()` (or return the `id` from `serializer._getSharedArrayBufferId()` in the case of
|
|
||||||
* `SharedArrayBuffer`s).
|
|
||||||
* @param id A 32-bit unsigned integer.
|
|
||||||
* @param arrayBuffer An `ArrayBuffer` instance.
|
|
||||||
*/
|
|
||||||
transferArrayBuffer(id: number, arrayBuffer: ArrayBuffer): void;
|
|
||||||
/**
|
|
||||||
* Reads the underlying wire format version. Likely mostly to be useful to
|
|
||||||
* legacy code reading old wire format versions. May not be called before`.readHeader()`.
|
|
||||||
*/
|
|
||||||
getWireFormatVersion(): number;
|
|
||||||
/**
|
|
||||||
* Read a raw 32-bit unsigned integer and return it.
|
|
||||||
* For use inside of a custom `deserializer._readHostObject()`.
|
|
||||||
*/
|
|
||||||
readUint32(): number;
|
|
||||||
/**
|
|
||||||
* Read a raw 64-bit unsigned integer and return it as an array `[hi, lo]`with two 32-bit unsigned integer entries.
|
|
||||||
* For use inside of a custom `deserializer._readHostObject()`.
|
|
||||||
*/
|
|
||||||
readUint64(): [number, number];
|
|
||||||
/**
|
|
||||||
* Read a JS `number` value.
|
|
||||||
* For use inside of a custom `deserializer._readHostObject()`.
|
|
||||||
*/
|
|
||||||
readDouble(): number;
|
|
||||||
/**
|
|
||||||
* Read raw bytes from the deserializer’s internal buffer. The `length` parameter
|
|
||||||
* must correspond to the length of the buffer that was passed to `serializer.writeRawBytes()`.
|
|
||||||
* For use inside of a custom `deserializer._readHostObject()`.
|
|
||||||
*/
|
|
||||||
readRawBytes(length: number): Buffer;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* A subclass of `Deserializer` corresponding to the format written by `DefaultSerializer`.
|
|
||||||
* @since v8.0.0
|
|
||||||
*/
|
|
||||||
class DefaultDeserializer extends Deserializer {}
|
|
||||||
/**
|
|
||||||
* Uses a `DefaultSerializer` to serialize `value` into a buffer.
|
|
||||||
* @since v8.0.0
|
|
||||||
*/
|
|
||||||
function serialize(value: any): Buffer;
|
|
||||||
/**
|
|
||||||
* Uses a `DefaultDeserializer` with default options to read a JS value
|
|
||||||
* from a buffer.
|
|
||||||
* @since v8.0.0
|
|
||||||
* @param buffer A buffer returned by {@link serialize}.
|
|
||||||
*/
|
|
||||||
function deserialize(buffer: NodeJS.TypedArray): any;
|
|
||||||
/**
|
|
||||||
* The `v8.takeCoverage()` method allows the user to write the coverage started by `NODE_V8_COVERAGE` to disk on demand. This method can be invoked multiple
|
|
||||||
* times during the lifetime of the process. Each time the execution counter will
|
|
||||||
* be reset and a new coverage report will be written to the directory specified
|
|
||||||
* by `NODE_V8_COVERAGE`.
|
|
||||||
*
|
|
||||||
* When the process is about to exit, one last coverage will still be written to
|
|
||||||
* disk unless {@link stopCoverage} is invoked before the process exits.
|
|
||||||
* @since v15.1.0, v14.18.0, v12.22.0
|
|
||||||
*/
|
|
||||||
function takeCoverage(): void;
|
|
||||||
/**
|
|
||||||
* The `v8.stopCoverage()` method allows the user to stop the coverage collection
|
|
||||||
* started by `NODE_V8_COVERAGE`, so that V8 can release the execution count
|
|
||||||
* records and optimize code. This can be used in conjunction with {@link takeCoverage} if the user wants to collect the coverage on demand.
|
|
||||||
* @since v15.1.0, v14.18.0, v12.22.0
|
|
||||||
*/
|
|
||||||
function stopCoverage(): void;
|
|
||||||
}
|
|
||||||
declare module 'node:v8' {
|
|
||||||
export * from 'v8';
|
|
||||||
}
|
|
||||||
507
Websites/Jefes/Backend/node_modules/@types/node/vm.d.ts
generated
vendored
507
Websites/Jefes/Backend/node_modules/@types/node/vm.d.ts
generated
vendored
@ -1,507 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `vm` module enables compiling and running code within V8 Virtual
|
|
||||||
* Machine contexts. **The `vm` module is not a security mechanism. Do**
|
|
||||||
* **not use it to run untrusted code.**
|
|
||||||
*
|
|
||||||
* JavaScript code can be compiled and run immediately or
|
|
||||||
* compiled, saved, and run later.
|
|
||||||
*
|
|
||||||
* A common use case is to run the code in a different V8 Context. This means
|
|
||||||
* invoked code has a different global object than the invoking code.
|
|
||||||
*
|
|
||||||
* One can provide the context by `contextifying` an
|
|
||||||
* object. The invoked code treats any property in the context like a
|
|
||||||
* global variable. Any changes to global variables caused by the invoked
|
|
||||||
* code are reflected in the context object.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const vm = require('vm');
|
|
||||||
*
|
|
||||||
* const x = 1;
|
|
||||||
*
|
|
||||||
* const context = { x: 2 };
|
|
||||||
* vm.createContext(context); // Contextify the object.
|
|
||||||
*
|
|
||||||
* const code = 'x += 40; var y = 17;';
|
|
||||||
* // `x` and `y` are global variables in the context.
|
|
||||||
* // Initially, x has the value 2 because that is the value of context.x.
|
|
||||||
* vm.runInContext(code, context);
|
|
||||||
*
|
|
||||||
* console.log(context.x); // 42
|
|
||||||
* console.log(context.y); // 17
|
|
||||||
*
|
|
||||||
* console.log(x); // 1; y is not defined.
|
|
||||||
* ```
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/vm.js)
|
|
||||||
*/
|
|
||||||
declare module 'vm' {
|
|
||||||
interface Context extends NodeJS.Dict<any> {}
|
|
||||||
interface BaseOptions {
|
|
||||||
/**
|
|
||||||
* Specifies the filename used in stack traces produced by this script.
|
|
||||||
* Default: `''`.
|
|
||||||
*/
|
|
||||||
filename?: string | undefined;
|
|
||||||
/**
|
|
||||||
* Specifies the line number offset that is displayed in stack traces produced by this script.
|
|
||||||
* Default: `0`.
|
|
||||||
*/
|
|
||||||
lineOffset?: number | undefined;
|
|
||||||
/**
|
|
||||||
* Specifies the column number offset that is displayed in stack traces produced by this script.
|
|
||||||
* @default 0
|
|
||||||
*/
|
|
||||||
columnOffset?: number | undefined;
|
|
||||||
}
|
|
||||||
interface ScriptOptions extends BaseOptions {
|
|
||||||
displayErrors?: boolean | undefined;
|
|
||||||
timeout?: number | undefined;
|
|
||||||
cachedData?: Buffer | undefined;
|
|
||||||
/** @deprecated in favor of `script.createCachedData()` */
|
|
||||||
produceCachedData?: boolean | undefined;
|
|
||||||
}
|
|
||||||
interface RunningScriptOptions extends BaseOptions {
|
|
||||||
/**
|
|
||||||
* When `true`, if an `Error` occurs while compiling the `code`, the line of code causing the error is attached to the stack trace.
|
|
||||||
* Default: `true`.
|
|
||||||
*/
|
|
||||||
displayErrors?: boolean | undefined;
|
|
||||||
/**
|
|
||||||
* Specifies the number of milliseconds to execute code before terminating execution.
|
|
||||||
* If execution is terminated, an `Error` will be thrown. This value must be a strictly positive integer.
|
|
||||||
*/
|
|
||||||
timeout?: number | undefined;
|
|
||||||
/**
|
|
||||||
* If `true`, the execution will be terminated when `SIGINT` (Ctrl+C) is received.
|
|
||||||
* Existing handlers for the event that have been attached via `process.on('SIGINT')` will be disabled during script execution, but will continue to work after that.
|
|
||||||
* If execution is terminated, an `Error` will be thrown.
|
|
||||||
* Default: `false`.
|
|
||||||
*/
|
|
||||||
breakOnSigint?: boolean | undefined;
|
|
||||||
/**
|
|
||||||
* If set to `afterEvaluate`, microtasks will be run immediately after the script has run.
|
|
||||||
*/
|
|
||||||
microtaskMode?: 'afterEvaluate' | undefined;
|
|
||||||
}
|
|
||||||
interface CompileFunctionOptions extends BaseOptions {
|
|
||||||
/**
|
|
||||||
* Provides an optional data with V8's code cache data for the supplied source.
|
|
||||||
*/
|
|
||||||
cachedData?: Buffer | undefined;
|
|
||||||
/**
|
|
||||||
* Specifies whether to produce new cache data.
|
|
||||||
* Default: `false`,
|
|
||||||
*/
|
|
||||||
produceCachedData?: boolean | undefined;
|
|
||||||
/**
|
|
||||||
* The sandbox/context in which the said function should be compiled in.
|
|
||||||
*/
|
|
||||||
parsingContext?: Context | undefined;
|
|
||||||
/**
|
|
||||||
* An array containing a collection of context extensions (objects wrapping the current scope) to be applied while compiling
|
|
||||||
*/
|
|
||||||
contextExtensions?: Object[] | undefined;
|
|
||||||
}
|
|
||||||
interface CreateContextOptions {
|
|
||||||
/**
|
|
||||||
* Human-readable name of the newly created context.
|
|
||||||
* @default 'VM Context i' Where i is an ascending numerical index of the created context.
|
|
||||||
*/
|
|
||||||
name?: string | undefined;
|
|
||||||
/**
|
|
||||||
* Corresponds to the newly created context for display purposes.
|
|
||||||
* The origin should be formatted like a `URL`, but with only the scheme, host, and port (if necessary),
|
|
||||||
* like the value of the `url.origin` property of a URL object.
|
|
||||||
* Most notably, this string should omit the trailing slash, as that denotes a path.
|
|
||||||
* @default ''
|
|
||||||
*/
|
|
||||||
origin?: string | undefined;
|
|
||||||
codeGeneration?:
|
|
||||||
| {
|
|
||||||
/**
|
|
||||||
* If set to false any calls to eval or function constructors (Function, GeneratorFunction, etc)
|
|
||||||
* will throw an EvalError.
|
|
||||||
* @default true
|
|
||||||
*/
|
|
||||||
strings?: boolean | undefined;
|
|
||||||
/**
|
|
||||||
* If set to false any attempt to compile a WebAssembly module will throw a WebAssembly.CompileError.
|
|
||||||
* @default true
|
|
||||||
*/
|
|
||||||
wasm?: boolean | undefined;
|
|
||||||
}
|
|
||||||
| undefined;
|
|
||||||
/**
|
|
||||||
* If set to `afterEvaluate`, microtasks will be run immediately after the script has run.
|
|
||||||
*/
|
|
||||||
microtaskMode?: 'afterEvaluate' | undefined;
|
|
||||||
}
|
|
||||||
type MeasureMemoryMode = 'summary' | 'detailed';
|
|
||||||
interface MeasureMemoryOptions {
|
|
||||||
/**
|
|
||||||
* @default 'summary'
|
|
||||||
*/
|
|
||||||
mode?: MeasureMemoryMode | undefined;
|
|
||||||
context?: Context | undefined;
|
|
||||||
}
|
|
||||||
interface MemoryMeasurement {
|
|
||||||
total: {
|
|
||||||
jsMemoryEstimate: number;
|
|
||||||
jsMemoryRange: [number, number];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Instances of the `vm.Script` class contain precompiled scripts that can be
|
|
||||||
* executed in specific contexts.
|
|
||||||
* @since v0.3.1
|
|
||||||
*/
|
|
||||||
class Script {
|
|
||||||
constructor(code: string, options?: ScriptOptions);
|
|
||||||
/**
|
|
||||||
* Runs the compiled code contained by the `vm.Script` object within the given`contextifiedObject` and returns the result. Running code does not have access
|
|
||||||
* to local scope.
|
|
||||||
*
|
|
||||||
* The following example compiles code that increments a global variable, sets
|
|
||||||
* the value of another global variable, then execute the code multiple times.
|
|
||||||
* The globals are contained in the `context` object.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const vm = require('vm');
|
|
||||||
*
|
|
||||||
* const context = {
|
|
||||||
* animal: 'cat',
|
|
||||||
* count: 2
|
|
||||||
* };
|
|
||||||
*
|
|
||||||
* const script = new vm.Script('count += 1; name = "kitty";');
|
|
||||||
*
|
|
||||||
* vm.createContext(context);
|
|
||||||
* for (let i = 0; i < 10; ++i) {
|
|
||||||
* script.runInContext(context);
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* console.log(context);
|
|
||||||
* // Prints: { animal: 'cat', count: 12, name: 'kitty' }
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Using the `timeout` or `breakOnSigint` options will result in new event loops
|
|
||||||
* and corresponding threads being started, which have a non-zero performance
|
|
||||||
* overhead.
|
|
||||||
* @since v0.3.1
|
|
||||||
* @param contextifiedObject A `contextified` object as returned by the `vm.createContext()` method.
|
|
||||||
* @return the result of the very last statement executed in the script.
|
|
||||||
*/
|
|
||||||
runInContext(contextifiedObject: Context, options?: RunningScriptOptions): any;
|
|
||||||
/**
|
|
||||||
* First contextifies the given `contextObject`, runs the compiled code contained
|
|
||||||
* by the `vm.Script` object within the created context, and returns the result.
|
|
||||||
* Running code does not have access to local scope.
|
|
||||||
*
|
|
||||||
* The following example compiles code that sets a global variable, then executes
|
|
||||||
* the code multiple times in different contexts. The globals are set on and
|
|
||||||
* contained within each individual `context`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const vm = require('vm');
|
|
||||||
*
|
|
||||||
* const script = new vm.Script('globalVar = "set"');
|
|
||||||
*
|
|
||||||
* const contexts = [{}, {}, {}];
|
|
||||||
* contexts.forEach((context) => {
|
|
||||||
* script.runInNewContext(context);
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* console.log(contexts);
|
|
||||||
* // Prints: [{ globalVar: 'set' }, { globalVar: 'set' }, { globalVar: 'set' }]
|
|
||||||
* ```
|
|
||||||
* @since v0.3.1
|
|
||||||
* @param contextObject An object that will be `contextified`. If `undefined`, a new object will be created.
|
|
||||||
* @return the result of the very last statement executed in the script.
|
|
||||||
*/
|
|
||||||
runInNewContext(contextObject?: Context, options?: RunningScriptOptions): any;
|
|
||||||
/**
|
|
||||||
* Runs the compiled code contained by the `vm.Script` within the context of the
|
|
||||||
* current `global` object. Running code does not have access to local scope, but_does_ have access to the current `global` object.
|
|
||||||
*
|
|
||||||
* The following example compiles code that increments a `global` variable then
|
|
||||||
* executes that code multiple times:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const vm = require('vm');
|
|
||||||
*
|
|
||||||
* global.globalVar = 0;
|
|
||||||
*
|
|
||||||
* const script = new vm.Script('globalVar += 1', { filename: 'myfile.vm' });
|
|
||||||
*
|
|
||||||
* for (let i = 0; i < 1000; ++i) {
|
|
||||||
* script.runInThisContext();
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* console.log(globalVar);
|
|
||||||
*
|
|
||||||
* // 1000
|
|
||||||
* ```
|
|
||||||
* @since v0.3.1
|
|
||||||
* @return the result of the very last statement executed in the script.
|
|
||||||
*/
|
|
||||||
runInThisContext(options?: RunningScriptOptions): any;
|
|
||||||
/**
|
|
||||||
* Creates a code cache that can be used with the `Script` constructor's`cachedData` option. Returns a `Buffer`. This method may be called at any
|
|
||||||
* time and any number of times.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const script = new vm.Script(`
|
|
||||||
* function add(a, b) {
|
|
||||||
* return a + b;
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* const x = add(1, 2);
|
|
||||||
* `);
|
|
||||||
*
|
|
||||||
* const cacheWithoutX = script.createCachedData();
|
|
||||||
*
|
|
||||||
* script.runInThisContext();
|
|
||||||
*
|
|
||||||
* const cacheWithX = script.createCachedData();
|
|
||||||
* ```
|
|
||||||
* @since v10.6.0
|
|
||||||
*/
|
|
||||||
createCachedData(): Buffer;
|
|
||||||
/** @deprecated in favor of `script.createCachedData()` */
|
|
||||||
cachedDataProduced?: boolean | undefined;
|
|
||||||
cachedDataRejected?: boolean | undefined;
|
|
||||||
cachedData?: Buffer | undefined;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* If given a `contextObject`, the `vm.createContext()` method will `prepare
|
|
||||||
* that object` so that it can be used in calls to {@link runInContext} or `script.runInContext()`. Inside such scripts,
|
|
||||||
* the `contextObject` will be the global object, retaining all of its existing
|
|
||||||
* properties but also having the built-in objects and functions any standard [global object](https://es5.github.io/#x15.1) has. Outside of scripts run by the vm module, global variables
|
|
||||||
* will remain unchanged.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const vm = require('vm');
|
|
||||||
*
|
|
||||||
* global.globalVar = 3;
|
|
||||||
*
|
|
||||||
* const context = { globalVar: 1 };
|
|
||||||
* vm.createContext(context);
|
|
||||||
*
|
|
||||||
* vm.runInContext('globalVar *= 2;', context);
|
|
||||||
*
|
|
||||||
* console.log(context);
|
|
||||||
* // Prints: { globalVar: 2 }
|
|
||||||
*
|
|
||||||
* console.log(global.globalVar);
|
|
||||||
* // Prints: 3
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* If `contextObject` is omitted (or passed explicitly as `undefined`), a new,
|
|
||||||
* empty `contextified` object will be returned.
|
|
||||||
*
|
|
||||||
* The `vm.createContext()` method is primarily useful for creating a single
|
|
||||||
* context that can be used to run multiple scripts. For instance, if emulating a
|
|
||||||
* web browser, the method can be used to create a single context representing a
|
|
||||||
* window's global object, then run all `<script>` tags together within that
|
|
||||||
* context.
|
|
||||||
*
|
|
||||||
* The provided `name` and `origin` of the context are made visible through the
|
|
||||||
* Inspector API.
|
|
||||||
* @since v0.3.1
|
|
||||||
* @return contextified object.
|
|
||||||
*/
|
|
||||||
function createContext(sandbox?: Context, options?: CreateContextOptions): Context;
|
|
||||||
/**
|
|
||||||
* Returns `true` if the given `object` object has been `contextified` using {@link createContext}.
|
|
||||||
* @since v0.11.7
|
|
||||||
*/
|
|
||||||
function isContext(sandbox: Context): boolean;
|
|
||||||
/**
|
|
||||||
* The `vm.runInContext()` method compiles `code`, runs it within the context of
|
|
||||||
* the `contextifiedObject`, then returns the result. Running code does not have
|
|
||||||
* access to the local scope. The `contextifiedObject` object _must_ have been
|
|
||||||
* previously `contextified` using the {@link createContext} method.
|
|
||||||
*
|
|
||||||
* If `options` is a string, then it specifies the filename.
|
|
||||||
*
|
|
||||||
* The following example compiles and executes different scripts using a single `contextified` object:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const vm = require('vm');
|
|
||||||
*
|
|
||||||
* const contextObject = { globalVar: 1 };
|
|
||||||
* vm.createContext(contextObject);
|
|
||||||
*
|
|
||||||
* for (let i = 0; i < 10; ++i) {
|
|
||||||
* vm.runInContext('globalVar *= 2;', contextObject);
|
|
||||||
* }
|
|
||||||
* console.log(contextObject);
|
|
||||||
* // Prints: { globalVar: 1024 }
|
|
||||||
* ```
|
|
||||||
* @since v0.3.1
|
|
||||||
* @param code The JavaScript code to compile and run.
|
|
||||||
* @param contextifiedObject The `contextified` object that will be used as the `global` when the `code` is compiled and run.
|
|
||||||
* @return the result of the very last statement executed in the script.
|
|
||||||
*/
|
|
||||||
function runInContext(code: string, contextifiedObject: Context, options?: RunningScriptOptions | string): any;
|
|
||||||
/**
|
|
||||||
* The `vm.runInNewContext()` first contextifies the given `contextObject` (or
|
|
||||||
* creates a new `contextObject` if passed as `undefined`), compiles the `code`,
|
|
||||||
* runs it within the created context, then returns the result. Running code
|
|
||||||
* does not have access to the local scope.
|
|
||||||
*
|
|
||||||
* If `options` is a string, then it specifies the filename.
|
|
||||||
*
|
|
||||||
* The following example compiles and executes code that increments a global
|
|
||||||
* variable and sets a new one. These globals are contained in the `contextObject`.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const vm = require('vm');
|
|
||||||
*
|
|
||||||
* const contextObject = {
|
|
||||||
* animal: 'cat',
|
|
||||||
* count: 2
|
|
||||||
* };
|
|
||||||
*
|
|
||||||
* vm.runInNewContext('count += 1; name = "kitty"', contextObject);
|
|
||||||
* console.log(contextObject);
|
|
||||||
* // Prints: { animal: 'cat', count: 3, name: 'kitty' }
|
|
||||||
* ```
|
|
||||||
* @since v0.3.1
|
|
||||||
* @param code The JavaScript code to compile and run.
|
|
||||||
* @param contextObject An object that will be `contextified`. If `undefined`, a new object will be created.
|
|
||||||
* @return the result of the very last statement executed in the script.
|
|
||||||
*/
|
|
||||||
function runInNewContext(code: string, contextObject?: Context, options?: RunningScriptOptions | string): any;
|
|
||||||
/**
|
|
||||||
* `vm.runInThisContext()` compiles `code`, runs it within the context of the
|
|
||||||
* current `global` and returns the result. Running code does not have access to
|
|
||||||
* local scope, but does have access to the current `global` object.
|
|
||||||
*
|
|
||||||
* If `options` is a string, then it specifies the filename.
|
|
||||||
*
|
|
||||||
* The following example illustrates using both `vm.runInThisContext()` and
|
|
||||||
* the JavaScript [`eval()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval) function to run the same code:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const vm = require('vm');
|
|
||||||
* let localVar = 'initial value';
|
|
||||||
*
|
|
||||||
* const vmResult = vm.runInThisContext('localVar = "vm";');
|
|
||||||
* console.log(`vmResult: '${vmResult}', localVar: '${localVar}'`);
|
|
||||||
* // Prints: vmResult: 'vm', localVar: 'initial value'
|
|
||||||
*
|
|
||||||
* const evalResult = eval('localVar = "eval";');
|
|
||||||
* console.log(`evalResult: '${evalResult}', localVar: '${localVar}'`);
|
|
||||||
* // Prints: evalResult: 'eval', localVar: 'eval'
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Because `vm.runInThisContext()` does not have access to the local scope,`localVar` is unchanged. In contrast,
|
|
||||||
* [`eval()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval) _does_ have access to the
|
|
||||||
* local scope, so the value `localVar` is changed. In this way`vm.runInThisContext()` is much like an [indirect `eval()` call](https://es5.github.io/#x10.4.2), e.g.`(0,eval)('code')`.
|
|
||||||
*
|
|
||||||
* ## Example: Running an HTTP server within a VM
|
|
||||||
*
|
|
||||||
* When using either `script.runInThisContext()` or {@link runInThisContext}, the code is executed within the current V8 global
|
|
||||||
* context. The code passed to this VM context will have its own isolated scope.
|
|
||||||
*
|
|
||||||
* In order to run a simple web server using the `http` module the code passed to
|
|
||||||
* the context must either call `require('http')` on its own, or have a reference
|
|
||||||
* to the `http` module passed to it. For instance:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* 'use strict';
|
|
||||||
* const vm = require('vm');
|
|
||||||
*
|
|
||||||
* const code = `
|
|
||||||
* ((require) => {
|
|
||||||
* const http = require('http');
|
|
||||||
*
|
|
||||||
* http.createServer((request, response) => {
|
|
||||||
* response.writeHead(200, { 'Content-Type': 'text/plain' });
|
|
||||||
* response.end('Hello World\\n');
|
|
||||||
* }).listen(8124);
|
|
||||||
*
|
|
||||||
* console.log('Server running at http://127.0.0.1:8124/');
|
|
||||||
* })`;
|
|
||||||
*
|
|
||||||
* vm.runInThisContext(code)(require);
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* The `require()` in the above case shares the state with the context it is
|
|
||||||
* passed from. This may introduce risks when untrusted code is executed, e.g.
|
|
||||||
* altering objects in the context in unwanted ways.
|
|
||||||
* @since v0.3.1
|
|
||||||
* @param code The JavaScript code to compile and run.
|
|
||||||
* @return the result of the very last statement executed in the script.
|
|
||||||
*/
|
|
||||||
function runInThisContext(code: string, options?: RunningScriptOptions | string): any;
|
|
||||||
/**
|
|
||||||
* Compiles the given code into the provided context (if no context is
|
|
||||||
* supplied, the current context is used), and returns it wrapped inside a
|
|
||||||
* function with the given `params`.
|
|
||||||
* @since v10.10.0
|
|
||||||
* @param code The body of the function to compile.
|
|
||||||
* @param params An array of strings containing all parameters for the function.
|
|
||||||
*/
|
|
||||||
function compileFunction(code: string, params?: ReadonlyArray<string>, options?: CompileFunctionOptions): Function;
|
|
||||||
/**
|
|
||||||
* Measure the memory known to V8 and used by all contexts known to the
|
|
||||||
* current V8 isolate, or the main context.
|
|
||||||
*
|
|
||||||
* The format of the object that the returned Promise may resolve with is
|
|
||||||
* specific to the V8 engine and may change from one version of V8 to the next.
|
|
||||||
*
|
|
||||||
* The returned result is different from the statistics returned by`v8.getHeapSpaceStatistics()` in that `vm.measureMemory()` measure the
|
|
||||||
* memory reachable by each V8 specific contexts in the current instance of
|
|
||||||
* the V8 engine, while the result of `v8.getHeapSpaceStatistics()` measure
|
|
||||||
* the memory occupied by each heap space in the current V8 instance.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const vm = require('vm');
|
|
||||||
* // Measure the memory used by the main context.
|
|
||||||
* vm.measureMemory({ mode: 'summary' })
|
|
||||||
* // This is the same as vm.measureMemory()
|
|
||||||
* .then((result) => {
|
|
||||||
* // The current format is:
|
|
||||||
* // {
|
|
||||||
* // total: {
|
|
||||||
* // jsMemoryEstimate: 2418479, jsMemoryRange: [ 2418479, 2745799 ]
|
|
||||||
* // }
|
|
||||||
* // }
|
|
||||||
* console.log(result);
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* const context = vm.createContext({ a: 1 });
|
|
||||||
* vm.measureMemory({ mode: 'detailed', execution: 'eager' })
|
|
||||||
* .then((result) => {
|
|
||||||
* // Reference the context here so that it won't be GC'ed
|
|
||||||
* // until the measurement is complete.
|
|
||||||
* console.log(context.a);
|
|
||||||
* // {
|
|
||||||
* // total: {
|
|
||||||
* // jsMemoryEstimate: 2574732,
|
|
||||||
* // jsMemoryRange: [ 2574732, 2904372 ]
|
|
||||||
* // },
|
|
||||||
* // current: {
|
|
||||||
* // jsMemoryEstimate: 2438996,
|
|
||||||
* // jsMemoryRange: [ 2438996, 2768636 ]
|
|
||||||
* // },
|
|
||||||
* // other: [
|
|
||||||
* // {
|
|
||||||
* // jsMemoryEstimate: 135736,
|
|
||||||
* // jsMemoryRange: [ 135736, 465376 ]
|
|
||||||
* // }
|
|
||||||
* // ]
|
|
||||||
* // }
|
|
||||||
* console.log(result);
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
* @since v13.10.0
|
|
||||||
* @experimental
|
|
||||||
*/
|
|
||||||
function measureMemory(options?: MeasureMemoryOptions): Promise<MemoryMeasurement>;
|
|
||||||
}
|
|
||||||
declare module 'node:vm' {
|
|
||||||
export * from 'vm';
|
|
||||||
}
|
|
||||||
158
Websites/Jefes/Backend/node_modules/@types/node/wasi.d.ts
generated
vendored
158
Websites/Jefes/Backend/node_modules/@types/node/wasi.d.ts
generated
vendored
@ -1,158 +0,0 @@
|
|||||||
/**
|
|
||||||
* The WASI API provides an implementation of the [WebAssembly System Interface](https://wasi.dev/) specification. WASI gives sandboxed WebAssembly applications access to the
|
|
||||||
* underlying operating system via a collection of POSIX-like functions.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* import { readFile } from 'fs/promises';
|
|
||||||
* import { WASI } from 'wasi';
|
|
||||||
* import { argv, env } from 'process';
|
|
||||||
*
|
|
||||||
* const wasi = new WASI({
|
|
||||||
* args: argv,
|
|
||||||
* env,
|
|
||||||
* preopens: {
|
|
||||||
* '/sandbox': '/some/real/path/that/wasm/can/access'
|
|
||||||
* }
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* // Some WASI binaries require:
|
|
||||||
* // const importObject = { wasi_unstable: wasi.wasiImport };
|
|
||||||
* const importObject = { wasi_snapshot_preview1: wasi.wasiImport };
|
|
||||||
*
|
|
||||||
* const wasm = await WebAssembly.compile(
|
|
||||||
* await readFile(new URL('./demo.wasm', import.meta.url))
|
|
||||||
* );
|
|
||||||
* const instance = await WebAssembly.instantiate(wasm, importObject);
|
|
||||||
*
|
|
||||||
* wasi.start(instance);
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* To run the above example, create a new WebAssembly text format file named`demo.wat`:
|
|
||||||
*
|
|
||||||
* ```text
|
|
||||||
* (module
|
|
||||||
* ;; Import the required fd_write WASI function which will write the given io vectors to stdout
|
|
||||||
* ;; The function signature for fd_write is:
|
|
||||||
* ;; (File Descriptor, *iovs, iovs_len, nwritten) -> Returns number of bytes written
|
|
||||||
* (import "wasi_snapshot_preview1" "fd_write" (func $fd_write (param i32 i32 i32 i32) (result i32)))
|
|
||||||
*
|
|
||||||
* (memory 1)
|
|
||||||
* (export "memory" (memory 0))
|
|
||||||
*
|
|
||||||
* ;; Write 'hello world\n' to memory at an offset of 8 bytes
|
|
||||||
* ;; Note the trailing newline which is required for the text to appear
|
|
||||||
* (data (i32.const 8) "hello world\n")
|
|
||||||
*
|
|
||||||
* (func $main (export "_start")
|
|
||||||
* ;; Creating a new io vector within linear memory
|
|
||||||
* (i32.store (i32.const 0) (i32.const 8)) ;; iov.iov_base - This is a pointer to the start of the 'hello world\n' string
|
|
||||||
* (i32.store (i32.const 4) (i32.const 12)) ;; iov.iov_len - The length of the 'hello world\n' string
|
|
||||||
*
|
|
||||||
* (call $fd_write
|
|
||||||
* (i32.const 1) ;; file_descriptor - 1 for stdout
|
|
||||||
* (i32.const 0) ;; *iovs - The pointer to the iov array, which is stored at memory location 0
|
|
||||||
* (i32.const 1) ;; iovs_len - We're printing 1 string stored in an iov - so one.
|
|
||||||
* (i32.const 20) ;; nwritten - A place in memory to store the number of bytes written
|
|
||||||
* )
|
|
||||||
* drop ;; Discard the number of bytes written from the top of the stack
|
|
||||||
* )
|
|
||||||
* )
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Use [wabt](https://github.com/WebAssembly/wabt) to compile `.wat` to `.wasm`
|
|
||||||
*
|
|
||||||
* ```console
|
|
||||||
* $ wat2wasm demo.wat
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* The `--experimental-wasi-unstable-preview1` CLI argument is needed for this
|
|
||||||
* example to run.
|
|
||||||
* @experimental
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/wasi.js)
|
|
||||||
*/
|
|
||||||
declare module 'wasi' {
|
|
||||||
interface WASIOptions {
|
|
||||||
/**
|
|
||||||
* An array of strings that the WebAssembly application will
|
|
||||||
* see as command line arguments. The first argument is the virtual path to the
|
|
||||||
* WASI command itself.
|
|
||||||
*/
|
|
||||||
args?: string[] | undefined;
|
|
||||||
/**
|
|
||||||
* An object similar to `process.env` that the WebAssembly
|
|
||||||
* application will see as its environment.
|
|
||||||
*/
|
|
||||||
env?: object | undefined;
|
|
||||||
/**
|
|
||||||
* This object represents the WebAssembly application's
|
|
||||||
* sandbox directory structure. The string keys of `preopens` are treated as
|
|
||||||
* directories within the sandbox. The corresponding values in `preopens` are
|
|
||||||
* the real paths to those directories on the host machine.
|
|
||||||
*/
|
|
||||||
preopens?: NodeJS.Dict<string> | undefined;
|
|
||||||
/**
|
|
||||||
* By default, WASI applications terminate the Node.js
|
|
||||||
* process via the `__wasi_proc_exit()` function. Setting this option to `true`
|
|
||||||
* causes `wasi.start()` to return the exit code rather than terminate the
|
|
||||||
* process.
|
|
||||||
* @default false
|
|
||||||
*/
|
|
||||||
returnOnExit?: boolean | undefined;
|
|
||||||
/**
|
|
||||||
* The file descriptor used as standard input in the WebAssembly application.
|
|
||||||
* @default 0
|
|
||||||
*/
|
|
||||||
stdin?: number | undefined;
|
|
||||||
/**
|
|
||||||
* The file descriptor used as standard output in the WebAssembly application.
|
|
||||||
* @default 1
|
|
||||||
*/
|
|
||||||
stdout?: number | undefined;
|
|
||||||
/**
|
|
||||||
* The file descriptor used as standard error in the WebAssembly application.
|
|
||||||
* @default 2
|
|
||||||
*/
|
|
||||||
stderr?: number | undefined;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* The `WASI` class provides the WASI system call API and additional convenience
|
|
||||||
* methods for working with WASI-based applications. Each `WASI` instance
|
|
||||||
* represents a distinct sandbox environment. For security purposes, each `WASI`instance must have its command-line arguments, environment variables, and
|
|
||||||
* sandbox directory structure configured explicitly.
|
|
||||||
* @since v13.3.0, v12.16.0
|
|
||||||
*/
|
|
||||||
class WASI {
|
|
||||||
constructor(options?: WASIOptions);
|
|
||||||
/**
|
|
||||||
* Attempt to begin execution of `instance` as a WASI command by invoking its`_start()` export. If `instance` does not contain a `_start()` export, or if`instance` contains an `_initialize()`
|
|
||||||
* export, then an exception is thrown.
|
|
||||||
*
|
|
||||||
* `start()` requires that `instance` exports a [`WebAssembly.Memory`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory) named`memory`. If
|
|
||||||
* `instance` does not have a `memory` export an exception is thrown.
|
|
||||||
*
|
|
||||||
* If `start()` is called more than once, an exception is thrown.
|
|
||||||
* @since v13.3.0, v12.16.0
|
|
||||||
*/
|
|
||||||
start(instance: object): void; // TODO: avoid DOM dependency until WASM moved to own lib.
|
|
||||||
/**
|
|
||||||
* Attempt to initialize `instance` as a WASI reactor by invoking its`_initialize()` export, if it is present. If `instance` contains a `_start()`export, then an exception is thrown.
|
|
||||||
*
|
|
||||||
* `initialize()` requires that `instance` exports a [`WebAssembly.Memory`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Memory) named`memory`.
|
|
||||||
* If `instance` does not have a `memory` export an exception is thrown.
|
|
||||||
*
|
|
||||||
* If `initialize()` is called more than once, an exception is thrown.
|
|
||||||
* @since v14.6.0, v12.19.0
|
|
||||||
*/
|
|
||||||
initialize(instance: object): void; // TODO: avoid DOM dependency until WASM moved to own lib.
|
|
||||||
/**
|
|
||||||
* `wasiImport` is an object that implements the WASI system call API. This object
|
|
||||||
* should be passed as the `wasi_snapshot_preview1` import during the instantiation
|
|
||||||
* of a [`WebAssembly.Instance`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Instance).
|
|
||||||
* @since v13.3.0, v12.16.0
|
|
||||||
*/
|
|
||||||
readonly wasiImport: NodeJS.Dict<any>; // TODO: Narrow to DOM types
|
|
||||||
}
|
|
||||||
}
|
|
||||||
declare module 'node:wasi' {
|
|
||||||
export * from 'wasi';
|
|
||||||
}
|
|
||||||
649
Websites/Jefes/Backend/node_modules/@types/node/worker_threads.d.ts
generated
vendored
649
Websites/Jefes/Backend/node_modules/@types/node/worker_threads.d.ts
generated
vendored
@ -1,649 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `worker_threads` module enables the use of threads that execute JavaScript
|
|
||||||
* in parallel. To access it:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const worker = require('worker_threads');
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Workers (threads) are useful for performing CPU-intensive JavaScript operations.
|
|
||||||
* They do not help much with I/O-intensive work. The Node.js built-in
|
|
||||||
* asynchronous I/O operations are more efficient than Workers can be.
|
|
||||||
*
|
|
||||||
* Unlike `child_process` or `cluster`, `worker_threads` can share memory. They do
|
|
||||||
* so by transferring `ArrayBuffer` instances or sharing `SharedArrayBuffer`instances.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const {
|
|
||||||
* Worker, isMainThread, parentPort, workerData
|
|
||||||
* } = require('worker_threads');
|
|
||||||
*
|
|
||||||
* if (isMainThread) {
|
|
||||||
* module.exports = function parseJSAsync(script) {
|
|
||||||
* return new Promise((resolve, reject) => {
|
|
||||||
* const worker = new Worker(__filename, {
|
|
||||||
* workerData: script
|
|
||||||
* });
|
|
||||||
* worker.on('message', resolve);
|
|
||||||
* worker.on('error', reject);
|
|
||||||
* worker.on('exit', (code) => {
|
|
||||||
* if (code !== 0)
|
|
||||||
* reject(new Error(`Worker stopped with exit code ${code}`));
|
|
||||||
* });
|
|
||||||
* });
|
|
||||||
* };
|
|
||||||
* } else {
|
|
||||||
* const { parse } = require('some-js-parsing-library');
|
|
||||||
* const script = workerData;
|
|
||||||
* parentPort.postMessage(parse(script));
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* The above example spawns a Worker thread for each `parse()` call. In actual
|
|
||||||
* practice, use a pool of Workers for these kinds of tasks. Otherwise, the
|
|
||||||
* overhead of creating Workers would likely exceed their benefit.
|
|
||||||
*
|
|
||||||
* When implementing a worker pool, use the `AsyncResource` API to inform
|
|
||||||
* diagnostic tools (e.g. to provide asynchronous stack traces) about the
|
|
||||||
* correlation between tasks and their outcomes. See `"Using AsyncResource for a Worker thread pool"` in the `async_hooks` documentation for an example implementation.
|
|
||||||
*
|
|
||||||
* Worker threads inherit non-process-specific options by default. Refer to `Worker constructor options` to know how to customize worker thread options,
|
|
||||||
* specifically `argv` and `execArgv` options.
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/worker_threads.js)
|
|
||||||
*/
|
|
||||||
declare module 'worker_threads' {
|
|
||||||
import { Blob } from 'node:buffer';
|
|
||||||
import { Context } from 'node:vm';
|
|
||||||
import { EventEmitter } from 'node:events';
|
|
||||||
import { EventLoopUtilityFunction } from 'node:perf_hooks';
|
|
||||||
import { FileHandle } from 'node:fs/promises';
|
|
||||||
import { Readable, Writable } from 'node:stream';
|
|
||||||
import { URL } from 'node:url';
|
|
||||||
import { X509Certificate } from 'node:crypto';
|
|
||||||
const isMainThread: boolean;
|
|
||||||
const parentPort: null | MessagePort;
|
|
||||||
const resourceLimits: ResourceLimits;
|
|
||||||
const SHARE_ENV: unique symbol;
|
|
||||||
const threadId: number;
|
|
||||||
const workerData: any;
|
|
||||||
/**
|
|
||||||
* Instances of the `worker.MessageChannel` class represent an asynchronous,
|
|
||||||
* two-way communications channel.
|
|
||||||
* The `MessageChannel` has no methods of its own. `new MessageChannel()`yields an object with `port1` and `port2` properties, which refer to linked `MessagePort` instances.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { MessageChannel } = require('worker_threads');
|
|
||||||
*
|
|
||||||
* const { port1, port2 } = new MessageChannel();
|
|
||||||
* port1.on('message', (message) => console.log('received', message));
|
|
||||||
* port2.postMessage({ foo: 'bar' });
|
|
||||||
* // Prints: received { foo: 'bar' } from the `port1.on('message')` listener
|
|
||||||
* ```
|
|
||||||
* @since v10.5.0
|
|
||||||
*/
|
|
||||||
class MessageChannel {
|
|
||||||
readonly port1: MessagePort;
|
|
||||||
readonly port2: MessagePort;
|
|
||||||
}
|
|
||||||
interface WorkerPerformance {
|
|
||||||
eventLoopUtilization: EventLoopUtilityFunction;
|
|
||||||
}
|
|
||||||
type TransferListItem = ArrayBuffer | MessagePort | FileHandle | X509Certificate | Blob;
|
|
||||||
/**
|
|
||||||
* Instances of the `worker.MessagePort` class represent one end of an
|
|
||||||
* asynchronous, two-way communications channel. It can be used to transfer
|
|
||||||
* structured data, memory regions and other `MessagePort`s between different `Worker` s.
|
|
||||||
*
|
|
||||||
* This implementation matches [browser `MessagePort`](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort) s.
|
|
||||||
* @since v10.5.0
|
|
||||||
*/
|
|
||||||
class MessagePort extends EventEmitter {
|
|
||||||
/**
|
|
||||||
* Disables further sending of messages on either side of the connection.
|
|
||||||
* This method can be called when no further communication will happen over this`MessagePort`.
|
|
||||||
*
|
|
||||||
* The `'close' event` is emitted on both `MessagePort` instances that
|
|
||||||
* are part of the channel.
|
|
||||||
* @since v10.5.0
|
|
||||||
*/
|
|
||||||
close(): void;
|
|
||||||
/**
|
|
||||||
* Sends a JavaScript value to the receiving side of this channel.`value` is transferred in a way which is compatible with
|
|
||||||
* the [HTML structured clone algorithm](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm).
|
|
||||||
*
|
|
||||||
* In particular, the significant differences to `JSON` are:
|
|
||||||
*
|
|
||||||
* * `value` may contain circular references.
|
|
||||||
* * `value` may contain instances of builtin JS types such as `RegExp`s,`BigInt`s, `Map`s, `Set`s, etc.
|
|
||||||
* * `value` may contain typed arrays, both using `ArrayBuffer`s
|
|
||||||
* and `SharedArrayBuffer`s.
|
|
||||||
* * `value` may contain [`WebAssembly.Module`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/Module) instances.
|
|
||||||
* * `value` may not contain native (C++-backed) objects other than:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { MessageChannel } = require('worker_threads');
|
|
||||||
* const { port1, port2 } = new MessageChannel();
|
|
||||||
*
|
|
||||||
* port1.on('message', (message) => console.log(message));
|
|
||||||
*
|
|
||||||
* const circularData = {};
|
|
||||||
* circularData.foo = circularData;
|
|
||||||
* // Prints: { foo: [Circular] }
|
|
||||||
* port2.postMessage(circularData);
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* `transferList` may be a list of [`ArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer), `MessagePort` and `FileHandle` objects.
|
|
||||||
* After transferring, they are not usable on the sending side of the channel
|
|
||||||
* anymore (even if they are not contained in `value`). Unlike with `child processes`, transferring handles such as network sockets is currently
|
|
||||||
* not supported.
|
|
||||||
*
|
|
||||||
* If `value` contains [`SharedArrayBuffer`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer) instances, those are accessible
|
|
||||||
* from either thread. They cannot be listed in `transferList`.
|
|
||||||
*
|
|
||||||
* `value` may still contain `ArrayBuffer` instances that are not in`transferList`; in that case, the underlying memory is copied rather than moved.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { MessageChannel } = require('worker_threads');
|
|
||||||
* const { port1, port2 } = new MessageChannel();
|
|
||||||
*
|
|
||||||
* port1.on('message', (message) => console.log(message));
|
|
||||||
*
|
|
||||||
* const uint8Array = new Uint8Array([ 1, 2, 3, 4 ]);
|
|
||||||
* // This posts a copy of `uint8Array`:
|
|
||||||
* port2.postMessage(uint8Array);
|
|
||||||
* // This does not copy data, but renders `uint8Array` unusable:
|
|
||||||
* port2.postMessage(uint8Array, [ uint8Array.buffer ]);
|
|
||||||
*
|
|
||||||
* // The memory for the `sharedUint8Array` is accessible from both the
|
|
||||||
* // original and the copy received by `.on('message')`:
|
|
||||||
* const sharedUint8Array = new Uint8Array(new SharedArrayBuffer(4));
|
|
||||||
* port2.postMessage(sharedUint8Array);
|
|
||||||
*
|
|
||||||
* // This transfers a freshly created message port to the receiver.
|
|
||||||
* // This can be used, for example, to create communication channels between
|
|
||||||
* // multiple `Worker` threads that are children of the same parent thread.
|
|
||||||
* const otherChannel = new MessageChannel();
|
|
||||||
* port2.postMessage({ port: otherChannel.port1 }, [ otherChannel.port1 ]);
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* The message object is cloned immediately, and can be modified after
|
|
||||||
* posting without having side effects.
|
|
||||||
*
|
|
||||||
* For more information on the serialization and deserialization mechanisms
|
|
||||||
* behind this API, see the `serialization API of the v8 module`.
|
|
||||||
* @since v10.5.0
|
|
||||||
*/
|
|
||||||
postMessage(value: any, transferList?: ReadonlyArray<TransferListItem>): void;
|
|
||||||
/**
|
|
||||||
* Opposite of `unref()`. Calling `ref()` on a previously `unref()`ed port does_not_ let the program exit if it's the only active handle left (the default
|
|
||||||
* behavior). If the port is `ref()`ed, calling `ref()` again has no effect.
|
|
||||||
*
|
|
||||||
* If listeners are attached or removed using `.on('message')`, the port
|
|
||||||
* is `ref()`ed and `unref()`ed automatically depending on whether
|
|
||||||
* listeners for the event exist.
|
|
||||||
* @since v10.5.0
|
|
||||||
*/
|
|
||||||
ref(): void;
|
|
||||||
/**
|
|
||||||
* Calling `unref()` on a port allows the thread to exit if this is the only
|
|
||||||
* active handle in the event system. If the port is already `unref()`ed calling`unref()` again has no effect.
|
|
||||||
*
|
|
||||||
* If listeners are attached or removed using `.on('message')`, the port is`ref()`ed and `unref()`ed automatically depending on whether
|
|
||||||
* listeners for the event exist.
|
|
||||||
* @since v10.5.0
|
|
||||||
*/
|
|
||||||
unref(): void;
|
|
||||||
/**
|
|
||||||
* Starts receiving messages on this `MessagePort`. When using this port
|
|
||||||
* as an event emitter, this is called automatically once `'message'`listeners are attached.
|
|
||||||
*
|
|
||||||
* This method exists for parity with the Web `MessagePort` API. In Node.js,
|
|
||||||
* it is only useful for ignoring messages when no event listener is present.
|
|
||||||
* Node.js also diverges in its handling of `.onmessage`. Setting it
|
|
||||||
* automatically calls `.start()`, but unsetting it lets messages queue up
|
|
||||||
* until a new handler is set or the port is discarded.
|
|
||||||
* @since v10.5.0
|
|
||||||
*/
|
|
||||||
start(): void;
|
|
||||||
addListener(event: 'close', listener: () => void): this;
|
|
||||||
addListener(event: 'message', listener: (value: any) => void): this;
|
|
||||||
addListener(event: 'messageerror', listener: (error: Error) => void): this;
|
|
||||||
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
emit(event: 'close'): boolean;
|
|
||||||
emit(event: 'message', value: any): boolean;
|
|
||||||
emit(event: 'messageerror', error: Error): boolean;
|
|
||||||
emit(event: string | symbol, ...args: any[]): boolean;
|
|
||||||
on(event: 'close', listener: () => void): this;
|
|
||||||
on(event: 'message', listener: (value: any) => void): this;
|
|
||||||
on(event: 'messageerror', listener: (error: Error) => void): this;
|
|
||||||
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
once(event: 'close', listener: () => void): this;
|
|
||||||
once(event: 'message', listener: (value: any) => void): this;
|
|
||||||
once(event: 'messageerror', listener: (error: Error) => void): this;
|
|
||||||
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
prependListener(event: 'close', listener: () => void): this;
|
|
||||||
prependListener(event: 'message', listener: (value: any) => void): this;
|
|
||||||
prependListener(event: 'messageerror', listener: (error: Error) => void): this;
|
|
||||||
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
prependOnceListener(event: 'close', listener: () => void): this;
|
|
||||||
prependOnceListener(event: 'message', listener: (value: any) => void): this;
|
|
||||||
prependOnceListener(event: 'messageerror', listener: (error: Error) => void): this;
|
|
||||||
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
removeListener(event: 'close', listener: () => void): this;
|
|
||||||
removeListener(event: 'message', listener: (value: any) => void): this;
|
|
||||||
removeListener(event: 'messageerror', listener: (error: Error) => void): this;
|
|
||||||
removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
off(event: 'close', listener: () => void): this;
|
|
||||||
off(event: 'message', listener: (value: any) => void): this;
|
|
||||||
off(event: 'messageerror', listener: (error: Error) => void): this;
|
|
||||||
off(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
}
|
|
||||||
interface WorkerOptions {
|
|
||||||
/**
|
|
||||||
* List of arguments which would be stringified and appended to
|
|
||||||
* `process.argv` in the worker. This is mostly similar to the `workerData`
|
|
||||||
* but the values will be available on the global `process.argv` as if they
|
|
||||||
* were passed as CLI options to the script.
|
|
||||||
*/
|
|
||||||
argv?: any[] | undefined;
|
|
||||||
env?: NodeJS.Dict<string> | typeof SHARE_ENV | undefined;
|
|
||||||
eval?: boolean | undefined;
|
|
||||||
workerData?: any;
|
|
||||||
stdin?: boolean | undefined;
|
|
||||||
stdout?: boolean | undefined;
|
|
||||||
stderr?: boolean | undefined;
|
|
||||||
execArgv?: string[] | undefined;
|
|
||||||
resourceLimits?: ResourceLimits | undefined;
|
|
||||||
/**
|
|
||||||
* Additional data to send in the first worker message.
|
|
||||||
*/
|
|
||||||
transferList?: TransferListItem[] | undefined;
|
|
||||||
/**
|
|
||||||
* @default true
|
|
||||||
*/
|
|
||||||
trackUnmanagedFds?: boolean | undefined;
|
|
||||||
}
|
|
||||||
interface ResourceLimits {
|
|
||||||
/**
|
|
||||||
* The maximum size of a heap space for recently created objects.
|
|
||||||
*/
|
|
||||||
maxYoungGenerationSizeMb?: number | undefined;
|
|
||||||
/**
|
|
||||||
* The maximum size of the main heap in MB.
|
|
||||||
*/
|
|
||||||
maxOldGenerationSizeMb?: number | undefined;
|
|
||||||
/**
|
|
||||||
* The size of a pre-allocated memory range used for generated code.
|
|
||||||
*/
|
|
||||||
codeRangeSizeMb?: number | undefined;
|
|
||||||
/**
|
|
||||||
* The default maximum stack size for the thread. Small values may lead to unusable Worker instances.
|
|
||||||
* @default 4
|
|
||||||
*/
|
|
||||||
stackSizeMb?: number | undefined;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* The `Worker` class represents an independent JavaScript execution thread.
|
|
||||||
* Most Node.js APIs are available inside of it.
|
|
||||||
*
|
|
||||||
* Notable differences inside a Worker environment are:
|
|
||||||
*
|
|
||||||
* * The `process.stdin`, `process.stdout` and `process.stderr` may be redirected by the parent thread.
|
|
||||||
* * The `require('worker_threads').isMainThread` property is set to `false`.
|
|
||||||
* * The `require('worker_threads').parentPort` message port is available.
|
|
||||||
* * `process.exit()` does not stop the whole program, just the single thread,
|
|
||||||
* and `process.abort()` is not available.
|
|
||||||
* * `process.chdir()` and `process` methods that set group or user ids
|
|
||||||
* are not available.
|
|
||||||
* * `process.env` is a copy of the parent thread's environment variables,
|
|
||||||
* unless otherwise specified. Changes to one copy are not visible in other
|
|
||||||
* threads, and are not visible to native add-ons (unless `worker.SHARE_ENV` is passed as the `env` option to the `Worker` constructor).
|
|
||||||
* * `process.title` cannot be modified.
|
|
||||||
* * Signals are not delivered through `process.on('...')`.
|
|
||||||
* * Execution may stop at any point as a result of `worker.terminate()` being invoked.
|
|
||||||
* * IPC channels from parent processes are not accessible.
|
|
||||||
* * The `trace_events` module is not supported.
|
|
||||||
* * Native add-ons can only be loaded from multiple threads if they fulfill `certain conditions`.
|
|
||||||
*
|
|
||||||
* Creating `Worker` instances inside of other `Worker`s is possible.
|
|
||||||
*
|
|
||||||
* Like [Web Workers](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) and the `cluster module`, two-way communication can be
|
|
||||||
* achieved through inter-thread message passing. Internally, a `Worker` has a
|
|
||||||
* built-in pair of `MessagePort` s that are already associated with each other
|
|
||||||
* when the `Worker` is created. While the `MessagePort` object on the parent side
|
|
||||||
* is not directly exposed, its functionalities are exposed through `worker.postMessage()` and the `worker.on('message')` event
|
|
||||||
* on the `Worker` object for the parent thread.
|
|
||||||
*
|
|
||||||
* To create custom messaging channels (which is encouraged over using the default
|
|
||||||
* global channel because it facilitates separation of concerns), users can create
|
|
||||||
* a `MessageChannel` object on either thread and pass one of the`MessagePort`s on that `MessageChannel` to the other thread through a
|
|
||||||
* pre-existing channel, such as the global one.
|
|
||||||
*
|
|
||||||
* See `port.postMessage()` for more information on how messages are passed,
|
|
||||||
* and what kind of JavaScript values can be successfully transported through
|
|
||||||
* the thread barrier.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const assert = require('assert');
|
|
||||||
* const {
|
|
||||||
* Worker, MessageChannel, MessagePort, isMainThread, parentPort
|
|
||||||
* } = require('worker_threads');
|
|
||||||
* if (isMainThread) {
|
|
||||||
* const worker = new Worker(__filename);
|
|
||||||
* const subChannel = new MessageChannel();
|
|
||||||
* worker.postMessage({ hereIsYourPort: subChannel.port1 }, [subChannel.port1]);
|
|
||||||
* subChannel.port2.on('message', (value) => {
|
|
||||||
* console.log('received:', value);
|
|
||||||
* });
|
|
||||||
* } else {
|
|
||||||
* parentPort.once('message', (value) => {
|
|
||||||
* assert(value.hereIsYourPort instanceof MessagePort);
|
|
||||||
* value.hereIsYourPort.postMessage('the worker is sending this');
|
|
||||||
* value.hereIsYourPort.close();
|
|
||||||
* });
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v10.5.0
|
|
||||||
*/
|
|
||||||
class Worker extends EventEmitter {
|
|
||||||
/**
|
|
||||||
* If `stdin: true` was passed to the `Worker` constructor, this is a
|
|
||||||
* writable stream. The data written to this stream will be made available in
|
|
||||||
* the worker thread as `process.stdin`.
|
|
||||||
* @since v10.5.0
|
|
||||||
*/
|
|
||||||
readonly stdin: Writable | null;
|
|
||||||
/**
|
|
||||||
* This is a readable stream which contains data written to `process.stdout` inside the worker thread. If `stdout: true` was not passed to the `Worker` constructor, then data is piped to the
|
|
||||||
* parent thread's `process.stdout` stream.
|
|
||||||
* @since v10.5.0
|
|
||||||
*/
|
|
||||||
readonly stdout: Readable;
|
|
||||||
/**
|
|
||||||
* This is a readable stream which contains data written to `process.stderr` inside the worker thread. If `stderr: true` was not passed to the `Worker` constructor, then data is piped to the
|
|
||||||
* parent thread's `process.stderr` stream.
|
|
||||||
* @since v10.5.0
|
|
||||||
*/
|
|
||||||
readonly stderr: Readable;
|
|
||||||
/**
|
|
||||||
* An integer identifier for the referenced thread. Inside the worker thread,
|
|
||||||
* it is available as `require('worker_threads').threadId`.
|
|
||||||
* This value is unique for each `Worker` instance inside a single process.
|
|
||||||
* @since v10.5.0
|
|
||||||
*/
|
|
||||||
readonly threadId: number;
|
|
||||||
/**
|
|
||||||
* Provides the set of JS engine resource constraints for this Worker thread.
|
|
||||||
* If the `resourceLimits` option was passed to the `Worker` constructor,
|
|
||||||
* this matches its values.
|
|
||||||
*
|
|
||||||
* If the worker has stopped, the return value is an empty object.
|
|
||||||
* @since v13.2.0, v12.16.0
|
|
||||||
*/
|
|
||||||
readonly resourceLimits?: ResourceLimits | undefined;
|
|
||||||
/**
|
|
||||||
* An object that can be used to query performance information from a worker
|
|
||||||
* instance. Similar to `perf_hooks.performance`.
|
|
||||||
* @since v15.1.0, v14.17.0, v12.22.0
|
|
||||||
*/
|
|
||||||
readonly performance: WorkerPerformance;
|
|
||||||
/**
|
|
||||||
* @param filename The path to the Worker’s main script or module.
|
|
||||||
* Must be either an absolute path or a relative path (i.e. relative to the current working directory) starting with ./ or ../,
|
|
||||||
* or a WHATWG URL object using file: protocol. If options.eval is true, this is a string containing JavaScript code rather than a path.
|
|
||||||
*/
|
|
||||||
constructor(filename: string | URL, options?: WorkerOptions);
|
|
||||||
/**
|
|
||||||
* Send a message to the worker that is received via `require('worker_threads').parentPort.on('message')`.
|
|
||||||
* See `port.postMessage()` for more details.
|
|
||||||
* @since v10.5.0
|
|
||||||
*/
|
|
||||||
postMessage(value: any, transferList?: ReadonlyArray<TransferListItem>): void;
|
|
||||||
/**
|
|
||||||
* Opposite of `unref()`, calling `ref()` on a previously `unref()`ed worker does_not_ let the program exit if it's the only active handle left (the default
|
|
||||||
* behavior). If the worker is `ref()`ed, calling `ref()` again has
|
|
||||||
* no effect.
|
|
||||||
* @since v10.5.0
|
|
||||||
*/
|
|
||||||
ref(): void;
|
|
||||||
/**
|
|
||||||
* Calling `unref()` on a worker allows the thread to exit if this is the only
|
|
||||||
* active handle in the event system. If the worker is already `unref()`ed calling`unref()` again has no effect.
|
|
||||||
* @since v10.5.0
|
|
||||||
*/
|
|
||||||
unref(): void;
|
|
||||||
/**
|
|
||||||
* Stop all JavaScript execution in the worker thread as soon as possible.
|
|
||||||
* Returns a Promise for the exit code that is fulfilled when the `'exit' event` is emitted.
|
|
||||||
* @since v10.5.0
|
|
||||||
*/
|
|
||||||
terminate(): Promise<number>;
|
|
||||||
/**
|
|
||||||
* Returns a readable stream for a V8 snapshot of the current state of the Worker.
|
|
||||||
* See `v8.getHeapSnapshot()` for more details.
|
|
||||||
*
|
|
||||||
* If the Worker thread is no longer running, which may occur before the `'exit' event` is emitted, the returned `Promise` is rejected
|
|
||||||
* immediately with an `ERR_WORKER_NOT_RUNNING` error.
|
|
||||||
* @since v13.9.0, v12.17.0
|
|
||||||
* @return A promise for a Readable Stream containing a V8 heap snapshot
|
|
||||||
*/
|
|
||||||
getHeapSnapshot(): Promise<Readable>;
|
|
||||||
addListener(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
addListener(event: 'exit', listener: (exitCode: number) => void): this;
|
|
||||||
addListener(event: 'message', listener: (value: any) => void): this;
|
|
||||||
addListener(event: 'messageerror', listener: (error: Error) => void): this;
|
|
||||||
addListener(event: 'online', listener: () => void): this;
|
|
||||||
addListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
emit(event: 'error', err: Error): boolean;
|
|
||||||
emit(event: 'exit', exitCode: number): boolean;
|
|
||||||
emit(event: 'message', value: any): boolean;
|
|
||||||
emit(event: 'messageerror', error: Error): boolean;
|
|
||||||
emit(event: 'online'): boolean;
|
|
||||||
emit(event: string | symbol, ...args: any[]): boolean;
|
|
||||||
on(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
on(event: 'exit', listener: (exitCode: number) => void): this;
|
|
||||||
on(event: 'message', listener: (value: any) => void): this;
|
|
||||||
on(event: 'messageerror', listener: (error: Error) => void): this;
|
|
||||||
on(event: 'online', listener: () => void): this;
|
|
||||||
on(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
once(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
once(event: 'exit', listener: (exitCode: number) => void): this;
|
|
||||||
once(event: 'message', listener: (value: any) => void): this;
|
|
||||||
once(event: 'messageerror', listener: (error: Error) => void): this;
|
|
||||||
once(event: 'online', listener: () => void): this;
|
|
||||||
once(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
prependListener(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
prependListener(event: 'exit', listener: (exitCode: number) => void): this;
|
|
||||||
prependListener(event: 'message', listener: (value: any) => void): this;
|
|
||||||
prependListener(event: 'messageerror', listener: (error: Error) => void): this;
|
|
||||||
prependListener(event: 'online', listener: () => void): this;
|
|
||||||
prependListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
prependOnceListener(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
prependOnceListener(event: 'exit', listener: (exitCode: number) => void): this;
|
|
||||||
prependOnceListener(event: 'message', listener: (value: any) => void): this;
|
|
||||||
prependOnceListener(event: 'messageerror', listener: (error: Error) => void): this;
|
|
||||||
prependOnceListener(event: 'online', listener: () => void): this;
|
|
||||||
prependOnceListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
removeListener(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
removeListener(event: 'exit', listener: (exitCode: number) => void): this;
|
|
||||||
removeListener(event: 'message', listener: (value: any) => void): this;
|
|
||||||
removeListener(event: 'messageerror', listener: (error: Error) => void): this;
|
|
||||||
removeListener(event: 'online', listener: () => void): this;
|
|
||||||
removeListener(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
off(event: 'error', listener: (err: Error) => void): this;
|
|
||||||
off(event: 'exit', listener: (exitCode: number) => void): this;
|
|
||||||
off(event: 'message', listener: (value: any) => void): this;
|
|
||||||
off(event: 'messageerror', listener: (error: Error) => void): this;
|
|
||||||
off(event: 'online', listener: () => void): this;
|
|
||||||
off(event: string | symbol, listener: (...args: any[]) => void): this;
|
|
||||||
}
|
|
||||||
interface BroadcastChannel extends NodeJS.RefCounted {}
|
|
||||||
/**
|
|
||||||
* Instances of `BroadcastChannel` allow asynchronous one-to-many communication
|
|
||||||
* with all other `BroadcastChannel` instances bound to the same channel name.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* 'use strict';
|
|
||||||
*
|
|
||||||
* const {
|
|
||||||
* isMainThread,
|
|
||||||
* BroadcastChannel,
|
|
||||||
* Worker
|
|
||||||
* } = require('worker_threads');
|
|
||||||
*
|
|
||||||
* const bc = new BroadcastChannel('hello');
|
|
||||||
*
|
|
||||||
* if (isMainThread) {
|
|
||||||
* let c = 0;
|
|
||||||
* bc.onmessage = (event) => {
|
|
||||||
* console.log(event.data);
|
|
||||||
* if (++c === 10) bc.close();
|
|
||||||
* };
|
|
||||||
* for (let n = 0; n < 10; n++)
|
|
||||||
* new Worker(__filename);
|
|
||||||
* } else {
|
|
||||||
* bc.postMessage('hello from every worker');
|
|
||||||
* bc.close();
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v15.4.0
|
|
||||||
* @experimental
|
|
||||||
*/
|
|
||||||
class BroadcastChannel {
|
|
||||||
readonly name: string;
|
|
||||||
/**
|
|
||||||
* Invoked with a single \`MessageEvent\` argument when a message is received.
|
|
||||||
* @since v15.4.0
|
|
||||||
*/
|
|
||||||
onmessage: (message: unknown) => void;
|
|
||||||
/**
|
|
||||||
* Invoked with a received message cannot be deserialized.
|
|
||||||
* @since v15.4.0
|
|
||||||
*/
|
|
||||||
onmessageerror: (message: unknown) => void;
|
|
||||||
constructor(name: string);
|
|
||||||
/**
|
|
||||||
* Closes the `BroadcastChannel` connection.
|
|
||||||
* @since v15.4.0
|
|
||||||
*/
|
|
||||||
close(): void;
|
|
||||||
/**
|
|
||||||
* @since v15.4.0
|
|
||||||
* @param message Any cloneable JavaScript value.
|
|
||||||
*/
|
|
||||||
postMessage(message: unknown): void;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Mark an object as not transferable. If `object` occurs in the transfer list of
|
|
||||||
* a `port.postMessage()` call, it is ignored.
|
|
||||||
*
|
|
||||||
* In particular, this makes sense for objects that can be cloned, rather than
|
|
||||||
* transferred, and which are used by other objects on the sending side.
|
|
||||||
* For example, Node.js marks the `ArrayBuffer`s it uses for its `Buffer pool` with this.
|
|
||||||
*
|
|
||||||
* This operation cannot be undone.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { MessageChannel, markAsUntransferable } = require('worker_threads');
|
|
||||||
*
|
|
||||||
* const pooledBuffer = new ArrayBuffer(8);
|
|
||||||
* const typedArray1 = new Uint8Array(pooledBuffer);
|
|
||||||
* const typedArray2 = new Float64Array(pooledBuffer);
|
|
||||||
*
|
|
||||||
* markAsUntransferable(pooledBuffer);
|
|
||||||
*
|
|
||||||
* const { port1 } = new MessageChannel();
|
|
||||||
* port1.postMessage(typedArray1, [ typedArray1.buffer ]);
|
|
||||||
*
|
|
||||||
* // The following line prints the contents of typedArray1 -- it still owns
|
|
||||||
* // its memory and has been cloned, not transferred. Without
|
|
||||||
* // `markAsUntransferable()`, this would print an empty Uint8Array.
|
|
||||||
* // typedArray2 is intact as well.
|
|
||||||
* console.log(typedArray1);
|
|
||||||
* console.log(typedArray2);
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* There is no equivalent to this API in browsers.
|
|
||||||
* @since v14.5.0, v12.19.0
|
|
||||||
*/
|
|
||||||
function markAsUntransferable(object: object): void;
|
|
||||||
/**
|
|
||||||
* Transfer a `MessagePort` to a different `vm` Context. The original `port`object is rendered unusable, and the returned `MessagePort` instance
|
|
||||||
* takes its place.
|
|
||||||
*
|
|
||||||
* The returned `MessagePort` is an object in the target context and
|
|
||||||
* inherits from its global `Object` class. Objects passed to the [`port.onmessage()`](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessage) listener are also created in the
|
|
||||||
* target context
|
|
||||||
* and inherit from its global `Object` class.
|
|
||||||
*
|
|
||||||
* However, the created `MessagePort` no longer inherits from [`EventTarget`](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget), and only
|
|
||||||
* [`port.onmessage()`](https://developer.mozilla.org/en-US/docs/Web/API/MessagePort/onmessage) can be used to receive
|
|
||||||
* events using it.
|
|
||||||
* @since v11.13.0
|
|
||||||
* @param port The message port to transfer.
|
|
||||||
* @param contextifiedSandbox A `contextified` object as returned by the `vm.createContext()` method.
|
|
||||||
*/
|
|
||||||
function moveMessagePortToContext(port: MessagePort, contextifiedSandbox: Context): MessagePort;
|
|
||||||
/**
|
|
||||||
* Receive a single message from a given `MessagePort`. If no message is available,`undefined` is returned, otherwise an object with a single `message` property
|
|
||||||
* that contains the message payload, corresponding to the oldest message in the`MessagePort`’s queue.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { MessageChannel, receiveMessageOnPort } = require('worker_threads');
|
|
||||||
* const { port1, port2 } = new MessageChannel();
|
|
||||||
* port1.postMessage({ hello: 'world' });
|
|
||||||
*
|
|
||||||
* console.log(receiveMessageOnPort(port2));
|
|
||||||
* // Prints: { message: { hello: 'world' } }
|
|
||||||
* console.log(receiveMessageOnPort(port2));
|
|
||||||
* // Prints: undefined
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* When this function is used, no `'message'` event is emitted and the`onmessage` listener is not invoked.
|
|
||||||
* @since v12.3.0
|
|
||||||
*/
|
|
||||||
function receiveMessageOnPort(port: MessagePort):
|
|
||||||
| {
|
|
||||||
message: any;
|
|
||||||
}
|
|
||||||
| undefined;
|
|
||||||
type Serializable = string | object | number | boolean | bigint;
|
|
||||||
/**
|
|
||||||
* Within a worker thread, `worker.getEnvironmentData()` returns a clone
|
|
||||||
* of data passed to the spawning thread's `worker.setEnvironmentData()`.
|
|
||||||
* Every new `Worker` receives its own copy of the environment data
|
|
||||||
* automatically.
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const {
|
|
||||||
* Worker,
|
|
||||||
* isMainThread,
|
|
||||||
* setEnvironmentData,
|
|
||||||
* getEnvironmentData,
|
|
||||||
* } = require('worker_threads');
|
|
||||||
*
|
|
||||||
* if (isMainThread) {
|
|
||||||
* setEnvironmentData('Hello', 'World!');
|
|
||||||
* const worker = new Worker(__filename);
|
|
||||||
* } else {
|
|
||||||
* console.log(getEnvironmentData('Hello')); // Prints 'World!'.
|
|
||||||
* }
|
|
||||||
* ```
|
|
||||||
* @since v15.12.0, v14.18.0
|
|
||||||
* @experimental
|
|
||||||
* @param key Any arbitrary, cloneable JavaScript value that can be used as a {Map} key.
|
|
||||||
*/
|
|
||||||
function getEnvironmentData(key: Serializable): Serializable;
|
|
||||||
/**
|
|
||||||
* The `worker.setEnvironmentData()` API sets the content of`worker.getEnvironmentData()` in the current thread and all new `Worker`instances spawned from the current context.
|
|
||||||
* @since v15.12.0, v14.18.0
|
|
||||||
* @experimental
|
|
||||||
* @param key Any arbitrary, cloneable JavaScript value that can be used as a {Map} key.
|
|
||||||
* @param value Any arbitrary, cloneable JavaScript value that will be cloned and passed automatically to all new `Worker` instances. If `value` is passed as `undefined`, any previously set value
|
|
||||||
* for the `key` will be deleted.
|
|
||||||
*/
|
|
||||||
function setEnvironmentData(key: Serializable, value: Serializable): void;
|
|
||||||
}
|
|
||||||
declare module 'node:worker_threads' {
|
|
||||||
export * from 'worker_threads';
|
|
||||||
}
|
|
||||||
517
Websites/Jefes/Backend/node_modules/@types/node/zlib.d.ts
generated
vendored
517
Websites/Jefes/Backend/node_modules/@types/node/zlib.d.ts
generated
vendored
@ -1,517 +0,0 @@
|
|||||||
/**
|
|
||||||
* The `zlib` module provides compression functionality implemented using Gzip,
|
|
||||||
* Deflate/Inflate, and Brotli.
|
|
||||||
*
|
|
||||||
* To access it:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const zlib = require('zlib');
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* Compression and decompression are built around the Node.js `Streams API`.
|
|
||||||
*
|
|
||||||
* Compressing or decompressing a stream (such as a file) can be accomplished by
|
|
||||||
* piping the source stream through a `zlib` `Transform` stream into a destination
|
|
||||||
* stream:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { createGzip } = require('zlib');
|
|
||||||
* const { pipeline } = require('stream');
|
|
||||||
* const {
|
|
||||||
* createReadStream,
|
|
||||||
* createWriteStream
|
|
||||||
* } = require('fs');
|
|
||||||
*
|
|
||||||
* const gzip = createGzip();
|
|
||||||
* const source = createReadStream('input.txt');
|
|
||||||
* const destination = createWriteStream('input.txt.gz');
|
|
||||||
*
|
|
||||||
* pipeline(source, gzip, destination, (err) => {
|
|
||||||
* if (err) {
|
|
||||||
* console.error('An error occurred:', err);
|
|
||||||
* process.exitCode = 1;
|
|
||||||
* }
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* // Or, Promisified
|
|
||||||
*
|
|
||||||
* const { promisify } = require('util');
|
|
||||||
* const pipe = promisify(pipeline);
|
|
||||||
*
|
|
||||||
* async function do_gzip(input, output) {
|
|
||||||
* const gzip = createGzip();
|
|
||||||
* const source = createReadStream(input);
|
|
||||||
* const destination = createWriteStream(output);
|
|
||||||
* await pipe(source, gzip, destination);
|
|
||||||
* }
|
|
||||||
*
|
|
||||||
* do_gzip('input.txt', 'input.txt.gz')
|
|
||||||
* .catch((err) => {
|
|
||||||
* console.error('An error occurred:', err);
|
|
||||||
* process.exitCode = 1;
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
*
|
|
||||||
* It is also possible to compress or decompress data in a single step:
|
|
||||||
*
|
|
||||||
* ```js
|
|
||||||
* const { deflate, unzip } = require('zlib');
|
|
||||||
*
|
|
||||||
* const input = '.................................';
|
|
||||||
* deflate(input, (err, buffer) => {
|
|
||||||
* if (err) {
|
|
||||||
* console.error('An error occurred:', err);
|
|
||||||
* process.exitCode = 1;
|
|
||||||
* }
|
|
||||||
* console.log(buffer.toString('base64'));
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* const buffer = Buffer.from('eJzT0yMAAGTvBe8=', 'base64');
|
|
||||||
* unzip(buffer, (err, buffer) => {
|
|
||||||
* if (err) {
|
|
||||||
* console.error('An error occurred:', err);
|
|
||||||
* process.exitCode = 1;
|
|
||||||
* }
|
|
||||||
* console.log(buffer.toString());
|
|
||||||
* });
|
|
||||||
*
|
|
||||||
* // Or, Promisified
|
|
||||||
*
|
|
||||||
* const { promisify } = require('util');
|
|
||||||
* const do_unzip = promisify(unzip);
|
|
||||||
*
|
|
||||||
* do_unzip(buffer)
|
|
||||||
* .then((buf) => console.log(buf.toString()))
|
|
||||||
* .catch((err) => {
|
|
||||||
* console.error('An error occurred:', err);
|
|
||||||
* process.exitCode = 1;
|
|
||||||
* });
|
|
||||||
* ```
|
|
||||||
* @since v0.5.8
|
|
||||||
* @see [source](https://github.com/nodejs/node/blob/v17.0.0/lib/zlib.js)
|
|
||||||
*/
|
|
||||||
declare module 'zlib' {
|
|
||||||
import * as stream from 'node:stream';
|
|
||||||
interface ZlibOptions {
|
|
||||||
/**
|
|
||||||
* @default constants.Z_NO_FLUSH
|
|
||||||
*/
|
|
||||||
flush?: number | undefined;
|
|
||||||
/**
|
|
||||||
* @default constants.Z_FINISH
|
|
||||||
*/
|
|
||||||
finishFlush?: number | undefined;
|
|
||||||
/**
|
|
||||||
* @default 16*1024
|
|
||||||
*/
|
|
||||||
chunkSize?: number | undefined;
|
|
||||||
windowBits?: number | undefined;
|
|
||||||
level?: number | undefined; // compression only
|
|
||||||
memLevel?: number | undefined; // compression only
|
|
||||||
strategy?: number | undefined; // compression only
|
|
||||||
dictionary?: NodeJS.ArrayBufferView | ArrayBuffer | undefined; // deflate/inflate only, empty dictionary by default
|
|
||||||
info?: boolean | undefined;
|
|
||||||
maxOutputLength?: number | undefined;
|
|
||||||
}
|
|
||||||
interface BrotliOptions {
|
|
||||||
/**
|
|
||||||
* @default constants.BROTLI_OPERATION_PROCESS
|
|
||||||
*/
|
|
||||||
flush?: number | undefined;
|
|
||||||
/**
|
|
||||||
* @default constants.BROTLI_OPERATION_FINISH
|
|
||||||
*/
|
|
||||||
finishFlush?: number | undefined;
|
|
||||||
/**
|
|
||||||
* @default 16*1024
|
|
||||||
*/
|
|
||||||
chunkSize?: number | undefined;
|
|
||||||
params?:
|
|
||||||
| {
|
|
||||||
/**
|
|
||||||
* Each key is a `constants.BROTLI_*` constant.
|
|
||||||
*/
|
|
||||||
[key: number]: boolean | number;
|
|
||||||
}
|
|
||||||
| undefined;
|
|
||||||
maxOutputLength?: number | undefined;
|
|
||||||
}
|
|
||||||
interface Zlib {
|
|
||||||
/** @deprecated Use bytesWritten instead. */
|
|
||||||
readonly bytesRead: number;
|
|
||||||
readonly bytesWritten: number;
|
|
||||||
shell?: boolean | string | undefined;
|
|
||||||
close(callback?: () => void): void;
|
|
||||||
flush(kind?: number, callback?: () => void): void;
|
|
||||||
flush(callback?: () => void): void;
|
|
||||||
}
|
|
||||||
interface ZlibParams {
|
|
||||||
params(level: number, strategy: number, callback: () => void): void;
|
|
||||||
}
|
|
||||||
interface ZlibReset {
|
|
||||||
reset(): void;
|
|
||||||
}
|
|
||||||
interface BrotliCompress extends stream.Transform, Zlib {}
|
|
||||||
interface BrotliDecompress extends stream.Transform, Zlib {}
|
|
||||||
interface Gzip extends stream.Transform, Zlib {}
|
|
||||||
interface Gunzip extends stream.Transform, Zlib {}
|
|
||||||
interface Deflate extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
|
|
||||||
interface Inflate extends stream.Transform, Zlib, ZlibReset {}
|
|
||||||
interface DeflateRaw extends stream.Transform, Zlib, ZlibReset, ZlibParams {}
|
|
||||||
interface InflateRaw extends stream.Transform, Zlib, ZlibReset {}
|
|
||||||
interface Unzip extends stream.Transform, Zlib {}
|
|
||||||
/**
|
|
||||||
* Creates and returns a new `BrotliCompress` object.
|
|
||||||
* @since v11.7.0, v10.16.0
|
|
||||||
*/
|
|
||||||
function createBrotliCompress(options?: BrotliOptions): BrotliCompress;
|
|
||||||
/**
|
|
||||||
* Creates and returns a new `BrotliDecompress` object.
|
|
||||||
* @since v11.7.0, v10.16.0
|
|
||||||
*/
|
|
||||||
function createBrotliDecompress(options?: BrotliOptions): BrotliDecompress;
|
|
||||||
/**
|
|
||||||
* Creates and returns a new `Gzip` object.
|
|
||||||
* See `example`.
|
|
||||||
* @since v0.5.8
|
|
||||||
*/
|
|
||||||
function createGzip(options?: ZlibOptions): Gzip;
|
|
||||||
/**
|
|
||||||
* Creates and returns a new `Gunzip` object.
|
|
||||||
* @since v0.5.8
|
|
||||||
*/
|
|
||||||
function createGunzip(options?: ZlibOptions): Gunzip;
|
|
||||||
/**
|
|
||||||
* Creates and returns a new `Deflate` object.
|
|
||||||
* @since v0.5.8
|
|
||||||
*/
|
|
||||||
function createDeflate(options?: ZlibOptions): Deflate;
|
|
||||||
/**
|
|
||||||
* Creates and returns a new `Inflate` object.
|
|
||||||
* @since v0.5.8
|
|
||||||
*/
|
|
||||||
function createInflate(options?: ZlibOptions): Inflate;
|
|
||||||
/**
|
|
||||||
* Creates and returns a new `DeflateRaw` object.
|
|
||||||
*
|
|
||||||
* An upgrade of zlib from 1.2.8 to 1.2.11 changed behavior when `windowBits`is set to 8 for raw deflate streams. zlib would automatically set `windowBits`to 9 if was initially set to 8\. Newer
|
|
||||||
* versions of zlib will throw an exception,
|
|
||||||
* so Node.js restored the original behavior of upgrading a value of 8 to 9,
|
|
||||||
* since passing `windowBits = 9` to zlib actually results in a compressed stream
|
|
||||||
* that effectively uses an 8-bit window only.
|
|
||||||
* @since v0.5.8
|
|
||||||
*/
|
|
||||||
function createDeflateRaw(options?: ZlibOptions): DeflateRaw;
|
|
||||||
/**
|
|
||||||
* Creates and returns a new `InflateRaw` object.
|
|
||||||
* @since v0.5.8
|
|
||||||
*/
|
|
||||||
function createInflateRaw(options?: ZlibOptions): InflateRaw;
|
|
||||||
/**
|
|
||||||
* Creates and returns a new `Unzip` object.
|
|
||||||
* @since v0.5.8
|
|
||||||
*/
|
|
||||||
function createUnzip(options?: ZlibOptions): Unzip;
|
|
||||||
type InputType = string | ArrayBuffer | NodeJS.ArrayBufferView;
|
|
||||||
type CompressCallback = (error: Error | null, result: Buffer) => void;
|
|
||||||
/**
|
|
||||||
* @since v11.7.0, v10.16.0
|
|
||||||
*/
|
|
||||||
function brotliCompress(buf: InputType, options: BrotliOptions, callback: CompressCallback): void;
|
|
||||||
function brotliCompress(buf: InputType, callback: CompressCallback): void;
|
|
||||||
namespace brotliCompress {
|
|
||||||
function __promisify__(buffer: InputType, options?: BrotliOptions): Promise<Buffer>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Compress a chunk of data with `BrotliCompress`.
|
|
||||||
* @since v11.7.0, v10.16.0
|
|
||||||
*/
|
|
||||||
function brotliCompressSync(buf: InputType, options?: BrotliOptions): Buffer;
|
|
||||||
/**
|
|
||||||
* @since v11.7.0, v10.16.0
|
|
||||||
*/
|
|
||||||
function brotliDecompress(buf: InputType, options: BrotliOptions, callback: CompressCallback): void;
|
|
||||||
function brotliDecompress(buf: InputType, callback: CompressCallback): void;
|
|
||||||
namespace brotliDecompress {
|
|
||||||
function __promisify__(buffer: InputType, options?: BrotliOptions): Promise<Buffer>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Decompress a chunk of data with `BrotliDecompress`.
|
|
||||||
* @since v11.7.0, v10.16.0
|
|
||||||
*/
|
|
||||||
function brotliDecompressSync(buf: InputType, options?: BrotliOptions): Buffer;
|
|
||||||
/**
|
|
||||||
* @since v0.6.0
|
|
||||||
*/
|
|
||||||
function deflate(buf: InputType, callback: CompressCallback): void;
|
|
||||||
function deflate(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
|
|
||||||
namespace deflate {
|
|
||||||
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Compress a chunk of data with `Deflate`.
|
|
||||||
* @since v0.11.12
|
|
||||||
*/
|
|
||||||
function deflateSync(buf: InputType, options?: ZlibOptions): Buffer;
|
|
||||||
/**
|
|
||||||
* @since v0.6.0
|
|
||||||
*/
|
|
||||||
function deflateRaw(buf: InputType, callback: CompressCallback): void;
|
|
||||||
function deflateRaw(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
|
|
||||||
namespace deflateRaw {
|
|
||||||
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Compress a chunk of data with `DeflateRaw`.
|
|
||||||
* @since v0.11.12
|
|
||||||
*/
|
|
||||||
function deflateRawSync(buf: InputType, options?: ZlibOptions): Buffer;
|
|
||||||
/**
|
|
||||||
* @since v0.6.0
|
|
||||||
*/
|
|
||||||
function gzip(buf: InputType, callback: CompressCallback): void;
|
|
||||||
function gzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
|
|
||||||
namespace gzip {
|
|
||||||
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Compress a chunk of data with `Gzip`.
|
|
||||||
* @since v0.11.12
|
|
||||||
*/
|
|
||||||
function gzipSync(buf: InputType, options?: ZlibOptions): Buffer;
|
|
||||||
/**
|
|
||||||
* @since v0.6.0
|
|
||||||
*/
|
|
||||||
function gunzip(buf: InputType, callback: CompressCallback): void;
|
|
||||||
function gunzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
|
|
||||||
namespace gunzip {
|
|
||||||
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Decompress a chunk of data with `Gunzip`.
|
|
||||||
* @since v0.11.12
|
|
||||||
*/
|
|
||||||
function gunzipSync(buf: InputType, options?: ZlibOptions): Buffer;
|
|
||||||
/**
|
|
||||||
* @since v0.6.0
|
|
||||||
*/
|
|
||||||
function inflate(buf: InputType, callback: CompressCallback): void;
|
|
||||||
function inflate(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
|
|
||||||
namespace inflate {
|
|
||||||
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Decompress a chunk of data with `Inflate`.
|
|
||||||
* @since v0.11.12
|
|
||||||
*/
|
|
||||||
function inflateSync(buf: InputType, options?: ZlibOptions): Buffer;
|
|
||||||
/**
|
|
||||||
* @since v0.6.0
|
|
||||||
*/
|
|
||||||
function inflateRaw(buf: InputType, callback: CompressCallback): void;
|
|
||||||
function inflateRaw(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
|
|
||||||
namespace inflateRaw {
|
|
||||||
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Decompress a chunk of data with `InflateRaw`.
|
|
||||||
* @since v0.11.12
|
|
||||||
*/
|
|
||||||
function inflateRawSync(buf: InputType, options?: ZlibOptions): Buffer;
|
|
||||||
/**
|
|
||||||
* @since v0.6.0
|
|
||||||
*/
|
|
||||||
function unzip(buf: InputType, callback: CompressCallback): void;
|
|
||||||
function unzip(buf: InputType, options: ZlibOptions, callback: CompressCallback): void;
|
|
||||||
namespace unzip {
|
|
||||||
function __promisify__(buffer: InputType, options?: ZlibOptions): Promise<Buffer>;
|
|
||||||
}
|
|
||||||
/**
|
|
||||||
* Decompress a chunk of data with `Unzip`.
|
|
||||||
* @since v0.11.12
|
|
||||||
*/
|
|
||||||
function unzipSync(buf: InputType, options?: ZlibOptions): Buffer;
|
|
||||||
namespace constants {
|
|
||||||
const BROTLI_DECODE: number;
|
|
||||||
const BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES: number;
|
|
||||||
const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP: number;
|
|
||||||
const BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES: number;
|
|
||||||
const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1: number;
|
|
||||||
const BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2: number;
|
|
||||||
const BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS: number;
|
|
||||||
const BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET: number;
|
|
||||||
const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1: number;
|
|
||||||
const BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2: number;
|
|
||||||
const BROTLI_DECODER_ERROR_FORMAT_CL_SPACE: number;
|
|
||||||
const BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT: number;
|
|
||||||
const BROTLI_DECODER_ERROR_FORMAT_DICTIONARY: number;
|
|
||||||
const BROTLI_DECODER_ERROR_FORMAT_DISTANCE: number;
|
|
||||||
const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE: number;
|
|
||||||
const BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE: number;
|
|
||||||
const BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE: number;
|
|
||||||
const BROTLI_DECODER_ERROR_FORMAT_PADDING_1: number;
|
|
||||||
const BROTLI_DECODER_ERROR_FORMAT_PADDING_2: number;
|
|
||||||
const BROTLI_DECODER_ERROR_FORMAT_RESERVED: number;
|
|
||||||
const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET: number;
|
|
||||||
const BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME: number;
|
|
||||||
const BROTLI_DECODER_ERROR_FORMAT_TRANSFORM: number;
|
|
||||||
const BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS: number;
|
|
||||||
const BROTLI_DECODER_ERROR_INVALID_ARGUMENTS: number;
|
|
||||||
const BROTLI_DECODER_ERROR_UNREACHABLE: number;
|
|
||||||
const BROTLI_DECODER_NEEDS_MORE_INPUT: number;
|
|
||||||
const BROTLI_DECODER_NEEDS_MORE_OUTPUT: number;
|
|
||||||
const BROTLI_DECODER_NO_ERROR: number;
|
|
||||||
const BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION: number;
|
|
||||||
const BROTLI_DECODER_PARAM_LARGE_WINDOW: number;
|
|
||||||
const BROTLI_DECODER_RESULT_ERROR: number;
|
|
||||||
const BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT: number;
|
|
||||||
const BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT: number;
|
|
||||||
const BROTLI_DECODER_RESULT_SUCCESS: number;
|
|
||||||
const BROTLI_DECODER_SUCCESS: number;
|
|
||||||
const BROTLI_DEFAULT_MODE: number;
|
|
||||||
const BROTLI_DEFAULT_QUALITY: number;
|
|
||||||
const BROTLI_DEFAULT_WINDOW: number;
|
|
||||||
const BROTLI_ENCODE: number;
|
|
||||||
const BROTLI_LARGE_MAX_WINDOW_BITS: number;
|
|
||||||
const BROTLI_MAX_INPUT_BLOCK_BITS: number;
|
|
||||||
const BROTLI_MAX_QUALITY: number;
|
|
||||||
const BROTLI_MAX_WINDOW_BITS: number;
|
|
||||||
const BROTLI_MIN_INPUT_BLOCK_BITS: number;
|
|
||||||
const BROTLI_MIN_QUALITY: number;
|
|
||||||
const BROTLI_MIN_WINDOW_BITS: number;
|
|
||||||
const BROTLI_MODE_FONT: number;
|
|
||||||
const BROTLI_MODE_GENERIC: number;
|
|
||||||
const BROTLI_MODE_TEXT: number;
|
|
||||||
const BROTLI_OPERATION_EMIT_METADATA: number;
|
|
||||||
const BROTLI_OPERATION_FINISH: number;
|
|
||||||
const BROTLI_OPERATION_FLUSH: number;
|
|
||||||
const BROTLI_OPERATION_PROCESS: number;
|
|
||||||
const BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING: number;
|
|
||||||
const BROTLI_PARAM_LARGE_WINDOW: number;
|
|
||||||
const BROTLI_PARAM_LGBLOCK: number;
|
|
||||||
const BROTLI_PARAM_LGWIN: number;
|
|
||||||
const BROTLI_PARAM_MODE: number;
|
|
||||||
const BROTLI_PARAM_NDIRECT: number;
|
|
||||||
const BROTLI_PARAM_NPOSTFIX: number;
|
|
||||||
const BROTLI_PARAM_QUALITY: number;
|
|
||||||
const BROTLI_PARAM_SIZE_HINT: number;
|
|
||||||
const DEFLATE: number;
|
|
||||||
const DEFLATERAW: number;
|
|
||||||
const GUNZIP: number;
|
|
||||||
const GZIP: number;
|
|
||||||
const INFLATE: number;
|
|
||||||
const INFLATERAW: number;
|
|
||||||
const UNZIP: number;
|
|
||||||
// Allowed flush values.
|
|
||||||
const Z_NO_FLUSH: number;
|
|
||||||
const Z_PARTIAL_FLUSH: number;
|
|
||||||
const Z_SYNC_FLUSH: number;
|
|
||||||
const Z_FULL_FLUSH: number;
|
|
||||||
const Z_FINISH: number;
|
|
||||||
const Z_BLOCK: number;
|
|
||||||
const Z_TREES: number;
|
|
||||||
// Return codes for the compression/decompression functions.
|
|
||||||
// Negative values are errors, positive values are used for special but normal events.
|
|
||||||
const Z_OK: number;
|
|
||||||
const Z_STREAM_END: number;
|
|
||||||
const Z_NEED_DICT: number;
|
|
||||||
const Z_ERRNO: number;
|
|
||||||
const Z_STREAM_ERROR: number;
|
|
||||||
const Z_DATA_ERROR: number;
|
|
||||||
const Z_MEM_ERROR: number;
|
|
||||||
const Z_BUF_ERROR: number;
|
|
||||||
const Z_VERSION_ERROR: number;
|
|
||||||
// Compression levels.
|
|
||||||
const Z_NO_COMPRESSION: number;
|
|
||||||
const Z_BEST_SPEED: number;
|
|
||||||
const Z_BEST_COMPRESSION: number;
|
|
||||||
const Z_DEFAULT_COMPRESSION: number;
|
|
||||||
// Compression strategy.
|
|
||||||
const Z_FILTERED: number;
|
|
||||||
const Z_HUFFMAN_ONLY: number;
|
|
||||||
const Z_RLE: number;
|
|
||||||
const Z_FIXED: number;
|
|
||||||
const Z_DEFAULT_STRATEGY: number;
|
|
||||||
const Z_DEFAULT_WINDOWBITS: number;
|
|
||||||
const Z_MIN_WINDOWBITS: number;
|
|
||||||
const Z_MAX_WINDOWBITS: number;
|
|
||||||
const Z_MIN_CHUNK: number;
|
|
||||||
const Z_MAX_CHUNK: number;
|
|
||||||
const Z_DEFAULT_CHUNK: number;
|
|
||||||
const Z_MIN_MEMLEVEL: number;
|
|
||||||
const Z_MAX_MEMLEVEL: number;
|
|
||||||
const Z_DEFAULT_MEMLEVEL: number;
|
|
||||||
const Z_MIN_LEVEL: number;
|
|
||||||
const Z_MAX_LEVEL: number;
|
|
||||||
const Z_DEFAULT_LEVEL: number;
|
|
||||||
const ZLIB_VERNUM: number;
|
|
||||||
}
|
|
||||||
// Allowed flush values.
|
|
||||||
/** @deprecated Use `constants.Z_NO_FLUSH` */
|
|
||||||
const Z_NO_FLUSH: number;
|
|
||||||
/** @deprecated Use `constants.Z_PARTIAL_FLUSH` */
|
|
||||||
const Z_PARTIAL_FLUSH: number;
|
|
||||||
/** @deprecated Use `constants.Z_SYNC_FLUSH` */
|
|
||||||
const Z_SYNC_FLUSH: number;
|
|
||||||
/** @deprecated Use `constants.Z_FULL_FLUSH` */
|
|
||||||
const Z_FULL_FLUSH: number;
|
|
||||||
/** @deprecated Use `constants.Z_FINISH` */
|
|
||||||
const Z_FINISH: number;
|
|
||||||
/** @deprecated Use `constants.Z_BLOCK` */
|
|
||||||
const Z_BLOCK: number;
|
|
||||||
/** @deprecated Use `constants.Z_TREES` */
|
|
||||||
const Z_TREES: number;
|
|
||||||
// Return codes for the compression/decompression functions.
|
|
||||||
// Negative values are errors, positive values are used for special but normal events.
|
|
||||||
/** @deprecated Use `constants.Z_OK` */
|
|
||||||
const Z_OK: number;
|
|
||||||
/** @deprecated Use `constants.Z_STREAM_END` */
|
|
||||||
const Z_STREAM_END: number;
|
|
||||||
/** @deprecated Use `constants.Z_NEED_DICT` */
|
|
||||||
const Z_NEED_DICT: number;
|
|
||||||
/** @deprecated Use `constants.Z_ERRNO` */
|
|
||||||
const Z_ERRNO: number;
|
|
||||||
/** @deprecated Use `constants.Z_STREAM_ERROR` */
|
|
||||||
const Z_STREAM_ERROR: number;
|
|
||||||
/** @deprecated Use `constants.Z_DATA_ERROR` */
|
|
||||||
const Z_DATA_ERROR: number;
|
|
||||||
/** @deprecated Use `constants.Z_MEM_ERROR` */
|
|
||||||
const Z_MEM_ERROR: number;
|
|
||||||
/** @deprecated Use `constants.Z_BUF_ERROR` */
|
|
||||||
const Z_BUF_ERROR: number;
|
|
||||||
/** @deprecated Use `constants.Z_VERSION_ERROR` */
|
|
||||||
const Z_VERSION_ERROR: number;
|
|
||||||
// Compression levels.
|
|
||||||
/** @deprecated Use `constants.Z_NO_COMPRESSION` */
|
|
||||||
const Z_NO_COMPRESSION: number;
|
|
||||||
/** @deprecated Use `constants.Z_BEST_SPEED` */
|
|
||||||
const Z_BEST_SPEED: number;
|
|
||||||
/** @deprecated Use `constants.Z_BEST_COMPRESSION` */
|
|
||||||
const Z_BEST_COMPRESSION: number;
|
|
||||||
/** @deprecated Use `constants.Z_DEFAULT_COMPRESSION` */
|
|
||||||
const Z_DEFAULT_COMPRESSION: number;
|
|
||||||
// Compression strategy.
|
|
||||||
/** @deprecated Use `constants.Z_FILTERED` */
|
|
||||||
const Z_FILTERED: number;
|
|
||||||
/** @deprecated Use `constants.Z_HUFFMAN_ONLY` */
|
|
||||||
const Z_HUFFMAN_ONLY: number;
|
|
||||||
/** @deprecated Use `constants.Z_RLE` */
|
|
||||||
const Z_RLE: number;
|
|
||||||
/** @deprecated Use `constants.Z_FIXED` */
|
|
||||||
const Z_FIXED: number;
|
|
||||||
/** @deprecated Use `constants.Z_DEFAULT_STRATEGY` */
|
|
||||||
const Z_DEFAULT_STRATEGY: number;
|
|
||||||
/** @deprecated */
|
|
||||||
const Z_BINARY: number;
|
|
||||||
/** @deprecated */
|
|
||||||
const Z_TEXT: number;
|
|
||||||
/** @deprecated */
|
|
||||||
const Z_ASCII: number;
|
|
||||||
/** @deprecated */
|
|
||||||
const Z_UNKNOWN: number;
|
|
||||||
/** @deprecated */
|
|
||||||
const Z_DEFLATED: number;
|
|
||||||
}
|
|
||||||
declare module 'node:zlib' {
|
|
||||||
export * from 'zlib';
|
|
||||||
}
|
|
||||||
243
Websites/Jefes/Backend/node_modules/accepts/HISTORY.md
generated
vendored
243
Websites/Jefes/Backend/node_modules/accepts/HISTORY.md
generated
vendored
@ -1,243 +0,0 @@
|
|||||||
1.3.8 / 2022-02-02
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.1.34
|
|
||||||
- deps: mime-db@~1.51.0
|
|
||||||
* deps: negotiator@0.6.3
|
|
||||||
|
|
||||||
1.3.7 / 2019-04-29
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: negotiator@0.6.2
|
|
||||||
- Fix sorting charset, encoding, and language with extra parameters
|
|
||||||
|
|
||||||
1.3.6 / 2019-04-28
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.1.24
|
|
||||||
- deps: mime-db@~1.40.0
|
|
||||||
|
|
||||||
1.3.5 / 2018-02-28
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.1.18
|
|
||||||
- deps: mime-db@~1.33.0
|
|
||||||
|
|
||||||
1.3.4 / 2017-08-22
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.1.16
|
|
||||||
- deps: mime-db@~1.29.0
|
|
||||||
|
|
||||||
1.3.3 / 2016-05-02
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.1.11
|
|
||||||
- deps: mime-db@~1.23.0
|
|
||||||
* deps: negotiator@0.6.1
|
|
||||||
- perf: improve `Accept` parsing speed
|
|
||||||
- perf: improve `Accept-Charset` parsing speed
|
|
||||||
- perf: improve `Accept-Encoding` parsing speed
|
|
||||||
- perf: improve `Accept-Language` parsing speed
|
|
||||||
|
|
||||||
1.3.2 / 2016-03-08
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.1.10
|
|
||||||
- Fix extension of `application/dash+xml`
|
|
||||||
- Update primary extension for `audio/mp4`
|
|
||||||
- deps: mime-db@~1.22.0
|
|
||||||
|
|
||||||
1.3.1 / 2016-01-19
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.1.9
|
|
||||||
- deps: mime-db@~1.21.0
|
|
||||||
|
|
||||||
1.3.0 / 2015-09-29
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.1.7
|
|
||||||
- deps: mime-db@~1.19.0
|
|
||||||
* deps: negotiator@0.6.0
|
|
||||||
- Fix including type extensions in parameters in `Accept` parsing
|
|
||||||
- Fix parsing `Accept` parameters with quoted equals
|
|
||||||
- Fix parsing `Accept` parameters with quoted semicolons
|
|
||||||
- Lazy-load modules from main entry point
|
|
||||||
- perf: delay type concatenation until needed
|
|
||||||
- perf: enable strict mode
|
|
||||||
- perf: hoist regular expressions
|
|
||||||
- perf: remove closures getting spec properties
|
|
||||||
- perf: remove a closure from media type parsing
|
|
||||||
- perf: remove property delete from media type parsing
|
|
||||||
|
|
||||||
1.2.13 / 2015-09-06
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.1.6
|
|
||||||
- deps: mime-db@~1.18.0
|
|
||||||
|
|
||||||
1.2.12 / 2015-07-30
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.1.4
|
|
||||||
- deps: mime-db@~1.16.0
|
|
||||||
|
|
||||||
1.2.11 / 2015-07-16
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.1.3
|
|
||||||
- deps: mime-db@~1.15.0
|
|
||||||
|
|
||||||
1.2.10 / 2015-07-01
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.1.2
|
|
||||||
- deps: mime-db@~1.14.0
|
|
||||||
|
|
||||||
1.2.9 / 2015-06-08
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.1.1
|
|
||||||
- perf: fix deopt during mapping
|
|
||||||
|
|
||||||
1.2.8 / 2015-06-07
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.1.0
|
|
||||||
- deps: mime-db@~1.13.0
|
|
||||||
* perf: avoid argument reassignment & argument slice
|
|
||||||
* perf: avoid negotiator recursive construction
|
|
||||||
* perf: enable strict mode
|
|
||||||
* perf: remove unnecessary bitwise operator
|
|
||||||
|
|
||||||
1.2.7 / 2015-05-10
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: negotiator@0.5.3
|
|
||||||
- Fix media type parameter matching to be case-insensitive
|
|
||||||
|
|
||||||
1.2.6 / 2015-05-07
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.0.11
|
|
||||||
- deps: mime-db@~1.9.1
|
|
||||||
* deps: negotiator@0.5.2
|
|
||||||
- Fix comparing media types with quoted values
|
|
||||||
- Fix splitting media types with quoted commas
|
|
||||||
|
|
||||||
1.2.5 / 2015-03-13
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.0.10
|
|
||||||
- deps: mime-db@~1.8.0
|
|
||||||
|
|
||||||
1.2.4 / 2015-02-14
|
|
||||||
==================
|
|
||||||
|
|
||||||
* Support Node.js 0.6
|
|
||||||
* deps: mime-types@~2.0.9
|
|
||||||
- deps: mime-db@~1.7.0
|
|
||||||
* deps: negotiator@0.5.1
|
|
||||||
- Fix preference sorting to be stable for long acceptable lists
|
|
||||||
|
|
||||||
1.2.3 / 2015-01-31
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.0.8
|
|
||||||
- deps: mime-db@~1.6.0
|
|
||||||
|
|
||||||
1.2.2 / 2014-12-30
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.0.7
|
|
||||||
- deps: mime-db@~1.5.0
|
|
||||||
|
|
||||||
1.2.1 / 2014-12-30
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.0.5
|
|
||||||
- deps: mime-db@~1.3.1
|
|
||||||
|
|
||||||
1.2.0 / 2014-12-19
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: negotiator@0.5.0
|
|
||||||
- Fix list return order when large accepted list
|
|
||||||
- Fix missing identity encoding when q=0 exists
|
|
||||||
- Remove dynamic building of Negotiator class
|
|
||||||
|
|
||||||
1.1.4 / 2014-12-10
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.0.4
|
|
||||||
- deps: mime-db@~1.3.0
|
|
||||||
|
|
||||||
1.1.3 / 2014-11-09
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.0.3
|
|
||||||
- deps: mime-db@~1.2.0
|
|
||||||
|
|
||||||
1.1.2 / 2014-10-14
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: negotiator@0.4.9
|
|
||||||
- Fix error when media type has invalid parameter
|
|
||||||
|
|
||||||
1.1.1 / 2014-09-28
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: mime-types@~2.0.2
|
|
||||||
- deps: mime-db@~1.1.0
|
|
||||||
* deps: negotiator@0.4.8
|
|
||||||
- Fix all negotiations to be case-insensitive
|
|
||||||
- Stable sort preferences of same quality according to client order
|
|
||||||
|
|
||||||
1.1.0 / 2014-09-02
|
|
||||||
==================
|
|
||||||
|
|
||||||
* update `mime-types`
|
|
||||||
|
|
||||||
1.0.7 / 2014-07-04
|
|
||||||
==================
|
|
||||||
|
|
||||||
* Fix wrong type returned from `type` when match after unknown extension
|
|
||||||
|
|
||||||
1.0.6 / 2014-06-24
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: negotiator@0.4.7
|
|
||||||
|
|
||||||
1.0.5 / 2014-06-20
|
|
||||||
==================
|
|
||||||
|
|
||||||
* fix crash when unknown extension given
|
|
||||||
|
|
||||||
1.0.4 / 2014-06-19
|
|
||||||
==================
|
|
||||||
|
|
||||||
* use `mime-types`
|
|
||||||
|
|
||||||
1.0.3 / 2014-06-11
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: negotiator@0.4.6
|
|
||||||
- Order by specificity when quality is the same
|
|
||||||
|
|
||||||
1.0.2 / 2014-05-29
|
|
||||||
==================
|
|
||||||
|
|
||||||
* Fix interpretation when header not in request
|
|
||||||
* deps: pin negotiator@0.4.5
|
|
||||||
|
|
||||||
1.0.1 / 2014-01-18
|
|
||||||
==================
|
|
||||||
|
|
||||||
* Identity encoding isn't always acceptable
|
|
||||||
* deps: negotiator@~0.4.0
|
|
||||||
|
|
||||||
1.0.0 / 2013-12-27
|
|
||||||
==================
|
|
||||||
|
|
||||||
* Genesis
|
|
||||||
23
Websites/Jefes/Backend/node_modules/accepts/LICENSE
generated
vendored
23
Websites/Jefes/Backend/node_modules/accepts/LICENSE
generated
vendored
@ -1,23 +0,0 @@
|
|||||||
(The MIT License)
|
|
||||||
|
|
||||||
Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
|
|
||||||
Copyright (c) 2015 Douglas Christopher Wilson <doug@somethingdoug.com>
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
a copy of this software and associated documentation files (the
|
|
||||||
'Software'), to deal in the Software without restriction, including
|
|
||||||
without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
distribute, sublicense, and/or sell copies of the Software, and to
|
|
||||||
permit persons to whom the Software is furnished to do so, subject to
|
|
||||||
the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be
|
|
||||||
included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
140
Websites/Jefes/Backend/node_modules/accepts/README.md
generated
vendored
140
Websites/Jefes/Backend/node_modules/accepts/README.md
generated
vendored
@ -1,140 +0,0 @@
|
|||||||
# accepts
|
|
||||||
|
|
||||||
[![NPM Version][npm-version-image]][npm-url]
|
|
||||||
[![NPM Downloads][npm-downloads-image]][npm-url]
|
|
||||||
[![Node.js Version][node-version-image]][node-version-url]
|
|
||||||
[![Build Status][github-actions-ci-image]][github-actions-ci-url]
|
|
||||||
[![Test Coverage][coveralls-image]][coveralls-url]
|
|
||||||
|
|
||||||
Higher level content negotiation based on [negotiator](https://www.npmjs.com/package/negotiator).
|
|
||||||
Extracted from [koa](https://www.npmjs.com/package/koa) for general use.
|
|
||||||
|
|
||||||
In addition to negotiator, it allows:
|
|
||||||
|
|
||||||
- Allows types as an array or arguments list, ie `(['text/html', 'application/json'])`
|
|
||||||
as well as `('text/html', 'application/json')`.
|
|
||||||
- Allows type shorthands such as `json`.
|
|
||||||
- Returns `false` when no types match
|
|
||||||
- Treats non-existent headers as `*`
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
This is a [Node.js](https://nodejs.org/en/) module available through the
|
|
||||||
[npm registry](https://www.npmjs.com/). Installation is done using the
|
|
||||||
[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
|
|
||||||
|
|
||||||
```sh
|
|
||||||
$ npm install accepts
|
|
||||||
```
|
|
||||||
|
|
||||||
## API
|
|
||||||
|
|
||||||
```js
|
|
||||||
var accepts = require('accepts')
|
|
||||||
```
|
|
||||||
|
|
||||||
### accepts(req)
|
|
||||||
|
|
||||||
Create a new `Accepts` object for the given `req`.
|
|
||||||
|
|
||||||
#### .charset(charsets)
|
|
||||||
|
|
||||||
Return the first accepted charset. If nothing in `charsets` is accepted,
|
|
||||||
then `false` is returned.
|
|
||||||
|
|
||||||
#### .charsets()
|
|
||||||
|
|
||||||
Return the charsets that the request accepts, in the order of the client's
|
|
||||||
preference (most preferred first).
|
|
||||||
|
|
||||||
#### .encoding(encodings)
|
|
||||||
|
|
||||||
Return the first accepted encoding. If nothing in `encodings` is accepted,
|
|
||||||
then `false` is returned.
|
|
||||||
|
|
||||||
#### .encodings()
|
|
||||||
|
|
||||||
Return the encodings that the request accepts, in the order of the client's
|
|
||||||
preference (most preferred first).
|
|
||||||
|
|
||||||
#### .language(languages)
|
|
||||||
|
|
||||||
Return the first accepted language. If nothing in `languages` is accepted,
|
|
||||||
then `false` is returned.
|
|
||||||
|
|
||||||
#### .languages()
|
|
||||||
|
|
||||||
Return the languages that the request accepts, in the order of the client's
|
|
||||||
preference (most preferred first).
|
|
||||||
|
|
||||||
#### .type(types)
|
|
||||||
|
|
||||||
Return the first accepted type (and it is returned as the same text as what
|
|
||||||
appears in the `types` array). If nothing in `types` is accepted, then `false`
|
|
||||||
is returned.
|
|
||||||
|
|
||||||
The `types` array can contain full MIME types or file extensions. Any value
|
|
||||||
that is not a full MIME types is passed to `require('mime-types').lookup`.
|
|
||||||
|
|
||||||
#### .types()
|
|
||||||
|
|
||||||
Return the types that the request accepts, in the order of the client's
|
|
||||||
preference (most preferred first).
|
|
||||||
|
|
||||||
## Examples
|
|
||||||
|
|
||||||
### Simple type negotiation
|
|
||||||
|
|
||||||
This simple example shows how to use `accepts` to return a different typed
|
|
||||||
respond body based on what the client wants to accept. The server lists it's
|
|
||||||
preferences in order and will get back the best match between the client and
|
|
||||||
server.
|
|
||||||
|
|
||||||
```js
|
|
||||||
var accepts = require('accepts')
|
|
||||||
var http = require('http')
|
|
||||||
|
|
||||||
function app (req, res) {
|
|
||||||
var accept = accepts(req)
|
|
||||||
|
|
||||||
// the order of this list is significant; should be server preferred order
|
|
||||||
switch (accept.type(['json', 'html'])) {
|
|
||||||
case 'json':
|
|
||||||
res.setHeader('Content-Type', 'application/json')
|
|
||||||
res.write('{"hello":"world!"}')
|
|
||||||
break
|
|
||||||
case 'html':
|
|
||||||
res.setHeader('Content-Type', 'text/html')
|
|
||||||
res.write('<b>hello, world!</b>')
|
|
||||||
break
|
|
||||||
default:
|
|
||||||
// the fallback is text/plain, so no need to specify it above
|
|
||||||
res.setHeader('Content-Type', 'text/plain')
|
|
||||||
res.write('hello, world!')
|
|
||||||
break
|
|
||||||
}
|
|
||||||
|
|
||||||
res.end()
|
|
||||||
}
|
|
||||||
|
|
||||||
http.createServer(app).listen(3000)
|
|
||||||
```
|
|
||||||
|
|
||||||
You can test this out with the cURL program:
|
|
||||||
```sh
|
|
||||||
curl -I -H'Accept: text/html' http://localhost:3000/
|
|
||||||
```
|
|
||||||
|
|
||||||
## License
|
|
||||||
|
|
||||||
[MIT](LICENSE)
|
|
||||||
|
|
||||||
[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/accepts/master
|
|
||||||
[coveralls-url]: https://coveralls.io/r/jshttp/accepts?branch=master
|
|
||||||
[github-actions-ci-image]: https://badgen.net/github/checks/jshttp/accepts/master?label=ci
|
|
||||||
[github-actions-ci-url]: https://github.com/jshttp/accepts/actions/workflows/ci.yml
|
|
||||||
[node-version-image]: https://badgen.net/npm/node/accepts
|
|
||||||
[node-version-url]: https://nodejs.org/en/download
|
|
||||||
[npm-downloads-image]: https://badgen.net/npm/dm/accepts
|
|
||||||
[npm-url]: https://npmjs.org/package/accepts
|
|
||||||
[npm-version-image]: https://badgen.net/npm/v/accepts
|
|
||||||
238
Websites/Jefes/Backend/node_modules/accepts/index.js
generated
vendored
238
Websites/Jefes/Backend/node_modules/accepts/index.js
generated
vendored
@ -1,238 +0,0 @@
|
|||||||
/*!
|
|
||||||
* accepts
|
|
||||||
* Copyright(c) 2014 Jonathan Ong
|
|
||||||
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
||||||
* MIT Licensed
|
|
||||||
*/
|
|
||||||
|
|
||||||
'use strict'
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Module dependencies.
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
|
|
||||||
var Negotiator = require('negotiator')
|
|
||||||
var mime = require('mime-types')
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Module exports.
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
|
|
||||||
module.exports = Accepts
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a new Accepts object for the given req.
|
|
||||||
*
|
|
||||||
* @param {object} req
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
|
|
||||||
function Accepts (req) {
|
|
||||||
if (!(this instanceof Accepts)) {
|
|
||||||
return new Accepts(req)
|
|
||||||
}
|
|
||||||
|
|
||||||
this.headers = req.headers
|
|
||||||
this.negotiator = new Negotiator(req)
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Check if the given `type(s)` is acceptable, returning
|
|
||||||
* the best match when true, otherwise `undefined`, in which
|
|
||||||
* case you should respond with 406 "Not Acceptable".
|
|
||||||
*
|
|
||||||
* The `type` value may be a single mime type string
|
|
||||||
* such as "application/json", the extension name
|
|
||||||
* such as "json" or an array `["json", "html", "text/plain"]`. When a list
|
|
||||||
* or array is given the _best_ match, if any is returned.
|
|
||||||
*
|
|
||||||
* Examples:
|
|
||||||
*
|
|
||||||
* // Accept: text/html
|
|
||||||
* this.types('html');
|
|
||||||
* // => "html"
|
|
||||||
*
|
|
||||||
* // Accept: text/*, application/json
|
|
||||||
* this.types('html');
|
|
||||||
* // => "html"
|
|
||||||
* this.types('text/html');
|
|
||||||
* // => "text/html"
|
|
||||||
* this.types('json', 'text');
|
|
||||||
* // => "json"
|
|
||||||
* this.types('application/json');
|
|
||||||
* // => "application/json"
|
|
||||||
*
|
|
||||||
* // Accept: text/*, application/json
|
|
||||||
* this.types('image/png');
|
|
||||||
* this.types('png');
|
|
||||||
* // => undefined
|
|
||||||
*
|
|
||||||
* // Accept: text/*;q=.5, application/json
|
|
||||||
* this.types(['html', 'json']);
|
|
||||||
* this.types('html', 'json');
|
|
||||||
* // => "json"
|
|
||||||
*
|
|
||||||
* @param {String|Array} types...
|
|
||||||
* @return {String|Array|Boolean}
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
|
|
||||||
Accepts.prototype.type =
|
|
||||||
Accepts.prototype.types = function (types_) {
|
|
||||||
var types = types_
|
|
||||||
|
|
||||||
// support flattened arguments
|
|
||||||
if (types && !Array.isArray(types)) {
|
|
||||||
types = new Array(arguments.length)
|
|
||||||
for (var i = 0; i < types.length; i++) {
|
|
||||||
types[i] = arguments[i]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// no types, return all requested types
|
|
||||||
if (!types || types.length === 0) {
|
|
||||||
return this.negotiator.mediaTypes()
|
|
||||||
}
|
|
||||||
|
|
||||||
// no accept header, return first given type
|
|
||||||
if (!this.headers.accept) {
|
|
||||||
return types[0]
|
|
||||||
}
|
|
||||||
|
|
||||||
var mimes = types.map(extToMime)
|
|
||||||
var accepts = this.negotiator.mediaTypes(mimes.filter(validMime))
|
|
||||||
var first = accepts[0]
|
|
||||||
|
|
||||||
return first
|
|
||||||
? types[mimes.indexOf(first)]
|
|
||||||
: false
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return accepted encodings or best fit based on `encodings`.
|
|
||||||
*
|
|
||||||
* Given `Accept-Encoding: gzip, deflate`
|
|
||||||
* an array sorted by quality is returned:
|
|
||||||
*
|
|
||||||
* ['gzip', 'deflate']
|
|
||||||
*
|
|
||||||
* @param {String|Array} encodings...
|
|
||||||
* @return {String|Array}
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
|
|
||||||
Accepts.prototype.encoding =
|
|
||||||
Accepts.prototype.encodings = function (encodings_) {
|
|
||||||
var encodings = encodings_
|
|
||||||
|
|
||||||
// support flattened arguments
|
|
||||||
if (encodings && !Array.isArray(encodings)) {
|
|
||||||
encodings = new Array(arguments.length)
|
|
||||||
for (var i = 0; i < encodings.length; i++) {
|
|
||||||
encodings[i] = arguments[i]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// no encodings, return all requested encodings
|
|
||||||
if (!encodings || encodings.length === 0) {
|
|
||||||
return this.negotiator.encodings()
|
|
||||||
}
|
|
||||||
|
|
||||||
return this.negotiator.encodings(encodings)[0] || false
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return accepted charsets or best fit based on `charsets`.
|
|
||||||
*
|
|
||||||
* Given `Accept-Charset: utf-8, iso-8859-1;q=0.2, utf-7;q=0.5`
|
|
||||||
* an array sorted by quality is returned:
|
|
||||||
*
|
|
||||||
* ['utf-8', 'utf-7', 'iso-8859-1']
|
|
||||||
*
|
|
||||||
* @param {String|Array} charsets...
|
|
||||||
* @return {String|Array}
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
|
|
||||||
Accepts.prototype.charset =
|
|
||||||
Accepts.prototype.charsets = function (charsets_) {
|
|
||||||
var charsets = charsets_
|
|
||||||
|
|
||||||
// support flattened arguments
|
|
||||||
if (charsets && !Array.isArray(charsets)) {
|
|
||||||
charsets = new Array(arguments.length)
|
|
||||||
for (var i = 0; i < charsets.length; i++) {
|
|
||||||
charsets[i] = arguments[i]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// no charsets, return all requested charsets
|
|
||||||
if (!charsets || charsets.length === 0) {
|
|
||||||
return this.negotiator.charsets()
|
|
||||||
}
|
|
||||||
|
|
||||||
return this.negotiator.charsets(charsets)[0] || false
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Return accepted languages or best fit based on `langs`.
|
|
||||||
*
|
|
||||||
* Given `Accept-Language: en;q=0.8, es, pt`
|
|
||||||
* an array sorted by quality is returned:
|
|
||||||
*
|
|
||||||
* ['es', 'pt', 'en']
|
|
||||||
*
|
|
||||||
* @param {String|Array} langs...
|
|
||||||
* @return {Array|String}
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
|
|
||||||
Accepts.prototype.lang =
|
|
||||||
Accepts.prototype.langs =
|
|
||||||
Accepts.prototype.language =
|
|
||||||
Accepts.prototype.languages = function (languages_) {
|
|
||||||
var languages = languages_
|
|
||||||
|
|
||||||
// support flattened arguments
|
|
||||||
if (languages && !Array.isArray(languages)) {
|
|
||||||
languages = new Array(arguments.length)
|
|
||||||
for (var i = 0; i < languages.length; i++) {
|
|
||||||
languages[i] = arguments[i]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// no languages, return all requested languages
|
|
||||||
if (!languages || languages.length === 0) {
|
|
||||||
return this.negotiator.languages()
|
|
||||||
}
|
|
||||||
|
|
||||||
return this.negotiator.languages(languages)[0] || false
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Convert extnames to mime.
|
|
||||||
*
|
|
||||||
* @param {String} type
|
|
||||||
* @return {String}
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
|
|
||||||
function extToMime (type) {
|
|
||||||
return type.indexOf('/') === -1
|
|
||||||
? mime.lookup(type)
|
|
||||||
: type
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Check if mime is valid.
|
|
||||||
*
|
|
||||||
* @param {String} type
|
|
||||||
* @return {String}
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
|
|
||||||
function validMime (type) {
|
|
||||||
return typeof type === 'string'
|
|
||||||
}
|
|
||||||
47
Websites/Jefes/Backend/node_modules/accepts/package.json
generated
vendored
47
Websites/Jefes/Backend/node_modules/accepts/package.json
generated
vendored
@ -1,47 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "accepts",
|
|
||||||
"description": "Higher-level content negotiation",
|
|
||||||
"version": "1.3.8",
|
|
||||||
"contributors": [
|
|
||||||
"Douglas Christopher Wilson <doug@somethingdoug.com>",
|
|
||||||
"Jonathan Ong <me@jongleberry.com> (http://jongleberry.com)"
|
|
||||||
],
|
|
||||||
"license": "MIT",
|
|
||||||
"repository": "jshttp/accepts",
|
|
||||||
"dependencies": {
|
|
||||||
"mime-types": "~2.1.34",
|
|
||||||
"negotiator": "0.6.3"
|
|
||||||
},
|
|
||||||
"devDependencies": {
|
|
||||||
"deep-equal": "1.0.1",
|
|
||||||
"eslint": "7.32.0",
|
|
||||||
"eslint-config-standard": "14.1.1",
|
|
||||||
"eslint-plugin-import": "2.25.4",
|
|
||||||
"eslint-plugin-markdown": "2.2.1",
|
|
||||||
"eslint-plugin-node": "11.1.0",
|
|
||||||
"eslint-plugin-promise": "4.3.1",
|
|
||||||
"eslint-plugin-standard": "4.1.0",
|
|
||||||
"mocha": "9.2.0",
|
|
||||||
"nyc": "15.1.0"
|
|
||||||
},
|
|
||||||
"files": [
|
|
||||||
"LICENSE",
|
|
||||||
"HISTORY.md",
|
|
||||||
"index.js"
|
|
||||||
],
|
|
||||||
"engines": {
|
|
||||||
"node": ">= 0.6"
|
|
||||||
},
|
|
||||||
"scripts": {
|
|
||||||
"lint": "eslint .",
|
|
||||||
"test": "mocha --reporter spec --check-leaks --bail test/",
|
|
||||||
"test-ci": "nyc --reporter=lcov --reporter=text npm test",
|
|
||||||
"test-cov": "nyc --reporter=html --reporter=text npm test"
|
|
||||||
},
|
|
||||||
"keywords": [
|
|
||||||
"content",
|
|
||||||
"negotiation",
|
|
||||||
"accept",
|
|
||||||
"accepts"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
21
Websites/Jefes/Backend/node_modules/array-flatten/LICENSE
generated
vendored
21
Websites/Jefes/Backend/node_modules/array-flatten/LICENSE
generated
vendored
@ -1,21 +0,0 @@
|
|||||||
The MIT License (MIT)
|
|
||||||
|
|
||||||
Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
43
Websites/Jefes/Backend/node_modules/array-flatten/README.md
generated
vendored
43
Websites/Jefes/Backend/node_modules/array-flatten/README.md
generated
vendored
@ -1,43 +0,0 @@
|
|||||||
# Array Flatten
|
|
||||||
|
|
||||||
[![NPM version][npm-image]][npm-url]
|
|
||||||
[![NPM downloads][downloads-image]][downloads-url]
|
|
||||||
[![Build status][travis-image]][travis-url]
|
|
||||||
[![Test coverage][coveralls-image]][coveralls-url]
|
|
||||||
|
|
||||||
> Flatten an array of nested arrays into a single flat array. Accepts an optional depth.
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
```
|
|
||||||
npm install array-flatten --save
|
|
||||||
```
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
var flatten = require('array-flatten')
|
|
||||||
|
|
||||||
flatten([1, [2, [3, [4, [5], 6], 7], 8], 9])
|
|
||||||
//=> [1, 2, 3, 4, 5, 6, 7, 8, 9]
|
|
||||||
|
|
||||||
flatten([1, [2, [3, [4, [5], 6], 7], 8], 9], 2)
|
|
||||||
//=> [1, 2, 3, [4, [5], 6], 7, 8, 9]
|
|
||||||
|
|
||||||
(function () {
|
|
||||||
flatten(arguments) //=> [1, 2, 3]
|
|
||||||
})(1, [2, 3])
|
|
||||||
```
|
|
||||||
|
|
||||||
## License
|
|
||||||
|
|
||||||
MIT
|
|
||||||
|
|
||||||
[npm-image]: https://img.shields.io/npm/v/array-flatten.svg?style=flat
|
|
||||||
[npm-url]: https://npmjs.org/package/array-flatten
|
|
||||||
[downloads-image]: https://img.shields.io/npm/dm/array-flatten.svg?style=flat
|
|
||||||
[downloads-url]: https://npmjs.org/package/array-flatten
|
|
||||||
[travis-image]: https://img.shields.io/travis/blakeembrey/array-flatten.svg?style=flat
|
|
||||||
[travis-url]: https://travis-ci.org/blakeembrey/array-flatten
|
|
||||||
[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/array-flatten.svg?style=flat
|
|
||||||
[coveralls-url]: https://coveralls.io/r/blakeembrey/array-flatten?branch=master
|
|
||||||
64
Websites/Jefes/Backend/node_modules/array-flatten/array-flatten.js
generated
vendored
64
Websites/Jefes/Backend/node_modules/array-flatten/array-flatten.js
generated
vendored
@ -1,64 +0,0 @@
|
|||||||
'use strict'
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Expose `arrayFlatten`.
|
|
||||||
*/
|
|
||||||
module.exports = arrayFlatten
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Recursive flatten function with depth.
|
|
||||||
*
|
|
||||||
* @param {Array} array
|
|
||||||
* @param {Array} result
|
|
||||||
* @param {Number} depth
|
|
||||||
* @return {Array}
|
|
||||||
*/
|
|
||||||
function flattenWithDepth (array, result, depth) {
|
|
||||||
for (var i = 0; i < array.length; i++) {
|
|
||||||
var value = array[i]
|
|
||||||
|
|
||||||
if (depth > 0 && Array.isArray(value)) {
|
|
||||||
flattenWithDepth(value, result, depth - 1)
|
|
||||||
} else {
|
|
||||||
result.push(value)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return result
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Recursive flatten function. Omitting depth is slightly faster.
|
|
||||||
*
|
|
||||||
* @param {Array} array
|
|
||||||
* @param {Array} result
|
|
||||||
* @return {Array}
|
|
||||||
*/
|
|
||||||
function flattenForever (array, result) {
|
|
||||||
for (var i = 0; i < array.length; i++) {
|
|
||||||
var value = array[i]
|
|
||||||
|
|
||||||
if (Array.isArray(value)) {
|
|
||||||
flattenForever(value, result)
|
|
||||||
} else {
|
|
||||||
result.push(value)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return result
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Flatten an array, with the ability to define a depth.
|
|
||||||
*
|
|
||||||
* @param {Array} array
|
|
||||||
* @param {Number} depth
|
|
||||||
* @return {Array}
|
|
||||||
*/
|
|
||||||
function arrayFlatten (array, depth) {
|
|
||||||
if (depth == null) {
|
|
||||||
return flattenForever(array, [])
|
|
||||||
}
|
|
||||||
|
|
||||||
return flattenWithDepth(array, [], depth)
|
|
||||||
}
|
|
||||||
39
Websites/Jefes/Backend/node_modules/array-flatten/package.json
generated
vendored
39
Websites/Jefes/Backend/node_modules/array-flatten/package.json
generated
vendored
@ -1,39 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "array-flatten",
|
|
||||||
"version": "1.1.1",
|
|
||||||
"description": "Flatten an array of nested arrays into a single flat array",
|
|
||||||
"main": "array-flatten.js",
|
|
||||||
"files": [
|
|
||||||
"array-flatten.js",
|
|
||||||
"LICENSE"
|
|
||||||
],
|
|
||||||
"scripts": {
|
|
||||||
"test": "istanbul cover _mocha -- -R spec"
|
|
||||||
},
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "git://github.com/blakeembrey/array-flatten.git"
|
|
||||||
},
|
|
||||||
"keywords": [
|
|
||||||
"array",
|
|
||||||
"flatten",
|
|
||||||
"arguments",
|
|
||||||
"depth"
|
|
||||||
],
|
|
||||||
"author": {
|
|
||||||
"name": "Blake Embrey",
|
|
||||||
"email": "hello@blakeembrey.com",
|
|
||||||
"url": "http://blakeembrey.me"
|
|
||||||
},
|
|
||||||
"license": "MIT",
|
|
||||||
"bugs": {
|
|
||||||
"url": "https://github.com/blakeembrey/array-flatten/issues"
|
|
||||||
},
|
|
||||||
"homepage": "https://github.com/blakeembrey/array-flatten",
|
|
||||||
"devDependencies": {
|
|
||||||
"istanbul": "^0.3.13",
|
|
||||||
"mocha": "^2.2.4",
|
|
||||||
"pre-commit": "^1.0.7",
|
|
||||||
"standard": "^3.7.3"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
657
Websites/Jefes/Backend/node_modules/body-parser/HISTORY.md
generated
vendored
657
Websites/Jefes/Backend/node_modules/body-parser/HISTORY.md
generated
vendored
@ -1,657 +0,0 @@
|
|||||||
1.20.1 / 2022-10-06
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: qs@6.11.0
|
|
||||||
* perf: remove unnecessary object clone
|
|
||||||
|
|
||||||
1.20.0 / 2022-04-02
|
|
||||||
===================
|
|
||||||
|
|
||||||
* Fix error message for json parse whitespace in `strict`
|
|
||||||
* Fix internal error when inflated body exceeds limit
|
|
||||||
* Prevent loss of async hooks context
|
|
||||||
* Prevent hanging when request already read
|
|
||||||
* deps: depd@2.0.0
|
|
||||||
- Replace internal `eval` usage with `Function` constructor
|
|
||||||
- Use instance methods on `process` to check for listeners
|
|
||||||
* deps: http-errors@2.0.0
|
|
||||||
- deps: depd@2.0.0
|
|
||||||
- deps: statuses@2.0.1
|
|
||||||
* deps: on-finished@2.4.1
|
|
||||||
* deps: qs@6.10.3
|
|
||||||
* deps: raw-body@2.5.1
|
|
||||||
- deps: http-errors@2.0.0
|
|
||||||
|
|
||||||
1.19.2 / 2022-02-15
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: bytes@3.1.2
|
|
||||||
* deps: qs@6.9.7
|
|
||||||
* Fix handling of `__proto__` keys
|
|
||||||
* deps: raw-body@2.4.3
|
|
||||||
- deps: bytes@3.1.2
|
|
||||||
|
|
||||||
1.19.1 / 2021-12-10
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: bytes@3.1.1
|
|
||||||
* deps: http-errors@1.8.1
|
|
||||||
- deps: inherits@2.0.4
|
|
||||||
- deps: toidentifier@1.0.1
|
|
||||||
- deps: setprototypeof@1.2.0
|
|
||||||
* deps: qs@6.9.6
|
|
||||||
* deps: raw-body@2.4.2
|
|
||||||
- deps: bytes@3.1.1
|
|
||||||
- deps: http-errors@1.8.1
|
|
||||||
* deps: safe-buffer@5.2.1
|
|
||||||
* deps: type-is@~1.6.18
|
|
||||||
|
|
||||||
1.19.0 / 2019-04-25
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: bytes@3.1.0
|
|
||||||
- Add petabyte (`pb`) support
|
|
||||||
* deps: http-errors@1.7.2
|
|
||||||
- Set constructor name when possible
|
|
||||||
- deps: setprototypeof@1.1.1
|
|
||||||
- deps: statuses@'>= 1.5.0 < 2'
|
|
||||||
* deps: iconv-lite@0.4.24
|
|
||||||
- Added encoding MIK
|
|
||||||
* deps: qs@6.7.0
|
|
||||||
- Fix parsing array brackets after index
|
|
||||||
* deps: raw-body@2.4.0
|
|
||||||
- deps: bytes@3.1.0
|
|
||||||
- deps: http-errors@1.7.2
|
|
||||||
- deps: iconv-lite@0.4.24
|
|
||||||
* deps: type-is@~1.6.17
|
|
||||||
- deps: mime-types@~2.1.24
|
|
||||||
- perf: prevent internal `throw` on invalid type
|
|
||||||
|
|
||||||
1.18.3 / 2018-05-14
|
|
||||||
===================
|
|
||||||
|
|
||||||
* Fix stack trace for strict json parse error
|
|
||||||
* deps: depd@~1.1.2
|
|
||||||
- perf: remove argument reassignment
|
|
||||||
* deps: http-errors@~1.6.3
|
|
||||||
- deps: depd@~1.1.2
|
|
||||||
- deps: setprototypeof@1.1.0
|
|
||||||
- deps: statuses@'>= 1.3.1 < 2'
|
|
||||||
* deps: iconv-lite@0.4.23
|
|
||||||
- Fix loading encoding with year appended
|
|
||||||
- Fix deprecation warnings on Node.js 10+
|
|
||||||
* deps: qs@6.5.2
|
|
||||||
* deps: raw-body@2.3.3
|
|
||||||
- deps: http-errors@1.6.3
|
|
||||||
- deps: iconv-lite@0.4.23
|
|
||||||
* deps: type-is@~1.6.16
|
|
||||||
- deps: mime-types@~2.1.18
|
|
||||||
|
|
||||||
1.18.2 / 2017-09-22
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: debug@2.6.9
|
|
||||||
* perf: remove argument reassignment
|
|
||||||
|
|
||||||
1.18.1 / 2017-09-12
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: content-type@~1.0.4
|
|
||||||
- perf: remove argument reassignment
|
|
||||||
- perf: skip parameter parsing when no parameters
|
|
||||||
* deps: iconv-lite@0.4.19
|
|
||||||
- Fix ISO-8859-1 regression
|
|
||||||
- Update Windows-1255
|
|
||||||
* deps: qs@6.5.1
|
|
||||||
- Fix parsing & compacting very deep objects
|
|
||||||
* deps: raw-body@2.3.2
|
|
||||||
- deps: iconv-lite@0.4.19
|
|
||||||
|
|
||||||
1.18.0 / 2017-09-08
|
|
||||||
===================
|
|
||||||
|
|
||||||
* Fix JSON strict violation error to match native parse error
|
|
||||||
* Include the `body` property on verify errors
|
|
||||||
* Include the `type` property on all generated errors
|
|
||||||
* Use `http-errors` to set status code on errors
|
|
||||||
* deps: bytes@3.0.0
|
|
||||||
* deps: debug@2.6.8
|
|
||||||
* deps: depd@~1.1.1
|
|
||||||
- Remove unnecessary `Buffer` loading
|
|
||||||
* deps: http-errors@~1.6.2
|
|
||||||
- deps: depd@1.1.1
|
|
||||||
* deps: iconv-lite@0.4.18
|
|
||||||
- Add support for React Native
|
|
||||||
- Add a warning if not loaded as utf-8
|
|
||||||
- Fix CESU-8 decoding in Node.js 8
|
|
||||||
- Improve speed of ISO-8859-1 encoding
|
|
||||||
* deps: qs@6.5.0
|
|
||||||
* deps: raw-body@2.3.1
|
|
||||||
- Use `http-errors` for standard emitted errors
|
|
||||||
- deps: bytes@3.0.0
|
|
||||||
- deps: iconv-lite@0.4.18
|
|
||||||
- perf: skip buffer decoding on overage chunk
|
|
||||||
* perf: prevent internal `throw` when missing charset
|
|
||||||
|
|
||||||
1.17.2 / 2017-05-17
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: debug@2.6.7
|
|
||||||
- Fix `DEBUG_MAX_ARRAY_LENGTH`
|
|
||||||
- deps: ms@2.0.0
|
|
||||||
* deps: type-is@~1.6.15
|
|
||||||
- deps: mime-types@~2.1.15
|
|
||||||
|
|
||||||
1.17.1 / 2017-03-06
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: qs@6.4.0
|
|
||||||
- Fix regression parsing keys starting with `[`
|
|
||||||
|
|
||||||
1.17.0 / 2017-03-01
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: http-errors@~1.6.1
|
|
||||||
- Make `message` property enumerable for `HttpError`s
|
|
||||||
- deps: setprototypeof@1.0.3
|
|
||||||
* deps: qs@6.3.1
|
|
||||||
- Fix compacting nested arrays
|
|
||||||
|
|
||||||
1.16.1 / 2017-02-10
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: debug@2.6.1
|
|
||||||
- Fix deprecation messages in WebStorm and other editors
|
|
||||||
- Undeprecate `DEBUG_FD` set to `1` or `2`
|
|
||||||
|
|
||||||
1.16.0 / 2017-01-17
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: debug@2.6.0
|
|
||||||
- Allow colors in workers
|
|
||||||
- Deprecated `DEBUG_FD` environment variable
|
|
||||||
- Fix error when running under React Native
|
|
||||||
- Use same color for same namespace
|
|
||||||
- deps: ms@0.7.2
|
|
||||||
* deps: http-errors@~1.5.1
|
|
||||||
- deps: inherits@2.0.3
|
|
||||||
- deps: setprototypeof@1.0.2
|
|
||||||
- deps: statuses@'>= 1.3.1 < 2'
|
|
||||||
* deps: iconv-lite@0.4.15
|
|
||||||
- Added encoding MS-31J
|
|
||||||
- Added encoding MS-932
|
|
||||||
- Added encoding MS-936
|
|
||||||
- Added encoding MS-949
|
|
||||||
- Added encoding MS-950
|
|
||||||
- Fix GBK/GB18030 handling of Euro character
|
|
||||||
* deps: qs@6.2.1
|
|
||||||
- Fix array parsing from skipping empty values
|
|
||||||
* deps: raw-body@~2.2.0
|
|
||||||
- deps: iconv-lite@0.4.15
|
|
||||||
* deps: type-is@~1.6.14
|
|
||||||
- deps: mime-types@~2.1.13
|
|
||||||
|
|
||||||
1.15.2 / 2016-06-19
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: bytes@2.4.0
|
|
||||||
* deps: content-type@~1.0.2
|
|
||||||
- perf: enable strict mode
|
|
||||||
* deps: http-errors@~1.5.0
|
|
||||||
- Use `setprototypeof` module to replace `__proto__` setting
|
|
||||||
- deps: statuses@'>= 1.3.0 < 2'
|
|
||||||
- perf: enable strict mode
|
|
||||||
* deps: qs@6.2.0
|
|
||||||
* deps: raw-body@~2.1.7
|
|
||||||
- deps: bytes@2.4.0
|
|
||||||
- perf: remove double-cleanup on happy path
|
|
||||||
* deps: type-is@~1.6.13
|
|
||||||
- deps: mime-types@~2.1.11
|
|
||||||
|
|
||||||
1.15.1 / 2016-05-05
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: bytes@2.3.0
|
|
||||||
- Drop partial bytes on all parsed units
|
|
||||||
- Fix parsing byte string that looks like hex
|
|
||||||
* deps: raw-body@~2.1.6
|
|
||||||
- deps: bytes@2.3.0
|
|
||||||
* deps: type-is@~1.6.12
|
|
||||||
- deps: mime-types@~2.1.10
|
|
||||||
|
|
||||||
1.15.0 / 2016-02-10
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: http-errors@~1.4.0
|
|
||||||
- Add `HttpError` export, for `err instanceof createError.HttpError`
|
|
||||||
- deps: inherits@2.0.1
|
|
||||||
- deps: statuses@'>= 1.2.1 < 2'
|
|
||||||
* deps: qs@6.1.0
|
|
||||||
* deps: type-is@~1.6.11
|
|
||||||
- deps: mime-types@~2.1.9
|
|
||||||
|
|
||||||
1.14.2 / 2015-12-16
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: bytes@2.2.0
|
|
||||||
* deps: iconv-lite@0.4.13
|
|
||||||
* deps: qs@5.2.0
|
|
||||||
* deps: raw-body@~2.1.5
|
|
||||||
- deps: bytes@2.2.0
|
|
||||||
- deps: iconv-lite@0.4.13
|
|
||||||
* deps: type-is@~1.6.10
|
|
||||||
- deps: mime-types@~2.1.8
|
|
||||||
|
|
||||||
1.14.1 / 2015-09-27
|
|
||||||
===================
|
|
||||||
|
|
||||||
* Fix issue where invalid charset results in 400 when `verify` used
|
|
||||||
* deps: iconv-lite@0.4.12
|
|
||||||
- Fix CESU-8 decoding in Node.js 4.x
|
|
||||||
* deps: raw-body@~2.1.4
|
|
||||||
- Fix masking critical errors from `iconv-lite`
|
|
||||||
- deps: iconv-lite@0.4.12
|
|
||||||
* deps: type-is@~1.6.9
|
|
||||||
- deps: mime-types@~2.1.7
|
|
||||||
|
|
||||||
1.14.0 / 2015-09-16
|
|
||||||
===================
|
|
||||||
|
|
||||||
* Fix JSON strict parse error to match syntax errors
|
|
||||||
* Provide static `require` analysis in `urlencoded` parser
|
|
||||||
* deps: depd@~1.1.0
|
|
||||||
- Support web browser loading
|
|
||||||
* deps: qs@5.1.0
|
|
||||||
* deps: raw-body@~2.1.3
|
|
||||||
- Fix sync callback when attaching data listener causes sync read
|
|
||||||
* deps: type-is@~1.6.8
|
|
||||||
- Fix type error when given invalid type to match against
|
|
||||||
- deps: mime-types@~2.1.6
|
|
||||||
|
|
||||||
1.13.3 / 2015-07-31
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: type-is@~1.6.6
|
|
||||||
- deps: mime-types@~2.1.4
|
|
||||||
|
|
||||||
1.13.2 / 2015-07-05
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: iconv-lite@0.4.11
|
|
||||||
* deps: qs@4.0.0
|
|
||||||
- Fix dropping parameters like `hasOwnProperty`
|
|
||||||
- Fix user-visible incompatibilities from 3.1.0
|
|
||||||
- Fix various parsing edge cases
|
|
||||||
* deps: raw-body@~2.1.2
|
|
||||||
- Fix error stack traces to skip `makeError`
|
|
||||||
- deps: iconv-lite@0.4.11
|
|
||||||
* deps: type-is@~1.6.4
|
|
||||||
- deps: mime-types@~2.1.2
|
|
||||||
- perf: enable strict mode
|
|
||||||
- perf: remove argument reassignment
|
|
||||||
|
|
||||||
1.13.1 / 2015-06-16
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: qs@2.4.2
|
|
||||||
- Downgraded from 3.1.0 because of user-visible incompatibilities
|
|
||||||
|
|
||||||
1.13.0 / 2015-06-14
|
|
||||||
===================
|
|
||||||
|
|
||||||
* Add `statusCode` property on `Error`s, in addition to `status`
|
|
||||||
* Change `type` default to `application/json` for JSON parser
|
|
||||||
* Change `type` default to `application/x-www-form-urlencoded` for urlencoded parser
|
|
||||||
* Provide static `require` analysis
|
|
||||||
* Use the `http-errors` module to generate errors
|
|
||||||
* deps: bytes@2.1.0
|
|
||||||
- Slight optimizations
|
|
||||||
* deps: iconv-lite@0.4.10
|
|
||||||
- The encoding UTF-16 without BOM now defaults to UTF-16LE when detection fails
|
|
||||||
- Leading BOM is now removed when decoding
|
|
||||||
* deps: on-finished@~2.3.0
|
|
||||||
- Add defined behavior for HTTP `CONNECT` requests
|
|
||||||
- Add defined behavior for HTTP `Upgrade` requests
|
|
||||||
- deps: ee-first@1.1.1
|
|
||||||
* deps: qs@3.1.0
|
|
||||||
- Fix dropping parameters like `hasOwnProperty`
|
|
||||||
- Fix various parsing edge cases
|
|
||||||
- Parsed object now has `null` prototype
|
|
||||||
* deps: raw-body@~2.1.1
|
|
||||||
- Use `unpipe` module for unpiping requests
|
|
||||||
- deps: iconv-lite@0.4.10
|
|
||||||
* deps: type-is@~1.6.3
|
|
||||||
- deps: mime-types@~2.1.1
|
|
||||||
- perf: reduce try block size
|
|
||||||
- perf: remove bitwise operations
|
|
||||||
* perf: enable strict mode
|
|
||||||
* perf: remove argument reassignment
|
|
||||||
* perf: remove delete call
|
|
||||||
|
|
||||||
1.12.4 / 2015-05-10
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: debug@~2.2.0
|
|
||||||
* deps: qs@2.4.2
|
|
||||||
- Fix allowing parameters like `constructor`
|
|
||||||
* deps: on-finished@~2.2.1
|
|
||||||
* deps: raw-body@~2.0.1
|
|
||||||
- Fix a false-positive when unpiping in Node.js 0.8
|
|
||||||
- deps: bytes@2.0.1
|
|
||||||
* deps: type-is@~1.6.2
|
|
||||||
- deps: mime-types@~2.0.11
|
|
||||||
|
|
||||||
1.12.3 / 2015-04-15
|
|
||||||
===================
|
|
||||||
|
|
||||||
* Slight efficiency improvement when not debugging
|
|
||||||
* deps: depd@~1.0.1
|
|
||||||
* deps: iconv-lite@0.4.8
|
|
||||||
- Add encoding alias UNICODE-1-1-UTF-7
|
|
||||||
* deps: raw-body@1.3.4
|
|
||||||
- Fix hanging callback if request aborts during read
|
|
||||||
- deps: iconv-lite@0.4.8
|
|
||||||
|
|
||||||
1.12.2 / 2015-03-16
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: qs@2.4.1
|
|
||||||
- Fix error when parameter `hasOwnProperty` is present
|
|
||||||
|
|
||||||
1.12.1 / 2015-03-15
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: debug@~2.1.3
|
|
||||||
- Fix high intensity foreground color for bold
|
|
||||||
- deps: ms@0.7.0
|
|
||||||
* deps: type-is@~1.6.1
|
|
||||||
- deps: mime-types@~2.0.10
|
|
||||||
|
|
||||||
1.12.0 / 2015-02-13
|
|
||||||
===================
|
|
||||||
|
|
||||||
* add `debug` messages
|
|
||||||
* accept a function for the `type` option
|
|
||||||
* use `content-type` to parse `Content-Type` headers
|
|
||||||
* deps: iconv-lite@0.4.7
|
|
||||||
- Gracefully support enumerables on `Object.prototype`
|
|
||||||
* deps: raw-body@1.3.3
|
|
||||||
- deps: iconv-lite@0.4.7
|
|
||||||
* deps: type-is@~1.6.0
|
|
||||||
- fix argument reassignment
|
|
||||||
- fix false-positives in `hasBody` `Transfer-Encoding` check
|
|
||||||
- support wildcard for both type and subtype (`*/*`)
|
|
||||||
- deps: mime-types@~2.0.9
|
|
||||||
|
|
||||||
1.11.0 / 2015-01-30
|
|
||||||
===================
|
|
||||||
|
|
||||||
* make internal `extended: true` depth limit infinity
|
|
||||||
* deps: type-is@~1.5.6
|
|
||||||
- deps: mime-types@~2.0.8
|
|
||||||
|
|
||||||
1.10.2 / 2015-01-20
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: iconv-lite@0.4.6
|
|
||||||
- Fix rare aliases of single-byte encodings
|
|
||||||
* deps: raw-body@1.3.2
|
|
||||||
- deps: iconv-lite@0.4.6
|
|
||||||
|
|
||||||
1.10.1 / 2015-01-01
|
|
||||||
===================
|
|
||||||
|
|
||||||
* deps: on-finished@~2.2.0
|
|
||||||
* deps: type-is@~1.5.5
|
|
||||||
- deps: mime-types@~2.0.7
|
|
||||||
|
|
||||||
1.10.0 / 2014-12-02
|
|
||||||
===================
|
|
||||||
|
|
||||||
* make internal `extended: true` array limit dynamic
|
|
||||||
|
|
||||||
1.9.3 / 2014-11-21
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: iconv-lite@0.4.5
|
|
||||||
- Fix Windows-31J and X-SJIS encoding support
|
|
||||||
* deps: qs@2.3.3
|
|
||||||
- Fix `arrayLimit` behavior
|
|
||||||
* deps: raw-body@1.3.1
|
|
||||||
- deps: iconv-lite@0.4.5
|
|
||||||
* deps: type-is@~1.5.3
|
|
||||||
- deps: mime-types@~2.0.3
|
|
||||||
|
|
||||||
1.9.2 / 2014-10-27
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: qs@2.3.2
|
|
||||||
- Fix parsing of mixed objects and values
|
|
||||||
|
|
||||||
1.9.1 / 2014-10-22
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: on-finished@~2.1.1
|
|
||||||
- Fix handling of pipelined requests
|
|
||||||
* deps: qs@2.3.0
|
|
||||||
- Fix parsing of mixed implicit and explicit arrays
|
|
||||||
* deps: type-is@~1.5.2
|
|
||||||
- deps: mime-types@~2.0.2
|
|
||||||
|
|
||||||
1.9.0 / 2014-09-24
|
|
||||||
==================
|
|
||||||
|
|
||||||
* include the charset in "unsupported charset" error message
|
|
||||||
* include the encoding in "unsupported content encoding" error message
|
|
||||||
* deps: depd@~1.0.0
|
|
||||||
|
|
||||||
1.8.4 / 2014-09-23
|
|
||||||
==================
|
|
||||||
|
|
||||||
* fix content encoding to be case-insensitive
|
|
||||||
|
|
||||||
1.8.3 / 2014-09-19
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: qs@2.2.4
|
|
||||||
- Fix issue with object keys starting with numbers truncated
|
|
||||||
|
|
||||||
1.8.2 / 2014-09-15
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: depd@0.4.5
|
|
||||||
|
|
||||||
1.8.1 / 2014-09-07
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: media-typer@0.3.0
|
|
||||||
* deps: type-is@~1.5.1
|
|
||||||
|
|
||||||
1.8.0 / 2014-09-05
|
|
||||||
==================
|
|
||||||
|
|
||||||
* make empty-body-handling consistent between chunked requests
|
|
||||||
- empty `json` produces `{}`
|
|
||||||
- empty `raw` produces `new Buffer(0)`
|
|
||||||
- empty `text` produces `''`
|
|
||||||
- empty `urlencoded` produces `{}`
|
|
||||||
* deps: qs@2.2.3
|
|
||||||
- Fix issue where first empty value in array is discarded
|
|
||||||
* deps: type-is@~1.5.0
|
|
||||||
- fix `hasbody` to be true for `content-length: 0`
|
|
||||||
|
|
||||||
1.7.0 / 2014-09-01
|
|
||||||
==================
|
|
||||||
|
|
||||||
* add `parameterLimit` option to `urlencoded` parser
|
|
||||||
* change `urlencoded` extended array limit to 100
|
|
||||||
* respond with 413 when over `parameterLimit` in `urlencoded`
|
|
||||||
|
|
||||||
1.6.7 / 2014-08-29
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: qs@2.2.2
|
|
||||||
- Remove unnecessary cloning
|
|
||||||
|
|
||||||
1.6.6 / 2014-08-27
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: qs@2.2.0
|
|
||||||
- Array parsing fix
|
|
||||||
- Performance improvements
|
|
||||||
|
|
||||||
1.6.5 / 2014-08-16
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: on-finished@2.1.0
|
|
||||||
|
|
||||||
1.6.4 / 2014-08-14
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: qs@1.2.2
|
|
||||||
|
|
||||||
1.6.3 / 2014-08-10
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: qs@1.2.1
|
|
||||||
|
|
||||||
1.6.2 / 2014-08-07
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: qs@1.2.0
|
|
||||||
- Fix parsing array of objects
|
|
||||||
|
|
||||||
1.6.1 / 2014-08-06
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: qs@1.1.0
|
|
||||||
- Accept urlencoded square brackets
|
|
||||||
- Accept empty values in implicit array notation
|
|
||||||
|
|
||||||
1.6.0 / 2014-08-05
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: qs@1.0.2
|
|
||||||
- Complete rewrite
|
|
||||||
- Limits array length to 20
|
|
||||||
- Limits object depth to 5
|
|
||||||
- Limits parameters to 1,000
|
|
||||||
|
|
||||||
1.5.2 / 2014-07-27
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: depd@0.4.4
|
|
||||||
- Work-around v8 generating empty stack traces
|
|
||||||
|
|
||||||
1.5.1 / 2014-07-26
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: depd@0.4.3
|
|
||||||
- Fix exception when global `Error.stackTraceLimit` is too low
|
|
||||||
|
|
||||||
1.5.0 / 2014-07-20
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: depd@0.4.2
|
|
||||||
- Add `TRACE_DEPRECATION` environment variable
|
|
||||||
- Remove non-standard grey color from color output
|
|
||||||
- Support `--no-deprecation` argument
|
|
||||||
- Support `--trace-deprecation` argument
|
|
||||||
* deps: iconv-lite@0.4.4
|
|
||||||
- Added encoding UTF-7
|
|
||||||
* deps: raw-body@1.3.0
|
|
||||||
- deps: iconv-lite@0.4.4
|
|
||||||
- Added encoding UTF-7
|
|
||||||
- Fix `Cannot switch to old mode now` error on Node.js 0.10+
|
|
||||||
* deps: type-is@~1.3.2
|
|
||||||
|
|
||||||
1.4.3 / 2014-06-19
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: type-is@1.3.1
|
|
||||||
- fix global variable leak
|
|
||||||
|
|
||||||
1.4.2 / 2014-06-19
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: type-is@1.3.0
|
|
||||||
- improve type parsing
|
|
||||||
|
|
||||||
1.4.1 / 2014-06-19
|
|
||||||
==================
|
|
||||||
|
|
||||||
* fix urlencoded extended deprecation message
|
|
||||||
|
|
||||||
1.4.0 / 2014-06-19
|
|
||||||
==================
|
|
||||||
|
|
||||||
* add `text` parser
|
|
||||||
* add `raw` parser
|
|
||||||
* check accepted charset in content-type (accepts utf-8)
|
|
||||||
* check accepted encoding in content-encoding (accepts identity)
|
|
||||||
* deprecate `bodyParser()` middleware; use `.json()` and `.urlencoded()` as needed
|
|
||||||
* deprecate `urlencoded()` without provided `extended` option
|
|
||||||
* lazy-load urlencoded parsers
|
|
||||||
* parsers split into files for reduced mem usage
|
|
||||||
* support gzip and deflate bodies
|
|
||||||
- set `inflate: false` to turn off
|
|
||||||
* deps: raw-body@1.2.2
|
|
||||||
- Support all encodings from `iconv-lite`
|
|
||||||
|
|
||||||
1.3.1 / 2014-06-11
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: type-is@1.2.1
|
|
||||||
- Switch dependency from mime to mime-types@1.0.0
|
|
||||||
|
|
||||||
1.3.0 / 2014-05-31
|
|
||||||
==================
|
|
||||||
|
|
||||||
* add `extended` option to urlencoded parser
|
|
||||||
|
|
||||||
1.2.2 / 2014-05-27
|
|
||||||
==================
|
|
||||||
|
|
||||||
* deps: raw-body@1.1.6
|
|
||||||
- assert stream encoding on node.js 0.8
|
|
||||||
- assert stream encoding on node.js < 0.10.6
|
|
||||||
- deps: bytes@1
|
|
||||||
|
|
||||||
1.2.1 / 2014-05-26
|
|
||||||
==================
|
|
||||||
|
|
||||||
* invoke `next(err)` after request fully read
|
|
||||||
- prevents hung responses and socket hang ups
|
|
||||||
|
|
||||||
1.2.0 / 2014-05-11
|
|
||||||
==================
|
|
||||||
|
|
||||||
* add `verify` option
|
|
||||||
* deps: type-is@1.2.0
|
|
||||||
- support suffix matching
|
|
||||||
|
|
||||||
1.1.2 / 2014-05-11
|
|
||||||
==================
|
|
||||||
|
|
||||||
* improve json parser speed
|
|
||||||
|
|
||||||
1.1.1 / 2014-05-11
|
|
||||||
==================
|
|
||||||
|
|
||||||
* fix repeated limit parsing with every request
|
|
||||||
|
|
||||||
1.1.0 / 2014-05-10
|
|
||||||
==================
|
|
||||||
|
|
||||||
* add `type` option
|
|
||||||
* deps: pin for safety and consistency
|
|
||||||
|
|
||||||
1.0.2 / 2014-04-14
|
|
||||||
==================
|
|
||||||
|
|
||||||
* use `type-is` module
|
|
||||||
|
|
||||||
1.0.1 / 2014-03-20
|
|
||||||
==================
|
|
||||||
|
|
||||||
* lower default limits to 100kb
|
|
||||||
23
Websites/Jefes/Backend/node_modules/body-parser/LICENSE
generated
vendored
23
Websites/Jefes/Backend/node_modules/body-parser/LICENSE
generated
vendored
@ -1,23 +0,0 @@
|
|||||||
(The MIT License)
|
|
||||||
|
|
||||||
Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
|
|
||||||
Copyright (c) 2014-2015 Douglas Christopher Wilson <doug@somethingdoug.com>
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
a copy of this software and associated documentation files (the
|
|
||||||
'Software'), to deal in the Software without restriction, including
|
|
||||||
without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
distribute, sublicense, and/or sell copies of the Software, and to
|
|
||||||
permit persons to whom the Software is furnished to do so, subject to
|
|
||||||
the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be
|
|
||||||
included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
||||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
|
||||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
|
||||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
|
||||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
464
Websites/Jefes/Backend/node_modules/body-parser/README.md
generated
vendored
464
Websites/Jefes/Backend/node_modules/body-parser/README.md
generated
vendored
@ -1,464 +0,0 @@
|
|||||||
# body-parser
|
|
||||||
|
|
||||||
[![NPM Version][npm-image]][npm-url]
|
|
||||||
[![NPM Downloads][downloads-image]][downloads-url]
|
|
||||||
[![Build Status][github-actions-ci-image]][github-actions-ci-url]
|
|
||||||
[![Test Coverage][coveralls-image]][coveralls-url]
|
|
||||||
|
|
||||||
Node.js body parsing middleware.
|
|
||||||
|
|
||||||
Parse incoming request bodies in a middleware before your handlers, available
|
|
||||||
under the `req.body` property.
|
|
||||||
|
|
||||||
**Note** As `req.body`'s shape is based on user-controlled input, all
|
|
||||||
properties and values in this object are untrusted and should be validated
|
|
||||||
before trusting. For example, `req.body.foo.toString()` may fail in multiple
|
|
||||||
ways, for example the `foo` property may not be there or may not be a string,
|
|
||||||
and `toString` may not be a function and instead a string or other user input.
|
|
||||||
|
|
||||||
[Learn about the anatomy of an HTTP transaction in Node.js](https://nodejs.org/en/docs/guides/anatomy-of-an-http-transaction/).
|
|
||||||
|
|
||||||
_This does not handle multipart bodies_, due to their complex and typically
|
|
||||||
large nature. For multipart bodies, you may be interested in the following
|
|
||||||
modules:
|
|
||||||
|
|
||||||
* [busboy](https://www.npmjs.org/package/busboy#readme) and
|
|
||||||
[connect-busboy](https://www.npmjs.org/package/connect-busboy#readme)
|
|
||||||
* [multiparty](https://www.npmjs.org/package/multiparty#readme) and
|
|
||||||
[connect-multiparty](https://www.npmjs.org/package/connect-multiparty#readme)
|
|
||||||
* [formidable](https://www.npmjs.org/package/formidable#readme)
|
|
||||||
* [multer](https://www.npmjs.org/package/multer#readme)
|
|
||||||
|
|
||||||
This module provides the following parsers:
|
|
||||||
|
|
||||||
* [JSON body parser](#bodyparserjsonoptions)
|
|
||||||
* [Raw body parser](#bodyparserrawoptions)
|
|
||||||
* [Text body parser](#bodyparsertextoptions)
|
|
||||||
* [URL-encoded form body parser](#bodyparserurlencodedoptions)
|
|
||||||
|
|
||||||
Other body parsers you might be interested in:
|
|
||||||
|
|
||||||
- [body](https://www.npmjs.org/package/body#readme)
|
|
||||||
- [co-body](https://www.npmjs.org/package/co-body#readme)
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
```sh
|
|
||||||
$ npm install body-parser
|
|
||||||
```
|
|
||||||
|
|
||||||
## API
|
|
||||||
|
|
||||||
```js
|
|
||||||
var bodyParser = require('body-parser')
|
|
||||||
```
|
|
||||||
|
|
||||||
The `bodyParser` object exposes various factories to create middlewares. All
|
|
||||||
middlewares will populate the `req.body` property with the parsed body when
|
|
||||||
the `Content-Type` request header matches the `type` option, or an empty
|
|
||||||
object (`{}`) if there was no body to parse, the `Content-Type` was not matched,
|
|
||||||
or an error occurred.
|
|
||||||
|
|
||||||
The various errors returned by this module are described in the
|
|
||||||
[errors section](#errors).
|
|
||||||
|
|
||||||
### bodyParser.json([options])
|
|
||||||
|
|
||||||
Returns middleware that only parses `json` and only looks at requests where
|
|
||||||
the `Content-Type` header matches the `type` option. This parser accepts any
|
|
||||||
Unicode encoding of the body and supports automatic inflation of `gzip` and
|
|
||||||
`deflate` encodings.
|
|
||||||
|
|
||||||
A new `body` object containing the parsed data is populated on the `request`
|
|
||||||
object after the middleware (i.e. `req.body`).
|
|
||||||
|
|
||||||
#### Options
|
|
||||||
|
|
||||||
The `json` function takes an optional `options` object that may contain any of
|
|
||||||
the following keys:
|
|
||||||
|
|
||||||
##### inflate
|
|
||||||
|
|
||||||
When set to `true`, then deflated (compressed) bodies will be inflated; when
|
|
||||||
`false`, deflated bodies are rejected. Defaults to `true`.
|
|
||||||
|
|
||||||
##### limit
|
|
||||||
|
|
||||||
Controls the maximum request body size. If this is a number, then the value
|
|
||||||
specifies the number of bytes; if it is a string, the value is passed to the
|
|
||||||
[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
|
|
||||||
to `'100kb'`.
|
|
||||||
|
|
||||||
##### reviver
|
|
||||||
|
|
||||||
The `reviver` option is passed directly to `JSON.parse` as the second
|
|
||||||
argument. You can find more information on this argument
|
|
||||||
[in the MDN documentation about JSON.parse](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#Example.3A_Using_the_reviver_parameter).
|
|
||||||
|
|
||||||
##### strict
|
|
||||||
|
|
||||||
When set to `true`, will only accept arrays and objects; when `false` will
|
|
||||||
accept anything `JSON.parse` accepts. Defaults to `true`.
|
|
||||||
|
|
||||||
##### type
|
|
||||||
|
|
||||||
The `type` option is used to determine what media type the middleware will
|
|
||||||
parse. This option can be a string, array of strings, or a function. If not a
|
|
||||||
function, `type` option is passed directly to the
|
|
||||||
[type-is](https://www.npmjs.org/package/type-is#readme) library and this can
|
|
||||||
be an extension name (like `json`), a mime type (like `application/json`), or
|
|
||||||
a mime type with a wildcard (like `*/*` or `*/json`). If a function, the `type`
|
|
||||||
option is called as `fn(req)` and the request is parsed if it returns a truthy
|
|
||||||
value. Defaults to `application/json`.
|
|
||||||
|
|
||||||
##### verify
|
|
||||||
|
|
||||||
The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`,
|
|
||||||
where `buf` is a `Buffer` of the raw request body and `encoding` is the
|
|
||||||
encoding of the request. The parsing can be aborted by throwing an error.
|
|
||||||
|
|
||||||
### bodyParser.raw([options])
|
|
||||||
|
|
||||||
Returns middleware that parses all bodies as a `Buffer` and only looks at
|
|
||||||
requests where the `Content-Type` header matches the `type` option. This
|
|
||||||
parser supports automatic inflation of `gzip` and `deflate` encodings.
|
|
||||||
|
|
||||||
A new `body` object containing the parsed data is populated on the `request`
|
|
||||||
object after the middleware (i.e. `req.body`). This will be a `Buffer` object
|
|
||||||
of the body.
|
|
||||||
|
|
||||||
#### Options
|
|
||||||
|
|
||||||
The `raw` function takes an optional `options` object that may contain any of
|
|
||||||
the following keys:
|
|
||||||
|
|
||||||
##### inflate
|
|
||||||
|
|
||||||
When set to `true`, then deflated (compressed) bodies will be inflated; when
|
|
||||||
`false`, deflated bodies are rejected. Defaults to `true`.
|
|
||||||
|
|
||||||
##### limit
|
|
||||||
|
|
||||||
Controls the maximum request body size. If this is a number, then the value
|
|
||||||
specifies the number of bytes; if it is a string, the value is passed to the
|
|
||||||
[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
|
|
||||||
to `'100kb'`.
|
|
||||||
|
|
||||||
##### type
|
|
||||||
|
|
||||||
The `type` option is used to determine what media type the middleware will
|
|
||||||
parse. This option can be a string, array of strings, or a function.
|
|
||||||
If not a function, `type` option is passed directly to the
|
|
||||||
[type-is](https://www.npmjs.org/package/type-is#readme) library and this
|
|
||||||
can be an extension name (like `bin`), a mime type (like
|
|
||||||
`application/octet-stream`), or a mime type with a wildcard (like `*/*` or
|
|
||||||
`application/*`). If a function, the `type` option is called as `fn(req)`
|
|
||||||
and the request is parsed if it returns a truthy value. Defaults to
|
|
||||||
`application/octet-stream`.
|
|
||||||
|
|
||||||
##### verify
|
|
||||||
|
|
||||||
The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`,
|
|
||||||
where `buf` is a `Buffer` of the raw request body and `encoding` is the
|
|
||||||
encoding of the request. The parsing can be aborted by throwing an error.
|
|
||||||
|
|
||||||
### bodyParser.text([options])
|
|
||||||
|
|
||||||
Returns middleware that parses all bodies as a string and only looks at
|
|
||||||
requests where the `Content-Type` header matches the `type` option. This
|
|
||||||
parser supports automatic inflation of `gzip` and `deflate` encodings.
|
|
||||||
|
|
||||||
A new `body` string containing the parsed data is populated on the `request`
|
|
||||||
object after the middleware (i.e. `req.body`). This will be a string of the
|
|
||||||
body.
|
|
||||||
|
|
||||||
#### Options
|
|
||||||
|
|
||||||
The `text` function takes an optional `options` object that may contain any of
|
|
||||||
the following keys:
|
|
||||||
|
|
||||||
##### defaultCharset
|
|
||||||
|
|
||||||
Specify the default character set for the text content if the charset is not
|
|
||||||
specified in the `Content-Type` header of the request. Defaults to `utf-8`.
|
|
||||||
|
|
||||||
##### inflate
|
|
||||||
|
|
||||||
When set to `true`, then deflated (compressed) bodies will be inflated; when
|
|
||||||
`false`, deflated bodies are rejected. Defaults to `true`.
|
|
||||||
|
|
||||||
##### limit
|
|
||||||
|
|
||||||
Controls the maximum request body size. If this is a number, then the value
|
|
||||||
specifies the number of bytes; if it is a string, the value is passed to the
|
|
||||||
[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
|
|
||||||
to `'100kb'`.
|
|
||||||
|
|
||||||
##### type
|
|
||||||
|
|
||||||
The `type` option is used to determine what media type the middleware will
|
|
||||||
parse. This option can be a string, array of strings, or a function. If not
|
|
||||||
a function, `type` option is passed directly to the
|
|
||||||
[type-is](https://www.npmjs.org/package/type-is#readme) library and this can
|
|
||||||
be an extension name (like `txt`), a mime type (like `text/plain`), or a mime
|
|
||||||
type with a wildcard (like `*/*` or `text/*`). If a function, the `type`
|
|
||||||
option is called as `fn(req)` and the request is parsed if it returns a
|
|
||||||
truthy value. Defaults to `text/plain`.
|
|
||||||
|
|
||||||
##### verify
|
|
||||||
|
|
||||||
The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`,
|
|
||||||
where `buf` is a `Buffer` of the raw request body and `encoding` is the
|
|
||||||
encoding of the request. The parsing can be aborted by throwing an error.
|
|
||||||
|
|
||||||
### bodyParser.urlencoded([options])
|
|
||||||
|
|
||||||
Returns middleware that only parses `urlencoded` bodies and only looks at
|
|
||||||
requests where the `Content-Type` header matches the `type` option. This
|
|
||||||
parser accepts only UTF-8 encoding of the body and supports automatic
|
|
||||||
inflation of `gzip` and `deflate` encodings.
|
|
||||||
|
|
||||||
A new `body` object containing the parsed data is populated on the `request`
|
|
||||||
object after the middleware (i.e. `req.body`). This object will contain
|
|
||||||
key-value pairs, where the value can be a string or array (when `extended` is
|
|
||||||
`false`), or any type (when `extended` is `true`).
|
|
||||||
|
|
||||||
#### Options
|
|
||||||
|
|
||||||
The `urlencoded` function takes an optional `options` object that may contain
|
|
||||||
any of the following keys:
|
|
||||||
|
|
||||||
##### extended
|
|
||||||
|
|
||||||
The `extended` option allows to choose between parsing the URL-encoded data
|
|
||||||
with the `querystring` library (when `false`) or the `qs` library (when
|
|
||||||
`true`). The "extended" syntax allows for rich objects and arrays to be
|
|
||||||
encoded into the URL-encoded format, allowing for a JSON-like experience
|
|
||||||
with URL-encoded. For more information, please
|
|
||||||
[see the qs library](https://www.npmjs.org/package/qs#readme).
|
|
||||||
|
|
||||||
Defaults to `true`, but using the default has been deprecated. Please
|
|
||||||
research into the difference between `qs` and `querystring` and choose the
|
|
||||||
appropriate setting.
|
|
||||||
|
|
||||||
##### inflate
|
|
||||||
|
|
||||||
When set to `true`, then deflated (compressed) bodies will be inflated; when
|
|
||||||
`false`, deflated bodies are rejected. Defaults to `true`.
|
|
||||||
|
|
||||||
##### limit
|
|
||||||
|
|
||||||
Controls the maximum request body size. If this is a number, then the value
|
|
||||||
specifies the number of bytes; if it is a string, the value is passed to the
|
|
||||||
[bytes](https://www.npmjs.com/package/bytes) library for parsing. Defaults
|
|
||||||
to `'100kb'`.
|
|
||||||
|
|
||||||
##### parameterLimit
|
|
||||||
|
|
||||||
The `parameterLimit` option controls the maximum number of parameters that
|
|
||||||
are allowed in the URL-encoded data. If a request contains more parameters
|
|
||||||
than this value, a 413 will be returned to the client. Defaults to `1000`.
|
|
||||||
|
|
||||||
##### type
|
|
||||||
|
|
||||||
The `type` option is used to determine what media type the middleware will
|
|
||||||
parse. This option can be a string, array of strings, or a function. If not
|
|
||||||
a function, `type` option is passed directly to the
|
|
||||||
[type-is](https://www.npmjs.org/package/type-is#readme) library and this can
|
|
||||||
be an extension name (like `urlencoded`), a mime type (like
|
|
||||||
`application/x-www-form-urlencoded`), or a mime type with a wildcard (like
|
|
||||||
`*/x-www-form-urlencoded`). If a function, the `type` option is called as
|
|
||||||
`fn(req)` and the request is parsed if it returns a truthy value. Defaults
|
|
||||||
to `application/x-www-form-urlencoded`.
|
|
||||||
|
|
||||||
##### verify
|
|
||||||
|
|
||||||
The `verify` option, if supplied, is called as `verify(req, res, buf, encoding)`,
|
|
||||||
where `buf` is a `Buffer` of the raw request body and `encoding` is the
|
|
||||||
encoding of the request. The parsing can be aborted by throwing an error.
|
|
||||||
|
|
||||||
## Errors
|
|
||||||
|
|
||||||
The middlewares provided by this module create errors using the
|
|
||||||
[`http-errors` module](https://www.npmjs.com/package/http-errors). The errors
|
|
||||||
will typically have a `status`/`statusCode` property that contains the suggested
|
|
||||||
HTTP response code, an `expose` property to determine if the `message` property
|
|
||||||
should be displayed to the client, a `type` property to determine the type of
|
|
||||||
error without matching against the `message`, and a `body` property containing
|
|
||||||
the read body, if available.
|
|
||||||
|
|
||||||
The following are the common errors created, though any error can come through
|
|
||||||
for various reasons.
|
|
||||||
|
|
||||||
### content encoding unsupported
|
|
||||||
|
|
||||||
This error will occur when the request had a `Content-Encoding` header that
|
|
||||||
contained an encoding but the "inflation" option was set to `false`. The
|
|
||||||
`status` property is set to `415`, the `type` property is set to
|
|
||||||
`'encoding.unsupported'`, and the `charset` property will be set to the
|
|
||||||
encoding that is unsupported.
|
|
||||||
|
|
||||||
### entity parse failed
|
|
||||||
|
|
||||||
This error will occur when the request contained an entity that could not be
|
|
||||||
parsed by the middleware. The `status` property is set to `400`, the `type`
|
|
||||||
property is set to `'entity.parse.failed'`, and the `body` property is set to
|
|
||||||
the entity value that failed parsing.
|
|
||||||
|
|
||||||
### entity verify failed
|
|
||||||
|
|
||||||
This error will occur when the request contained an entity that could not be
|
|
||||||
failed verification by the defined `verify` option. The `status` property is
|
|
||||||
set to `403`, the `type` property is set to `'entity.verify.failed'`, and the
|
|
||||||
`body` property is set to the entity value that failed verification.
|
|
||||||
|
|
||||||
### request aborted
|
|
||||||
|
|
||||||
This error will occur when the request is aborted by the client before reading
|
|
||||||
the body has finished. The `received` property will be set to the number of
|
|
||||||
bytes received before the request was aborted and the `expected` property is
|
|
||||||
set to the number of expected bytes. The `status` property is set to `400`
|
|
||||||
and `type` property is set to `'request.aborted'`.
|
|
||||||
|
|
||||||
### request entity too large
|
|
||||||
|
|
||||||
This error will occur when the request body's size is larger than the "limit"
|
|
||||||
option. The `limit` property will be set to the byte limit and the `length`
|
|
||||||
property will be set to the request body's length. The `status` property is
|
|
||||||
set to `413` and the `type` property is set to `'entity.too.large'`.
|
|
||||||
|
|
||||||
### request size did not match content length
|
|
||||||
|
|
||||||
This error will occur when the request's length did not match the length from
|
|
||||||
the `Content-Length` header. This typically occurs when the request is malformed,
|
|
||||||
typically when the `Content-Length` header was calculated based on characters
|
|
||||||
instead of bytes. The `status` property is set to `400` and the `type` property
|
|
||||||
is set to `'request.size.invalid'`.
|
|
||||||
|
|
||||||
### stream encoding should not be set
|
|
||||||
|
|
||||||
This error will occur when something called the `req.setEncoding` method prior
|
|
||||||
to this middleware. This module operates directly on bytes only and you cannot
|
|
||||||
call `req.setEncoding` when using this module. The `status` property is set to
|
|
||||||
`500` and the `type` property is set to `'stream.encoding.set'`.
|
|
||||||
|
|
||||||
### stream is not readable
|
|
||||||
|
|
||||||
This error will occur when the request is no longer readable when this middleware
|
|
||||||
attempts to read it. This typically means something other than a middleware from
|
|
||||||
this module read the request body already and the middleware was also configured to
|
|
||||||
read the same request. The `status` property is set to `500` and the `type`
|
|
||||||
property is set to `'stream.not.readable'`.
|
|
||||||
|
|
||||||
### too many parameters
|
|
||||||
|
|
||||||
This error will occur when the content of the request exceeds the configured
|
|
||||||
`parameterLimit` for the `urlencoded` parser. The `status` property is set to
|
|
||||||
`413` and the `type` property is set to `'parameters.too.many'`.
|
|
||||||
|
|
||||||
### unsupported charset "BOGUS"
|
|
||||||
|
|
||||||
This error will occur when the request had a charset parameter in the
|
|
||||||
`Content-Type` header, but the `iconv-lite` module does not support it OR the
|
|
||||||
parser does not support it. The charset is contained in the message as well
|
|
||||||
as in the `charset` property. The `status` property is set to `415`, the
|
|
||||||
`type` property is set to `'charset.unsupported'`, and the `charset` property
|
|
||||||
is set to the charset that is unsupported.
|
|
||||||
|
|
||||||
### unsupported content encoding "bogus"
|
|
||||||
|
|
||||||
This error will occur when the request had a `Content-Encoding` header that
|
|
||||||
contained an unsupported encoding. The encoding is contained in the message
|
|
||||||
as well as in the `encoding` property. The `status` property is set to `415`,
|
|
||||||
the `type` property is set to `'encoding.unsupported'`, and the `encoding`
|
|
||||||
property is set to the encoding that is unsupported.
|
|
||||||
|
|
||||||
## Examples
|
|
||||||
|
|
||||||
### Express/Connect top-level generic
|
|
||||||
|
|
||||||
This example demonstrates adding a generic JSON and URL-encoded parser as a
|
|
||||||
top-level middleware, which will parse the bodies of all incoming requests.
|
|
||||||
This is the simplest setup.
|
|
||||||
|
|
||||||
```js
|
|
||||||
var express = require('express')
|
|
||||||
var bodyParser = require('body-parser')
|
|
||||||
|
|
||||||
var app = express()
|
|
||||||
|
|
||||||
// parse application/x-www-form-urlencoded
|
|
||||||
app.use(bodyParser.urlencoded({ extended: false }))
|
|
||||||
|
|
||||||
// parse application/json
|
|
||||||
app.use(bodyParser.json())
|
|
||||||
|
|
||||||
app.use(function (req, res) {
|
|
||||||
res.setHeader('Content-Type', 'text/plain')
|
|
||||||
res.write('you posted:\n')
|
|
||||||
res.end(JSON.stringify(req.body, null, 2))
|
|
||||||
})
|
|
||||||
```
|
|
||||||
|
|
||||||
### Express route-specific
|
|
||||||
|
|
||||||
This example demonstrates adding body parsers specifically to the routes that
|
|
||||||
need them. In general, this is the most recommended way to use body-parser with
|
|
||||||
Express.
|
|
||||||
|
|
||||||
```js
|
|
||||||
var express = require('express')
|
|
||||||
var bodyParser = require('body-parser')
|
|
||||||
|
|
||||||
var app = express()
|
|
||||||
|
|
||||||
// create application/json parser
|
|
||||||
var jsonParser = bodyParser.json()
|
|
||||||
|
|
||||||
// create application/x-www-form-urlencoded parser
|
|
||||||
var urlencodedParser = bodyParser.urlencoded({ extended: false })
|
|
||||||
|
|
||||||
// POST /login gets urlencoded bodies
|
|
||||||
app.post('/login', urlencodedParser, function (req, res) {
|
|
||||||
res.send('welcome, ' + req.body.username)
|
|
||||||
})
|
|
||||||
|
|
||||||
// POST /api/users gets JSON bodies
|
|
||||||
app.post('/api/users', jsonParser, function (req, res) {
|
|
||||||
// create user in req.body
|
|
||||||
})
|
|
||||||
```
|
|
||||||
|
|
||||||
### Change accepted type for parsers
|
|
||||||
|
|
||||||
All the parsers accept a `type` option which allows you to change the
|
|
||||||
`Content-Type` that the middleware will parse.
|
|
||||||
|
|
||||||
```js
|
|
||||||
var express = require('express')
|
|
||||||
var bodyParser = require('body-parser')
|
|
||||||
|
|
||||||
var app = express()
|
|
||||||
|
|
||||||
// parse various different custom JSON types as JSON
|
|
||||||
app.use(bodyParser.json({ type: 'application/*+json' }))
|
|
||||||
|
|
||||||
// parse some custom thing into a Buffer
|
|
||||||
app.use(bodyParser.raw({ type: 'application/vnd.custom-type' }))
|
|
||||||
|
|
||||||
// parse an HTML body into a string
|
|
||||||
app.use(bodyParser.text({ type: 'text/html' }))
|
|
||||||
```
|
|
||||||
|
|
||||||
## License
|
|
||||||
|
|
||||||
[MIT](LICENSE)
|
|
||||||
|
|
||||||
[npm-image]: https://img.shields.io/npm/v/body-parser.svg
|
|
||||||
[npm-url]: https://npmjs.org/package/body-parser
|
|
||||||
[coveralls-image]: https://img.shields.io/coveralls/expressjs/body-parser/master.svg
|
|
||||||
[coveralls-url]: https://coveralls.io/r/expressjs/body-parser?branch=master
|
|
||||||
[downloads-image]: https://img.shields.io/npm/dm/body-parser.svg
|
|
||||||
[downloads-url]: https://npmjs.org/package/body-parser
|
|
||||||
[github-actions-ci-image]: https://img.shields.io/github/workflow/status/expressjs/body-parser/ci/master?label=ci
|
|
||||||
[github-actions-ci-url]: https://github.com/expressjs/body-parser/actions/workflows/ci.yml
|
|
||||||
25
Websites/Jefes/Backend/node_modules/body-parser/SECURITY.md
generated
vendored
25
Websites/Jefes/Backend/node_modules/body-parser/SECURITY.md
generated
vendored
@ -1,25 +0,0 @@
|
|||||||
# Security Policies and Procedures
|
|
||||||
|
|
||||||
## Reporting a Bug
|
|
||||||
|
|
||||||
The Express team and community take all security bugs seriously. Thank you
|
|
||||||
for improving the security of Express. We appreciate your efforts and
|
|
||||||
responsible disclosure and will make every effort to acknowledge your
|
|
||||||
contributions.
|
|
||||||
|
|
||||||
Report security bugs by emailing the current owner(s) of `body-parser`. This
|
|
||||||
information can be found in the npm registry using the command
|
|
||||||
`npm owner ls body-parser`.
|
|
||||||
If unsure or unable to get the information from the above, open an issue
|
|
||||||
in the [project issue tracker](https://github.com/expressjs/body-parser/issues)
|
|
||||||
asking for the current contact information.
|
|
||||||
|
|
||||||
To ensure the timely response to your report, please ensure that the entirety
|
|
||||||
of the report is contained within the email body and not solely behind a web
|
|
||||||
link or an attachment.
|
|
||||||
|
|
||||||
At least one owner will acknowledge your email within 48 hours, and will send a
|
|
||||||
more detailed response within 48 hours indicating the next steps in handling
|
|
||||||
your report. After the initial reply to your report, the owners will
|
|
||||||
endeavor to keep you informed of the progress towards a fix and full
|
|
||||||
announcement, and may ask for additional information or guidance.
|
|
||||||
156
Websites/Jefes/Backend/node_modules/body-parser/index.js
generated
vendored
156
Websites/Jefes/Backend/node_modules/body-parser/index.js
generated
vendored
@ -1,156 +0,0 @@
|
|||||||
/*!
|
|
||||||
* body-parser
|
|
||||||
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
||||||
* MIT Licensed
|
|
||||||
*/
|
|
||||||
|
|
||||||
'use strict'
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Module dependencies.
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
|
|
||||||
var deprecate = require('depd')('body-parser')
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Cache of loaded parsers.
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
|
|
||||||
var parsers = Object.create(null)
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @typedef Parsers
|
|
||||||
* @type {function}
|
|
||||||
* @property {function} json
|
|
||||||
* @property {function} raw
|
|
||||||
* @property {function} text
|
|
||||||
* @property {function} urlencoded
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Module exports.
|
|
||||||
* @type {Parsers}
|
|
||||||
*/
|
|
||||||
|
|
||||||
exports = module.exports = deprecate.function(bodyParser,
|
|
||||||
'bodyParser: use individual json/urlencoded middlewares')
|
|
||||||
|
|
||||||
/**
|
|
||||||
* JSON parser.
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
|
|
||||||
Object.defineProperty(exports, 'json', {
|
|
||||||
configurable: true,
|
|
||||||
enumerable: true,
|
|
||||||
get: createParserGetter('json')
|
|
||||||
})
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Raw parser.
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
|
|
||||||
Object.defineProperty(exports, 'raw', {
|
|
||||||
configurable: true,
|
|
||||||
enumerable: true,
|
|
||||||
get: createParserGetter('raw')
|
|
||||||
})
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Text parser.
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
|
|
||||||
Object.defineProperty(exports, 'text', {
|
|
||||||
configurable: true,
|
|
||||||
enumerable: true,
|
|
||||||
get: createParserGetter('text')
|
|
||||||
})
|
|
||||||
|
|
||||||
/**
|
|
||||||
* URL-encoded parser.
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
|
|
||||||
Object.defineProperty(exports, 'urlencoded', {
|
|
||||||
configurable: true,
|
|
||||||
enumerable: true,
|
|
||||||
get: createParserGetter('urlencoded')
|
|
||||||
})
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a middleware to parse json and urlencoded bodies.
|
|
||||||
*
|
|
||||||
* @param {object} [options]
|
|
||||||
* @return {function}
|
|
||||||
* @deprecated
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
|
|
||||||
function bodyParser (options) {
|
|
||||||
// use default type for parsers
|
|
||||||
var opts = Object.create(options || null, {
|
|
||||||
type: {
|
|
||||||
configurable: true,
|
|
||||||
enumerable: true,
|
|
||||||
value: undefined,
|
|
||||||
writable: true
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
var _urlencoded = exports.urlencoded(opts)
|
|
||||||
var _json = exports.json(opts)
|
|
||||||
|
|
||||||
return function bodyParser (req, res, next) {
|
|
||||||
_json(req, res, function (err) {
|
|
||||||
if (err) return next(err)
|
|
||||||
_urlencoded(req, res, next)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a getter for loading a parser.
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
|
|
||||||
function createParserGetter (name) {
|
|
||||||
return function get () {
|
|
||||||
return loadParser(name)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Load a parser module.
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
|
|
||||||
function loadParser (parserName) {
|
|
||||||
var parser = parsers[parserName]
|
|
||||||
|
|
||||||
if (parser !== undefined) {
|
|
||||||
return parser
|
|
||||||
}
|
|
||||||
|
|
||||||
// this uses a switch for static require analysis
|
|
||||||
switch (parserName) {
|
|
||||||
case 'json':
|
|
||||||
parser = require('./lib/types/json')
|
|
||||||
break
|
|
||||||
case 'raw':
|
|
||||||
parser = require('./lib/types/raw')
|
|
||||||
break
|
|
||||||
case 'text':
|
|
||||||
parser = require('./lib/types/text')
|
|
||||||
break
|
|
||||||
case 'urlencoded':
|
|
||||||
parser = require('./lib/types/urlencoded')
|
|
||||||
break
|
|
||||||
}
|
|
||||||
|
|
||||||
// store to prevent invoking require()
|
|
||||||
return (parsers[parserName] = parser)
|
|
||||||
}
|
|
||||||
205
Websites/Jefes/Backend/node_modules/body-parser/lib/read.js
generated
vendored
205
Websites/Jefes/Backend/node_modules/body-parser/lib/read.js
generated
vendored
@ -1,205 +0,0 @@
|
|||||||
/*!
|
|
||||||
* body-parser
|
|
||||||
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
||||||
* MIT Licensed
|
|
||||||
*/
|
|
||||||
|
|
||||||
'use strict'
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Module dependencies.
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
|
|
||||||
var createError = require('http-errors')
|
|
||||||
var destroy = require('destroy')
|
|
||||||
var getBody = require('raw-body')
|
|
||||||
var iconv = require('iconv-lite')
|
|
||||||
var onFinished = require('on-finished')
|
|
||||||
var unpipe = require('unpipe')
|
|
||||||
var zlib = require('zlib')
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Module exports.
|
|
||||||
*/
|
|
||||||
|
|
||||||
module.exports = read
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Read a request into a buffer and parse.
|
|
||||||
*
|
|
||||||
* @param {object} req
|
|
||||||
* @param {object} res
|
|
||||||
* @param {function} next
|
|
||||||
* @param {function} parse
|
|
||||||
* @param {function} debug
|
|
||||||
* @param {object} options
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
|
|
||||||
function read (req, res, next, parse, debug, options) {
|
|
||||||
var length
|
|
||||||
var opts = options
|
|
||||||
var stream
|
|
||||||
|
|
||||||
// flag as parsed
|
|
||||||
req._body = true
|
|
||||||
|
|
||||||
// read options
|
|
||||||
var encoding = opts.encoding !== null
|
|
||||||
? opts.encoding
|
|
||||||
: null
|
|
||||||
var verify = opts.verify
|
|
||||||
|
|
||||||
try {
|
|
||||||
// get the content stream
|
|
||||||
stream = contentstream(req, debug, opts.inflate)
|
|
||||||
length = stream.length
|
|
||||||
stream.length = undefined
|
|
||||||
} catch (err) {
|
|
||||||
return next(err)
|
|
||||||
}
|
|
||||||
|
|
||||||
// set raw-body options
|
|
||||||
opts.length = length
|
|
||||||
opts.encoding = verify
|
|
||||||
? null
|
|
||||||
: encoding
|
|
||||||
|
|
||||||
// assert charset is supported
|
|
||||||
if (opts.encoding === null && encoding !== null && !iconv.encodingExists(encoding)) {
|
|
||||||
return next(createError(415, 'unsupported charset "' + encoding.toUpperCase() + '"', {
|
|
||||||
charset: encoding.toLowerCase(),
|
|
||||||
type: 'charset.unsupported'
|
|
||||||
}))
|
|
||||||
}
|
|
||||||
|
|
||||||
// read body
|
|
||||||
debug('read body')
|
|
||||||
getBody(stream, opts, function (error, body) {
|
|
||||||
if (error) {
|
|
||||||
var _error
|
|
||||||
|
|
||||||
if (error.type === 'encoding.unsupported') {
|
|
||||||
// echo back charset
|
|
||||||
_error = createError(415, 'unsupported charset "' + encoding.toUpperCase() + '"', {
|
|
||||||
charset: encoding.toLowerCase(),
|
|
||||||
type: 'charset.unsupported'
|
|
||||||
})
|
|
||||||
} else {
|
|
||||||
// set status code on error
|
|
||||||
_error = createError(400, error)
|
|
||||||
}
|
|
||||||
|
|
||||||
// unpipe from stream and destroy
|
|
||||||
if (stream !== req) {
|
|
||||||
unpipe(req)
|
|
||||||
destroy(stream, true)
|
|
||||||
}
|
|
||||||
|
|
||||||
// read off entire request
|
|
||||||
dump(req, function onfinished () {
|
|
||||||
next(createError(400, _error))
|
|
||||||
})
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// verify
|
|
||||||
if (verify) {
|
|
||||||
try {
|
|
||||||
debug('verify body')
|
|
||||||
verify(req, res, body, encoding)
|
|
||||||
} catch (err) {
|
|
||||||
next(createError(403, err, {
|
|
||||||
body: body,
|
|
||||||
type: err.type || 'entity.verify.failed'
|
|
||||||
}))
|
|
||||||
return
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// parse
|
|
||||||
var str = body
|
|
||||||
try {
|
|
||||||
debug('parse body')
|
|
||||||
str = typeof body !== 'string' && encoding !== null
|
|
||||||
? iconv.decode(body, encoding)
|
|
||||||
: body
|
|
||||||
req.body = parse(str)
|
|
||||||
} catch (err) {
|
|
||||||
next(createError(400, err, {
|
|
||||||
body: str,
|
|
||||||
type: err.type || 'entity.parse.failed'
|
|
||||||
}))
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
next()
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the content stream of the request.
|
|
||||||
*
|
|
||||||
* @param {object} req
|
|
||||||
* @param {function} debug
|
|
||||||
* @param {boolean} [inflate=true]
|
|
||||||
* @return {object}
|
|
||||||
* @api private
|
|
||||||
*/
|
|
||||||
|
|
||||||
function contentstream (req, debug, inflate) {
|
|
||||||
var encoding = (req.headers['content-encoding'] || 'identity').toLowerCase()
|
|
||||||
var length = req.headers['content-length']
|
|
||||||
var stream
|
|
||||||
|
|
||||||
debug('content-encoding "%s"', encoding)
|
|
||||||
|
|
||||||
if (inflate === false && encoding !== 'identity') {
|
|
||||||
throw createError(415, 'content encoding unsupported', {
|
|
||||||
encoding: encoding,
|
|
||||||
type: 'encoding.unsupported'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
switch (encoding) {
|
|
||||||
case 'deflate':
|
|
||||||
stream = zlib.createInflate()
|
|
||||||
debug('inflate body')
|
|
||||||
req.pipe(stream)
|
|
||||||
break
|
|
||||||
case 'gzip':
|
|
||||||
stream = zlib.createGunzip()
|
|
||||||
debug('gunzip body')
|
|
||||||
req.pipe(stream)
|
|
||||||
break
|
|
||||||
case 'identity':
|
|
||||||
stream = req
|
|
||||||
stream.length = length
|
|
||||||
break
|
|
||||||
default:
|
|
||||||
throw createError(415, 'unsupported content encoding "' + encoding + '"', {
|
|
||||||
encoding: encoding,
|
|
||||||
type: 'encoding.unsupported'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
return stream
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Dump the contents of a request.
|
|
||||||
*
|
|
||||||
* @param {object} req
|
|
||||||
* @param {function} callback
|
|
||||||
* @api private
|
|
||||||
*/
|
|
||||||
|
|
||||||
function dump (req, callback) {
|
|
||||||
if (onFinished.isFinished(req)) {
|
|
||||||
callback(null)
|
|
||||||
} else {
|
|
||||||
onFinished(req, callback)
|
|
||||||
req.resume()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
236
Websites/Jefes/Backend/node_modules/body-parser/lib/types/json.js
generated
vendored
236
Websites/Jefes/Backend/node_modules/body-parser/lib/types/json.js
generated
vendored
@ -1,236 +0,0 @@
|
|||||||
/*!
|
|
||||||
* body-parser
|
|
||||||
* Copyright(c) 2014 Jonathan Ong
|
|
||||||
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
||||||
* MIT Licensed
|
|
||||||
*/
|
|
||||||
|
|
||||||
'use strict'
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Module dependencies.
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
|
|
||||||
var bytes = require('bytes')
|
|
||||||
var contentType = require('content-type')
|
|
||||||
var createError = require('http-errors')
|
|
||||||
var debug = require('debug')('body-parser:json')
|
|
||||||
var read = require('../read')
|
|
||||||
var typeis = require('type-is')
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Module exports.
|
|
||||||
*/
|
|
||||||
|
|
||||||
module.exports = json
|
|
||||||
|
|
||||||
/**
|
|
||||||
* RegExp to match the first non-space in a string.
|
|
||||||
*
|
|
||||||
* Allowed whitespace is defined in RFC 7159:
|
|
||||||
*
|
|
||||||
* ws = *(
|
|
||||||
* %x20 / ; Space
|
|
||||||
* %x09 / ; Horizontal tab
|
|
||||||
* %x0A / ; Line feed or New line
|
|
||||||
* %x0D ) ; Carriage return
|
|
||||||
*/
|
|
||||||
|
|
||||||
var FIRST_CHAR_REGEXP = /^[\x20\x09\x0a\x0d]*([^\x20\x09\x0a\x0d])/ // eslint-disable-line no-control-regex
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a middleware to parse JSON bodies.
|
|
||||||
*
|
|
||||||
* @param {object} [options]
|
|
||||||
* @return {function}
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
|
|
||||||
function json (options) {
|
|
||||||
var opts = options || {}
|
|
||||||
|
|
||||||
var limit = typeof opts.limit !== 'number'
|
|
||||||
? bytes.parse(opts.limit || '100kb')
|
|
||||||
: opts.limit
|
|
||||||
var inflate = opts.inflate !== false
|
|
||||||
var reviver = opts.reviver
|
|
||||||
var strict = opts.strict !== false
|
|
||||||
var type = opts.type || 'application/json'
|
|
||||||
var verify = opts.verify || false
|
|
||||||
|
|
||||||
if (verify !== false && typeof verify !== 'function') {
|
|
||||||
throw new TypeError('option verify must be function')
|
|
||||||
}
|
|
||||||
|
|
||||||
// create the appropriate type checking function
|
|
||||||
var shouldParse = typeof type !== 'function'
|
|
||||||
? typeChecker(type)
|
|
||||||
: type
|
|
||||||
|
|
||||||
function parse (body) {
|
|
||||||
if (body.length === 0) {
|
|
||||||
// special-case empty json body, as it's a common client-side mistake
|
|
||||||
// TODO: maybe make this configurable or part of "strict" option
|
|
||||||
return {}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (strict) {
|
|
||||||
var first = firstchar(body)
|
|
||||||
|
|
||||||
if (first !== '{' && first !== '[') {
|
|
||||||
debug('strict violation')
|
|
||||||
throw createStrictSyntaxError(body, first)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
debug('parse json')
|
|
||||||
return JSON.parse(body, reviver)
|
|
||||||
} catch (e) {
|
|
||||||
throw normalizeJsonSyntaxError(e, {
|
|
||||||
message: e.message,
|
|
||||||
stack: e.stack
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return function jsonParser (req, res, next) {
|
|
||||||
if (req._body) {
|
|
||||||
debug('body already parsed')
|
|
||||||
next()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
req.body = req.body || {}
|
|
||||||
|
|
||||||
// skip requests without bodies
|
|
||||||
if (!typeis.hasBody(req)) {
|
|
||||||
debug('skip empty body')
|
|
||||||
next()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
debug('content-type %j', req.headers['content-type'])
|
|
||||||
|
|
||||||
// determine if request should be parsed
|
|
||||||
if (!shouldParse(req)) {
|
|
||||||
debug('skip parsing')
|
|
||||||
next()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// assert charset per RFC 7159 sec 8.1
|
|
||||||
var charset = getCharset(req) || 'utf-8'
|
|
||||||
if (charset.slice(0, 4) !== 'utf-') {
|
|
||||||
debug('invalid charset')
|
|
||||||
next(createError(415, 'unsupported charset "' + charset.toUpperCase() + '"', {
|
|
||||||
charset: charset,
|
|
||||||
type: 'charset.unsupported'
|
|
||||||
}))
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// read
|
|
||||||
read(req, res, next, parse, debug, {
|
|
||||||
encoding: charset,
|
|
||||||
inflate: inflate,
|
|
||||||
limit: limit,
|
|
||||||
verify: verify
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create strict violation syntax error matching native error.
|
|
||||||
*
|
|
||||||
* @param {string} str
|
|
||||||
* @param {string} char
|
|
||||||
* @return {Error}
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
|
|
||||||
function createStrictSyntaxError (str, char) {
|
|
||||||
var index = str.indexOf(char)
|
|
||||||
var partial = index !== -1
|
|
||||||
? str.substring(0, index) + '#'
|
|
||||||
: ''
|
|
||||||
|
|
||||||
try {
|
|
||||||
JSON.parse(partial); /* istanbul ignore next */ throw new SyntaxError('strict violation')
|
|
||||||
} catch (e) {
|
|
||||||
return normalizeJsonSyntaxError(e, {
|
|
||||||
message: e.message.replace('#', char),
|
|
||||||
stack: e.stack
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the first non-whitespace character in a string.
|
|
||||||
*
|
|
||||||
* @param {string} str
|
|
||||||
* @return {function}
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
|
|
||||||
function firstchar (str) {
|
|
||||||
var match = FIRST_CHAR_REGEXP.exec(str)
|
|
||||||
|
|
||||||
return match
|
|
||||||
? match[1]
|
|
||||||
: undefined
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the charset of a request.
|
|
||||||
*
|
|
||||||
* @param {object} req
|
|
||||||
* @api private
|
|
||||||
*/
|
|
||||||
|
|
||||||
function getCharset (req) {
|
|
||||||
try {
|
|
||||||
return (contentType.parse(req).parameters.charset || '').toLowerCase()
|
|
||||||
} catch (e) {
|
|
||||||
return undefined
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Normalize a SyntaxError for JSON.parse.
|
|
||||||
*
|
|
||||||
* @param {SyntaxError} error
|
|
||||||
* @param {object} obj
|
|
||||||
* @return {SyntaxError}
|
|
||||||
*/
|
|
||||||
|
|
||||||
function normalizeJsonSyntaxError (error, obj) {
|
|
||||||
var keys = Object.getOwnPropertyNames(error)
|
|
||||||
|
|
||||||
for (var i = 0; i < keys.length; i++) {
|
|
||||||
var key = keys[i]
|
|
||||||
if (key !== 'stack' && key !== 'message') {
|
|
||||||
delete error[key]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// replace stack before message for Node.js 0.10 and below
|
|
||||||
error.stack = obj.stack.replace(error.message, obj.message)
|
|
||||||
error.message = obj.message
|
|
||||||
|
|
||||||
return error
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the simple type checker.
|
|
||||||
*
|
|
||||||
* @param {string} type
|
|
||||||
* @return {function}
|
|
||||||
*/
|
|
||||||
|
|
||||||
function typeChecker (type) {
|
|
||||||
return function checkType (req) {
|
|
||||||
return Boolean(typeis(req, type))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
101
Websites/Jefes/Backend/node_modules/body-parser/lib/types/raw.js
generated
vendored
101
Websites/Jefes/Backend/node_modules/body-parser/lib/types/raw.js
generated
vendored
@ -1,101 +0,0 @@
|
|||||||
/*!
|
|
||||||
* body-parser
|
|
||||||
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
||||||
* MIT Licensed
|
|
||||||
*/
|
|
||||||
|
|
||||||
'use strict'
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Module dependencies.
|
|
||||||
*/
|
|
||||||
|
|
||||||
var bytes = require('bytes')
|
|
||||||
var debug = require('debug')('body-parser:raw')
|
|
||||||
var read = require('../read')
|
|
||||||
var typeis = require('type-is')
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Module exports.
|
|
||||||
*/
|
|
||||||
|
|
||||||
module.exports = raw
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a middleware to parse raw bodies.
|
|
||||||
*
|
|
||||||
* @param {object} [options]
|
|
||||||
* @return {function}
|
|
||||||
* @api public
|
|
||||||
*/
|
|
||||||
|
|
||||||
function raw (options) {
|
|
||||||
var opts = options || {}
|
|
||||||
|
|
||||||
var inflate = opts.inflate !== false
|
|
||||||
var limit = typeof opts.limit !== 'number'
|
|
||||||
? bytes.parse(opts.limit || '100kb')
|
|
||||||
: opts.limit
|
|
||||||
var type = opts.type || 'application/octet-stream'
|
|
||||||
var verify = opts.verify || false
|
|
||||||
|
|
||||||
if (verify !== false && typeof verify !== 'function') {
|
|
||||||
throw new TypeError('option verify must be function')
|
|
||||||
}
|
|
||||||
|
|
||||||
// create the appropriate type checking function
|
|
||||||
var shouldParse = typeof type !== 'function'
|
|
||||||
? typeChecker(type)
|
|
||||||
: type
|
|
||||||
|
|
||||||
function parse (buf) {
|
|
||||||
return buf
|
|
||||||
}
|
|
||||||
|
|
||||||
return function rawParser (req, res, next) {
|
|
||||||
if (req._body) {
|
|
||||||
debug('body already parsed')
|
|
||||||
next()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
req.body = req.body || {}
|
|
||||||
|
|
||||||
// skip requests without bodies
|
|
||||||
if (!typeis.hasBody(req)) {
|
|
||||||
debug('skip empty body')
|
|
||||||
next()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
debug('content-type %j', req.headers['content-type'])
|
|
||||||
|
|
||||||
// determine if request should be parsed
|
|
||||||
if (!shouldParse(req)) {
|
|
||||||
debug('skip parsing')
|
|
||||||
next()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// read
|
|
||||||
read(req, res, next, parse, debug, {
|
|
||||||
encoding: null,
|
|
||||||
inflate: inflate,
|
|
||||||
limit: limit,
|
|
||||||
verify: verify
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the simple type checker.
|
|
||||||
*
|
|
||||||
* @param {string} type
|
|
||||||
* @return {function}
|
|
||||||
*/
|
|
||||||
|
|
||||||
function typeChecker (type) {
|
|
||||||
return function checkType (req) {
|
|
||||||
return Boolean(typeis(req, type))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
121
Websites/Jefes/Backend/node_modules/body-parser/lib/types/text.js
generated
vendored
121
Websites/Jefes/Backend/node_modules/body-parser/lib/types/text.js
generated
vendored
@ -1,121 +0,0 @@
|
|||||||
/*!
|
|
||||||
* body-parser
|
|
||||||
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
||||||
* MIT Licensed
|
|
||||||
*/
|
|
||||||
|
|
||||||
'use strict'
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Module dependencies.
|
|
||||||
*/
|
|
||||||
|
|
||||||
var bytes = require('bytes')
|
|
||||||
var contentType = require('content-type')
|
|
||||||
var debug = require('debug')('body-parser:text')
|
|
||||||
var read = require('../read')
|
|
||||||
var typeis = require('type-is')
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Module exports.
|
|
||||||
*/
|
|
||||||
|
|
||||||
module.exports = text
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a middleware to parse text bodies.
|
|
||||||
*
|
|
||||||
* @param {object} [options]
|
|
||||||
* @return {function}
|
|
||||||
* @api public
|
|
||||||
*/
|
|
||||||
|
|
||||||
function text (options) {
|
|
||||||
var opts = options || {}
|
|
||||||
|
|
||||||
var defaultCharset = opts.defaultCharset || 'utf-8'
|
|
||||||
var inflate = opts.inflate !== false
|
|
||||||
var limit = typeof opts.limit !== 'number'
|
|
||||||
? bytes.parse(opts.limit || '100kb')
|
|
||||||
: opts.limit
|
|
||||||
var type = opts.type || 'text/plain'
|
|
||||||
var verify = opts.verify || false
|
|
||||||
|
|
||||||
if (verify !== false && typeof verify !== 'function') {
|
|
||||||
throw new TypeError('option verify must be function')
|
|
||||||
}
|
|
||||||
|
|
||||||
// create the appropriate type checking function
|
|
||||||
var shouldParse = typeof type !== 'function'
|
|
||||||
? typeChecker(type)
|
|
||||||
: type
|
|
||||||
|
|
||||||
function parse (buf) {
|
|
||||||
return buf
|
|
||||||
}
|
|
||||||
|
|
||||||
return function textParser (req, res, next) {
|
|
||||||
if (req._body) {
|
|
||||||
debug('body already parsed')
|
|
||||||
next()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
req.body = req.body || {}
|
|
||||||
|
|
||||||
// skip requests without bodies
|
|
||||||
if (!typeis.hasBody(req)) {
|
|
||||||
debug('skip empty body')
|
|
||||||
next()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
debug('content-type %j', req.headers['content-type'])
|
|
||||||
|
|
||||||
// determine if request should be parsed
|
|
||||||
if (!shouldParse(req)) {
|
|
||||||
debug('skip parsing')
|
|
||||||
next()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// get charset
|
|
||||||
var charset = getCharset(req) || defaultCharset
|
|
||||||
|
|
||||||
// read
|
|
||||||
read(req, res, next, parse, debug, {
|
|
||||||
encoding: charset,
|
|
||||||
inflate: inflate,
|
|
||||||
limit: limit,
|
|
||||||
verify: verify
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the charset of a request.
|
|
||||||
*
|
|
||||||
* @param {object} req
|
|
||||||
* @api private
|
|
||||||
*/
|
|
||||||
|
|
||||||
function getCharset (req) {
|
|
||||||
try {
|
|
||||||
return (contentType.parse(req).parameters.charset || '').toLowerCase()
|
|
||||||
} catch (e) {
|
|
||||||
return undefined
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the simple type checker.
|
|
||||||
*
|
|
||||||
* @param {string} type
|
|
||||||
* @return {function}
|
|
||||||
*/
|
|
||||||
|
|
||||||
function typeChecker (type) {
|
|
||||||
return function checkType (req) {
|
|
||||||
return Boolean(typeis(req, type))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
284
Websites/Jefes/Backend/node_modules/body-parser/lib/types/urlencoded.js
generated
vendored
284
Websites/Jefes/Backend/node_modules/body-parser/lib/types/urlencoded.js
generated
vendored
@ -1,284 +0,0 @@
|
|||||||
/*!
|
|
||||||
* body-parser
|
|
||||||
* Copyright(c) 2014 Jonathan Ong
|
|
||||||
* Copyright(c) 2014-2015 Douglas Christopher Wilson
|
|
||||||
* MIT Licensed
|
|
||||||
*/
|
|
||||||
|
|
||||||
'use strict'
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Module dependencies.
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
|
|
||||||
var bytes = require('bytes')
|
|
||||||
var contentType = require('content-type')
|
|
||||||
var createError = require('http-errors')
|
|
||||||
var debug = require('debug')('body-parser:urlencoded')
|
|
||||||
var deprecate = require('depd')('body-parser')
|
|
||||||
var read = require('../read')
|
|
||||||
var typeis = require('type-is')
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Module exports.
|
|
||||||
*/
|
|
||||||
|
|
||||||
module.exports = urlencoded
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Cache of parser modules.
|
|
||||||
*/
|
|
||||||
|
|
||||||
var parsers = Object.create(null)
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Create a middleware to parse urlencoded bodies.
|
|
||||||
*
|
|
||||||
* @param {object} [options]
|
|
||||||
* @return {function}
|
|
||||||
* @public
|
|
||||||
*/
|
|
||||||
|
|
||||||
function urlencoded (options) {
|
|
||||||
var opts = options || {}
|
|
||||||
|
|
||||||
// notice because option default will flip in next major
|
|
||||||
if (opts.extended === undefined) {
|
|
||||||
deprecate('undefined extended: provide extended option')
|
|
||||||
}
|
|
||||||
|
|
||||||
var extended = opts.extended !== false
|
|
||||||
var inflate = opts.inflate !== false
|
|
||||||
var limit = typeof opts.limit !== 'number'
|
|
||||||
? bytes.parse(opts.limit || '100kb')
|
|
||||||
: opts.limit
|
|
||||||
var type = opts.type || 'application/x-www-form-urlencoded'
|
|
||||||
var verify = opts.verify || false
|
|
||||||
|
|
||||||
if (verify !== false && typeof verify !== 'function') {
|
|
||||||
throw new TypeError('option verify must be function')
|
|
||||||
}
|
|
||||||
|
|
||||||
// create the appropriate query parser
|
|
||||||
var queryparse = extended
|
|
||||||
? extendedparser(opts)
|
|
||||||
: simpleparser(opts)
|
|
||||||
|
|
||||||
// create the appropriate type checking function
|
|
||||||
var shouldParse = typeof type !== 'function'
|
|
||||||
? typeChecker(type)
|
|
||||||
: type
|
|
||||||
|
|
||||||
function parse (body) {
|
|
||||||
return body.length
|
|
||||||
? queryparse(body)
|
|
||||||
: {}
|
|
||||||
}
|
|
||||||
|
|
||||||
return function urlencodedParser (req, res, next) {
|
|
||||||
if (req._body) {
|
|
||||||
debug('body already parsed')
|
|
||||||
next()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
req.body = req.body || {}
|
|
||||||
|
|
||||||
// skip requests without bodies
|
|
||||||
if (!typeis.hasBody(req)) {
|
|
||||||
debug('skip empty body')
|
|
||||||
next()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
debug('content-type %j', req.headers['content-type'])
|
|
||||||
|
|
||||||
// determine if request should be parsed
|
|
||||||
if (!shouldParse(req)) {
|
|
||||||
debug('skip parsing')
|
|
||||||
next()
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// assert charset
|
|
||||||
var charset = getCharset(req) || 'utf-8'
|
|
||||||
if (charset !== 'utf-8') {
|
|
||||||
debug('invalid charset')
|
|
||||||
next(createError(415, 'unsupported charset "' + charset.toUpperCase() + '"', {
|
|
||||||
charset: charset,
|
|
||||||
type: 'charset.unsupported'
|
|
||||||
}))
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
// read
|
|
||||||
read(req, res, next, parse, debug, {
|
|
||||||
debug: debug,
|
|
||||||
encoding: charset,
|
|
||||||
inflate: inflate,
|
|
||||||
limit: limit,
|
|
||||||
verify: verify
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the extended query parser.
|
|
||||||
*
|
|
||||||
* @param {object} options
|
|
||||||
*/
|
|
||||||
|
|
||||||
function extendedparser (options) {
|
|
||||||
var parameterLimit = options.parameterLimit !== undefined
|
|
||||||
? options.parameterLimit
|
|
||||||
: 1000
|
|
||||||
var parse = parser('qs')
|
|
||||||
|
|
||||||
if (isNaN(parameterLimit) || parameterLimit < 1) {
|
|
||||||
throw new TypeError('option parameterLimit must be a positive number')
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isFinite(parameterLimit)) {
|
|
||||||
parameterLimit = parameterLimit | 0
|
|
||||||
}
|
|
||||||
|
|
||||||
return function queryparse (body) {
|
|
||||||
var paramCount = parameterCount(body, parameterLimit)
|
|
||||||
|
|
||||||
if (paramCount === undefined) {
|
|
||||||
debug('too many parameters')
|
|
||||||
throw createError(413, 'too many parameters', {
|
|
||||||
type: 'parameters.too.many'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
var arrayLimit = Math.max(100, paramCount)
|
|
||||||
|
|
||||||
debug('parse extended urlencoding')
|
|
||||||
return parse(body, {
|
|
||||||
allowPrototypes: true,
|
|
||||||
arrayLimit: arrayLimit,
|
|
||||||
depth: Infinity,
|
|
||||||
parameterLimit: parameterLimit
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the charset of a request.
|
|
||||||
*
|
|
||||||
* @param {object} req
|
|
||||||
* @api private
|
|
||||||
*/
|
|
||||||
|
|
||||||
function getCharset (req) {
|
|
||||||
try {
|
|
||||||
return (contentType.parse(req).parameters.charset || '').toLowerCase()
|
|
||||||
} catch (e) {
|
|
||||||
return undefined
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Count the number of parameters, stopping once limit reached
|
|
||||||
*
|
|
||||||
* @param {string} body
|
|
||||||
* @param {number} limit
|
|
||||||
* @api private
|
|
||||||
*/
|
|
||||||
|
|
||||||
function parameterCount (body, limit) {
|
|
||||||
var count = 0
|
|
||||||
var index = 0
|
|
||||||
|
|
||||||
while ((index = body.indexOf('&', index)) !== -1) {
|
|
||||||
count++
|
|
||||||
index++
|
|
||||||
|
|
||||||
if (count === limit) {
|
|
||||||
return undefined
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return count
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get parser for module name dynamically.
|
|
||||||
*
|
|
||||||
* @param {string} name
|
|
||||||
* @return {function}
|
|
||||||
* @api private
|
|
||||||
*/
|
|
||||||
|
|
||||||
function parser (name) {
|
|
||||||
var mod = parsers[name]
|
|
||||||
|
|
||||||
if (mod !== undefined) {
|
|
||||||
return mod.parse
|
|
||||||
}
|
|
||||||
|
|
||||||
// this uses a switch for static require analysis
|
|
||||||
switch (name) {
|
|
||||||
case 'qs':
|
|
||||||
mod = require('qs')
|
|
||||||
break
|
|
||||||
case 'querystring':
|
|
||||||
mod = require('querystring')
|
|
||||||
break
|
|
||||||
}
|
|
||||||
|
|
||||||
// store to prevent invoking require()
|
|
||||||
parsers[name] = mod
|
|
||||||
|
|
||||||
return mod.parse
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the simple query parser.
|
|
||||||
*
|
|
||||||
* @param {object} options
|
|
||||||
*/
|
|
||||||
|
|
||||||
function simpleparser (options) {
|
|
||||||
var parameterLimit = options.parameterLimit !== undefined
|
|
||||||
? options.parameterLimit
|
|
||||||
: 1000
|
|
||||||
var parse = parser('querystring')
|
|
||||||
|
|
||||||
if (isNaN(parameterLimit) || parameterLimit < 1) {
|
|
||||||
throw new TypeError('option parameterLimit must be a positive number')
|
|
||||||
}
|
|
||||||
|
|
||||||
if (isFinite(parameterLimit)) {
|
|
||||||
parameterLimit = parameterLimit | 0
|
|
||||||
}
|
|
||||||
|
|
||||||
return function queryparse (body) {
|
|
||||||
var paramCount = parameterCount(body, parameterLimit)
|
|
||||||
|
|
||||||
if (paramCount === undefined) {
|
|
||||||
debug('too many parameters')
|
|
||||||
throw createError(413, 'too many parameters', {
|
|
||||||
type: 'parameters.too.many'
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
debug('parse urlencoding')
|
|
||||||
return parse(body, undefined, undefined, { maxKeys: parameterLimit })
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the simple type checker.
|
|
||||||
*
|
|
||||||
* @param {string} type
|
|
||||||
* @return {function}
|
|
||||||
*/
|
|
||||||
|
|
||||||
function typeChecker (type) {
|
|
||||||
return function checkType (req) {
|
|
||||||
return Boolean(typeis(req, type))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
162
Websites/Jefes/Backend/node_modules/body-parser/node_modules/iconv-lite/Changelog.md
generated
vendored
162
Websites/Jefes/Backend/node_modules/body-parser/node_modules/iconv-lite/Changelog.md
generated
vendored
@ -1,162 +0,0 @@
|
|||||||
# 0.4.24 / 2018-08-22
|
|
||||||
|
|
||||||
* Added MIK encoding (#196, by @Ivan-Kalatchev)
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.23 / 2018-05-07
|
|
||||||
|
|
||||||
* Fix deprecation warning in Node v10 due to the last usage of `new Buffer` (#185, by @felixbuenemann)
|
|
||||||
* Switched from NodeBuffer to Buffer in typings (#155 by @felixfbecker, #186 by @larssn)
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.22 / 2018-05-05
|
|
||||||
|
|
||||||
* Use older semver style for dependencies to be compatible with Node version 0.10 (#182, by @dougwilson)
|
|
||||||
* Fix tests to accomodate fixes in Node v10 (#182, by @dougwilson)
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.21 / 2018-04-06
|
|
||||||
|
|
||||||
* Fix encoding canonicalization (#156)
|
|
||||||
* Fix the paths in the "browser" field in package.json (#174 by @LMLB)
|
|
||||||
* Removed "contributors" section in package.json - see Git history instead.
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.20 / 2018-04-06
|
|
||||||
|
|
||||||
* Updated `new Buffer()` usages with recommended replacements as it's being deprecated in Node v10 (#176, #178 by @ChALkeR)
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.19 / 2017-09-09
|
|
||||||
|
|
||||||
* Fixed iso8859-1 codec regression in handling untranslatable characters (#162, caused by #147)
|
|
||||||
* Re-generated windows1255 codec, because it was updated in iconv project
|
|
||||||
* Fixed grammar in error message when iconv-lite is loaded with encoding other than utf8
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.18 / 2017-06-13
|
|
||||||
|
|
||||||
* Fixed CESU-8 regression in Node v8.
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.17 / 2017-04-22
|
|
||||||
|
|
||||||
* Updated typescript definition file to support Angular 2 AoT mode (#153 by @larssn)
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.16 / 2017-04-22
|
|
||||||
|
|
||||||
* Added support for React Native (#150)
|
|
||||||
* Changed iso8859-1 encoding to usine internal 'binary' encoding, as it's the same thing (#147 by @mscdex)
|
|
||||||
* Fixed typo in Readme (#138 by @jiangzhuo)
|
|
||||||
* Fixed build for Node v6.10+ by making correct version comparison
|
|
||||||
* Added a warning if iconv-lite is loaded not as utf-8 (see #142)
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.15 / 2016-11-21
|
|
||||||
|
|
||||||
* Fixed typescript type definition (#137)
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.14 / 2016-11-20
|
|
||||||
|
|
||||||
* Preparation for v1.0
|
|
||||||
* Added Node v6 and latest Node versions to Travis CI test rig
|
|
||||||
* Deprecated Node v0.8 support
|
|
||||||
* Typescript typings (@larssn)
|
|
||||||
* Fix encoding of Euro character in GB 18030 (inspired by @lygstate)
|
|
||||||
* Add ms prefix to dbcs windows encodings (@rokoroku)
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.13 / 2015-10-01
|
|
||||||
|
|
||||||
* Fix silly mistake in deprecation notice.
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.12 / 2015-09-26
|
|
||||||
|
|
||||||
* Node v4 support:
|
|
||||||
* Added CESU-8 decoding (#106)
|
|
||||||
* Added deprecation notice for `extendNodeEncodings`
|
|
||||||
* Added Travis tests for Node v4 and io.js latest (#105 by @Mithgol)
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.11 / 2015-07-03
|
|
||||||
|
|
||||||
* Added CESU-8 encoding.
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.10 / 2015-05-26
|
|
||||||
|
|
||||||
* Changed UTF-16 endianness heuristic to take into account any ASCII chars, not
|
|
||||||
just spaces. This should minimize the importance of "default" endianness.
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.9 / 2015-05-24
|
|
||||||
|
|
||||||
* Streamlined BOM handling: strip BOM by default, add BOM when encoding if
|
|
||||||
addBOM: true. Added docs to Readme.
|
|
||||||
* UTF16 now uses UTF16-LE by default.
|
|
||||||
* Fixed minor issue with big5 encoding.
|
|
||||||
* Added io.js testing on Travis; updated node-iconv version to test against.
|
|
||||||
Now we just skip testing SBCS encodings that node-iconv doesn't support.
|
|
||||||
* (internal refactoring) Updated codec interface to use classes.
|
|
||||||
* Use strict mode in all files.
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.8 / 2015-04-14
|
|
||||||
|
|
||||||
* added alias UNICODE-1-1-UTF-7 for UTF-7 encoding (#94)
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.7 / 2015-02-05
|
|
||||||
|
|
||||||
* stop official support of Node.js v0.8. Should still work, but no guarantees.
|
|
||||||
reason: Packages needed for testing are hard to get on Travis CI.
|
|
||||||
* work in environment where Object.prototype is monkey patched with enumerable
|
|
||||||
props (#89).
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.6 / 2015-01-12
|
|
||||||
|
|
||||||
* fix rare aliases of single-byte encodings (thanks @mscdex)
|
|
||||||
* double the timeout for dbcs tests to make them less flaky on travis
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.5 / 2014-11-20
|
|
||||||
|
|
||||||
* fix windows-31j and x-sjis encoding support (@nleush)
|
|
||||||
* minor fix: undefined variable reference when internal error happens
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.4 / 2014-07-16
|
|
||||||
|
|
||||||
* added encodings UTF-7 (RFC2152) and UTF-7-IMAP (RFC3501 Section 5.1.3)
|
|
||||||
* fixed streaming base64 encoding
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.3 / 2014-06-14
|
|
||||||
|
|
||||||
* added encodings UTF-16BE and UTF-16 with BOM
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.2 / 2014-06-12
|
|
||||||
|
|
||||||
* don't throw exception if `extendNodeEncodings()` is called more than once
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.1 / 2014-06-11
|
|
||||||
|
|
||||||
* codepage 808 added
|
|
||||||
|
|
||||||
|
|
||||||
# 0.4.0 / 2014-06-10
|
|
||||||
|
|
||||||
* code is rewritten from scratch
|
|
||||||
* all widespread encodings are supported
|
|
||||||
* streaming interface added
|
|
||||||
* browserify compatibility added
|
|
||||||
* (optional) extend core primitive encodings to make usage even simpler
|
|
||||||
* moved from vows to mocha as the testing framework
|
|
||||||
|
|
||||||
|
|
||||||
21
Websites/Jefes/Backend/node_modules/body-parser/node_modules/iconv-lite/LICENSE
generated
vendored
21
Websites/Jefes/Backend/node_modules/body-parser/node_modules/iconv-lite/LICENSE
generated
vendored
@ -1,21 +0,0 @@
|
|||||||
Copyright (c) 2011 Alexander Shtuchkin
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining
|
|
||||||
a copy of this software and associated documentation files (the
|
|
||||||
"Software"), to deal in the Software without restriction, including
|
|
||||||
without limitation the rights to use, copy, modify, merge, publish,
|
|
||||||
distribute, sublicense, and/or sell copies of the Software, and to
|
|
||||||
permit persons to whom the Software is furnished to do so, subject to
|
|
||||||
the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be
|
|
||||||
included in all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
||||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
||||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
||||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
||||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
||||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
||||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
|
|
||||||
156
Websites/Jefes/Backend/node_modules/body-parser/node_modules/iconv-lite/README.md
generated
vendored
156
Websites/Jefes/Backend/node_modules/body-parser/node_modules/iconv-lite/README.md
generated
vendored
@ -1,156 +0,0 @@
|
|||||||
## Pure JS character encoding conversion [](https://travis-ci.org/ashtuchkin/iconv-lite)
|
|
||||||
|
|
||||||
* Doesn't need native code compilation. Works on Windows and in sandboxed environments like [Cloud9](http://c9.io).
|
|
||||||
* Used in popular projects like [Express.js (body_parser)](https://github.com/expressjs/body-parser),
|
|
||||||
[Grunt](http://gruntjs.com/), [Nodemailer](http://www.nodemailer.com/), [Yeoman](http://yeoman.io/) and others.
|
|
||||||
* Faster than [node-iconv](https://github.com/bnoordhuis/node-iconv) (see below for performance comparison).
|
|
||||||
* Intuitive encode/decode API
|
|
||||||
* Streaming support for Node v0.10+
|
|
||||||
* [Deprecated] Can extend Node.js primitives (buffers, streams) to support all iconv-lite encodings.
|
|
||||||
* In-browser usage via [Browserify](https://github.com/substack/node-browserify) (~180k gzip compressed with Buffer shim included).
|
|
||||||
* Typescript [type definition file](https://github.com/ashtuchkin/iconv-lite/blob/master/lib/index.d.ts) included.
|
|
||||||
* React Native is supported (need to explicitly `npm install` two more modules: `buffer` and `stream`).
|
|
||||||
* License: MIT.
|
|
||||||
|
|
||||||
[](https://npmjs.org/packages/iconv-lite/)
|
|
||||||
|
|
||||||
## Usage
|
|
||||||
### Basic API
|
|
||||||
```javascript
|
|
||||||
var iconv = require('iconv-lite');
|
|
||||||
|
|
||||||
// Convert from an encoded buffer to js string.
|
|
||||||
str = iconv.decode(Buffer.from([0x68, 0x65, 0x6c, 0x6c, 0x6f]), 'win1251');
|
|
||||||
|
|
||||||
// Convert from js string to an encoded buffer.
|
|
||||||
buf = iconv.encode("Sample input string", 'win1251');
|
|
||||||
|
|
||||||
// Check if encoding is supported
|
|
||||||
iconv.encodingExists("us-ascii")
|
|
||||||
```
|
|
||||||
|
|
||||||
### Streaming API (Node v0.10+)
|
|
||||||
```javascript
|
|
||||||
|
|
||||||
// Decode stream (from binary stream to js strings)
|
|
||||||
http.createServer(function(req, res) {
|
|
||||||
var converterStream = iconv.decodeStream('win1251');
|
|
||||||
req.pipe(converterStream);
|
|
||||||
|
|
||||||
converterStream.on('data', function(str) {
|
|
||||||
console.log(str); // Do something with decoded strings, chunk-by-chunk.
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
// Convert encoding streaming example
|
|
||||||
fs.createReadStream('file-in-win1251.txt')
|
|
||||||
.pipe(iconv.decodeStream('win1251'))
|
|
||||||
.pipe(iconv.encodeStream('ucs2'))
|
|
||||||
.pipe(fs.createWriteStream('file-in-ucs2.txt'));
|
|
||||||
|
|
||||||
// Sugar: all encode/decode streams have .collect(cb) method to accumulate data.
|
|
||||||
http.createServer(function(req, res) {
|
|
||||||
req.pipe(iconv.decodeStream('win1251')).collect(function(err, body) {
|
|
||||||
assert(typeof body == 'string');
|
|
||||||
console.log(body); // full request body string
|
|
||||||
});
|
|
||||||
});
|
|
||||||
```
|
|
||||||
|
|
||||||
### [Deprecated] Extend Node.js own encodings
|
|
||||||
> NOTE: This doesn't work on latest Node versions. See [details](https://github.com/ashtuchkin/iconv-lite/wiki/Node-v4-compatibility).
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
// After this call all Node basic primitives will understand iconv-lite encodings.
|
|
||||||
iconv.extendNodeEncodings();
|
|
||||||
|
|
||||||
// Examples:
|
|
||||||
buf = new Buffer(str, 'win1251');
|
|
||||||
buf.write(str, 'gbk');
|
|
||||||
str = buf.toString('latin1');
|
|
||||||
assert(Buffer.isEncoding('iso-8859-15'));
|
|
||||||
Buffer.byteLength(str, 'us-ascii');
|
|
||||||
|
|
||||||
http.createServer(function(req, res) {
|
|
||||||
req.setEncoding('big5');
|
|
||||||
req.collect(function(err, body) {
|
|
||||||
console.log(body);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
fs.createReadStream("file.txt", "shift_jis");
|
|
||||||
|
|
||||||
// External modules are also supported (if they use Node primitives, which they probably do).
|
|
||||||
request = require('request');
|
|
||||||
request({
|
|
||||||
url: "http://github.com/",
|
|
||||||
encoding: "cp932"
|
|
||||||
});
|
|
||||||
|
|
||||||
// To remove extensions
|
|
||||||
iconv.undoExtendNodeEncodings();
|
|
||||||
```
|
|
||||||
|
|
||||||
## Supported encodings
|
|
||||||
|
|
||||||
* All node.js native encodings: utf8, ucs2 / utf16-le, ascii, binary, base64, hex.
|
|
||||||
* Additional unicode encodings: utf16, utf16-be, utf-7, utf-7-imap.
|
|
||||||
* All widespread singlebyte encodings: Windows 125x family, ISO-8859 family,
|
|
||||||
IBM/DOS codepages, Macintosh family, KOI8 family, all others supported by iconv library.
|
|
||||||
Aliases like 'latin1', 'us-ascii' also supported.
|
|
||||||
* All widespread multibyte encodings: CP932, CP936, CP949, CP950, GB2312, GBK, GB18030, Big5, Shift_JIS, EUC-JP.
|
|
||||||
|
|
||||||
See [all supported encodings on wiki](https://github.com/ashtuchkin/iconv-lite/wiki/Supported-Encodings).
|
|
||||||
|
|
||||||
Most singlebyte encodings are generated automatically from [node-iconv](https://github.com/bnoordhuis/node-iconv). Thank you Ben Noordhuis and libiconv authors!
|
|
||||||
|
|
||||||
Multibyte encodings are generated from [Unicode.org mappings](http://www.unicode.org/Public/MAPPINGS/) and [WHATWG Encoding Standard mappings](http://encoding.spec.whatwg.org/). Thank you, respective authors!
|
|
||||||
|
|
||||||
|
|
||||||
## Encoding/decoding speed
|
|
||||||
|
|
||||||
Comparison with node-iconv module (1000x256kb, on MacBook Pro, Core i5/2.6 GHz, Node v0.12.0).
|
|
||||||
Note: your results may vary, so please always check on your hardware.
|
|
||||||
|
|
||||||
operation iconv@2.1.4 iconv-lite@0.4.7
|
|
||||||
----------------------------------------------------------
|
|
||||||
encode('win1251') ~96 Mb/s ~320 Mb/s
|
|
||||||
decode('win1251') ~95 Mb/s ~246 Mb/s
|
|
||||||
|
|
||||||
## BOM handling
|
|
||||||
|
|
||||||
* Decoding: BOM is stripped by default, unless overridden by passing `stripBOM: false` in options
|
|
||||||
(f.ex. `iconv.decode(buf, enc, {stripBOM: false})`).
|
|
||||||
A callback might also be given as a `stripBOM` parameter - it'll be called if BOM character was actually found.
|
|
||||||
* If you want to detect UTF-8 BOM when decoding other encodings, use [node-autodetect-decoder-stream](https://github.com/danielgindi/node-autodetect-decoder-stream) module.
|
|
||||||
* Encoding: No BOM added, unless overridden by `addBOM: true` option.
|
|
||||||
|
|
||||||
## UTF-16 Encodings
|
|
||||||
|
|
||||||
This library supports UTF-16LE, UTF-16BE and UTF-16 encodings. First two are straightforward, but UTF-16 is trying to be
|
|
||||||
smart about endianness in the following ways:
|
|
||||||
* Decoding: uses BOM and 'spaces heuristic' to determine input endianness. Default is UTF-16LE, but can be
|
|
||||||
overridden with `defaultEncoding: 'utf-16be'` option. Strips BOM unless `stripBOM: false`.
|
|
||||||
* Encoding: uses UTF-16LE and writes BOM by default. Use `addBOM: false` to override.
|
|
||||||
|
|
||||||
## Other notes
|
|
||||||
|
|
||||||
When decoding, be sure to supply a Buffer to decode() method, otherwise [bad things usually happen](https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding).
|
|
||||||
Untranslatable characters are set to <20> or ?. No transliteration is currently supported.
|
|
||||||
Node versions 0.10.31 and 0.11.13 are buggy, don't use them (see #65, #77).
|
|
||||||
|
|
||||||
## Testing
|
|
||||||
|
|
||||||
```bash
|
|
||||||
$ git clone git@github.com:ashtuchkin/iconv-lite.git
|
|
||||||
$ cd iconv-lite
|
|
||||||
$ npm install
|
|
||||||
$ npm test
|
|
||||||
|
|
||||||
$ # To view performance:
|
|
||||||
$ node test/performance.js
|
|
||||||
|
|
||||||
$ # To view test coverage:
|
|
||||||
$ npm run coverage
|
|
||||||
$ open coverage/lcov-report/index.html
|
|
||||||
```
|
|
||||||
@ -1,555 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var Buffer = require("safer-buffer").Buffer;
|
|
||||||
|
|
||||||
// Multibyte codec. In this scheme, a character is represented by 1 or more bytes.
|
|
||||||
// Our codec supports UTF-16 surrogates, extensions for GB18030 and unicode sequences.
|
|
||||||
// To save memory and loading time, we read table files only when requested.
|
|
||||||
|
|
||||||
exports._dbcs = DBCSCodec;
|
|
||||||
|
|
||||||
var UNASSIGNED = -1,
|
|
||||||
GB18030_CODE = -2,
|
|
||||||
SEQ_START = -10,
|
|
||||||
NODE_START = -1000,
|
|
||||||
UNASSIGNED_NODE = new Array(0x100),
|
|
||||||
DEF_CHAR = -1;
|
|
||||||
|
|
||||||
for (var i = 0; i < 0x100; i++)
|
|
||||||
UNASSIGNED_NODE[i] = UNASSIGNED;
|
|
||||||
|
|
||||||
|
|
||||||
// Class DBCSCodec reads and initializes mapping tables.
|
|
||||||
function DBCSCodec(codecOptions, iconv) {
|
|
||||||
this.encodingName = codecOptions.encodingName;
|
|
||||||
if (!codecOptions)
|
|
||||||
throw new Error("DBCS codec is called without the data.")
|
|
||||||
if (!codecOptions.table)
|
|
||||||
throw new Error("Encoding '" + this.encodingName + "' has no data.");
|
|
||||||
|
|
||||||
// Load tables.
|
|
||||||
var mappingTable = codecOptions.table();
|
|
||||||
|
|
||||||
|
|
||||||
// Decode tables: MBCS -> Unicode.
|
|
||||||
|
|
||||||
// decodeTables is a trie, encoded as an array of arrays of integers. Internal arrays are trie nodes and all have len = 256.
|
|
||||||
// Trie root is decodeTables[0].
|
|
||||||
// Values: >= 0 -> unicode character code. can be > 0xFFFF
|
|
||||||
// == UNASSIGNED -> unknown/unassigned sequence.
|
|
||||||
// == GB18030_CODE -> this is the end of a GB18030 4-byte sequence.
|
|
||||||
// <= NODE_START -> index of the next node in our trie to process next byte.
|
|
||||||
// <= SEQ_START -> index of the start of a character code sequence, in decodeTableSeq.
|
|
||||||
this.decodeTables = [];
|
|
||||||
this.decodeTables[0] = UNASSIGNED_NODE.slice(0); // Create root node.
|
|
||||||
|
|
||||||
// Sometimes a MBCS char corresponds to a sequence of unicode chars. We store them as arrays of integers here.
|
|
||||||
this.decodeTableSeq = [];
|
|
||||||
|
|
||||||
// Actual mapping tables consist of chunks. Use them to fill up decode tables.
|
|
||||||
for (var i = 0; i < mappingTable.length; i++)
|
|
||||||
this._addDecodeChunk(mappingTable[i]);
|
|
||||||
|
|
||||||
this.defaultCharUnicode = iconv.defaultCharUnicode;
|
|
||||||
|
|
||||||
|
|
||||||
// Encode tables: Unicode -> DBCS.
|
|
||||||
|
|
||||||
// `encodeTable` is array mapping from unicode char to encoded char. All its values are integers for performance.
|
|
||||||
// Because it can be sparse, it is represented as array of buckets by 256 chars each. Bucket can be null.
|
|
||||||
// Values: >= 0 -> it is a normal char. Write the value (if <=256 then 1 byte, if <=65536 then 2 bytes, etc.).
|
|
||||||
// == UNASSIGNED -> no conversion found. Output a default char.
|
|
||||||
// <= SEQ_START -> it's an index in encodeTableSeq, see below. The character starts a sequence.
|
|
||||||
this.encodeTable = [];
|
|
||||||
|
|
||||||
// `encodeTableSeq` is used when a sequence of unicode characters is encoded as a single code. We use a tree of
|
|
||||||
// objects where keys correspond to characters in sequence and leafs are the encoded dbcs values. A special DEF_CHAR key
|
|
||||||
// means end of sequence (needed when one sequence is a strict subsequence of another).
|
|
||||||
// Objects are kept separately from encodeTable to increase performance.
|
|
||||||
this.encodeTableSeq = [];
|
|
||||||
|
|
||||||
// Some chars can be decoded, but need not be encoded.
|
|
||||||
var skipEncodeChars = {};
|
|
||||||
if (codecOptions.encodeSkipVals)
|
|
||||||
for (var i = 0; i < codecOptions.encodeSkipVals.length; i++) {
|
|
||||||
var val = codecOptions.encodeSkipVals[i];
|
|
||||||
if (typeof val === 'number')
|
|
||||||
skipEncodeChars[val] = true;
|
|
||||||
else
|
|
||||||
for (var j = val.from; j <= val.to; j++)
|
|
||||||
skipEncodeChars[j] = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Use decode trie to recursively fill out encode tables.
|
|
||||||
this._fillEncodeTable(0, 0, skipEncodeChars);
|
|
||||||
|
|
||||||
// Add more encoding pairs when needed.
|
|
||||||
if (codecOptions.encodeAdd) {
|
|
||||||
for (var uChar in codecOptions.encodeAdd)
|
|
||||||
if (Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar))
|
|
||||||
this._setEncodeChar(uChar.charCodeAt(0), codecOptions.encodeAdd[uChar]);
|
|
||||||
}
|
|
||||||
|
|
||||||
this.defCharSB = this.encodeTable[0][iconv.defaultCharSingleByte.charCodeAt(0)];
|
|
||||||
if (this.defCharSB === UNASSIGNED) this.defCharSB = this.encodeTable[0]['?'];
|
|
||||||
if (this.defCharSB === UNASSIGNED) this.defCharSB = "?".charCodeAt(0);
|
|
||||||
|
|
||||||
|
|
||||||
// Load & create GB18030 tables when needed.
|
|
||||||
if (typeof codecOptions.gb18030 === 'function') {
|
|
||||||
this.gb18030 = codecOptions.gb18030(); // Load GB18030 ranges.
|
|
||||||
|
|
||||||
// Add GB18030 decode tables.
|
|
||||||
var thirdByteNodeIdx = this.decodeTables.length;
|
|
||||||
var thirdByteNode = this.decodeTables[thirdByteNodeIdx] = UNASSIGNED_NODE.slice(0);
|
|
||||||
|
|
||||||
var fourthByteNodeIdx = this.decodeTables.length;
|
|
||||||
var fourthByteNode = this.decodeTables[fourthByteNodeIdx] = UNASSIGNED_NODE.slice(0);
|
|
||||||
|
|
||||||
for (var i = 0x81; i <= 0xFE; i++) {
|
|
||||||
var secondByteNodeIdx = NODE_START - this.decodeTables[0][i];
|
|
||||||
var secondByteNode = this.decodeTables[secondByteNodeIdx];
|
|
||||||
for (var j = 0x30; j <= 0x39; j++)
|
|
||||||
secondByteNode[j] = NODE_START - thirdByteNodeIdx;
|
|
||||||
}
|
|
||||||
for (var i = 0x81; i <= 0xFE; i++)
|
|
||||||
thirdByteNode[i] = NODE_START - fourthByteNodeIdx;
|
|
||||||
for (var i = 0x30; i <= 0x39; i++)
|
|
||||||
fourthByteNode[i] = GB18030_CODE
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
DBCSCodec.prototype.encoder = DBCSEncoder;
|
|
||||||
DBCSCodec.prototype.decoder = DBCSDecoder;
|
|
||||||
|
|
||||||
// Decoder helpers
|
|
||||||
DBCSCodec.prototype._getDecodeTrieNode = function(addr) {
|
|
||||||
var bytes = [];
|
|
||||||
for (; addr > 0; addr >>= 8)
|
|
||||||
bytes.push(addr & 0xFF);
|
|
||||||
if (bytes.length == 0)
|
|
||||||
bytes.push(0);
|
|
||||||
|
|
||||||
var node = this.decodeTables[0];
|
|
||||||
for (var i = bytes.length-1; i > 0; i--) { // Traverse nodes deeper into the trie.
|
|
||||||
var val = node[bytes[i]];
|
|
||||||
|
|
||||||
if (val == UNASSIGNED) { // Create new node.
|
|
||||||
node[bytes[i]] = NODE_START - this.decodeTables.length;
|
|
||||||
this.decodeTables.push(node = UNASSIGNED_NODE.slice(0));
|
|
||||||
}
|
|
||||||
else if (val <= NODE_START) { // Existing node.
|
|
||||||
node = this.decodeTables[NODE_START - val];
|
|
||||||
}
|
|
||||||
else
|
|
||||||
throw new Error("Overwrite byte in " + this.encodingName + ", addr: " + addr.toString(16));
|
|
||||||
}
|
|
||||||
return node;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
DBCSCodec.prototype._addDecodeChunk = function(chunk) {
|
|
||||||
// First element of chunk is the hex mbcs code where we start.
|
|
||||||
var curAddr = parseInt(chunk[0], 16);
|
|
||||||
|
|
||||||
// Choose the decoding node where we'll write our chars.
|
|
||||||
var writeTable = this._getDecodeTrieNode(curAddr);
|
|
||||||
curAddr = curAddr & 0xFF;
|
|
||||||
|
|
||||||
// Write all other elements of the chunk to the table.
|
|
||||||
for (var k = 1; k < chunk.length; k++) {
|
|
||||||
var part = chunk[k];
|
|
||||||
if (typeof part === "string") { // String, write as-is.
|
|
||||||
for (var l = 0; l < part.length;) {
|
|
||||||
var code = part.charCodeAt(l++);
|
|
||||||
if (0xD800 <= code && code < 0xDC00) { // Decode surrogate
|
|
||||||
var codeTrail = part.charCodeAt(l++);
|
|
||||||
if (0xDC00 <= codeTrail && codeTrail < 0xE000)
|
|
||||||
writeTable[curAddr++] = 0x10000 + (code - 0xD800) * 0x400 + (codeTrail - 0xDC00);
|
|
||||||
else
|
|
||||||
throw new Error("Incorrect surrogate pair in " + this.encodingName + " at chunk " + chunk[0]);
|
|
||||||
}
|
|
||||||
else if (0x0FF0 < code && code <= 0x0FFF) { // Character sequence (our own encoding used)
|
|
||||||
var len = 0xFFF - code + 2;
|
|
||||||
var seq = [];
|
|
||||||
for (var m = 0; m < len; m++)
|
|
||||||
seq.push(part.charCodeAt(l++)); // Simple variation: don't support surrogates or subsequences in seq.
|
|
||||||
|
|
||||||
writeTable[curAddr++] = SEQ_START - this.decodeTableSeq.length;
|
|
||||||
this.decodeTableSeq.push(seq);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
writeTable[curAddr++] = code; // Basic char
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (typeof part === "number") { // Integer, meaning increasing sequence starting with prev character.
|
|
||||||
var charCode = writeTable[curAddr - 1] + 1;
|
|
||||||
for (var l = 0; l < part; l++)
|
|
||||||
writeTable[curAddr++] = charCode++;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
throw new Error("Incorrect type '" + typeof part + "' given in " + this.encodingName + " at chunk " + chunk[0]);
|
|
||||||
}
|
|
||||||
if (curAddr > 0xFF)
|
|
||||||
throw new Error("Incorrect chunk in " + this.encodingName + " at addr " + chunk[0] + ": too long" + curAddr);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Encoder helpers
|
|
||||||
DBCSCodec.prototype._getEncodeBucket = function(uCode) {
|
|
||||||
var high = uCode >> 8; // This could be > 0xFF because of astral characters.
|
|
||||||
if (this.encodeTable[high] === undefined)
|
|
||||||
this.encodeTable[high] = UNASSIGNED_NODE.slice(0); // Create bucket on demand.
|
|
||||||
return this.encodeTable[high];
|
|
||||||
}
|
|
||||||
|
|
||||||
DBCSCodec.prototype._setEncodeChar = function(uCode, dbcsCode) {
|
|
||||||
var bucket = this._getEncodeBucket(uCode);
|
|
||||||
var low = uCode & 0xFF;
|
|
||||||
if (bucket[low] <= SEQ_START)
|
|
||||||
this.encodeTableSeq[SEQ_START-bucket[low]][DEF_CHAR] = dbcsCode; // There's already a sequence, set a single-char subsequence of it.
|
|
||||||
else if (bucket[low] == UNASSIGNED)
|
|
||||||
bucket[low] = dbcsCode;
|
|
||||||
}
|
|
||||||
|
|
||||||
DBCSCodec.prototype._setEncodeSequence = function(seq, dbcsCode) {
|
|
||||||
|
|
||||||
// Get the root of character tree according to first character of the sequence.
|
|
||||||
var uCode = seq[0];
|
|
||||||
var bucket = this._getEncodeBucket(uCode);
|
|
||||||
var low = uCode & 0xFF;
|
|
||||||
|
|
||||||
var node;
|
|
||||||
if (bucket[low] <= SEQ_START) {
|
|
||||||
// There's already a sequence with - use it.
|
|
||||||
node = this.encodeTableSeq[SEQ_START-bucket[low]];
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
// There was no sequence object - allocate a new one.
|
|
||||||
node = {};
|
|
||||||
if (bucket[low] !== UNASSIGNED) node[DEF_CHAR] = bucket[low]; // If a char was set before - make it a single-char subsequence.
|
|
||||||
bucket[low] = SEQ_START - this.encodeTableSeq.length;
|
|
||||||
this.encodeTableSeq.push(node);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Traverse the character tree, allocating new nodes as needed.
|
|
||||||
for (var j = 1; j < seq.length-1; j++) {
|
|
||||||
var oldVal = node[uCode];
|
|
||||||
if (typeof oldVal === 'object')
|
|
||||||
node = oldVal;
|
|
||||||
else {
|
|
||||||
node = node[uCode] = {}
|
|
||||||
if (oldVal !== undefined)
|
|
||||||
node[DEF_CHAR] = oldVal
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Set the leaf to given dbcsCode.
|
|
||||||
uCode = seq[seq.length-1];
|
|
||||||
node[uCode] = dbcsCode;
|
|
||||||
}
|
|
||||||
|
|
||||||
DBCSCodec.prototype._fillEncodeTable = function(nodeIdx, prefix, skipEncodeChars) {
|
|
||||||
var node = this.decodeTables[nodeIdx];
|
|
||||||
for (var i = 0; i < 0x100; i++) {
|
|
||||||
var uCode = node[i];
|
|
||||||
var mbCode = prefix + i;
|
|
||||||
if (skipEncodeChars[mbCode])
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if (uCode >= 0)
|
|
||||||
this._setEncodeChar(uCode, mbCode);
|
|
||||||
else if (uCode <= NODE_START)
|
|
||||||
this._fillEncodeTable(NODE_START - uCode, mbCode << 8, skipEncodeChars);
|
|
||||||
else if (uCode <= SEQ_START)
|
|
||||||
this._setEncodeSequence(this.decodeTableSeq[SEQ_START - uCode], mbCode);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// == Encoder ==================================================================
|
|
||||||
|
|
||||||
function DBCSEncoder(options, codec) {
|
|
||||||
// Encoder state
|
|
||||||
this.leadSurrogate = -1;
|
|
||||||
this.seqObj = undefined;
|
|
||||||
|
|
||||||
// Static data
|
|
||||||
this.encodeTable = codec.encodeTable;
|
|
||||||
this.encodeTableSeq = codec.encodeTableSeq;
|
|
||||||
this.defaultCharSingleByte = codec.defCharSB;
|
|
||||||
this.gb18030 = codec.gb18030;
|
|
||||||
}
|
|
||||||
|
|
||||||
DBCSEncoder.prototype.write = function(str) {
|
|
||||||
var newBuf = Buffer.alloc(str.length * (this.gb18030 ? 4 : 3)),
|
|
||||||
leadSurrogate = this.leadSurrogate,
|
|
||||||
seqObj = this.seqObj, nextChar = -1,
|
|
||||||
i = 0, j = 0;
|
|
||||||
|
|
||||||
while (true) {
|
|
||||||
// 0. Get next character.
|
|
||||||
if (nextChar === -1) {
|
|
||||||
if (i == str.length) break;
|
|
||||||
var uCode = str.charCodeAt(i++);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
var uCode = nextChar;
|
|
||||||
nextChar = -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 1. Handle surrogates.
|
|
||||||
if (0xD800 <= uCode && uCode < 0xE000) { // Char is one of surrogates.
|
|
||||||
if (uCode < 0xDC00) { // We've got lead surrogate.
|
|
||||||
if (leadSurrogate === -1) {
|
|
||||||
leadSurrogate = uCode;
|
|
||||||
continue;
|
|
||||||
} else {
|
|
||||||
leadSurrogate = uCode;
|
|
||||||
// Double lead surrogate found.
|
|
||||||
uCode = UNASSIGNED;
|
|
||||||
}
|
|
||||||
} else { // We've got trail surrogate.
|
|
||||||
if (leadSurrogate !== -1) {
|
|
||||||
uCode = 0x10000 + (leadSurrogate - 0xD800) * 0x400 + (uCode - 0xDC00);
|
|
||||||
leadSurrogate = -1;
|
|
||||||
} else {
|
|
||||||
// Incomplete surrogate pair - only trail surrogate found.
|
|
||||||
uCode = UNASSIGNED;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (leadSurrogate !== -1) {
|
|
||||||
// Incomplete surrogate pair - only lead surrogate found.
|
|
||||||
nextChar = uCode; uCode = UNASSIGNED; // Write an error, then current char.
|
|
||||||
leadSurrogate = -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
// 2. Convert uCode character.
|
|
||||||
var dbcsCode = UNASSIGNED;
|
|
||||||
if (seqObj !== undefined && uCode != UNASSIGNED) { // We are in the middle of the sequence
|
|
||||||
var resCode = seqObj[uCode];
|
|
||||||
if (typeof resCode === 'object') { // Sequence continues.
|
|
||||||
seqObj = resCode;
|
|
||||||
continue;
|
|
||||||
|
|
||||||
} else if (typeof resCode == 'number') { // Sequence finished. Write it.
|
|
||||||
dbcsCode = resCode;
|
|
||||||
|
|
||||||
} else if (resCode == undefined) { // Current character is not part of the sequence.
|
|
||||||
|
|
||||||
// Try default character for this sequence
|
|
||||||
resCode = seqObj[DEF_CHAR];
|
|
||||||
if (resCode !== undefined) {
|
|
||||||
dbcsCode = resCode; // Found. Write it.
|
|
||||||
nextChar = uCode; // Current character will be written too in the next iteration.
|
|
||||||
|
|
||||||
} else {
|
|
||||||
// TODO: What if we have no default? (resCode == undefined)
|
|
||||||
// Then, we should write first char of the sequence as-is and try the rest recursively.
|
|
||||||
// Didn't do it for now because no encoding has this situation yet.
|
|
||||||
// Currently, just skip the sequence and write current char.
|
|
||||||
}
|
|
||||||
}
|
|
||||||
seqObj = undefined;
|
|
||||||
}
|
|
||||||
else if (uCode >= 0) { // Regular character
|
|
||||||
var subtable = this.encodeTable[uCode >> 8];
|
|
||||||
if (subtable !== undefined)
|
|
||||||
dbcsCode = subtable[uCode & 0xFF];
|
|
||||||
|
|
||||||
if (dbcsCode <= SEQ_START) { // Sequence start
|
|
||||||
seqObj = this.encodeTableSeq[SEQ_START-dbcsCode];
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (dbcsCode == UNASSIGNED && this.gb18030) {
|
|
||||||
// Use GB18030 algorithm to find character(s) to write.
|
|
||||||
var idx = findIdx(this.gb18030.uChars, uCode);
|
|
||||||
if (idx != -1) {
|
|
||||||
var dbcsCode = this.gb18030.gbChars[idx] + (uCode - this.gb18030.uChars[idx]);
|
|
||||||
newBuf[j++] = 0x81 + Math.floor(dbcsCode / 12600); dbcsCode = dbcsCode % 12600;
|
|
||||||
newBuf[j++] = 0x30 + Math.floor(dbcsCode / 1260); dbcsCode = dbcsCode % 1260;
|
|
||||||
newBuf[j++] = 0x81 + Math.floor(dbcsCode / 10); dbcsCode = dbcsCode % 10;
|
|
||||||
newBuf[j++] = 0x30 + dbcsCode;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// 3. Write dbcsCode character.
|
|
||||||
if (dbcsCode === UNASSIGNED)
|
|
||||||
dbcsCode = this.defaultCharSingleByte;
|
|
||||||
|
|
||||||
if (dbcsCode < 0x100) {
|
|
||||||
newBuf[j++] = dbcsCode;
|
|
||||||
}
|
|
||||||
else if (dbcsCode < 0x10000) {
|
|
||||||
newBuf[j++] = dbcsCode >> 8; // high byte
|
|
||||||
newBuf[j++] = dbcsCode & 0xFF; // low byte
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
newBuf[j++] = dbcsCode >> 16;
|
|
||||||
newBuf[j++] = (dbcsCode >> 8) & 0xFF;
|
|
||||||
newBuf[j++] = dbcsCode & 0xFF;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
this.seqObj = seqObj;
|
|
||||||
this.leadSurrogate = leadSurrogate;
|
|
||||||
return newBuf.slice(0, j);
|
|
||||||
}
|
|
||||||
|
|
||||||
DBCSEncoder.prototype.end = function() {
|
|
||||||
if (this.leadSurrogate === -1 && this.seqObj === undefined)
|
|
||||||
return; // All clean. Most often case.
|
|
||||||
|
|
||||||
var newBuf = Buffer.alloc(10), j = 0;
|
|
||||||
|
|
||||||
if (this.seqObj) { // We're in the sequence.
|
|
||||||
var dbcsCode = this.seqObj[DEF_CHAR];
|
|
||||||
if (dbcsCode !== undefined) { // Write beginning of the sequence.
|
|
||||||
if (dbcsCode < 0x100) {
|
|
||||||
newBuf[j++] = dbcsCode;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
newBuf[j++] = dbcsCode >> 8; // high byte
|
|
||||||
newBuf[j++] = dbcsCode & 0xFF; // low byte
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
// See todo above.
|
|
||||||
}
|
|
||||||
this.seqObj = undefined;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.leadSurrogate !== -1) {
|
|
||||||
// Incomplete surrogate pair - only lead surrogate found.
|
|
||||||
newBuf[j++] = this.defaultCharSingleByte;
|
|
||||||
this.leadSurrogate = -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
return newBuf.slice(0, j);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Export for testing
|
|
||||||
DBCSEncoder.prototype.findIdx = findIdx;
|
|
||||||
|
|
||||||
|
|
||||||
// == Decoder ==================================================================
|
|
||||||
|
|
||||||
function DBCSDecoder(options, codec) {
|
|
||||||
// Decoder state
|
|
||||||
this.nodeIdx = 0;
|
|
||||||
this.prevBuf = Buffer.alloc(0);
|
|
||||||
|
|
||||||
// Static data
|
|
||||||
this.decodeTables = codec.decodeTables;
|
|
||||||
this.decodeTableSeq = codec.decodeTableSeq;
|
|
||||||
this.defaultCharUnicode = codec.defaultCharUnicode;
|
|
||||||
this.gb18030 = codec.gb18030;
|
|
||||||
}
|
|
||||||
|
|
||||||
DBCSDecoder.prototype.write = function(buf) {
|
|
||||||
var newBuf = Buffer.alloc(buf.length*2),
|
|
||||||
nodeIdx = this.nodeIdx,
|
|
||||||
prevBuf = this.prevBuf, prevBufOffset = this.prevBuf.length,
|
|
||||||
seqStart = -this.prevBuf.length, // idx of the start of current parsed sequence.
|
|
||||||
uCode;
|
|
||||||
|
|
||||||
if (prevBufOffset > 0) // Make prev buf overlap a little to make it easier to slice later.
|
|
||||||
prevBuf = Buffer.concat([prevBuf, buf.slice(0, 10)]);
|
|
||||||
|
|
||||||
for (var i = 0, j = 0; i < buf.length; i++) {
|
|
||||||
var curByte = (i >= 0) ? buf[i] : prevBuf[i + prevBufOffset];
|
|
||||||
|
|
||||||
// Lookup in current trie node.
|
|
||||||
var uCode = this.decodeTables[nodeIdx][curByte];
|
|
||||||
|
|
||||||
if (uCode >= 0) {
|
|
||||||
// Normal character, just use it.
|
|
||||||
}
|
|
||||||
else if (uCode === UNASSIGNED) { // Unknown char.
|
|
||||||
// TODO: Callback with seq.
|
|
||||||
//var curSeq = (seqStart >= 0) ? buf.slice(seqStart, i+1) : prevBuf.slice(seqStart + prevBufOffset, i+1 + prevBufOffset);
|
|
||||||
i = seqStart; // Try to parse again, after skipping first byte of the sequence ('i' will be incremented by 'for' cycle).
|
|
||||||
uCode = this.defaultCharUnicode.charCodeAt(0);
|
|
||||||
}
|
|
||||||
else if (uCode === GB18030_CODE) {
|
|
||||||
var curSeq = (seqStart >= 0) ? buf.slice(seqStart, i+1) : prevBuf.slice(seqStart + prevBufOffset, i+1 + prevBufOffset);
|
|
||||||
var ptr = (curSeq[0]-0x81)*12600 + (curSeq[1]-0x30)*1260 + (curSeq[2]-0x81)*10 + (curSeq[3]-0x30);
|
|
||||||
var idx = findIdx(this.gb18030.gbChars, ptr);
|
|
||||||
uCode = this.gb18030.uChars[idx] + ptr - this.gb18030.gbChars[idx];
|
|
||||||
}
|
|
||||||
else if (uCode <= NODE_START) { // Go to next trie node.
|
|
||||||
nodeIdx = NODE_START - uCode;
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
else if (uCode <= SEQ_START) { // Output a sequence of chars.
|
|
||||||
var seq = this.decodeTableSeq[SEQ_START - uCode];
|
|
||||||
for (var k = 0; k < seq.length - 1; k++) {
|
|
||||||
uCode = seq[k];
|
|
||||||
newBuf[j++] = uCode & 0xFF;
|
|
||||||
newBuf[j++] = uCode >> 8;
|
|
||||||
}
|
|
||||||
uCode = seq[seq.length-1];
|
|
||||||
}
|
|
||||||
else
|
|
||||||
throw new Error("iconv-lite internal error: invalid decoding table value " + uCode + " at " + nodeIdx + "/" + curByte);
|
|
||||||
|
|
||||||
// Write the character to buffer, handling higher planes using surrogate pair.
|
|
||||||
if (uCode > 0xFFFF) {
|
|
||||||
uCode -= 0x10000;
|
|
||||||
var uCodeLead = 0xD800 + Math.floor(uCode / 0x400);
|
|
||||||
newBuf[j++] = uCodeLead & 0xFF;
|
|
||||||
newBuf[j++] = uCodeLead >> 8;
|
|
||||||
|
|
||||||
uCode = 0xDC00 + uCode % 0x400;
|
|
||||||
}
|
|
||||||
newBuf[j++] = uCode & 0xFF;
|
|
||||||
newBuf[j++] = uCode >> 8;
|
|
||||||
|
|
||||||
// Reset trie node.
|
|
||||||
nodeIdx = 0; seqStart = i+1;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.nodeIdx = nodeIdx;
|
|
||||||
this.prevBuf = (seqStart >= 0) ? buf.slice(seqStart) : prevBuf.slice(seqStart + prevBufOffset);
|
|
||||||
return newBuf.slice(0, j).toString('ucs2');
|
|
||||||
}
|
|
||||||
|
|
||||||
DBCSDecoder.prototype.end = function() {
|
|
||||||
var ret = '';
|
|
||||||
|
|
||||||
// Try to parse all remaining chars.
|
|
||||||
while (this.prevBuf.length > 0) {
|
|
||||||
// Skip 1 character in the buffer.
|
|
||||||
ret += this.defaultCharUnicode;
|
|
||||||
var buf = this.prevBuf.slice(1);
|
|
||||||
|
|
||||||
// Parse remaining as usual.
|
|
||||||
this.prevBuf = Buffer.alloc(0);
|
|
||||||
this.nodeIdx = 0;
|
|
||||||
if (buf.length > 0)
|
|
||||||
ret += this.write(buf);
|
|
||||||
}
|
|
||||||
|
|
||||||
this.nodeIdx = 0;
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Binary search for GB18030. Returns largest i such that table[i] <= val.
|
|
||||||
function findIdx(table, val) {
|
|
||||||
if (table[0] > val)
|
|
||||||
return -1;
|
|
||||||
|
|
||||||
var l = 0, r = table.length;
|
|
||||||
while (l < r-1) { // always table[l] <= val < table[r]
|
|
||||||
var mid = l + Math.floor((r-l+1)/2);
|
|
||||||
if (table[mid] <= val)
|
|
||||||
l = mid;
|
|
||||||
else
|
|
||||||
r = mid;
|
|
||||||
}
|
|
||||||
return l;
|
|
||||||
}
|
|
||||||
|
|
||||||
@ -1,176 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
// Description of supported double byte encodings and aliases.
|
|
||||||
// Tables are not require()-d until they are needed to speed up library load.
|
|
||||||
// require()-s are direct to support Browserify.
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
|
|
||||||
// == Japanese/ShiftJIS ====================================================
|
|
||||||
// All japanese encodings are based on JIS X set of standards:
|
|
||||||
// JIS X 0201 - Single-byte encoding of ASCII + ¥ + Kana chars at 0xA1-0xDF.
|
|
||||||
// JIS X 0208 - Main set of 6879 characters, placed in 94x94 plane, to be encoded by 2 bytes.
|
|
||||||
// Has several variations in 1978, 1983, 1990 and 1997.
|
|
||||||
// JIS X 0212 - Supplementary plane of 6067 chars in 94x94 plane. 1990. Effectively dead.
|
|
||||||
// JIS X 0213 - Extension and modern replacement of 0208 and 0212. Total chars: 11233.
|
|
||||||
// 2 planes, first is superset of 0208, second - revised 0212.
|
|
||||||
// Introduced in 2000, revised 2004. Some characters are in Unicode Plane 2 (0x2xxxx)
|
|
||||||
|
|
||||||
// Byte encodings are:
|
|
||||||
// * Shift_JIS: Compatible with 0201, uses not defined chars in top half as lead bytes for double-byte
|
|
||||||
// encoding of 0208. Lead byte ranges: 0x81-0x9F, 0xE0-0xEF; Trail byte ranges: 0x40-0x7E, 0x80-0x9E, 0x9F-0xFC.
|
|
||||||
// Windows CP932 is a superset of Shift_JIS. Some companies added more chars, notably KDDI.
|
|
||||||
// * EUC-JP: Up to 3 bytes per character. Used mostly on *nixes.
|
|
||||||
// 0x00-0x7F - lower part of 0201
|
|
||||||
// 0x8E, 0xA1-0xDF - upper part of 0201
|
|
||||||
// (0xA1-0xFE)x2 - 0208 plane (94x94).
|
|
||||||
// 0x8F, (0xA1-0xFE)x2 - 0212 plane (94x94).
|
|
||||||
// * JIS X 208: 7-bit, direct encoding of 0208. Byte ranges: 0x21-0x7E (94 values). Uncommon.
|
|
||||||
// Used as-is in ISO2022 family.
|
|
||||||
// * ISO2022-JP: Stateful encoding, with escape sequences to switch between ASCII,
|
|
||||||
// 0201-1976 Roman, 0208-1978, 0208-1983.
|
|
||||||
// * ISO2022-JP-1: Adds esc seq for 0212-1990.
|
|
||||||
// * ISO2022-JP-2: Adds esc seq for GB2313-1980, KSX1001-1992, ISO8859-1, ISO8859-7.
|
|
||||||
// * ISO2022-JP-3: Adds esc seq for 0201-1976 Kana set, 0213-2000 Planes 1, 2.
|
|
||||||
// * ISO2022-JP-2004: Adds 0213-2004 Plane 1.
|
|
||||||
//
|
|
||||||
// After JIS X 0213 appeared, Shift_JIS-2004, EUC-JISX0213 and ISO2022-JP-2004 followed, with just changing the planes.
|
|
||||||
//
|
|
||||||
// Overall, it seems that it's a mess :( http://www8.plala.or.jp/tkubota1/unicode-symbols-map2.html
|
|
||||||
|
|
||||||
'shiftjis': {
|
|
||||||
type: '_dbcs',
|
|
||||||
table: function() { return require('./tables/shiftjis.json') },
|
|
||||||
encodeAdd: {'\u00a5': 0x5C, '\u203E': 0x7E},
|
|
||||||
encodeSkipVals: [{from: 0xED40, to: 0xF940}],
|
|
||||||
},
|
|
||||||
'csshiftjis': 'shiftjis',
|
|
||||||
'mskanji': 'shiftjis',
|
|
||||||
'sjis': 'shiftjis',
|
|
||||||
'windows31j': 'shiftjis',
|
|
||||||
'ms31j': 'shiftjis',
|
|
||||||
'xsjis': 'shiftjis',
|
|
||||||
'windows932': 'shiftjis',
|
|
||||||
'ms932': 'shiftjis',
|
|
||||||
'932': 'shiftjis',
|
|
||||||
'cp932': 'shiftjis',
|
|
||||||
|
|
||||||
'eucjp': {
|
|
||||||
type: '_dbcs',
|
|
||||||
table: function() { return require('./tables/eucjp.json') },
|
|
||||||
encodeAdd: {'\u00a5': 0x5C, '\u203E': 0x7E},
|
|
||||||
},
|
|
||||||
|
|
||||||
// TODO: KDDI extension to Shift_JIS
|
|
||||||
// TODO: IBM CCSID 942 = CP932, but F0-F9 custom chars and other char changes.
|
|
||||||
// TODO: IBM CCSID 943 = Shift_JIS = CP932 with original Shift_JIS lower 128 chars.
|
|
||||||
|
|
||||||
|
|
||||||
// == Chinese/GBK ==========================================================
|
|
||||||
// http://en.wikipedia.org/wiki/GBK
|
|
||||||
// We mostly implement W3C recommendation: https://www.w3.org/TR/encoding/#gbk-encoder
|
|
||||||
|
|
||||||
// Oldest GB2312 (1981, ~7600 chars) is a subset of CP936
|
|
||||||
'gb2312': 'cp936',
|
|
||||||
'gb231280': 'cp936',
|
|
||||||
'gb23121980': 'cp936',
|
|
||||||
'csgb2312': 'cp936',
|
|
||||||
'csiso58gb231280': 'cp936',
|
|
||||||
'euccn': 'cp936',
|
|
||||||
|
|
||||||
// Microsoft's CP936 is a subset and approximation of GBK.
|
|
||||||
'windows936': 'cp936',
|
|
||||||
'ms936': 'cp936',
|
|
||||||
'936': 'cp936',
|
|
||||||
'cp936': {
|
|
||||||
type: '_dbcs',
|
|
||||||
table: function() { return require('./tables/cp936.json') },
|
|
||||||
},
|
|
||||||
|
|
||||||
// GBK (~22000 chars) is an extension of CP936 that added user-mapped chars and some other.
|
|
||||||
'gbk': {
|
|
||||||
type: '_dbcs',
|
|
||||||
table: function() { return require('./tables/cp936.json').concat(require('./tables/gbk-added.json')) },
|
|
||||||
},
|
|
||||||
'xgbk': 'gbk',
|
|
||||||
'isoir58': 'gbk',
|
|
||||||
|
|
||||||
// GB18030 is an algorithmic extension of GBK.
|
|
||||||
// Main source: https://www.w3.org/TR/encoding/#gbk-encoder
|
|
||||||
// http://icu-project.org/docs/papers/gb18030.html
|
|
||||||
// http://source.icu-project.org/repos/icu/data/trunk/charset/data/xml/gb-18030-2000.xml
|
|
||||||
// http://www.khngai.com/chinese/charmap/tblgbk.php?page=0
|
|
||||||
'gb18030': {
|
|
||||||
type: '_dbcs',
|
|
||||||
table: function() { return require('./tables/cp936.json').concat(require('./tables/gbk-added.json')) },
|
|
||||||
gb18030: function() { return require('./tables/gb18030-ranges.json') },
|
|
||||||
encodeSkipVals: [0x80],
|
|
||||||
encodeAdd: {'€': 0xA2E3},
|
|
||||||
},
|
|
||||||
|
|
||||||
'chinese': 'gb18030',
|
|
||||||
|
|
||||||
|
|
||||||
// == Korean ===============================================================
|
|
||||||
// EUC-KR, KS_C_5601 and KS X 1001 are exactly the same.
|
|
||||||
'windows949': 'cp949',
|
|
||||||
'ms949': 'cp949',
|
|
||||||
'949': 'cp949',
|
|
||||||
'cp949': {
|
|
||||||
type: '_dbcs',
|
|
||||||
table: function() { return require('./tables/cp949.json') },
|
|
||||||
},
|
|
||||||
|
|
||||||
'cseuckr': 'cp949',
|
|
||||||
'csksc56011987': 'cp949',
|
|
||||||
'euckr': 'cp949',
|
|
||||||
'isoir149': 'cp949',
|
|
||||||
'korean': 'cp949',
|
|
||||||
'ksc56011987': 'cp949',
|
|
||||||
'ksc56011989': 'cp949',
|
|
||||||
'ksc5601': 'cp949',
|
|
||||||
|
|
||||||
|
|
||||||
// == Big5/Taiwan/Hong Kong ================================================
|
|
||||||
// There are lots of tables for Big5 and cp950. Please see the following links for history:
|
|
||||||
// http://moztw.org/docs/big5/ http://www.haible.de/bruno/charsets/conversion-tables/Big5.html
|
|
||||||
// Variations, in roughly number of defined chars:
|
|
||||||
// * Windows CP 950: Microsoft variant of Big5. Canonical: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP950.TXT
|
|
||||||
// * Windows CP 951: Microsoft variant of Big5-HKSCS-2001. Seems to be never public. http://me.abelcheung.org/articles/research/what-is-cp951/
|
|
||||||
// * Big5-2003 (Taiwan standard) almost superset of cp950.
|
|
||||||
// * Unicode-at-on (UAO) / Mozilla 1.8. Falling out of use on the Web. Not supported by other browsers.
|
|
||||||
// * Big5-HKSCS (-2001, -2004, -2008). Hong Kong standard.
|
|
||||||
// many unicode code points moved from PUA to Supplementary plane (U+2XXXX) over the years.
|
|
||||||
// Plus, it has 4 combining sequences.
|
|
||||||
// Seems that Mozilla refused to support it for 10 yrs. https://bugzilla.mozilla.org/show_bug.cgi?id=162431 https://bugzilla.mozilla.org/show_bug.cgi?id=310299
|
|
||||||
// because big5-hkscs is the only encoding to include astral characters in non-algorithmic way.
|
|
||||||
// Implementations are not consistent within browsers; sometimes labeled as just big5.
|
|
||||||
// MS Internet Explorer switches from big5 to big5-hkscs when a patch applied.
|
|
||||||
// Great discussion & recap of what's going on https://bugzilla.mozilla.org/show_bug.cgi?id=912470#c31
|
|
||||||
// In the encoder, it might make sense to support encoding old PUA mappings to Big5 bytes seq-s.
|
|
||||||
// Official spec: http://www.ogcio.gov.hk/en/business/tech_promotion/ccli/terms/doc/2003cmp_2008.txt
|
|
||||||
// http://www.ogcio.gov.hk/tc/business/tech_promotion/ccli/terms/doc/hkscs-2008-big5-iso.txt
|
|
||||||
//
|
|
||||||
// Current understanding of how to deal with Big5(-HKSCS) is in the Encoding Standard, http://encoding.spec.whatwg.org/#big5-encoder
|
|
||||||
// Unicode mapping (http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT) is said to be wrong.
|
|
||||||
|
|
||||||
'windows950': 'cp950',
|
|
||||||
'ms950': 'cp950',
|
|
||||||
'950': 'cp950',
|
|
||||||
'cp950': {
|
|
||||||
type: '_dbcs',
|
|
||||||
table: function() { return require('./tables/cp950.json') },
|
|
||||||
},
|
|
||||||
|
|
||||||
// Big5 has many variations and is an extension of cp950. We use Encoding Standard's as a consensus.
|
|
||||||
'big5': 'big5hkscs',
|
|
||||||
'big5hkscs': {
|
|
||||||
type: '_dbcs',
|
|
||||||
table: function() { return require('./tables/cp950.json').concat(require('./tables/big5-added.json')) },
|
|
||||||
encodeSkipVals: [0xa2cc],
|
|
||||||
},
|
|
||||||
|
|
||||||
'cnbig5': 'big5hkscs',
|
|
||||||
'csbig5': 'big5hkscs',
|
|
||||||
'xxbig5': 'big5hkscs',
|
|
||||||
};
|
|
||||||
@ -1,22 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
// Update this array if you add/rename/remove files in this directory.
|
|
||||||
// We support Browserify by skipping automatic module discovery and requiring modules directly.
|
|
||||||
var modules = [
|
|
||||||
require("./internal"),
|
|
||||||
require("./utf16"),
|
|
||||||
require("./utf7"),
|
|
||||||
require("./sbcs-codec"),
|
|
||||||
require("./sbcs-data"),
|
|
||||||
require("./sbcs-data-generated"),
|
|
||||||
require("./dbcs-codec"),
|
|
||||||
require("./dbcs-data"),
|
|
||||||
];
|
|
||||||
|
|
||||||
// Put all encoding/alias/codec definitions to single object and export it.
|
|
||||||
for (var i = 0; i < modules.length; i++) {
|
|
||||||
var module = modules[i];
|
|
||||||
for (var enc in module)
|
|
||||||
if (Object.prototype.hasOwnProperty.call(module, enc))
|
|
||||||
exports[enc] = module[enc];
|
|
||||||
}
|
|
||||||
@ -1,188 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var Buffer = require("safer-buffer").Buffer;
|
|
||||||
|
|
||||||
// Export Node.js internal encodings.
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
// Encodings
|
|
||||||
utf8: { type: "_internal", bomAware: true},
|
|
||||||
cesu8: { type: "_internal", bomAware: true},
|
|
||||||
unicode11utf8: "utf8",
|
|
||||||
|
|
||||||
ucs2: { type: "_internal", bomAware: true},
|
|
||||||
utf16le: "ucs2",
|
|
||||||
|
|
||||||
binary: { type: "_internal" },
|
|
||||||
base64: { type: "_internal" },
|
|
||||||
hex: { type: "_internal" },
|
|
||||||
|
|
||||||
// Codec.
|
|
||||||
_internal: InternalCodec,
|
|
||||||
};
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
function InternalCodec(codecOptions, iconv) {
|
|
||||||
this.enc = codecOptions.encodingName;
|
|
||||||
this.bomAware = codecOptions.bomAware;
|
|
||||||
|
|
||||||
if (this.enc === "base64")
|
|
||||||
this.encoder = InternalEncoderBase64;
|
|
||||||
else if (this.enc === "cesu8") {
|
|
||||||
this.enc = "utf8"; // Use utf8 for decoding.
|
|
||||||
this.encoder = InternalEncoderCesu8;
|
|
||||||
|
|
||||||
// Add decoder for versions of Node not supporting CESU-8
|
|
||||||
if (Buffer.from('eda0bdedb2a9', 'hex').toString() !== '💩') {
|
|
||||||
this.decoder = InternalDecoderCesu8;
|
|
||||||
this.defaultCharUnicode = iconv.defaultCharUnicode;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
InternalCodec.prototype.encoder = InternalEncoder;
|
|
||||||
InternalCodec.prototype.decoder = InternalDecoder;
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
// We use node.js internal decoder. Its signature is the same as ours.
|
|
||||||
var StringDecoder = require('string_decoder').StringDecoder;
|
|
||||||
|
|
||||||
if (!StringDecoder.prototype.end) // Node v0.8 doesn't have this method.
|
|
||||||
StringDecoder.prototype.end = function() {};
|
|
||||||
|
|
||||||
|
|
||||||
function InternalDecoder(options, codec) {
|
|
||||||
StringDecoder.call(this, codec.enc);
|
|
||||||
}
|
|
||||||
|
|
||||||
InternalDecoder.prototype = StringDecoder.prototype;
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Encoder is mostly trivial
|
|
||||||
|
|
||||||
function InternalEncoder(options, codec) {
|
|
||||||
this.enc = codec.enc;
|
|
||||||
}
|
|
||||||
|
|
||||||
InternalEncoder.prototype.write = function(str) {
|
|
||||||
return Buffer.from(str, this.enc);
|
|
||||||
}
|
|
||||||
|
|
||||||
InternalEncoder.prototype.end = function() {
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// Except base64 encoder, which must keep its state.
|
|
||||||
|
|
||||||
function InternalEncoderBase64(options, codec) {
|
|
||||||
this.prevStr = '';
|
|
||||||
}
|
|
||||||
|
|
||||||
InternalEncoderBase64.prototype.write = function(str) {
|
|
||||||
str = this.prevStr + str;
|
|
||||||
var completeQuads = str.length - (str.length % 4);
|
|
||||||
this.prevStr = str.slice(completeQuads);
|
|
||||||
str = str.slice(0, completeQuads);
|
|
||||||
|
|
||||||
return Buffer.from(str, "base64");
|
|
||||||
}
|
|
||||||
|
|
||||||
InternalEncoderBase64.prototype.end = function() {
|
|
||||||
return Buffer.from(this.prevStr, "base64");
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// CESU-8 encoder is also special.
|
|
||||||
|
|
||||||
function InternalEncoderCesu8(options, codec) {
|
|
||||||
}
|
|
||||||
|
|
||||||
InternalEncoderCesu8.prototype.write = function(str) {
|
|
||||||
var buf = Buffer.alloc(str.length * 3), bufIdx = 0;
|
|
||||||
for (var i = 0; i < str.length; i++) {
|
|
||||||
var charCode = str.charCodeAt(i);
|
|
||||||
// Naive implementation, but it works because CESU-8 is especially easy
|
|
||||||
// to convert from UTF-16 (which all JS strings are encoded in).
|
|
||||||
if (charCode < 0x80)
|
|
||||||
buf[bufIdx++] = charCode;
|
|
||||||
else if (charCode < 0x800) {
|
|
||||||
buf[bufIdx++] = 0xC0 + (charCode >>> 6);
|
|
||||||
buf[bufIdx++] = 0x80 + (charCode & 0x3f);
|
|
||||||
}
|
|
||||||
else { // charCode will always be < 0x10000 in javascript.
|
|
||||||
buf[bufIdx++] = 0xE0 + (charCode >>> 12);
|
|
||||||
buf[bufIdx++] = 0x80 + ((charCode >>> 6) & 0x3f);
|
|
||||||
buf[bufIdx++] = 0x80 + (charCode & 0x3f);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return buf.slice(0, bufIdx);
|
|
||||||
}
|
|
||||||
|
|
||||||
InternalEncoderCesu8.prototype.end = function() {
|
|
||||||
}
|
|
||||||
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
// CESU-8 decoder is not implemented in Node v4.0+
|
|
||||||
|
|
||||||
function InternalDecoderCesu8(options, codec) {
|
|
||||||
this.acc = 0;
|
|
||||||
this.contBytes = 0;
|
|
||||||
this.accBytes = 0;
|
|
||||||
this.defaultCharUnicode = codec.defaultCharUnicode;
|
|
||||||
}
|
|
||||||
|
|
||||||
InternalDecoderCesu8.prototype.write = function(buf) {
|
|
||||||
var acc = this.acc, contBytes = this.contBytes, accBytes = this.accBytes,
|
|
||||||
res = '';
|
|
||||||
for (var i = 0; i < buf.length; i++) {
|
|
||||||
var curByte = buf[i];
|
|
||||||
if ((curByte & 0xC0) !== 0x80) { // Leading byte
|
|
||||||
if (contBytes > 0) { // Previous code is invalid
|
|
||||||
res += this.defaultCharUnicode;
|
|
||||||
contBytes = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (curByte < 0x80) { // Single-byte code
|
|
||||||
res += String.fromCharCode(curByte);
|
|
||||||
} else if (curByte < 0xE0) { // Two-byte code
|
|
||||||
acc = curByte & 0x1F;
|
|
||||||
contBytes = 1; accBytes = 1;
|
|
||||||
} else if (curByte < 0xF0) { // Three-byte code
|
|
||||||
acc = curByte & 0x0F;
|
|
||||||
contBytes = 2; accBytes = 1;
|
|
||||||
} else { // Four or more are not supported for CESU-8.
|
|
||||||
res += this.defaultCharUnicode;
|
|
||||||
}
|
|
||||||
} else { // Continuation byte
|
|
||||||
if (contBytes > 0) { // We're waiting for it.
|
|
||||||
acc = (acc << 6) | (curByte & 0x3f);
|
|
||||||
contBytes--; accBytes++;
|
|
||||||
if (contBytes === 0) {
|
|
||||||
// Check for overlong encoding, but support Modified UTF-8 (encoding NULL as C0 80)
|
|
||||||
if (accBytes === 2 && acc < 0x80 && acc > 0)
|
|
||||||
res += this.defaultCharUnicode;
|
|
||||||
else if (accBytes === 3 && acc < 0x800)
|
|
||||||
res += this.defaultCharUnicode;
|
|
||||||
else
|
|
||||||
// Actually add character.
|
|
||||||
res += String.fromCharCode(acc);
|
|
||||||
}
|
|
||||||
} else { // Unexpected continuation byte
|
|
||||||
res += this.defaultCharUnicode;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
this.acc = acc; this.contBytes = contBytes; this.accBytes = accBytes;
|
|
||||||
return res;
|
|
||||||
}
|
|
||||||
|
|
||||||
InternalDecoderCesu8.prototype.end = function() {
|
|
||||||
var res = 0;
|
|
||||||
if (this.contBytes > 0)
|
|
||||||
res += this.defaultCharUnicode;
|
|
||||||
return res;
|
|
||||||
}
|
|
||||||
@ -1,72 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
var Buffer = require("safer-buffer").Buffer;
|
|
||||||
|
|
||||||
// Single-byte codec. Needs a 'chars' string parameter that contains 256 or 128 chars that
|
|
||||||
// correspond to encoded bytes (if 128 - then lower half is ASCII).
|
|
||||||
|
|
||||||
exports._sbcs = SBCSCodec;
|
|
||||||
function SBCSCodec(codecOptions, iconv) {
|
|
||||||
if (!codecOptions)
|
|
||||||
throw new Error("SBCS codec is called without the data.")
|
|
||||||
|
|
||||||
// Prepare char buffer for decoding.
|
|
||||||
if (!codecOptions.chars || (codecOptions.chars.length !== 128 && codecOptions.chars.length !== 256))
|
|
||||||
throw new Error("Encoding '"+codecOptions.type+"' has incorrect 'chars' (must be of len 128 or 256)");
|
|
||||||
|
|
||||||
if (codecOptions.chars.length === 128) {
|
|
||||||
var asciiString = "";
|
|
||||||
for (var i = 0; i < 128; i++)
|
|
||||||
asciiString += String.fromCharCode(i);
|
|
||||||
codecOptions.chars = asciiString + codecOptions.chars;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.decodeBuf = Buffer.from(codecOptions.chars, 'ucs2');
|
|
||||||
|
|
||||||
// Encoding buffer.
|
|
||||||
var encodeBuf = Buffer.alloc(65536, iconv.defaultCharSingleByte.charCodeAt(0));
|
|
||||||
|
|
||||||
for (var i = 0; i < codecOptions.chars.length; i++)
|
|
||||||
encodeBuf[codecOptions.chars.charCodeAt(i)] = i;
|
|
||||||
|
|
||||||
this.encodeBuf = encodeBuf;
|
|
||||||
}
|
|
||||||
|
|
||||||
SBCSCodec.prototype.encoder = SBCSEncoder;
|
|
||||||
SBCSCodec.prototype.decoder = SBCSDecoder;
|
|
||||||
|
|
||||||
|
|
||||||
function SBCSEncoder(options, codec) {
|
|
||||||
this.encodeBuf = codec.encodeBuf;
|
|
||||||
}
|
|
||||||
|
|
||||||
SBCSEncoder.prototype.write = function(str) {
|
|
||||||
var buf = Buffer.alloc(str.length);
|
|
||||||
for (var i = 0; i < str.length; i++)
|
|
||||||
buf[i] = this.encodeBuf[str.charCodeAt(i)];
|
|
||||||
|
|
||||||
return buf;
|
|
||||||
}
|
|
||||||
|
|
||||||
SBCSEncoder.prototype.end = function() {
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function SBCSDecoder(options, codec) {
|
|
||||||
this.decodeBuf = codec.decodeBuf;
|
|
||||||
}
|
|
||||||
|
|
||||||
SBCSDecoder.prototype.write = function(buf) {
|
|
||||||
// Strings are immutable in JS -> we use ucs2 buffer to speed up computations.
|
|
||||||
var decodeBuf = this.decodeBuf;
|
|
||||||
var newBuf = Buffer.alloc(buf.length*2);
|
|
||||||
var idx1 = 0, idx2 = 0;
|
|
||||||
for (var i = 0; i < buf.length; i++) {
|
|
||||||
idx1 = buf[i]*2; idx2 = i*2;
|
|
||||||
newBuf[idx2] = decodeBuf[idx1];
|
|
||||||
newBuf[idx2+1] = decodeBuf[idx1+1];
|
|
||||||
}
|
|
||||||
return newBuf.toString('ucs2');
|
|
||||||
}
|
|
||||||
|
|
||||||
SBCSDecoder.prototype.end = function() {
|
|
||||||
}
|
|
||||||
@ -1,451 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
// Generated data for sbcs codec. Don't edit manually. Regenerate using generation/gen-sbcs.js script.
|
|
||||||
module.exports = {
|
|
||||||
"437": "cp437",
|
|
||||||
"737": "cp737",
|
|
||||||
"775": "cp775",
|
|
||||||
"850": "cp850",
|
|
||||||
"852": "cp852",
|
|
||||||
"855": "cp855",
|
|
||||||
"856": "cp856",
|
|
||||||
"857": "cp857",
|
|
||||||
"858": "cp858",
|
|
||||||
"860": "cp860",
|
|
||||||
"861": "cp861",
|
|
||||||
"862": "cp862",
|
|
||||||
"863": "cp863",
|
|
||||||
"864": "cp864",
|
|
||||||
"865": "cp865",
|
|
||||||
"866": "cp866",
|
|
||||||
"869": "cp869",
|
|
||||||
"874": "windows874",
|
|
||||||
"922": "cp922",
|
|
||||||
"1046": "cp1046",
|
|
||||||
"1124": "cp1124",
|
|
||||||
"1125": "cp1125",
|
|
||||||
"1129": "cp1129",
|
|
||||||
"1133": "cp1133",
|
|
||||||
"1161": "cp1161",
|
|
||||||
"1162": "cp1162",
|
|
||||||
"1163": "cp1163",
|
|
||||||
"1250": "windows1250",
|
|
||||||
"1251": "windows1251",
|
|
||||||
"1252": "windows1252",
|
|
||||||
"1253": "windows1253",
|
|
||||||
"1254": "windows1254",
|
|
||||||
"1255": "windows1255",
|
|
||||||
"1256": "windows1256",
|
|
||||||
"1257": "windows1257",
|
|
||||||
"1258": "windows1258",
|
|
||||||
"28591": "iso88591",
|
|
||||||
"28592": "iso88592",
|
|
||||||
"28593": "iso88593",
|
|
||||||
"28594": "iso88594",
|
|
||||||
"28595": "iso88595",
|
|
||||||
"28596": "iso88596",
|
|
||||||
"28597": "iso88597",
|
|
||||||
"28598": "iso88598",
|
|
||||||
"28599": "iso88599",
|
|
||||||
"28600": "iso885910",
|
|
||||||
"28601": "iso885911",
|
|
||||||
"28603": "iso885913",
|
|
||||||
"28604": "iso885914",
|
|
||||||
"28605": "iso885915",
|
|
||||||
"28606": "iso885916",
|
|
||||||
"windows874": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "€<><E282AC><EFBFBD><EFBFBD>…<EFBFBD><E280A6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>‘’“”•–—<E28093><E28094><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู<E0B8B9><E0B8BA><EFBFBD><EFBFBD>฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛<E0B99A><E0B99B><EFBFBD><EFBFBD>"
|
|
||||||
},
|
|
||||||
"win874": "windows874",
|
|
||||||
"cp874": "windows874",
|
|
||||||
"windows1250": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "€<>‚<EFBFBD>„…†‡<E280A0>‰Š‹ŚŤŽŹ<C5BD>‘’“”•–—<E28093>™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"
|
|
||||||
},
|
|
||||||
"win1250": "windows1250",
|
|
||||||
"cp1250": "windows1250",
|
|
||||||
"windows1251": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—<E28093>™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"
|
|
||||||
},
|
|
||||||
"win1251": "windows1251",
|
|
||||||
"cp1251": "windows1251",
|
|
||||||
"windows1252": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "€<>‚ƒ„…†‡ˆ‰Š‹Œ<E280B9>Ž<EFBFBD><C5BD>‘’“”•–—˜™š›œ<E280BA>žŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
|
|
||||||
},
|
|
||||||
"win1252": "windows1252",
|
|
||||||
"cp1252": "windows1252",
|
|
||||||
"windows1253": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "€<>‚ƒ„…†‡<E280A0>‰<EFBFBD>‹<EFBFBD><E280B9><EFBFBD><EFBFBD><EFBFBD>‘’“”•–—<E28093>™<EFBFBD>›<EFBFBD><E280BA><EFBFBD><EFBFBD> ΅Ά£¤¥¦§¨©<C2A8>«¬®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ<CEA0>ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ<CF8D>"
|
|
||||||
},
|
|
||||||
"win1253": "windows1253",
|
|
||||||
"cp1253": "windows1253",
|
|
||||||
"windows1254": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "€<>‚ƒ„…†‡ˆ‰Š‹Œ<E280B9><C592><EFBFBD><EFBFBD>‘’“”•–—˜™š›œ<E280BA><C593>Ÿ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"
|
|
||||||
},
|
|
||||||
"win1254": "windows1254",
|
|
||||||
"cp1254": "windows1254",
|
|
||||||
"windows1255": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "€<>‚ƒ„…†‡ˆ‰<CB86>‹<EFBFBD><E280B9><EFBFBD><EFBFBD><EFBFBD>‘’“”•–—˜™<CB9C>›<EFBFBD><E280BA><EFBFBD><EFBFBD> ¡¢£₪¥¦§¨©×«¬®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״<D7B3><D7B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>אבגדהוזחטיךכלםמןנסעףפץצקרשת<D7A9><D7AA><E2808E>"
|
|
||||||
},
|
|
||||||
"win1255": "windows1255",
|
|
||||||
"cp1255": "windows1255",
|
|
||||||
"windows1256": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œں ،¢£¤¥¦§¨©ھ«¬®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûüے"
|
|
||||||
},
|
|
||||||
"win1256": "windows1256",
|
|
||||||
"cp1256": "windows1256",
|
|
||||||
"windows1257": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "€<>‚<EFBFBD>„…†‡<E280A0>‰<EFBFBD>‹<EFBFBD>¨ˇ¸<CB87>‘’“”•–—<E28093>™<EFBFBD>›<EFBFBD>¯˛<C2AF> <EFBFBD>¢£¤<C2A3>¦§Ø©Ŗ«¬®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙"
|
|
||||||
},
|
|
||||||
"win1257": "windows1257",
|
|
||||||
"cp1257": "windows1257",
|
|
||||||
"windows1258": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "€<>‚ƒ„…†‡ˆ‰<CB86>‹Œ<E280B9><C592><EFBFBD><EFBFBD>‘’“”•–—˜™<CB9C>›œ<E280BA><C593>Ÿ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"
|
|
||||||
},
|
|
||||||
"win1258": "windows1258",
|
|
||||||
"cp1258": "windows1258",
|
|
||||||
"iso88591": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
|
|
||||||
},
|
|
||||||
"cp28591": "iso88591",
|
|
||||||
"iso88592": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
Ą˘Ł¤ĽŚ§¨ŠŞŤŹŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙"
|
|
||||||
},
|
|
||||||
"cp28592": "iso88592",
|
|
||||||
"iso88593": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
Ħ˘£¤<C2A3>Ĥ§¨İŞĞĴ<C4B4>ݰħ²³´µĥ·¸ışğĵ½<C4B5>żÀÁÂ<C381>ÄĊĈÇÈÉÊËÌÍÎÏ<C38E>ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ<C3A1>äċĉçèéêëìíîï<C3AE>ñòóôġö÷ĝùúûüŭŝ˙"
|
|
||||||
},
|
|
||||||
"cp28593": "iso88593",
|
|
||||||
"iso88594": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
ĄĸŖ¤Ĩϧ¨ŠĒĢŦޝ°ą˛ŗ´ĩšēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖרŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙"
|
|
||||||
},
|
|
||||||
"cp28594": "iso88594",
|
|
||||||
"iso88595": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
ЁЂЃЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ"
|
|
||||||
},
|
|
||||||
"cp28595": "iso88595",
|
|
||||||
"iso88596": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
<C29F><C2A0><EFBFBD>¤<EFBFBD><C2A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>،<D88C><C2AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>؛<EFBFBD><D89B><EFBFBD>؟<EFBFBD>ءآأؤإئابةتثجحخدذرزسشصضطظعغ<D8B9><D8BA><EFBFBD><EFBFBD><EFBFBD>ـفقكلمنهوىيًٌٍَُِّْ<D991><D992><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
||||||
},
|
|
||||||
"cp28596": "iso88596",
|
|
||||||
"iso88597": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
‘’£€₯¦§¨©ͺ«¬<C2AC>―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ<CEA0>ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ<CF8D>"
|
|
||||||
},
|
|
||||||
"cp28597": "iso88597",
|
|
||||||
"iso88598": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
<C29F>¢£¤¥¦§¨©×«¬®¯°±²³´µ¶·¸¹÷»¼½¾<C2BD><C2BE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>‗אבגדהוזחטיךכלםמןנסעףפץצקרשת<D7A9><D7AA><E2808E>"
|
|
||||||
},
|
|
||||||
"cp28598": "iso88598",
|
|
||||||
"iso88599": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖרÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ"
|
|
||||||
},
|
|
||||||
"cp28599": "iso88599",
|
|
||||||
"iso885910": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
ĄĒĢĪĨͧĻĐŠŦŽŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ"
|
|
||||||
},
|
|
||||||
"cp28600": "iso885910",
|
|
||||||
"iso885911": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู<E0B8B9><E0B8BA><EFBFBD><EFBFBD>฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛<E0B99A><E0B99B><EFBFBD><EFBFBD>"
|
|
||||||
},
|
|
||||||
"cp28601": "iso885911",
|
|
||||||
"iso885913": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
”¢£¤„¦§Ø©Ŗ«¬®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’"
|
|
||||||
},
|
|
||||||
"cp28603": "iso885913",
|
|
||||||
"iso885914": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ"
|
|
||||||
},
|
|
||||||
"cp28604": "iso885914",
|
|
||||||
"iso885915": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
¡¢£€¥Š§š©ª«¬®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖרÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
|
|
||||||
},
|
|
||||||
"cp28605": "iso885915",
|
|
||||||
"iso885916": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
ĄąŁ€„Чš©Ș«ŹźŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ"
|
|
||||||
},
|
|
||||||
"cp28606": "iso885916",
|
|
||||||
"cp437": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
|
|
||||||
},
|
|
||||||
"ibm437": "cp437",
|
|
||||||
"csibm437": "cp437",
|
|
||||||
"cp737": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ "
|
|
||||||
},
|
|
||||||
"ibm737": "cp737",
|
|
||||||
"csibm737": "cp737",
|
|
||||||
"cp775": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£Ø×¤ĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’±“¾¶§÷„°∙·¹³²■ "
|
|
||||||
},
|
|
||||||
"ibm775": "cp775",
|
|
||||||
"csibm775": "cp775",
|
|
||||||
"cp850": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´±‗¾¶§÷¸°¨·¹³²■ "
|
|
||||||
},
|
|
||||||
"ibm850": "cp850",
|
|
||||||
"csibm850": "cp850",
|
|
||||||
"cp852": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´˝˛ˇ˘§÷¸°¨˙űŘř■ "
|
|
||||||
},
|
|
||||||
"ibm852": "cp852",
|
|
||||||
"csibm852": "cp852",
|
|
||||||
"cp855": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№ыЫзЗшШэЭщЩчЧ§■ "
|
|
||||||
},
|
|
||||||
"ibm855": "cp855",
|
|
||||||
"csibm855": "cp855",
|
|
||||||
"cp856": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "אבגדהוזחטיךכלםמןנסעףפץצקרשת<D7A9>£<EFBFBD>×<EFBFBD><C397><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>®¬½¼<C2BD>«»░▒▓│┤<E29482><E294A4><EFBFBD>©╣║╗╝¢¥┐└┴┬├─┼<E29480><E294BC>╚╔╩╦╠═╬¤<E295AC><C2A4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>┘┌█▄¦<E29684>▀<EFBFBD><E29680><EFBFBD><EFBFBD><EFBFBD><EFBFBD>µ<EFBFBD><C2B5><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¯´±‗¾¶§÷¸°¨·¹³²■ "
|
|
||||||
},
|
|
||||||
"ibm856": "cp856",
|
|
||||||
"csibm856": "cp856",
|
|
||||||
"cp857": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ<C38B>ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ<C395>×ÚÛÙìÿ¯´±<C2AD>¾¶§÷¸°¨·¹³²■ "
|
|
||||||
},
|
|
||||||
"ibm857": "cp857",
|
|
||||||
"csibm857": "cp857",
|
|
||||||
"cp858": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´±‗¾¶§÷¸°¨·¹³²■ "
|
|
||||||
},
|
|
||||||
"ibm858": "cp858",
|
|
||||||
"csibm858": "cp858",
|
|
||||||
"cp860": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
|
|
||||||
},
|
|
||||||
"ibm860": "cp860",
|
|
||||||
"csibm860": "cp860",
|
|
||||||
"cp861": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
|
|
||||||
},
|
|
||||||
"ibm861": "cp861",
|
|
||||||
"csibm861": "cp861",
|
|
||||||
"cp862": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
|
|
||||||
},
|
|
||||||
"ibm862": "cp862",
|
|
||||||
"csibm862": "cp862",
|
|
||||||
"cp863": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
|
|
||||||
},
|
|
||||||
"ibm863": "cp863",
|
|
||||||
"csibm863": "cp863",
|
|
||||||
"cp864": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ<EFBBB7><EFBBB8>ﻻﻼ<EFBBBB> ﺂ£¤ﺄ<C2A4><EFBA84>ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■<EFBBB1>"
|
|
||||||
},
|
|
||||||
"ibm864": "cp864",
|
|
||||||
"csibm864": "cp864",
|
|
||||||
"cp865": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
|
|
||||||
},
|
|
||||||
"ibm865": "cp865",
|
|
||||||
"csibm865": "cp865",
|
|
||||||
"cp866": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ "
|
|
||||||
},
|
|
||||||
"ibm866": "cp866",
|
|
||||||
"csibm866": "cp866",
|
|
||||||
"cp869": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ά<EFBFBD>·¬¦‘’Έ―ΉΊΪΌ<CEAA><CE8C>ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄±υφχ§ψ΅°¨ωϋΰώ■ "
|
|
||||||
},
|
|
||||||
"ibm869": "cp869",
|
|
||||||
"csibm869": "cp869",
|
|
||||||
"cp922": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
¡¢£¤¥¦§¨©ª«¬®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖרÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ"
|
|
||||||
},
|
|
||||||
"ibm922": "cp922",
|
|
||||||
"csibm922": "cp922",
|
|
||||||
"cp1046": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ﺈ×÷ﹱ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ<EFBBAC>"
|
|
||||||
},
|
|
||||||
"ibm1046": "cp1046",
|
|
||||||
"csibm1046": "cp1046",
|
|
||||||
"cp1124": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
ЁЂҐЄЅІЇЈЉЊЋЌЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ"
|
|
||||||
},
|
|
||||||
"ibm1124": "cp1124",
|
|
||||||
"csibm1124": "cp1124",
|
|
||||||
"cp1125": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ "
|
|
||||||
},
|
|
||||||
"ibm1125": "cp1125",
|
|
||||||
"csibm1125": "cp1125",
|
|
||||||
"cp1129": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
¡¢£¤¥¦§œ©ª«¬®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"
|
|
||||||
},
|
|
||||||
"ibm1129": "cp1129",
|
|
||||||
"csibm1129": "cp1129",
|
|
||||||
"cp1133": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ<E0BAAD><E0BAAE><EFBFBD>ຯະາຳິີຶືຸູຼັົຽ<E0BABB><E0BABD><EFBFBD>ເແໂໃໄ່້໊໋໌ໍໆ<E0BB8D>ໜໝ₭<E0BB9D><E282AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>໐໑໒໓໔໕໖໗໘໙<E0BB98><E0BB99>¢¬¦<C2AC>"
|
|
||||||
},
|
|
||||||
"ibm1133": "cp1133",
|
|
||||||
"csibm1133": "cp1133",
|
|
||||||
"cp1161": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ "
|
|
||||||
},
|
|
||||||
"ibm1161": "cp1161",
|
|
||||||
"csibm1161": "cp1161",
|
|
||||||
"cp1162": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "€…‘’“”•–— กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู<E0B8B9><E0B8BA><EFBFBD><EFBFBD>฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛<E0B99A><E0B99B><EFBFBD><EFBFBD>"
|
|
||||||
},
|
|
||||||
"ibm1162": "cp1162",
|
|
||||||
"csibm1162": "cp1162",
|
|
||||||
"cp1163": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
¡¢£€¥¦§œ©ª«¬®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖרÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ"
|
|
||||||
},
|
|
||||||
"ibm1163": "cp1163",
|
|
||||||
"csibm1163": "cp1163",
|
|
||||||
"maccroatian": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœĐ—“”‘’÷◊<C3B7>©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ"
|
|
||||||
},
|
|
||||||
"maccyrillic": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"
|
|
||||||
},
|
|
||||||
"macgreek": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ<CE90>"
|
|
||||||
},
|
|
||||||
"maciceland": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüݰ¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ<C393>ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"
|
|
||||||
},
|
|
||||||
"macroman": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ<C393>ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"
|
|
||||||
},
|
|
||||||
"macromania": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ<C393>ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"
|
|
||||||
},
|
|
||||||
"macthai": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "«»…“”<E2809D>•‘’<E28098> กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©<C2AE><C2A9><EFBFBD><EFBFBD>"
|
|
||||||
},
|
|
||||||
"macturkish": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ<C393>ÒÚÛÙ<C39B>ˆ˜¯˘˙˚¸˝˛ˇ"
|
|
||||||
},
|
|
||||||
"macukraine": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤"
|
|
||||||
},
|
|
||||||
"koi8r": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"
|
|
||||||
},
|
|
||||||
"koi8u": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"
|
|
||||||
},
|
|
||||||
"koi8ru": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"
|
|
||||||
},
|
|
||||||
"koi8t": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "қғ‚Ғ„…†‡<E280A0>‰ҳ‹ҲҷҶ<D2B7>Қ‘’“”•–—<E28093>™<EFBFBD>›<EFBFBD><E280BA><EFBFBD><EFBFBD><EFBFBD>ӯӮё¤ӣ¦§<C2A6><C2A7><EFBFBD>«¬®<C2AD>°±²Ё<C2B2>Ӣ¶·<C2B6>№<EFBFBD>»<EFBFBD><C2BB><EFBFBD>©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ"
|
|
||||||
},
|
|
||||||
"armscii8": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
<C29F>և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚<D686>"
|
|
||||||
},
|
|
||||||
"rk1048": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—<E28093>™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"
|
|
||||||
},
|
|
||||||
"tcvn": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "\u0000ÚỤ\u0003ỪỬỮ\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010ỨỰỲỶỸÝỴ\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ"
|
|
||||||
},
|
|
||||||
"georgianacademy": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
|
|
||||||
},
|
|
||||||
"georgianps": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "‚ƒ„…†‡ˆ‰Š‹Œ‘’“”•–—˜™š›œŸ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ"
|
|
||||||
},
|
|
||||||
"pt154": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя"
|
|
||||||
},
|
|
||||||
"viscii": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "\u0000\u0001Ẳ\u0003\u0004ẴẪ\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013Ỷ\u0015\u0016\u0017\u0018Ỹ\u001a\u001b\u001c\u001dỴ\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ"
|
|
||||||
},
|
|
||||||
"iso646cn": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}‾<E280BE><7F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
||||||
},
|
|
||||||
"iso646jp": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_`abcdefghijklmnopqrstuvwxyz{|}‾<E280BE><7F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
||||||
},
|
|
||||||
"hproman8": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "
ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±<C2BB>"
|
|
||||||
},
|
|
||||||
"macintosh": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ<C393>ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ"
|
|
||||||
},
|
|
||||||
"ascii": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>"
|
|
||||||
},
|
|
||||||
"tis620": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู<E0B8B9><E0B8BA><EFBFBD><EFBFBD>฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛<E0B99A><E0B99B><EFBFBD><EFBFBD>"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@ -1,174 +0,0 @@
|
|||||||
"use strict";
|
|
||||||
|
|
||||||
// Manually added data to be used by sbcs codec in addition to generated one.
|
|
||||||
|
|
||||||
module.exports = {
|
|
||||||
// Not supported by iconv, not sure why.
|
|
||||||
"10029": "maccenteuro",
|
|
||||||
"maccenteuro": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ"
|
|
||||||
},
|
|
||||||
|
|
||||||
"808": "cp808",
|
|
||||||
"ibm808": "cp808",
|
|
||||||
"cp808": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ "
|
|
||||||
},
|
|
||||||
|
|
||||||
"mik": {
|
|
||||||
"type": "_sbcs",
|
|
||||||
"chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ "
|
|
||||||
},
|
|
||||||
|
|
||||||
// Aliases of generated encodings.
|
|
||||||
"ascii8bit": "ascii",
|
|
||||||
"usascii": "ascii",
|
|
||||||
"ansix34": "ascii",
|
|
||||||
"ansix341968": "ascii",
|
|
||||||
"ansix341986": "ascii",
|
|
||||||
"csascii": "ascii",
|
|
||||||
"cp367": "ascii",
|
|
||||||
"ibm367": "ascii",
|
|
||||||
"isoir6": "ascii",
|
|
||||||
"iso646us": "ascii",
|
|
||||||
"iso646irv": "ascii",
|
|
||||||
"us": "ascii",
|
|
||||||
|
|
||||||
"latin1": "iso88591",
|
|
||||||
"latin2": "iso88592",
|
|
||||||
"latin3": "iso88593",
|
|
||||||
"latin4": "iso88594",
|
|
||||||
"latin5": "iso88599",
|
|
||||||
"latin6": "iso885910",
|
|
||||||
"latin7": "iso885913",
|
|
||||||
"latin8": "iso885914",
|
|
||||||
"latin9": "iso885915",
|
|
||||||
"latin10": "iso885916",
|
|
||||||
|
|
||||||
"csisolatin1": "iso88591",
|
|
||||||
"csisolatin2": "iso88592",
|
|
||||||
"csisolatin3": "iso88593",
|
|
||||||
"csisolatin4": "iso88594",
|
|
||||||
"csisolatincyrillic": "iso88595",
|
|
||||||
"csisolatinarabic": "iso88596",
|
|
||||||
"csisolatingreek" : "iso88597",
|
|
||||||
"csisolatinhebrew": "iso88598",
|
|
||||||
"csisolatin5": "iso88599",
|
|
||||||
"csisolatin6": "iso885910",
|
|
||||||
|
|
||||||
"l1": "iso88591",
|
|
||||||
"l2": "iso88592",
|
|
||||||
"l3": "iso88593",
|
|
||||||
"l4": "iso88594",
|
|
||||||
"l5": "iso88599",
|
|
||||||
"l6": "iso885910",
|
|
||||||
"l7": "iso885913",
|
|
||||||
"l8": "iso885914",
|
|
||||||
"l9": "iso885915",
|
|
||||||
"l10": "iso885916",
|
|
||||||
|
|
||||||
"isoir14": "iso646jp",
|
|
||||||
"isoir57": "iso646cn",
|
|
||||||
"isoir100": "iso88591",
|
|
||||||
"isoir101": "iso88592",
|
|
||||||
"isoir109": "iso88593",
|
|
||||||
"isoir110": "iso88594",
|
|
||||||
"isoir144": "iso88595",
|
|
||||||
"isoir127": "iso88596",
|
|
||||||
"isoir126": "iso88597",
|
|
||||||
"isoir138": "iso88598",
|
|
||||||
"isoir148": "iso88599",
|
|
||||||
"isoir157": "iso885910",
|
|
||||||
"isoir166": "tis620",
|
|
||||||
"isoir179": "iso885913",
|
|
||||||
"isoir199": "iso885914",
|
|
||||||
"isoir203": "iso885915",
|
|
||||||
"isoir226": "iso885916",
|
|
||||||
|
|
||||||
"cp819": "iso88591",
|
|
||||||
"ibm819": "iso88591",
|
|
||||||
|
|
||||||
"cyrillic": "iso88595",
|
|
||||||
|
|
||||||
"arabic": "iso88596",
|
|
||||||
"arabic8": "iso88596",
|
|
||||||
"ecma114": "iso88596",
|
|
||||||
"asmo708": "iso88596",
|
|
||||||
|
|
||||||
"greek" : "iso88597",
|
|
||||||
"greek8" : "iso88597",
|
|
||||||
"ecma118" : "iso88597",
|
|
||||||
"elot928" : "iso88597",
|
|
||||||
|
|
||||||
"hebrew": "iso88598",
|
|
||||||
"hebrew8": "iso88598",
|
|
||||||
|
|
||||||
"turkish": "iso88599",
|
|
||||||
"turkish8": "iso88599",
|
|
||||||
|
|
||||||
"thai": "iso885911",
|
|
||||||
"thai8": "iso885911",
|
|
||||||
|
|
||||||
"celtic": "iso885914",
|
|
||||||
"celtic8": "iso885914",
|
|
||||||
"isoceltic": "iso885914",
|
|
||||||
|
|
||||||
"tis6200": "tis620",
|
|
||||||
"tis62025291": "tis620",
|
|
||||||
"tis62025330": "tis620",
|
|
||||||
|
|
||||||
"10000": "macroman",
|
|
||||||
"10006": "macgreek",
|
|
||||||
"10007": "maccyrillic",
|
|
||||||
"10079": "maciceland",
|
|
||||||
"10081": "macturkish",
|
|
||||||
|
|
||||||
"cspc8codepage437": "cp437",
|
|
||||||
"cspc775baltic": "cp775",
|
|
||||||
"cspc850multilingual": "cp850",
|
|
||||||
"cspcp852": "cp852",
|
|
||||||
"cspc862latinhebrew": "cp862",
|
|
||||||
"cpgr": "cp869",
|
|
||||||
|
|
||||||
"msee": "cp1250",
|
|
||||||
"mscyrl": "cp1251",
|
|
||||||
"msansi": "cp1252",
|
|
||||||
"msgreek": "cp1253",
|
|
||||||
"msturk": "cp1254",
|
|
||||||
"mshebr": "cp1255",
|
|
||||||
"msarab": "cp1256",
|
|
||||||
"winbaltrim": "cp1257",
|
|
||||||
|
|
||||||
"cp20866": "koi8r",
|
|
||||||
"20866": "koi8r",
|
|
||||||
"ibm878": "koi8r",
|
|
||||||
"cskoi8r": "koi8r",
|
|
||||||
|
|
||||||
"cp21866": "koi8u",
|
|
||||||
"21866": "koi8u",
|
|
||||||
"ibm1168": "koi8u",
|
|
||||||
|
|
||||||
"strk10482002": "rk1048",
|
|
||||||
|
|
||||||
"tcvn5712": "tcvn",
|
|
||||||
"tcvn57121": "tcvn",
|
|
||||||
|
|
||||||
"gb198880": "iso646cn",
|
|
||||||
"cn": "iso646cn",
|
|
||||||
|
|
||||||
"csiso14jisc6220ro": "iso646jp",
|
|
||||||
"jisc62201969ro": "iso646jp",
|
|
||||||
"jp": "iso646jp",
|
|
||||||
|
|
||||||
"cshproman8": "hproman8",
|
|
||||||
"r8": "hproman8",
|
|
||||||
"roman8": "hproman8",
|
|
||||||
"xroman8": "hproman8",
|
|
||||||
"ibm1051": "hproman8",
|
|
||||||
|
|
||||||
"mac": "macintosh",
|
|
||||||
"csmacintosh": "macintosh",
|
|
||||||
};
|
|
||||||
|
|
||||||
@ -1,122 +0,0 @@
|
|||||||
[
|
|
||||||
["8740","䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻"],
|
|
||||||
["8767","綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬"],
|
|
||||||
["87a1","𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋"],
|
|
||||||
["8840","㇀",4,"𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒÊ̄ẾÊ̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ"],
|
|
||||||
["88a1","ǜüê̄ếê̌ềêɡ⏚⏛"],
|
|
||||||
["8940","𪎩𡅅"],
|
|
||||||
["8943","攊"],
|
|
||||||
["8946","丽滝鵎釟"],
|
|
||||||
["894c","𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮"],
|
|
||||||
["89a1","琑糼緍楆竉刧"],
|
|
||||||
["89ab","醌碸酞肼"],
|
|
||||||
["89b0","贋胶𠧧"],
|
|
||||||
["89b5","肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁"],
|
|
||||||
["89c1","溚舾甙"],
|
|
||||||
["89c5","䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅"],
|
|
||||||
["8a40","𧶄唥"],
|
|
||||||
["8a43","𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓"],
|
|
||||||
["8a64","𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕"],
|
|
||||||
["8a76","䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯"],
|
|
||||||
["8aa1","𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱"],
|
|
||||||
["8aac","䠋𠆩㿺塳𢶍"],
|
|
||||||
["8ab2","𤗈𠓼𦂗𠽌𠶖啹䂻䎺"],
|
|
||||||
["8abb","䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃"],
|
|
||||||
["8ac9","𪘁𠸉𢫏𢳉"],
|
|
||||||
["8ace","𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻"],
|
|
||||||
["8adf","𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌"],
|
|
||||||
["8af6","𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭"],
|
|
||||||
["8b40","𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹"],
|
|
||||||
["8b55","𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑"],
|
|
||||||
["8ba1","𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁"],
|
|
||||||
["8bde","𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢"],
|
|
||||||
["8c40","倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋"],
|
|
||||||
["8ca1","𣏹椙橃𣱣泿"],
|
|
||||||
["8ca7","爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚"],
|
|
||||||
["8cc9","顨杫䉶圽"],
|
|
||||||
["8cce","藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶"],
|
|
||||||
["8ce6","峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻"],
|
|
||||||
["8d40","𠮟"],
|
|
||||||
["8d42","𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱"],
|
|
||||||
["8da1","㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘"],
|
|
||||||
["8e40","𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎"],
|
|
||||||
["8ea1","繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛"],
|
|
||||||
["8f40","蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖"],
|
|
||||||
["8fa1","𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起"],
|
|
||||||
["9040","趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛"],
|
|
||||||
["90a1","𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜"],
|
|
||||||
["9140","𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈"],
|
|
||||||
["91a1","鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨"],
|
|
||||||
["9240","𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘"],
|
|
||||||
["92a1","働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃"],
|
|
||||||
["9340","媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍"],
|
|
||||||
["93a1","摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋"],
|
|
||||||
["9440","銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻"],
|
|
||||||
["94a1","㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡"],
|
|
||||||
["9540","𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂"],
|
|
||||||
["95a1","衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰"],
|
|
||||||
["9640","桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸"],
|
|
||||||
["96a1","𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉"],
|
|
||||||
["9740","愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫"],
|
|
||||||
["97a1","𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎"],
|
|
||||||
["9840","𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦"],
|
|
||||||
["98a1","咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃"],
|
|
||||||
["9940","䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚"],
|
|
||||||
["99a1","䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿"],
|
|
||||||
["9a40","鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺"],
|
|
||||||
["9aa1","黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪"],
|
|
||||||
["9b40","𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌"],
|
|
||||||
["9b62","𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎"],
|
|
||||||
["9ba1","椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊"],
|
|
||||||
["9c40","嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶"],
|
|
||||||
["9ca1","㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏"],
|
|
||||||
["9d40","𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁"],
|
|
||||||
["9da1","辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢"],
|
|
||||||
["9e40","𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺"],
|
|
||||||
["9ea1","鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭"],
|
|
||||||
["9ead","𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹"],
|
|
||||||
["9ec5","㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲"],
|
|
||||||
["9ef5","噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼"],
|
|
||||||
["9f40","籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱"],
|
|
||||||
["9f4f","凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰"],
|
|
||||||
["9fa1","椬叚鰊鴂䰻陁榀傦畆𡝭駚剳"],
|
|
||||||
["9fae","酙隁酜"],
|
|
||||||
["9fb2","酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽"],
|
|
||||||
["9fc1","𤤙盖鮝个𠳔莾衂"],
|
|
||||||
["9fc9","届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳"],
|
|
||||||
["9fdb","歒酼龥鮗頮颴骺麨麄煺笔"],
|
|
||||||
["9fe7","毺蠘罸"],
|
|
||||||
["9feb","嘠𪙊蹷齓"],
|
|
||||||
["9ff0","跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇"],
|
|
||||||
["a040","𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷"],
|
|
||||||
["a055","𡠻𦸅"],
|
|
||||||
["a058","詾𢔛"],
|
|
||||||
["a05b","惽癧髗鵄鍮鮏蟵"],
|
|
||||||
["a063","蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽"],
|
|
||||||
["a073","坟慯抦戹拎㩜懢厪𣏵捤栂㗒"],
|
|
||||||
["a0a1","嵗𨯂迚𨸹"],
|
|
||||||
["a0a6","僙𡵆礆匲阸𠼻䁥"],
|
|
||||||
["a0ae","矾"],
|
|
||||||
["a0b0","糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦"],
|
|
||||||
["a0d4","覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷"],
|
|
||||||
["a0e2","罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫"],
|
|
||||||
["a3c0","␀",31,"␡"],
|
|
||||||
["c6a1","①",9,"⑴",9,"ⅰ",9,"丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー[]✽ぁ",23],
|
|
||||||
["c740","す",58,"ァアィイ"],
|
|
||||||
["c7a1","ゥ",81,"А",5,"ЁЖ",4],
|
|
||||||
["c840","Л",26,"ёж",25,"⇧↸↹㇏𠃌乚𠂊刂䒑"],
|
|
||||||
["c8a1","龰冈龱𧘇"],
|
|
||||||
["c8cd","¬¦'"㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣"],
|
|
||||||
["c8f5","ʃɐɛɔɵœøŋʊɪ"],
|
|
||||||
["f9fe","■"],
|
|
||||||
["fa40","𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸"],
|
|
||||||
["faa1","鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍"],
|
|
||||||
["fb40","𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙"],
|
|
||||||
["fba1","𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂"],
|
|
||||||
["fc40","廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷"],
|
|
||||||
["fca1","𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝"],
|
|
||||||
["fd40","𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀"],
|
|
||||||
["fda1","𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎"],
|
|
||||||
["fe40","鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌"],
|
|
||||||
["fea1","𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔"]
|
|
||||||
]
|
|
||||||
@ -1,264 +0,0 @@
|
|||||||
[
|
|
||||||
["0","\u0000",127,"€"],
|
|
||||||
["8140","丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪",5,"乲乴",9,"乿",6,"亇亊"],
|
|
||||||
["8180","亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂",6,"伋伌伒",4,"伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾",4,"佄佅佇",5,"佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢"],
|
|
||||||
["8240","侤侫侭侰",4,"侶",8,"俀俁係俆俇俈俉俋俌俍俒",4,"俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿",11],
|
|
||||||
["8280","個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯",10,"倻倽倿偀偁偂偄偅偆偉偊偋偍偐",4,"偖偗偘偙偛偝",7,"偦",5,"偭",8,"偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎",20,"傤傦傪傫傭",4,"傳",6,"傼"],
|
|
||||||
["8340","傽",17,"僐",5,"僗僘僙僛",10,"僨僩僪僫僯僰僱僲僴僶",4,"僼",9,"儈"],
|
|
||||||
["8380","儉儊儌",5,"儓",13,"儢",28,"兂兇兊兌兎兏児兒兓兗兘兙兛兝",4,"兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦",4,"冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒",5],
|
|
||||||
["8440","凘凙凚凜凞凟凢凣凥",5,"凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄",5,"剋剎剏剒剓剕剗剘"],
|
|
||||||
["8480","剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳",9,"剾劀劃",4,"劉",6,"劑劒劔",6,"劜劤劥劦劧劮劯劰労",9,"勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務",5,"勠勡勢勣勥",10,"勱",7,"勻勼勽匁匂匃匄匇匉匊匋匌匎"],
|
|
||||||
["8540","匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯",9,"匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏"],
|
|
||||||
["8580","厐",4,"厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯",6,"厷厸厹厺厼厽厾叀參",4,"収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝",4,"呣呥呧呩",7,"呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡"],
|
|
||||||
["8640","咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠",4,"哫哬哯哰哱哴",5,"哻哾唀唂唃唄唅唈唊",4,"唒唓唕",5,"唜唝唞唟唡唥唦"],
|
|
||||||
["8680","唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋",4,"啑啒啓啔啗",4,"啝啞啟啠啢啣啨啩啫啯",5,"啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠",6,"喨",8,"喲喴営喸喺喼喿",4,"嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗",4,"嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸",4,"嗿嘂嘃嘄嘅"],
|
|
||||||
["8740","嘆嘇嘊嘋嘍嘐",7,"嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀",11,"噏",4,"噕噖噚噛噝",4],
|
|
||||||
["8780","噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽",7,"嚇",6,"嚐嚑嚒嚔",14,"嚤",10,"嚰",6,"嚸嚹嚺嚻嚽",12,"囋",8,"囕囖囘囙囜団囥",5,"囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國",6],
|
|
||||||
["8840","園",9,"圝圞圠圡圢圤圥圦圧圫圱圲圴",4,"圼圽圿坁坃坄坅坆坈坉坋坒",4,"坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀"],
|
|
||||||
["8880","垁垇垈垉垊垍",4,"垔",6,"垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹",8,"埄",6,"埌埍埐埑埓埖埗埛埜埞埡埢埣埥",7,"埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥",4,"堫",4,"報堲堳場堶",7],
|
|
||||||
["8940","堾",5,"塅",6,"塎塏塐塒塓塕塖塗塙",4,"塟",5,"塦",4,"塭",16,"塿墂墄墆墇墈墊墋墌"],
|
|
||||||
["8980","墍",4,"墔",4,"墛墜墝墠",7,"墪",17,"墽墾墿壀壂壃壄壆",10,"壒壓壔壖",13,"壥",5,"壭壯壱売壴壵壷壸壺",7,"夃夅夆夈",4,"夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻"],
|
|
||||||
["8a40","夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛",4,"奡奣奤奦",12,"奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦"],
|
|
||||||
["8a80","妧妬妭妰妱妳",5,"妺妼妽妿",6,"姇姈姉姌姍姎姏姕姖姙姛姞",4,"姤姦姧姩姪姫姭",11,"姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪",6,"娳娵娷",4,"娽娾娿婁",4,"婇婈婋",9,"婖婗婘婙婛",5],
|
|
||||||
["8b40","婡婣婤婥婦婨婩婫",8,"婸婹婻婼婽婾媀",17,"媓",6,"媜",13,"媫媬"],
|
|
||||||
["8b80","媭",4,"媴媶媷媹",4,"媿嫀嫃",5,"嫊嫋嫍",4,"嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬",4,"嫲",22,"嬊",11,"嬘",25,"嬳嬵嬶嬸",7,"孁",6],
|
|
||||||
["8c40","孈",7,"孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏"],
|
|
||||||
["8c80","寑寔",8,"寠寢寣實寧審",4,"寯寱",6,"寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧",6,"屰屲",6,"屻屼屽屾岀岃",4,"岉岊岋岎岏岒岓岕岝",4,"岤",4],
|
|
||||||
["8d40","岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅",5,"峌",5,"峓",5,"峚",6,"峢峣峧峩峫峬峮峯峱",9,"峼",4],
|
|
||||||
["8d80","崁崄崅崈",5,"崏",4,"崕崗崘崙崚崜崝崟",4,"崥崨崪崫崬崯",4,"崵",7,"崿",7,"嵈嵉嵍",10,"嵙嵚嵜嵞",10,"嵪嵭嵮嵰嵱嵲嵳嵵",12,"嶃",21,"嶚嶛嶜嶞嶟嶠"],
|
|
||||||
["8e40","嶡",21,"嶸",12,"巆",6,"巎",12,"巜巟巠巣巤巪巬巭"],
|
|
||||||
["8e80","巰巵巶巸",4,"巿帀帄帇帉帊帋帍帎帒帓帗帞",7,"帨",4,"帯帰帲",4,"帹帺帾帿幀幁幃幆",5,"幍",6,"幖",4,"幜幝幟幠幣",14,"幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨",4,"庮",4,"庴庺庻庼庽庿",6],
|
|
||||||
["8f40","廆廇廈廋",5,"廔廕廗廘廙廚廜",11,"廩廫",8,"廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤"],
|
|
||||||
["8f80","弨弫弬弮弰弲",6,"弻弽弾弿彁",14,"彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢",5,"復徫徬徯",5,"徶徸徹徺徻徾",4,"忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇"],
|
|
||||||
["9040","怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰",4,"怶",4,"怽怾恀恄",6,"恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀"],
|
|
||||||
["9080","悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽",7,"惇惈惉惌",4,"惒惓惔惖惗惙惛惞惡",4,"惪惱惲惵惷惸惻",4,"愂愃愄愅愇愊愋愌愐",4,"愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬",18,"慀",6],
|
|
||||||
["9140","慇慉態慍慏慐慒慓慔慖",6,"慞慟慠慡慣慤慥慦慩",6,"慱慲慳慴慶慸",18,"憌憍憏",4,"憕"],
|
|
||||||
["9180","憖",6,"憞",8,"憪憫憭",9,"憸",5,"憿懀懁懃",4,"應懌",4,"懓懕",16,"懧",13,"懶",8,"戀",5,"戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸",4,"扂扄扅扆扊"],
|
|
||||||
["9240","扏扐払扖扗扙扚扜",6,"扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋",5,"抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁"],
|
|
||||||
["9280","拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳",5,"挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖",7,"捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙",6,"採掤掦掫掯掱掲掵掶掹掻掽掿揀"],
|
|
||||||
["9340","揁揂揃揅揇揈揊揋揌揑揓揔揕揗",6,"揟揢揤",4,"揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆",4,"損搎搑搒搕",5,"搝搟搢搣搤"],
|
|
||||||
["9380","搥搧搨搩搫搮",5,"搵",4,"搻搼搾摀摂摃摉摋",6,"摓摕摖摗摙",4,"摟",7,"摨摪摫摬摮",9,"摻",6,"撃撆撈",8,"撓撔撗撘撚撛撜撝撟",4,"撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆",6,"擏擑擓擔擕擖擙據"],
|
|
||||||
["9440","擛擜擝擟擠擡擣擥擧",24,"攁",7,"攊",7,"攓",4,"攙",8],
|
|
||||||
["9480","攢攣攤攦",4,"攬攭攰攱攲攳攷攺攼攽敀",4,"敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數",14,"斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱",7,"斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘",7,"旡旣旤旪旫"],
|
|
||||||
["9540","旲旳旴旵旸旹旻",4,"昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷",4,"昽昿晀時晄",6,"晍晎晐晑晘"],
|
|
||||||
["9580","晙晛晜晝晞晠晢晣晥晧晩",4,"晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘",4,"暞",8,"暩",4,"暯",4,"暵暶暷暸暺暻暼暽暿",25,"曚曞",7,"曧曨曪",5,"曱曵曶書曺曻曽朁朂會"],
|
|
||||||
["9640","朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠",5,"朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗",4,"杝杢杣杤杦杧杫杬杮東杴杶"],
|
|
||||||
["9680","杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹",7,"柂柅",9,"柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵",7,"柾栁栂栃栄栆栍栐栒栔栕栘",4,"栞栟栠栢",6,"栫",6,"栴栵栶栺栻栿桇桋桍桏桒桖",5],
|
|
||||||
["9740","桜桝桞桟桪桬",7,"桵桸",8,"梂梄梇",7,"梐梑梒梔梕梖梘",9,"梣梤梥梩梪梫梬梮梱梲梴梶梷梸"],
|
|
||||||
["9780","梹",6,"棁棃",5,"棊棌棎棏棐棑棓棔棖棗棙棛",4,"棡棢棤",9,"棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆",4,"椌椏椑椓",11,"椡椢椣椥",7,"椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃",16,"楕楖楘楙楛楜楟"],
|
|
||||||
["9840","楡楢楤楥楧楨楩楪楬業楯楰楲",4,"楺楻楽楾楿榁榃榅榊榋榌榎",5,"榖榗榙榚榝",9,"榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽"],
|
|
||||||
["9880","榾榿槀槂",7,"構槍槏槑槒槓槕",5,"槜槝槞槡",11,"槮槯槰槱槳",9,"槾樀",9,"樋",11,"標",5,"樠樢",5,"権樫樬樭樮樰樲樳樴樶",6,"樿",4,"橅橆橈",7,"橑",6,"橚"],
|
|
||||||
["9940","橜",4,"橢橣橤橦",10,"橲",6,"橺橻橽橾橿檁檂檃檅",8,"檏檒",4,"檘",7,"檡",5],
|
|
||||||
["9980","檧檨檪檭",114,"欥欦欨",6],
|
|
||||||
["9a40","欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍",11,"歚",7,"歨歩歫",13,"歺歽歾歿殀殅殈"],
|
|
||||||
["9a80","殌殎殏殐殑殔殕殗殘殙殜",4,"殢",7,"殫",7,"殶殸",6,"毀毃毄毆",4,"毌毎毐毑毘毚毜",4,"毢",7,"毬毭毮毰毱毲毴毶毷毸毺毻毼毾",6,"氈",4,"氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋",4,"汑汒汓汖汘"],
|
|
||||||
["9b40","汙汚汢汣汥汦汧汫",4,"汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘"],
|
|
||||||
["9b80","泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟",5,"洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽",4,"涃涄涆涇涊涋涍涏涐涒涖",4,"涜涢涥涬涭涰涱涳涴涶涷涹",5,"淁淂淃淈淉淊"],
|
|
||||||
["9c40","淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽",7,"渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵"],
|
|
||||||
["9c80","渶渷渹渻",7,"湅",7,"湏湐湑湒湕湗湙湚湜湝湞湠",10,"湬湭湯",14,"満溁溂溄溇溈溊",4,"溑",6,"溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪",5],
|
|
||||||
["9d40","滰滱滲滳滵滶滷滸滺",7,"漃漄漅漇漈漊",4,"漐漑漒漖",9,"漡漢漣漥漦漧漨漬漮漰漲漴漵漷",6,"漿潀潁潂"],
|
|
||||||
["9d80","潃潄潅潈潉潊潌潎",9,"潙潚潛潝潟潠潡潣潤潥潧",5,"潯潰潱潳潵潶潷潹潻潽",6,"澅澆澇澊澋澏",12,"澝澞澟澠澢",4,"澨",10,"澴澵澷澸澺",5,"濁濃",5,"濊",6,"濓",10,"濟濢濣濤濥"],
|
|
||||||
["9e40","濦",7,"濰",32,"瀒",7,"瀜",6,"瀤",6],
|
|
||||||
["9e80","瀫",9,"瀶瀷瀸瀺",17,"灍灎灐",13,"灟",11,"灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞",12,"炰炲炴炵炶為炾炿烄烅烆烇烉烋",12,"烚"],
|
|
||||||
["9f40","烜烝烞烠烡烢烣烥烪烮烰",6,"烸烺烻烼烾",10,"焋",4,"焑焒焔焗焛",10,"焧",7,"焲焳焴"],
|
|
||||||
["9f80","焵焷",13,"煆煇煈煉煋煍煏",12,"煝煟",4,"煥煩",4,"煯煰煱煴煵煶煷煹煻煼煾",5,"熅",4,"熋熌熍熎熐熑熒熓熕熖熗熚",4,"熡",6,"熩熪熫熭",5,"熴熶熷熸熺",8,"燄",9,"燏",4],
|
|
||||||
["a040","燖",9,"燡燢燣燤燦燨",5,"燯",9,"燺",11,"爇",19],
|
|
||||||
["a080","爛爜爞",9,"爩爫爭爮爯爲爳爴爺爼爾牀",6,"牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅",4,"犌犎犐犑犓",11,"犠",11,"犮犱犲犳犵犺",6,"狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛"],
|
|
||||||
["a1a1"," 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈",7,"〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓"],
|
|
||||||
["a2a1","ⅰ",9],
|
|
||||||
["a2b1","⒈",19,"⑴",19,"①",9],
|
|
||||||
["a2e5","㈠",9],
|
|
||||||
["a2f1","Ⅰ",11],
|
|
||||||
["a3a1","!"#¥%",88," ̄"],
|
|
||||||
["a4a1","ぁ",82],
|
|
||||||
["a5a1","ァ",85],
|
|
||||||
["a6a1","Α",16,"Σ",6],
|
|
||||||
["a6c1","α",16,"σ",6],
|
|
||||||
["a6e0","︵︶︹︺︿﹀︽︾﹁﹂﹃﹄"],
|
|
||||||
["a6ee","︻︼︷︸︱"],
|
|
||||||
["a6f4","︳︴"],
|
|
||||||
["a7a1","А",5,"ЁЖ",25],
|
|
||||||
["a7d1","а",5,"ёж",25],
|
|
||||||
["a840","ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═",35,"▁",6],
|
|
||||||
["a880","█",7,"▓▔▕▼▽◢◣◤◥☉⊕〒〝〞"],
|
|
||||||
["a8a1","āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ"],
|
|
||||||
["a8bd","ńň"],
|
|
||||||
["a8c0","ɡ"],
|
|
||||||
["a8c5","ㄅ",36],
|
|
||||||
["a940","〡",8,"㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦"],
|
|
||||||
["a959","℡㈱"],
|
|
||||||
["a95c","‐"],
|
|
||||||
["a960","ー゛゜ヽヾ〆ゝゞ﹉",9,"﹔﹕﹖﹗﹙",8],
|
|
||||||
["a980","﹢",4,"﹨﹩﹪﹫"],
|
|
||||||
["a996","〇"],
|
|
||||||
["a9a4","─",75],
|
|
||||||
["aa40","狜狝狟狢",5,"狪狫狵狶狹狽狾狿猀猂猄",5,"猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀",8],
|
|
||||||
["aa80","獉獊獋獌獎獏獑獓獔獕獖獘",7,"獡",10,"獮獰獱"],
|
|
||||||
["ab40","獲",11,"獿",4,"玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣",5,"玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃",4],
|
|
||||||
["ab80","珋珌珎珒",6,"珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳",4],
|
|
||||||
["ac40","珸",10,"琄琇琈琋琌琍琎琑",8,"琜",5,"琣琤琧琩琫琭琯琱琲琷",4,"琽琾琿瑀瑂",11],
|
|
||||||
["ac80","瑎",6,"瑖瑘瑝瑠",12,"瑮瑯瑱",4,"瑸瑹瑺"],
|
|
||||||
["ad40","瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑",10,"璝璟",7,"璪",15,"璻",12],
|
|
||||||
["ad80","瓈",9,"瓓",8,"瓝瓟瓡瓥瓧",6,"瓰瓱瓲"],
|
|
||||||
["ae40","瓳瓵瓸",6,"甀甁甂甃甅",7,"甎甐甒甔甕甖甗甛甝甞甠",4,"甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘"],
|
|
||||||
["ae80","畝",7,"畧畨畩畫",6,"畳畵當畷畺",4,"疀疁疂疄疅疇"],
|
|
||||||
["af40","疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦",4,"疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇"],
|
|
||||||
["af80","瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄"],
|
|
||||||
["b040","癅",6,"癎",5,"癕癗",4,"癝癟癠癡癢癤",6,"癬癭癮癰",7,"癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛"],
|
|
||||||
["b080","皜",7,"皥",8,"皯皰皳皵",9,"盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥"],
|
|
||||||
["b140","盄盇盉盋盌盓盕盙盚盜盝盞盠",4,"盦",7,"盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎",10,"眛眜眝眞眡眣眤眥眧眪眫"],
|
|
||||||
["b180","眬眮眰",4,"眹眻眽眾眿睂睄睅睆睈",7,"睒",7,"睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳"],
|
|
||||||
["b240","睝睞睟睠睤睧睩睪睭",11,"睺睻睼瞁瞂瞃瞆",5,"瞏瞐瞓",11,"瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶",4],
|
|
||||||
["b280","瞼瞾矀",12,"矎",8,"矘矙矚矝",4,"矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖"],
|
|
||||||
["b340","矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃",5,"砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚"],
|
|
||||||
["b380","硛硜硞",11,"硯",7,"硸硹硺硻硽",6,"场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚"],
|
|
||||||
["b440","碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨",7,"碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚",9],
|
|
||||||
["b480","磤磥磦磧磩磪磫磭",4,"磳磵磶磸磹磻",5,"礂礃礄礆",6,"础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮"],
|
|
||||||
["b540","礍",5,"礔",9,"礟",4,"礥",14,"礵",4,"礽礿祂祃祄祅祇祊",8,"祔祕祘祙祡祣"],
|
|
||||||
["b580","祤祦祩祪祫祬祮祰",6,"祹祻",4,"禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠"],
|
|
||||||
["b640","禓",6,"禛",11,"禨",10,"禴",4,"禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙",5,"秠秡秢秥秨秪"],
|
|
||||||
["b680","秬秮秱",6,"秹秺秼秾秿稁稄稅稇稈稉稊稌稏",4,"稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二"],
|
|
||||||
["b740","稝稟稡稢稤",14,"稴稵稶稸稺稾穀",5,"穇",9,"穒",4,"穘",16],
|
|
||||||
["b780","穩",6,"穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服"],
|
|
||||||
["b840","窣窤窧窩窪窫窮",4,"窴",10,"竀",10,"竌",9,"竗竘竚竛竜竝竡竢竤竧",5,"竮竰竱竲竳"],
|
|
||||||
["b880","竴",4,"竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹"],
|
|
||||||
["b940","笯笰笲笴笵笶笷笹笻笽笿",5,"筆筈筊筍筎筓筕筗筙筜筞筟筡筣",10,"筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆",6,"箎箏"],
|
|
||||||
["b980","箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹",7,"篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈"],
|
|
||||||
["ba40","篅篈築篊篋篍篎篏篐篒篔",4,"篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲",4,"篸篹篺篻篽篿",7,"簈簉簊簍簎簐",5,"簗簘簙"],
|
|
||||||
["ba80","簚",4,"簠",5,"簨簩簫",12,"簹",5,"籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖"],
|
|
||||||
["bb40","籃",9,"籎",36,"籵",5,"籾",9],
|
|
||||||
["bb80","粈粊",6,"粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴",4,"粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕"],
|
|
||||||
["bc40","粿糀糂糃糄糆糉糋糎",6,"糘糚糛糝糞糡",6,"糩",5,"糰",7,"糹糺糼",13,"紋",5],
|
|
||||||
["bc80","紑",14,"紡紣紤紥紦紨紩紪紬紭紮細",6,"肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件"],
|
|
||||||
["bd40","紷",54,"絯",7],
|
|
||||||
["bd80","絸",32,"健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸"],
|
|
||||||
["be40","継",12,"綧",6,"綯",42],
|
|
||||||
["be80","線",32,"尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻"],
|
|
||||||
["bf40","緻",62],
|
|
||||||
["bf80","縺縼",4,"繂",4,"繈",21,"俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀"],
|
|
||||||
["c040","繞",35,"纃",23,"纜纝纞"],
|
|
||||||
["c080","纮纴纻纼绖绤绬绹缊缐缞缷缹缻",6,"罃罆",9,"罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐"],
|
|
||||||
["c140","罖罙罛罜罝罞罠罣",4,"罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂",7,"羋羍羏",4,"羕",4,"羛羜羠羢羣羥羦羨",6,"羱"],
|
|
||||||
["c180","羳",4,"羺羻羾翀翂翃翄翆翇翈翉翋翍翏",4,"翖翗翙",5,"翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿"],
|
|
||||||
["c240","翤翧翨翪翫翬翭翯翲翴",6,"翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫",5,"耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗"],
|
|
||||||
["c280","聙聛",13,"聫",5,"聲",11,"隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫"],
|
|
||||||
["c340","聾肁肂肅肈肊肍",5,"肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇",4,"胏",6,"胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋"],
|
|
||||||
["c380","脌脕脗脙脛脜脝脟",12,"脭脮脰脳脴脵脷脹",4,"脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸"],
|
|
||||||
["c440","腀",5,"腇腉腍腎腏腒腖腗腘腛",4,"腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃",4,"膉膋膌膍膎膐膒",5,"膙膚膞",4,"膤膥"],
|
|
||||||
["c480","膧膩膫",7,"膴",5,"膼膽膾膿臄臅臇臈臉臋臍",6,"摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁"],
|
|
||||||
["c540","臔",14,"臤臥臦臨臩臫臮",4,"臵",5,"臽臿舃與",4,"舎舏舑舓舕",5,"舝舠舤舥舦舧舩舮舲舺舼舽舿"],
|
|
||||||
["c580","艀艁艂艃艅艆艈艊艌艍艎艐",7,"艙艛艜艝艞艠",7,"艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗"],
|
|
||||||
["c640","艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸"],
|
|
||||||
["c680","苺苼",4,"茊茋茍茐茒茓茖茘茙茝",9,"茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐"],
|
|
||||||
["c740","茾茿荁荂荄荅荈荊",4,"荓荕",4,"荝荢荰",6,"荹荺荾",6,"莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡",6,"莬莭莮"],
|
|
||||||
["c780","莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠"],
|
|
||||||
["c840","菮華菳",4,"菺菻菼菾菿萀萂萅萇萈萉萊萐萒",5,"萙萚萛萞",5,"萩",7,"萲",5,"萹萺萻萾",7,"葇葈葉"],
|
|
||||||
["c880","葊",6,"葒",4,"葘葝葞葟葠葢葤",4,"葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁"],
|
|
||||||
["c940","葽",4,"蒃蒄蒅蒆蒊蒍蒏",7,"蒘蒚蒛蒝蒞蒟蒠蒢",12,"蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗"],
|
|
||||||
["c980","蓘",4,"蓞蓡蓢蓤蓧",4,"蓭蓮蓯蓱",10,"蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳"],
|
|
||||||
["ca40","蔃",8,"蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢",8,"蔭",9,"蔾",4,"蕄蕅蕆蕇蕋",10],
|
|
||||||
["ca80","蕗蕘蕚蕛蕜蕝蕟",4,"蕥蕦蕧蕩",8,"蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱"],
|
|
||||||
["cb40","薂薃薆薈",6,"薐",10,"薝",6,"薥薦薧薩薫薬薭薱",5,"薸薺",6,"藂",6,"藊",4,"藑藒"],
|
|
||||||
["cb80","藔藖",5,"藝",6,"藥藦藧藨藪",14,"恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔"],
|
|
||||||
["cc40","藹藺藼藽藾蘀",4,"蘆",10,"蘒蘓蘔蘕蘗",15,"蘨蘪",13,"蘹蘺蘻蘽蘾蘿虀"],
|
|
||||||
["cc80","虁",11,"虒虓處",4,"虛虜虝號虠虡虣",7,"獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃"],
|
|
||||||
["cd40","虭虯虰虲",6,"蚃",6,"蚎",4,"蚔蚖",5,"蚞",4,"蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻",4,"蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜"],
|
|
||||||
["cd80","蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威"],
|
|
||||||
["ce40","蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀",6,"蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚",5,"蝡蝢蝦",7,"蝯蝱蝲蝳蝵"],
|
|
||||||
["ce80","蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎",4,"螔螕螖螘",6,"螠",4,"巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺"],
|
|
||||||
["cf40","螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁",4,"蟇蟈蟉蟌",4,"蟔",6,"蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯",9],
|
|
||||||
["cf80","蟺蟻蟼蟽蟿蠀蠁蠂蠄",5,"蠋",7,"蠔蠗蠘蠙蠚蠜",4,"蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓"],
|
|
||||||
["d040","蠤",13,"蠳",5,"蠺蠻蠽蠾蠿衁衂衃衆",5,"衎",5,"衕衖衘衚",6,"衦衧衪衭衯衱衳衴衵衶衸衹衺"],
|
|
||||||
["d080","衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗",4,"袝",4,"袣袥",5,"小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄"],
|
|
||||||
["d140","袬袮袯袰袲",4,"袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚",4,"裠裡裦裧裩",6,"裲裵裶裷裺裻製裿褀褁褃",5],
|
|
||||||
["d180","褉褋",4,"褑褔",4,"褜",4,"褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶"],
|
|
||||||
["d240","褸",8,"襂襃襅",24,"襠",5,"襧",19,"襼"],
|
|
||||||
["d280","襽襾覀覂覄覅覇",26,"摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐"],
|
|
||||||
["d340","覢",30,"觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴",6],
|
|
||||||
["d380","觻",4,"訁",5,"計",21,"印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉"],
|
|
||||||
["d440","訞",31,"訿",8,"詉",21],
|
|
||||||
["d480","詟",25,"詺",6,"浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧"],
|
|
||||||
["d540","誁",7,"誋",7,"誔",46],
|
|
||||||
["d580","諃",32,"铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政"],
|
|
||||||
["d640","諤",34,"謈",27],
|
|
||||||
["d680","謤謥謧",30,"帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑"],
|
|
||||||
["d740","譆",31,"譧",4,"譭",25],
|
|
||||||
["d780","讇",24,"讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座"],
|
|
||||||
["d840","谸",8,"豂豃豄豅豈豊豋豍",7,"豖豗豘豙豛",5,"豣",6,"豬",6,"豴豵豶豷豻",6,"貃貄貆貇"],
|
|
||||||
["d880","貈貋貍",6,"貕貖貗貙",20,"亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝"],
|
|
||||||
["d940","貮",62],
|
|
||||||
["d980","賭",32,"佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼"],
|
|
||||||
["da40","贎",14,"贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸",8,"趂趃趆趇趈趉趌",4,"趒趓趕",9,"趠趡"],
|
|
||||||
["da80","趢趤",12,"趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺"],
|
|
||||||
["db40","跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾",6,"踆踇踈踋踍踎踐踑踒踓踕",7,"踠踡踤",4,"踫踭踰踲踳踴踶踷踸踻踼踾"],
|
|
||||||
["db80","踿蹃蹅蹆蹌",4,"蹓",5,"蹚",11,"蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝"],
|
|
||||||
["dc40","蹳蹵蹷",4,"蹽蹾躀躂躃躄躆躈",6,"躑躒躓躕",6,"躝躟",11,"躭躮躰躱躳",6,"躻",7],
|
|
||||||
["dc80","軃",10,"軏",21,"堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥"],
|
|
||||||
["dd40","軥",62],
|
|
||||||
["dd80","輤",32,"荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺"],
|
|
||||||
["de40","轅",32,"轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆"],
|
|
||||||
["de80","迉",4,"迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖"],
|
|
||||||
["df40","這逜連逤逥逧",5,"逰",4,"逷逹逺逽逿遀遃遅遆遈",4,"過達違遖遙遚遜",5,"遤遦遧適遪遫遬遯",4,"遶",6,"遾邁"],
|
|
||||||
["df80","還邅邆邇邉邊邌",4,"邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼"],
|
|
||||||
["e040","郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅",19,"鄚鄛鄜"],
|
|
||||||
["e080","鄝鄟鄠鄡鄤",10,"鄰鄲",6,"鄺",8,"酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼"],
|
|
||||||
["e140","酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀",4,"醆醈醊醎醏醓",6,"醜",5,"醤",5,"醫醬醰醱醲醳醶醷醸醹醻"],
|
|
||||||
["e180","醼",10,"釈釋釐釒",9,"針",8,"帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺"],
|
|
||||||
["e240","釦",62],
|
|
||||||
["e280","鈥",32,"狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧",5,"饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂"],
|
|
||||||
["e340","鉆",45,"鉵",16],
|
|
||||||
["e380","銆",7,"銏",24,"恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾"],
|
|
||||||
["e440","銨",5,"銯",24,"鋉",31],
|
|
||||||
["e480","鋩",32,"洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑"],
|
|
||||||
["e540","錊",51,"錿",10],
|
|
||||||
["e580","鍊",31,"鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣"],
|
|
||||||
["e640","鍬",34,"鎐",27],
|
|
||||||
["e680","鎬",29,"鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩"],
|
|
||||||
["e740","鏎",7,"鏗",54],
|
|
||||||
["e780","鐎",32,"纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡",6,"缪缫缬缭缯",4,"缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬"],
|
|
||||||
["e840","鐯",14,"鐿",43,"鑬鑭鑮鑯"],
|
|
||||||
["e880","鑰",20,"钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹"],
|
|
||||||
["e940","锧锳锽镃镈镋镕镚镠镮镴镵長",7,"門",42],
|
|
||||||
["e980","閫",32,"椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋"],
|
|
||||||
["ea40","闌",27,"闬闿阇阓阘阛阞阠阣",6,"阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗"],
|
|
||||||
["ea80","陘陙陚陜陝陞陠陣陥陦陫陭",4,"陳陸",12,"隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰"],
|
|
||||||
["eb40","隌階隑隒隓隕隖隚際隝",9,"隨",7,"隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖",9,"雡",6,"雫"],
|
|
||||||
["eb80","雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗",4,"霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻"],
|
|
||||||
["ec40","霡",8,"霫霬霮霯霱霳",4,"霺霻霼霽霿",18,"靔靕靗靘靚靜靝靟靣靤靦靧靨靪",7],
|
|
||||||
["ec80","靲靵靷",4,"靽",7,"鞆",4,"鞌鞎鞏鞐鞓鞕鞖鞗鞙",4,"臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐"],
|
|
||||||
["ed40","鞞鞟鞡鞢鞤",6,"鞬鞮鞰鞱鞳鞵",46],
|
|
||||||
["ed80","韤韥韨韮",4,"韴韷",23,"怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨"],
|
|
||||||
["ee40","頏",62],
|
|
||||||
["ee80","顎",32,"睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶",4,"钼钽钿铄铈",6,"铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪"],
|
|
||||||
["ef40","顯",5,"颋颎颒颕颙颣風",37,"飏飐飔飖飗飛飜飝飠",4],
|
|
||||||
["ef80","飥飦飩",30,"铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒",4,"锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤",8,"镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔"],
|
|
||||||
["f040","餈",4,"餎餏餑",28,"餯",26],
|
|
||||||
["f080","饊",9,"饖",12,"饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨",4,"鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦",6,"鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙"],
|
|
||||||
["f140","馌馎馚",10,"馦馧馩",47],
|
|
||||||
["f180","駙",32,"瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃"],
|
|
||||||
["f240","駺",62],
|
|
||||||
["f280","騹",32,"颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒"],
|
|
||||||
["f340","驚",17,"驲骃骉骍骎骔骕骙骦骩",6,"骲骳骴骵骹骻骽骾骿髃髄髆",4,"髍髎髏髐髒體髕髖髗髙髚髛髜"],
|
|
||||||
["f380","髝髞髠髢髣髤髥髧髨髩髪髬髮髰",8,"髺髼",6,"鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋"],
|
|
||||||
["f440","鬇鬉",5,"鬐鬑鬒鬔",10,"鬠鬡鬢鬤",10,"鬰鬱鬳",7,"鬽鬾鬿魀魆魊魋魌魎魐魒魓魕",5],
|
|
||||||
["f480","魛",32,"簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤"],
|
|
||||||
["f540","魼",62],
|
|
||||||
["f580","鮻",32,"酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜"],
|
|
||||||
["f640","鯜",62],
|
|
||||||
["f680","鰛",32,"觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅",5,"龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞",5,"鲥",4,"鲫鲭鲮鲰",7,"鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋"],
|
|
||||||
["f740","鰼",62],
|
|
||||||
["f780","鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾",4,"鳈鳉鳑鳒鳚鳛鳠鳡鳌",4,"鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄"],
|
|
||||||
["f840","鳣",62],
|
|
||||||
["f880","鴢",32],
|
|
||||||
["f940","鵃",62],
|
|
||||||
["f980","鶂",32],
|
|
||||||
["fa40","鶣",62],
|
|
||||||
["fa80","鷢",32],
|
|
||||||
["fb40","鸃",27,"鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴",9,"麀"],
|
|
||||||
["fb80","麁麃麄麅麆麉麊麌",5,"麔",8,"麞麠",5,"麧麨麩麪"],
|
|
||||||
["fc40","麫",8,"麵麶麷麹麺麼麿",4,"黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰",8,"黺黽黿",6],
|
|
||||||
["fc80","鼆",4,"鼌鼏鼑鼒鼔鼕鼖鼘鼚",5,"鼡鼣",8,"鼭鼮鼰鼱"],
|
|
||||||
["fd40","鼲",4,"鼸鼺鼼鼿",4,"齅",10,"齒",38],
|
|
||||||
["fd80","齹",5,"龁龂龍",11,"龜龝龞龡",4,"郎凉秊裏隣"],
|
|
||||||
["fe40","兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩"]
|
|
||||||
]
|
|
||||||
@ -1,273 +0,0 @@
|
|||||||
[
|
|
||||||
["0","\u0000",127],
|
|
||||||
["8141","갂갃갅갆갋",4,"갘갞갟갡갢갣갥",6,"갮갲갳갴"],
|
|
||||||
["8161","갵갶갷갺갻갽갾갿걁",9,"걌걎",5,"걕"],
|
|
||||||
["8181","걖걗걙걚걛걝",18,"걲걳걵걶걹걻",4,"겂겇겈겍겎겏겑겒겓겕",6,"겞겢",5,"겫겭겮겱",6,"겺겾겿곀곂곃곅곆곇곉곊곋곍",7,"곖곘",7,"곢곣곥곦곩곫곭곮곲곴곷",4,"곾곿괁괂괃괅괇",4,"괎괐괒괓"],
|
|
||||||
["8241","괔괕괖괗괙괚괛괝괞괟괡",7,"괪괫괮",5],
|
|
||||||
["8261","괶괷괹괺괻괽",6,"굆굈굊",5,"굑굒굓굕굖굗"],
|
|
||||||
["8281","굙",7,"굢굤",7,"굮굯굱굲굷굸굹굺굾궀궃",4,"궊궋궍궎궏궑",10,"궞",5,"궥",17,"궸",7,"귂귃귅귆귇귉",6,"귒귔",7,"귝귞귟귡귢귣귥",18],
|
|
||||||
["8341","귺귻귽귾긂",5,"긊긌긎",5,"긕",7],
|
|
||||||
["8361","긝",18,"긲긳긵긶긹긻긼"],
|
|
||||||
["8381","긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗",4,"깞깢깣깤깦깧깪깫깭깮깯깱",6,"깺깾",5,"꺆",5,"꺍",46,"꺿껁껂껃껅",6,"껎껒",5,"껚껛껝",8],
|
|
||||||
["8441","껦껧껩껪껬껮",5,"껵껶껷껹껺껻껽",8],
|
|
||||||
["8461","꼆꼉꼊꼋꼌꼎꼏꼑",18],
|
|
||||||
["8481","꼤",7,"꼮꼯꼱꼳꼵",6,"꼾꽀꽄꽅꽆꽇꽊",5,"꽑",10,"꽞",5,"꽦",18,"꽺",5,"꾁꾂꾃꾅꾆꾇꾉",6,"꾒꾓꾔꾖",5,"꾝",26,"꾺꾻꾽꾾"],
|
|
||||||
["8541","꾿꿁",5,"꿊꿌꿏",4,"꿕",6,"꿝",4],
|
|
||||||
["8561","꿢",5,"꿪",5,"꿲꿳꿵꿶꿷꿹",6,"뀂뀃"],
|
|
||||||
["8581","뀅",6,"뀍뀎뀏뀑뀒뀓뀕",6,"뀞",9,"뀩",26,"끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞",29,"끾끿낁낂낃낅",6,"낎낐낒",5,"낛낝낞낣낤"],
|
|
||||||
["8641","낥낦낧낪낰낲낶낷낹낺낻낽",6,"냆냊",5,"냒"],
|
|
||||||
["8661","냓냕냖냗냙",6,"냡냢냣냤냦",10],
|
|
||||||
["8681","냱",22,"넊넍넎넏넑넔넕넖넗넚넞",4,"넦넧넩넪넫넭",6,"넶넺",5,"녂녃녅녆녇녉",6,"녒녓녖녗녙녚녛녝녞녟녡",22,"녺녻녽녾녿놁놃",4,"놊놌놎놏놐놑놕놖놗놙놚놛놝"],
|
|
||||||
["8741","놞",9,"놩",15],
|
|
||||||
["8761","놹",18,"뇍뇎뇏뇑뇒뇓뇕"],
|
|
||||||
["8781","뇖",5,"뇞뇠",7,"뇪뇫뇭뇮뇯뇱",7,"뇺뇼뇾",5,"눆눇눉눊눍",6,"눖눘눚",5,"눡",18,"눵",6,"눽",26,"뉙뉚뉛뉝뉞뉟뉡",6,"뉪",4],
|
|
||||||
["8841","뉯",4,"뉶",5,"뉽",6,"늆늇늈늊",4],
|
|
||||||
["8861","늏늒늓늕늖늗늛",4,"늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷"],
|
|
||||||
["8881","늸",15,"닊닋닍닎닏닑닓",4,"닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉",6,"댒댖",5,"댝",54,"덗덙덚덝덠덡덢덣"],
|
|
||||||
["8941","덦덨덪덬덭덯덲덳덵덶덷덹",6,"뎂뎆",5,"뎍"],
|
|
||||||
["8961","뎎뎏뎑뎒뎓뎕",10,"뎢",5,"뎩뎪뎫뎭"],
|
|
||||||
["8981","뎮",21,"돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩",18,"돽",18,"됑",6,"됙됚됛됝됞됟됡",6,"됪됬",7,"됵",15],
|
|
||||||
["8a41","둅",10,"둒둓둕둖둗둙",6,"둢둤둦"],
|
|
||||||
["8a61","둧",4,"둭",18,"뒁뒂"],
|
|
||||||
["8a81","뒃",4,"뒉",19,"뒞",5,"뒥뒦뒧뒩뒪뒫뒭",7,"뒶뒸뒺",5,"듁듂듃듅듆듇듉",6,"듑듒듓듔듖",5,"듞듟듡듢듥듧",4,"듮듰듲",5,"듹",26,"딖딗딙딚딝"],
|
|
||||||
["8b41","딞",5,"딦딫",4,"딲딳딵딶딷딹",6,"땂땆"],
|
|
||||||
["8b61","땇땈땉땊땎땏땑땒땓땕",6,"땞땢",8],
|
|
||||||
["8b81","땫",52,"떢떣떥떦떧떩떬떭떮떯떲떶",4,"떾떿뗁뗂뗃뗅",6,"뗎뗒",5,"뗙",18,"뗭",18],
|
|
||||||
["8c41","똀",15,"똒똓똕똖똗똙",4],
|
|
||||||
["8c61","똞",6,"똦",5,"똭",6,"똵",5],
|
|
||||||
["8c81","똻",12,"뙉",26,"뙥뙦뙧뙩",50,"뚞뚟뚡뚢뚣뚥",5,"뚭뚮뚯뚰뚲",16],
|
|
||||||
["8d41","뛃",16,"뛕",8],
|
|
||||||
["8d61","뛞",17,"뛱뛲뛳뛵뛶뛷뛹뛺"],
|
|
||||||
["8d81","뛻",4,"뜂뜃뜄뜆",33,"뜪뜫뜭뜮뜱",6,"뜺뜼",7,"띅띆띇띉띊띋띍",6,"띖",9,"띡띢띣띥띦띧띩",6,"띲띴띶",5,"띾띿랁랂랃랅",6,"랎랓랔랕랚랛랝랞"],
|
|
||||||
["8e41","랟랡",6,"랪랮",5,"랶랷랹",8],
|
|
||||||
["8e61","럂",4,"럈럊",19],
|
|
||||||
["8e81","럞",13,"럮럯럱럲럳럵",6,"럾렂",4,"렊렋렍렎렏렑",6,"렚렜렞",5,"렦렧렩렪렫렭",6,"렶렺",5,"롁롂롃롅",11,"롒롔",7,"롞롟롡롢롣롥",6,"롮롰롲",5,"롹롺롻롽",7],
|
|
||||||
["8f41","뢅",7,"뢎",17],
|
|
||||||
["8f61","뢠",7,"뢩",6,"뢱뢲뢳뢵뢶뢷뢹",4],
|
|
||||||
["8f81","뢾뢿룂룄룆",5,"룍룎룏룑룒룓룕",7,"룞룠룢",5,"룪룫룭룮룯룱",6,"룺룼룾",5,"뤅",18,"뤙",6,"뤡",26,"뤾뤿륁륂륃륅",6,"륍륎륐륒",5],
|
|
||||||
["9041","륚륛륝륞륟륡",6,"륪륬륮",5,"륶륷륹륺륻륽"],
|
|
||||||
["9061","륾",5,"릆릈릋릌릏",15],
|
|
||||||
["9081","릟",12,"릮릯릱릲릳릵",6,"릾맀맂",5,"맊맋맍맓",4,"맚맜맟맠맢맦맧맩맪맫맭",6,"맶맻",4,"먂",5,"먉",11,"먖",33,"먺먻먽먾먿멁멃멄멅멆"],
|
|
||||||
["9141","멇멊멌멏멐멑멒멖멗멙멚멛멝",6,"멦멪",5],
|
|
||||||
["9161","멲멳멵멶멷멹",9,"몆몈몉몊몋몍",5],
|
|
||||||
["9181","몓",20,"몪몭몮몯몱몳",4,"몺몼몾",5,"뫅뫆뫇뫉",14,"뫚",33,"뫽뫾뫿묁묂묃묅",7,"묎묐묒",5,"묙묚묛묝묞묟묡",6],
|
|
||||||
["9241","묨묪묬",7,"묷묹묺묿",4,"뭆뭈뭊뭋뭌뭎뭑뭒"],
|
|
||||||
["9261","뭓뭕뭖뭗뭙",7,"뭢뭤",7,"뭭",4],
|
|
||||||
["9281","뭲",21,"뮉뮊뮋뮍뮎뮏뮑",18,"뮥뮦뮧뮩뮪뮫뮭",6,"뮵뮶뮸",7,"믁믂믃믅믆믇믉",6,"믑믒믔",35,"믺믻믽믾밁"],
|
|
||||||
["9341","밃",4,"밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵"],
|
|
||||||
["9361","밶밷밹",6,"뱂뱆뱇뱈뱊뱋뱎뱏뱑",8],
|
|
||||||
["9381","뱚뱛뱜뱞",37,"벆벇벉벊벍벏",4,"벖벘벛",4,"벢벣벥벦벩",6,"벲벶",5,"벾벿볁볂볃볅",7,"볎볒볓볔볖볗볙볚볛볝",22,"볷볹볺볻볽"],
|
|
||||||
["9441","볾",5,"봆봈봊",5,"봑봒봓봕",8],
|
|
||||||
["9461","봞",5,"봥",6,"봭",12],
|
|
||||||
["9481","봺",5,"뵁",6,"뵊뵋뵍뵎뵏뵑",6,"뵚",9,"뵥뵦뵧뵩",22,"붂붃붅붆붋",4,"붒붔붖붗붘붛붝",6,"붥",10,"붱",6,"붹",24],
|
|
||||||
["9541","뷒뷓뷖뷗뷙뷚뷛뷝",11,"뷪",5,"뷱"],
|
|
||||||
["9561","뷲뷳뷵뷶뷷뷹",6,"븁븂븄븆",5,"븎븏븑븒븓"],
|
|
||||||
["9581","븕",6,"븞븠",35,"빆빇빉빊빋빍빏",4,"빖빘빜빝빞빟빢빣빥빦빧빩빫",4,"빲빶",4,"빾빿뺁뺂뺃뺅",6,"뺎뺒",5,"뺚",13,"뺩",14],
|
|
||||||
["9641","뺸",23,"뻒뻓"],
|
|
||||||
["9661","뻕뻖뻙",6,"뻡뻢뻦",5,"뻭",8],
|
|
||||||
["9681","뻶",10,"뼂",5,"뼊",13,"뼚뼞",33,"뽂뽃뽅뽆뽇뽉",6,"뽒뽓뽔뽖",44],
|
|
||||||
["9741","뾃",16,"뾕",8],
|
|
||||||
["9761","뾞",17,"뾱",7],
|
|
||||||
["9781","뾹",11,"뿆",5,"뿎뿏뿑뿒뿓뿕",6,"뿝뿞뿠뿢",89,"쀽쀾쀿"],
|
|
||||||
["9841","쁀",16,"쁒",5,"쁙쁚쁛"],
|
|
||||||
["9861","쁝쁞쁟쁡",6,"쁪",15],
|
|
||||||
["9881","쁺",21,"삒삓삕삖삗삙",6,"삢삤삦",5,"삮삱삲삷",4,"삾샂샃샄샆샇샊샋샍샎샏샑",6,"샚샞",5,"샦샧샩샪샫샭",6,"샶샸샺",5,"섁섂섃섅섆섇섉",6,"섑섒섓섔섖",5,"섡섢섥섨섩섪섫섮"],
|
|
||||||
["9941","섲섳섴섵섷섺섻섽섾섿셁",6,"셊셎",5,"셖셗"],
|
|
||||||
["9961","셙셚셛셝",6,"셦셪",5,"셱셲셳셵셶셷셹셺셻"],
|
|
||||||
["9981","셼",8,"솆",5,"솏솑솒솓솕솗",4,"솞솠솢솣솤솦솧솪솫솭솮솯솱",11,"솾",5,"쇅쇆쇇쇉쇊쇋쇍",6,"쇕쇖쇙",6,"쇡쇢쇣쇥쇦쇧쇩",6,"쇲쇴",7,"쇾쇿숁숂숃숅",6,"숎숐숒",5,"숚숛숝숞숡숢숣"],
|
|
||||||
["9a41","숤숥숦숧숪숬숮숰숳숵",16],
|
|
||||||
["9a61","쉆쉇쉉",6,"쉒쉓쉕쉖쉗쉙",6,"쉡쉢쉣쉤쉦"],
|
|
||||||
["9a81","쉧",4,"쉮쉯쉱쉲쉳쉵",6,"쉾슀슂",5,"슊",5,"슑",6,"슙슚슜슞",5,"슦슧슩슪슫슮",5,"슶슸슺",33,"싞싟싡싢싥",5,"싮싰싲싳싴싵싷싺싽싾싿쌁",6,"쌊쌋쌎쌏"],
|
|
||||||
["9b41","쌐쌑쌒쌖쌗쌙쌚쌛쌝",6,"쌦쌧쌪",8],
|
|
||||||
["9b61","쌳",17,"썆",7],
|
|
||||||
["9b81","썎",25,"썪썫썭썮썯썱썳",4,"썺썻썾",5,"쎅쎆쎇쎉쎊쎋쎍",50,"쏁",22,"쏚"],
|
|
||||||
["9c41","쏛쏝쏞쏡쏣",4,"쏪쏫쏬쏮",5,"쏶쏷쏹",5],
|
|
||||||
["9c61","쏿",8,"쐉",6,"쐑",9],
|
|
||||||
["9c81","쐛",8,"쐥",6,"쐭쐮쐯쐱쐲쐳쐵",6,"쐾",9,"쑉",26,"쑦쑧쑩쑪쑫쑭",6,"쑶쑷쑸쑺",5,"쒁",18,"쒕",6,"쒝",12],
|
|
||||||
["9d41","쒪",13,"쒹쒺쒻쒽",8],
|
|
||||||
["9d61","쓆",25],
|
|
||||||
["9d81","쓠",8,"쓪",5,"쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂",9,"씍씎씏씑씒씓씕",6,"씝",10,"씪씫씭씮씯씱",6,"씺씼씾",5,"앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩",6,"앲앶",5,"앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔"],
|
|
||||||
["9e41","얖얙얚얛얝얞얟얡",7,"얪",9,"얶"],
|
|
||||||
["9e61","얷얺얿",4,"엋엍엏엒엓엕엖엗엙",6,"엢엤엦엧"],
|
|
||||||
["9e81","엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑",6,"옚옝",6,"옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉",6,"왒왖",5,"왞왟왡",10,"왭왮왰왲",5,"왺왻왽왾왿욁",6,"욊욌욎",5,"욖욗욙욚욛욝",6,"욦"],
|
|
||||||
["9f41","욨욪",5,"욲욳욵욶욷욻",4,"웂웄웆",5,"웎"],
|
|
||||||
["9f61","웏웑웒웓웕",6,"웞웟웢",5,"웪웫웭웮웯웱웲"],
|
|
||||||
["9f81","웳",4,"웺웻웼웾",5,"윆윇윉윊윋윍",6,"윖윘윚",5,"윢윣윥윦윧윩",6,"윲윴윶윸윹윺윻윾윿읁읂읃읅",4,"읋읎읐읙읚읛읝읞읟읡",6,"읩읪읬",7,"읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛",4,"잢잧",4,"잮잯잱잲잳잵잶잷"],
|
|
||||||
["a041","잸잹잺잻잾쟂",5,"쟊쟋쟍쟏쟑",6,"쟙쟚쟛쟜"],
|
|
||||||
["a061","쟞",5,"쟥쟦쟧쟩쟪쟫쟭",13],
|
|
||||||
["a081","쟻",4,"젂젃젅젆젇젉젋",4,"젒젔젗",4,"젞젟젡젢젣젥",6,"젮젰젲",5,"젹젺젻젽젾젿졁",6,"졊졋졎",5,"졕",26,"졲졳졵졶졷졹졻",4,"좂좄좈좉좊좎",5,"좕",7,"좞좠좢좣좤"],
|
|
||||||
["a141","좥좦좧좩",18,"좾좿죀죁"],
|
|
||||||
["a161","죂죃죅죆죇죉죊죋죍",6,"죖죘죚",5,"죢죣죥"],
|
|
||||||
["a181","죦",14,"죶",5,"죾죿줁줂줃줇",4,"줎 、。·‥…¨〃―∥\∼‘’“”〔〕〈",9,"±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬"],
|
|
||||||
["a241","줐줒",5,"줙",18],
|
|
||||||
["a261","줭",6,"줵",18],
|
|
||||||
["a281","쥈",7,"쥒쥓쥕쥖쥗쥙",6,"쥢쥤",7,"쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®"],
|
|
||||||
["a341","쥱쥲쥳쥵",6,"쥽",10,"즊즋즍즎즏"],
|
|
||||||
["a361","즑",6,"즚즜즞",16],
|
|
||||||
["a381","즯",16,"짂짃짅짆짉짋",4,"짒짔짗짘짛!",58,"₩]",32," ̄"],
|
|
||||||
["a441","짞짟짡짣짥짦짨짩짪짫짮짲",5,"짺짻짽짾짿쨁쨂쨃쨄"],
|
|
||||||
["a461","쨅쨆쨇쨊쨎",5,"쨕쨖쨗쨙",12],
|
|
||||||
["a481","쨦쨧쨨쨪",28,"ㄱ",93],
|
|
||||||
["a541","쩇",4,"쩎쩏쩑쩒쩓쩕",6,"쩞쩢",5,"쩩쩪"],
|
|
||||||
["a561","쩫",17,"쩾",5,"쪅쪆"],
|
|
||||||
["a581","쪇",16,"쪙",14,"ⅰ",9],
|
|
||||||
["a5b0","Ⅰ",9],
|
|
||||||
["a5c1","Α",16,"Σ",6],
|
|
||||||
["a5e1","α",16,"σ",6],
|
|
||||||
["a641","쪨",19,"쪾쪿쫁쫂쫃쫅"],
|
|
||||||
["a661","쫆",5,"쫎쫐쫒쫔쫕쫖쫗쫚",5,"쫡",6],
|
|
||||||
["a681","쫨쫩쫪쫫쫭",6,"쫵",18,"쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃",7],
|
|
||||||
["a741","쬋",4,"쬑쬒쬓쬕쬖쬗쬙",6,"쬢",7],
|
|
||||||
["a761","쬪",22,"쭂쭃쭄"],
|
|
||||||
["a781","쭅쭆쭇쭊쭋쭍쭎쭏쭑",6,"쭚쭛쭜쭞",5,"쭥",7,"㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙",9,"㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰",9,"㎀",4,"㎺",5,"㎐",4,"Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆"],
|
|
||||||
["a841","쭭",10,"쭺",14],
|
|
||||||
["a861","쮉",18,"쮝",6],
|
|
||||||
["a881","쮤",19,"쮹",11,"ÆÐªĦ"],
|
|
||||||
["a8a6","IJ"],
|
|
||||||
["a8a8","ĿŁØŒºÞŦŊ"],
|
|
||||||
["a8b1","㉠",27,"ⓐ",25,"①",14,"½⅓⅔¼¾⅛⅜⅝⅞"],
|
|
||||||
["a941","쯅",14,"쯕",10],
|
|
||||||
["a961","쯠쯡쯢쯣쯥쯦쯨쯪",18],
|
|
||||||
["a981","쯽",14,"찎찏찑찒찓찕",6,"찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀",27,"⒜",25,"⑴",14,"¹²³⁴ⁿ₁₂₃₄"],
|
|
||||||
["aa41","찥찦찪찫찭찯찱",6,"찺찿",4,"챆챇챉챊챋챍챎"],
|
|
||||||
["aa61","챏",4,"챖챚",5,"챡챢챣챥챧챩",6,"챱챲"],
|
|
||||||
["aa81","챳챴챶",29,"ぁ",82],
|
|
||||||
["ab41","첔첕첖첗첚첛첝첞첟첡",6,"첪첮",5,"첶첷첹"],
|
|
||||||
["ab61","첺첻첽",6,"쳆쳈쳊",5,"쳑쳒쳓쳕",5],
|
|
||||||
["ab81","쳛",8,"쳥",6,"쳭쳮쳯쳱",12,"ァ",85],
|
|
||||||
["ac41","쳾쳿촀촂",5,"촊촋촍촎촏촑",6,"촚촜촞촟촠"],
|
|
||||||
["ac61","촡촢촣촥촦촧촩촪촫촭",11,"촺",4],
|
|
||||||
["ac81","촿",28,"쵝쵞쵟А",5,"ЁЖ",25],
|
|
||||||
["acd1","а",5,"ёж",25],
|
|
||||||
["ad41","쵡쵢쵣쵥",6,"쵮쵰쵲",5,"쵹",7],
|
|
||||||
["ad61","춁",6,"춉",10,"춖춗춙춚춛춝춞춟"],
|
|
||||||
["ad81","춠춡춢춣춦춨춪",5,"춱",18,"췅"],
|
|
||||||
["ae41","췆",5,"췍췎췏췑",16],
|
|
||||||
["ae61","췢",5,"췩췪췫췭췮췯췱",6,"췺췼췾",4],
|
|
||||||
["ae81","츃츅츆츇츉츊츋츍",6,"츕츖츗츘츚",5,"츢츣츥츦츧츩츪츫"],
|
|
||||||
["af41","츬츭츮츯츲츴츶",19],
|
|
||||||
["af61","칊",13,"칚칛칝칞칢",5,"칪칬"],
|
|
||||||
["af81","칮",5,"칶칷칹칺칻칽",6,"캆캈캊",5,"캒캓캕캖캗캙"],
|
|
||||||
["b041","캚",5,"캢캦",5,"캮",12],
|
|
||||||
["b061","캻",5,"컂",19],
|
|
||||||
["b081","컖",13,"컦컧컩컪컭",6,"컶컺",5,"가각간갇갈갉갊감",7,"같",4,"갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆"],
|
|
||||||
["b141","켂켃켅켆켇켉",6,"켒켔켖",5,"켝켞켟켡켢켣"],
|
|
||||||
["b161","켥",6,"켮켲",5,"켹",11],
|
|
||||||
["b181","콅",14,"콖콗콙콚콛콝",6,"콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸"],
|
|
||||||
["b241","콭콮콯콲콳콵콶콷콹",6,"쾁쾂쾃쾄쾆",5,"쾍"],
|
|
||||||
["b261","쾎",18,"쾢",5,"쾩"],
|
|
||||||
["b281","쾪",5,"쾱",18,"쿅",6,"깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙"],
|
|
||||||
["b341","쿌",19,"쿢쿣쿥쿦쿧쿩"],
|
|
||||||
["b361","쿪",5,"쿲쿴쿶",5,"쿽쿾쿿퀁퀂퀃퀅",5],
|
|
||||||
["b381","퀋",5,"퀒",5,"퀙",19,"끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫",4,"낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝"],
|
|
||||||
["b441","퀮",5,"퀶퀷퀹퀺퀻퀽",6,"큆큈큊",5],
|
|
||||||
["b461","큑큒큓큕큖큗큙",6,"큡",10,"큮큯"],
|
|
||||||
["b481","큱큲큳큵",6,"큾큿킀킂",18,"뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫",4,"닳담답닷",4,"닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥"],
|
|
||||||
["b541","킕",14,"킦킧킩킪킫킭",5],
|
|
||||||
["b561","킳킶킸킺",5,"탂탃탅탆탇탊",5,"탒탖",4],
|
|
||||||
["b581","탛탞탟탡탢탣탥",6,"탮탲",5,"탹",11,"덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸"],
|
|
||||||
["b641","턅",7,"턎",17],
|
|
||||||
["b661","턠",15,"턲턳턵턶턷턹턻턼턽턾"],
|
|
||||||
["b681","턿텂텆",5,"텎텏텑텒텓텕",6,"텞텠텢",5,"텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗"],
|
|
||||||
["b741","텮",13,"텽",6,"톅톆톇톉톊"],
|
|
||||||
["b761","톋",20,"톢톣톥톦톧"],
|
|
||||||
["b781","톩",6,"톲톴톶톷톸톹톻톽톾톿퇁",14,"래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩"],
|
|
||||||
["b841","퇐",7,"퇙",17],
|
|
||||||
["b861","퇫",8,"퇵퇶퇷퇹",13],
|
|
||||||
["b881","툈툊",5,"툑",24,"륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많",4,"맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼"],
|
|
||||||
["b941","툪툫툮툯툱툲툳툵",6,"툾퉀퉂",5,"퉉퉊퉋퉌"],
|
|
||||||
["b961","퉍",14,"퉝",6,"퉥퉦퉧퉨"],
|
|
||||||
["b981","퉩",22,"튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바",4,"받",4,"밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗"],
|
|
||||||
["ba41","튍튎튏튒튓튔튖",5,"튝튞튟튡튢튣튥",6,"튭"],
|
|
||||||
["ba61","튮튯튰튲",5,"튺튻튽튾틁틃",4,"틊틌",5],
|
|
||||||
["ba81","틒틓틕틖틗틙틚틛틝",6,"틦",9,"틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤"],
|
|
||||||
["bb41","틻",4,"팂팄팆",5,"팏팑팒팓팕팗",4,"팞팢팣"],
|
|
||||||
["bb61","팤팦팧팪팫팭팮팯팱",6,"팺팾",5,"퍆퍇퍈퍉"],
|
|
||||||
["bb81","퍊",31,"빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤"],
|
|
||||||
["bc41","퍪",17,"퍾퍿펁펂펃펅펆펇"],
|
|
||||||
["bc61","펈펉펊펋펎펒",5,"펚펛펝펞펟펡",6,"펪펬펮"],
|
|
||||||
["bc81","펯",4,"펵펶펷펹펺펻펽",6,"폆폇폊",5,"폑",5,"샥샨샬샴샵샷샹섀섄섈섐섕서",4,"섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭"],
|
|
||||||
["bd41","폗폙",7,"폢폤",7,"폮폯폱폲폳폵폶폷"],
|
|
||||||
["bd61","폸폹폺폻폾퐀퐂",5,"퐉",13],
|
|
||||||
["bd81","퐗",5,"퐞",25,"숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰"],
|
|
||||||
["be41","퐸",7,"푁푂푃푅",14],
|
|
||||||
["be61","푔",7,"푝푞푟푡푢푣푥",7,"푮푰푱푲"],
|
|
||||||
["be81","푳",4,"푺푻푽푾풁풃",4,"풊풌풎",5,"풕",8,"쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄",6,"엌엎"],
|
|
||||||
["bf41","풞",10,"풪",14],
|
|
||||||
["bf61","풹",18,"퓍퓎퓏퓑퓒퓓퓕"],
|
|
||||||
["bf81","퓖",5,"퓝퓞퓠",7,"퓩퓪퓫퓭퓮퓯퓱",6,"퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염",5,"옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨"],
|
|
||||||
["c041","퓾",5,"픅픆픇픉픊픋픍",6,"픖픘",5],
|
|
||||||
["c061","픞",25],
|
|
||||||
["c081","픸픹픺픻픾픿핁핂핃핅",6,"핎핐핒",5,"핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응",7,"읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊"],
|
|
||||||
["c141","핤핦핧핪핬핮",5,"핶핷핹핺핻핽",6,"햆햊햋"],
|
|
||||||
["c161","햌햍햎햏햑",19,"햦햧"],
|
|
||||||
["c181","햨",31,"점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓"],
|
|
||||||
["c241","헊헋헍헎헏헑헓",4,"헚헜헞",5,"헦헧헩헪헫헭헮"],
|
|
||||||
["c261","헯",4,"헶헸헺",5,"혂혃혅혆혇혉",6,"혒"],
|
|
||||||
["c281","혖",5,"혝혞혟혡혢혣혥",7,"혮",9,"혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻"],
|
|
||||||
["c341","혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝",4],
|
|
||||||
["c361","홢",4,"홨홪",5,"홲홳홵",11],
|
|
||||||
["c381","횁횂횄횆",5,"횎횏횑횒횓횕",7,"횞횠횢",5,"횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층"],
|
|
||||||
["c441","횫횭횮횯횱",7,"횺횼",7,"훆훇훉훊훋"],
|
|
||||||
["c461","훍훎훏훐훒훓훕훖훘훚",5,"훡훢훣훥훦훧훩",4],
|
|
||||||
["c481","훮훯훱훲훳훴훶",5,"훾훿휁휂휃휅",11,"휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼"],
|
|
||||||
["c541","휕휖휗휚휛휝휞휟휡",6,"휪휬휮",5,"휶휷휹"],
|
|
||||||
["c561","휺휻휽",6,"흅흆흈흊",5,"흒흓흕흚",4],
|
|
||||||
["c581","흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵",6,"흾흿힀힂",5,"힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜"],
|
|
||||||
["c641","힍힎힏힑",6,"힚힜힞",5],
|
|
||||||
["c6a1","퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁"],
|
|
||||||
["c7a1","퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠"],
|
|
||||||
["c8a1","혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝"],
|
|
||||||
["caa1","伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕"],
|
|
||||||
["cba1","匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢"],
|
|
||||||
["cca1","瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械"],
|
|
||||||
["cda1","棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜"],
|
|
||||||
["cea1","科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾"],
|
|
||||||
["cfa1","區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴"],
|
|
||||||
["d0a1","鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣"],
|
|
||||||
["d1a1","朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩",5,"那樂",4,"諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉"],
|
|
||||||
["d2a1","納臘蠟衲囊娘廊",4,"乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧",5,"駑魯",10,"濃籠聾膿農惱牢磊腦賂雷尿壘",7,"嫩訥杻紐勒",5,"能菱陵尼泥匿溺多茶"],
|
|
||||||
["d3a1","丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃"],
|
|
||||||
["d4a1","棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅"],
|
|
||||||
["d5a1","蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣"],
|
|
||||||
["d6a1","煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼"],
|
|
||||||
["d7a1","遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬"],
|
|
||||||
["d8a1","立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅"],
|
|
||||||
["d9a1","蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文"],
|
|
||||||
["daa1","汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑"],
|
|
||||||
["dba1","發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖"],
|
|
||||||
["dca1","碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦"],
|
|
||||||
["dda1","孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥"],
|
|
||||||
["dea1","脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索"],
|
|
||||||
["dfa1","傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署"],
|
|
||||||
["e0a1","胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬"],
|
|
||||||
["e1a1","聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁"],
|
|
||||||
["e2a1","戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧"],
|
|
||||||
["e3a1","嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁"],
|
|
||||||
["e4a1","沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額"],
|
|
||||||
["e5a1","櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬"],
|
|
||||||
["e6a1","旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒"],
|
|
||||||
["e7a1","簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳"],
|
|
||||||
["e8a1","烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療"],
|
|
||||||
["e9a1","窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓"],
|
|
||||||
["eaa1","運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜"],
|
|
||||||
["eba1","濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼"],
|
|
||||||
["eca1","議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄"],
|
|
||||||
["eda1","立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長"],
|
|
||||||
["eea1","障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱"],
|
|
||||||
["efa1","煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖"],
|
|
||||||
["f0a1","靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫"],
|
|
||||||
["f1a1","踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只"],
|
|
||||||
["f2a1","咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯"],
|
|
||||||
["f3a1","鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策"],
|
|
||||||
["f4a1","責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢"],
|
|
||||||
["f5a1","椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃"],
|
|
||||||
["f6a1","贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託"],
|
|
||||||
["f7a1","鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑"],
|
|
||||||
["f8a1","阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃"],
|
|
||||||
["f9a1","品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航"],
|
|
||||||
["faa1","行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型"],
|
|
||||||
["fba1","形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵"],
|
|
||||||
["fca1","禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆"],
|
|
||||||
["fda1","爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰"]
|
|
||||||
]
|
|
||||||
@ -1,177 +0,0 @@
|
|||||||
[
|
|
||||||
["0","\u0000",127],
|
|
||||||
["a140"," ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚"],
|
|
||||||
["a1a1","﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢",4,"~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/"],
|
|
||||||
["a240","\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁",7,"▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭"],
|
|
||||||
["a2a1","╮╰╯═╞╪╡◢◣◥◤╱╲╳0",9,"Ⅰ",9,"〡",8,"十卄卅A",25,"a",21],
|
|
||||||
["a340","wxyzΑ",16,"Σ",6,"α",16,"σ",6,"ㄅ",10],
|
|
||||||
["a3a1","ㄐ",25,"˙ˉˊˇˋ"],
|
|
||||||
["a3e1","€"],
|
|
||||||
["a440","一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才"],
|
|
||||||
["a4a1","丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙"],
|
|
||||||
["a540","世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外"],
|
|
||||||
["a5a1","央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全"],
|
|
||||||
["a640","共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年"],
|
|
||||||
["a6a1","式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣"],
|
|
||||||
["a740","作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍"],
|
|
||||||
["a7a1","均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠"],
|
|
||||||
["a840","杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒"],
|
|
||||||
["a8a1","芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵"],
|
|
||||||
["a940","咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居"],
|
|
||||||
["a9a1","屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊"],
|
|
||||||
["aa40","昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠"],
|
|
||||||
["aaa1","炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附"],
|
|
||||||
["ab40","陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品"],
|
|
||||||
["aba1","哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷"],
|
|
||||||
["ac40","拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗"],
|
|
||||||
["aca1","活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄"],
|
|
||||||
["ad40","耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥"],
|
|
||||||
["ada1","迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪"],
|
|
||||||
["ae40","哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙"],
|
|
||||||
["aea1","恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓"],
|
|
||||||
["af40","浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷"],
|
|
||||||
["afa1","砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃"],
|
|
||||||
["b040","虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡"],
|
|
||||||
["b0a1","陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀"],
|
|
||||||
["b140","娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽"],
|
|
||||||
["b1a1","情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺"],
|
|
||||||
["b240","毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶"],
|
|
||||||
["b2a1","瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼"],
|
|
||||||
["b340","莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途"],
|
|
||||||
["b3a1","部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠"],
|
|
||||||
["b440","婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍"],
|
|
||||||
["b4a1","插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋"],
|
|
||||||
["b540","溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘"],
|
|
||||||
["b5a1","窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁"],
|
|
||||||
["b640","詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑"],
|
|
||||||
["b6a1","間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼"],
|
|
||||||
["b740","媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業"],
|
|
||||||
["b7a1","楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督"],
|
|
||||||
["b840","睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫"],
|
|
||||||
["b8a1","腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊"],
|
|
||||||
["b940","辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴"],
|
|
||||||
["b9a1","飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇"],
|
|
||||||
["ba40","愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢"],
|
|
||||||
["baa1","滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬"],
|
|
||||||
["bb40","罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤"],
|
|
||||||
["bba1","說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜"],
|
|
||||||
["bc40","劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂"],
|
|
||||||
["bca1","慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃"],
|
|
||||||
["bd40","瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯"],
|
|
||||||
["bda1","翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞"],
|
|
||||||
["be40","輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉"],
|
|
||||||
["bea1","鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡"],
|
|
||||||
["bf40","濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊"],
|
|
||||||
["bfa1","縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚"],
|
|
||||||
["c040","錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇"],
|
|
||||||
["c0a1","嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬"],
|
|
||||||
["c140","瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪"],
|
|
||||||
["c1a1","薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁"],
|
|
||||||
["c240","駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘"],
|
|
||||||
["c2a1","癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦"],
|
|
||||||
["c340","鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸"],
|
|
||||||
["c3a1","獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類"],
|
|
||||||
["c440","願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼"],
|
|
||||||
["c4a1","纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴"],
|
|
||||||
["c540","護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬"],
|
|
||||||
["c5a1","禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒"],
|
|
||||||
["c640","讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲"],
|
|
||||||
["c940","乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕"],
|
|
||||||
["c9a1","氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋"],
|
|
||||||
["ca40","汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘"],
|
|
||||||
["caa1","吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇"],
|
|
||||||
["cb40","杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓"],
|
|
||||||
["cba1","芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢"],
|
|
||||||
["cc40","坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋"],
|
|
||||||
["cca1","怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲"],
|
|
||||||
["cd40","泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺"],
|
|
||||||
["cda1","矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏"],
|
|
||||||
["ce40","哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛"],
|
|
||||||
["cea1","峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺"],
|
|
||||||
["cf40","柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂"],
|
|
||||||
["cfa1","洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀"],
|
|
||||||
["d040","穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪"],
|
|
||||||
["d0a1","苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱"],
|
|
||||||
["d140","唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧"],
|
|
||||||
["d1a1","恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤"],
|
|
||||||
["d240","毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸"],
|
|
||||||
["d2a1","牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐"],
|
|
||||||
["d340","笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢"],
|
|
||||||
["d3a1","荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐"],
|
|
||||||
["d440","酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅"],
|
|
||||||
["d4a1","唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏"],
|
|
||||||
["d540","崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟"],
|
|
||||||
["d5a1","捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉"],
|
|
||||||
["d640","淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏"],
|
|
||||||
["d6a1","痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟"],
|
|
||||||
["d740","耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷"],
|
|
||||||
["d7a1","蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪"],
|
|
||||||
["d840","釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷"],
|
|
||||||
["d8a1","堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔"],
|
|
||||||
["d940","惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒"],
|
|
||||||
["d9a1","晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞"],
|
|
||||||
["da40","湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖"],
|
|
||||||
["daa1","琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥"],
|
|
||||||
["db40","罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳"],
|
|
||||||
["dba1","菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺"],
|
|
||||||
["dc40","軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈"],
|
|
||||||
["dca1","隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆"],
|
|
||||||
["dd40","媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤"],
|
|
||||||
["dda1","搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼"],
|
|
||||||
["de40","毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓"],
|
|
||||||
["dea1","煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓"],
|
|
||||||
["df40","稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯"],
|
|
||||||
["dfa1","腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤"],
|
|
||||||
["e040","觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿"],
|
|
||||||
["e0a1","遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠"],
|
|
||||||
["e140","凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠"],
|
|
||||||
["e1a1","寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉"],
|
|
||||||
["e240","榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊"],
|
|
||||||
["e2a1","漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓"],
|
|
||||||
["e340","禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞"],
|
|
||||||
["e3a1","耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻"],
|
|
||||||
["e440","裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍"],
|
|
||||||
["e4a1","銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘"],
|
|
||||||
["e540","噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉"],
|
|
||||||
["e5a1","憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒"],
|
|
||||||
["e640","澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙"],
|
|
||||||
["e6a1","獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟"],
|
|
||||||
["e740","膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢"],
|
|
||||||
["e7a1","蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧"],
|
|
||||||
["e840","踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓"],
|
|
||||||
["e8a1","銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮"],
|
|
||||||
["e940","噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺"],
|
|
||||||
["e9a1","憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸"],
|
|
||||||
["ea40","澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙"],
|
|
||||||
["eaa1","瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘"],
|
|
||||||
["eb40","蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠"],
|
|
||||||
["eba1","諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌"],
|
|
||||||
["ec40","錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕"],
|
|
||||||
["eca1","魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎"],
|
|
||||||
["ed40","檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶"],
|
|
||||||
["eda1","瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞"],
|
|
||||||
["ee40","蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞"],
|
|
||||||
["eea1","謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜"],
|
|
||||||
["ef40","鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰"],
|
|
||||||
["efa1","鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶"],
|
|
||||||
["f040","璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒"],
|
|
||||||
["f0a1","臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧"],
|
|
||||||
["f140","蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪"],
|
|
||||||
["f1a1","鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰"],
|
|
||||||
["f240","徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛"],
|
|
||||||
["f2a1","礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕"],
|
|
||||||
["f340","譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦"],
|
|
||||||
["f3a1","鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲"],
|
|
||||||
["f440","嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩"],
|
|
||||||
["f4a1","禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿"],
|
|
||||||
["f540","鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛"],
|
|
||||||
["f5a1","鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥"],
|
|
||||||
["f640","蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺"],
|
|
||||||
["f6a1","騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚"],
|
|
||||||
["f740","糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊"],
|
|
||||||
["f7a1","驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾"],
|
|
||||||
["f840","讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏"],
|
|
||||||
["f8a1","齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚"],
|
|
||||||
["f940","纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊"],
|
|
||||||
["f9a1","龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓"]
|
|
||||||
]
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user