node-red-contrib-tak-registration 0.11.5 → 0.11.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/node/buffer.d.ts +8 -7
- package/node_modules/@types/node/crypto.d.ts +38 -7
- package/node_modules/@types/node/dgram.d.ts +10 -0
- package/node_modules/@types/node/diagnostics_channel.d.ts +355 -1
- package/node_modules/@types/node/fs.d.ts +28 -8
- package/node_modules/@types/node/globals.d.ts +26 -0
- package/node_modules/@types/node/http.d.ts +6 -7
- package/node_modules/@types/node/module.d.ts +14 -0
- package/node_modules/@types/node/net.d.ts +8 -3
- package/node_modules/@types/node/package.json +3 -4
- package/node_modules/@types/node/perf_hooks.d.ts +12 -6
- package/node_modules/@types/node/process.d.ts +25 -3
- package/node_modules/@types/node/querystring.d.ts +3 -3
- package/node_modules/@types/node/stream/web.d.ts +17 -1
- package/node_modules/@types/node/string_decoder.d.ts +2 -2
- package/node_modules/@types/node/test.d.ts +98 -15
- package/node_modules/@types/node/tls.d.ts +1 -1
- package/node_modules/@types/node/ts4.8/buffer.d.ts +8 -7
- package/node_modules/@types/node/ts4.8/crypto.d.ts +41 -9
- package/node_modules/@types/node/ts4.8/dgram.d.ts +10 -0
- package/node_modules/@types/node/ts4.8/diagnostics_channel.d.ts +355 -1
- package/node_modules/@types/node/ts4.8/fs.d.ts +28 -8
- package/node_modules/@types/node/ts4.8/globals.d.ts +26 -0
- package/node_modules/@types/node/ts4.8/http.d.ts +6 -7
- package/node_modules/@types/node/ts4.8/module.d.ts +14 -0
- package/node_modules/@types/node/ts4.8/net.d.ts +8 -3
- package/node_modules/@types/node/ts4.8/perf_hooks.d.ts +13 -7
- package/node_modules/@types/node/ts4.8/process.d.ts +25 -3
- package/node_modules/@types/node/ts4.8/querystring.d.ts +3 -3
- package/node_modules/@types/node/ts4.8/stream/web.d.ts +17 -1
- package/node_modules/@types/node/ts4.8/string_decoder.d.ts +2 -2
- package/node_modules/@types/node/ts4.8/test.d.ts +98 -15
- package/node_modules/@types/node/ts4.8/tls.d.ts +1 -1
- package/node_modules/@types/node/ts4.8/url.d.ts +59 -42
- package/node_modules/@types/node/ts4.8/util.d.ts +1 -1
- package/node_modules/@types/node/ts4.8/v8.d.ts +134 -5
- package/node_modules/@types/node/ts4.8/wasi.d.ts +26 -5
- package/node_modules/@types/node/url.d.ts +59 -42
- package/node_modules/@types/node/v8.d.ts +134 -5
- package/node_modules/@types/node/wasi.d.ts +26 -5
- package/node_modules/axios/CHANGELOG.md +53 -0
- package/node_modules/axios/README.md +47 -5
- package/node_modules/axios/dist/axios.js +368 -4
- package/node_modules/axios/dist/axios.js.map +1 -1
- package/node_modules/axios/dist/axios.min.js +1 -1
- package/node_modules/axios/dist/axios.min.js.map +1 -1
- package/node_modules/axios/dist/browser/axios.cjs +28 -4
- package/node_modules/axios/dist/browser/axios.cjs.map +1 -1
- package/node_modules/axios/dist/esm/axios.js +28 -4
- package/node_modules/axios/dist/esm/axios.js.map +1 -1
- package/node_modules/axios/dist/esm/axios.min.js +1 -1
- package/node_modules/axios/dist/esm/axios.min.js.map +1 -1
- package/node_modules/axios/dist/node/axios.cjs +34 -6
- package/node_modules/axios/dist/node/axios.cjs.map +1 -1
- package/node_modules/axios/index.d.cts +1 -1
- package/node_modules/axios/index.d.ts +1 -1
- package/node_modules/axios/lib/adapters/http.js +6 -2
- package/node_modules/axios/lib/core/Axios.js +22 -1
- package/node_modules/axios/lib/env/data.js +1 -1
- package/node_modules/axios/lib/helpers/combineURLs.js +1 -1
- package/node_modules/axios/lib/helpers/formDataToJSON.js +3 -0
- package/node_modules/axios/package.json +2 -2
- package/node_modules/call-bind/CHANGELOG.md +16 -0
- package/node_modules/call-bind/index.js +2 -11
- package/node_modules/call-bind/package.json +11 -6
- package/node_modules/define-data-property/CHANGELOG.md +29 -0
- package/node_modules/define-data-property/index.d.ts +12 -3
- package/node_modules/define-data-property/index.js +4 -16
- package/node_modules/define-data-property/package.json +26 -33
- package/node_modules/define-data-property/test/index.js +10 -10
- package/node_modules/es-define-property/.eslintrc +13 -0
- package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/node_modules/es-define-property/.nycrc +9 -0
- package/node_modules/es-define-property/CHANGELOG.md +15 -0
- package/node_modules/es-define-property/LICENSE +21 -0
- package/node_modules/es-define-property/README.md +49 -0
- package/node_modules/es-define-property/index.d.ts +3 -0
- package/node_modules/es-define-property/index.js +16 -0
- package/node_modules/es-define-property/package.json +81 -0
- package/node_modules/es-define-property/test/index.js +55 -0
- package/node_modules/es-define-property/tsconfig.json +50 -0
- package/node_modules/es-errors/.eslintrc +5 -0
- package/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/node_modules/es-errors/CHANGELOG.md +40 -0
- package/node_modules/es-errors/LICENSE +21 -0
- package/node_modules/es-errors/README.md +55 -0
- package/node_modules/es-errors/eval.d.ts +3 -0
- package/node_modules/es-errors/eval.js +4 -0
- package/node_modules/es-errors/index.d.ts +3 -0
- package/node_modules/es-errors/index.js +4 -0
- package/node_modules/es-errors/package.json +80 -0
- package/node_modules/es-errors/range.d.ts +3 -0
- package/node_modules/es-errors/range.js +4 -0
- package/node_modules/es-errors/ref.d.ts +3 -0
- package/node_modules/es-errors/ref.js +4 -0
- package/node_modules/es-errors/syntax.d.ts +3 -0
- package/node_modules/es-errors/syntax.js +4 -0
- package/node_modules/es-errors/test/index.js +19 -0
- package/node_modules/es-errors/tsconfig.json +49 -0
- package/node_modules/es-errors/type.d.ts +3 -0
- package/node_modules/es-errors/type.js +4 -0
- package/node_modules/es-errors/uri.d.ts +3 -0
- package/node_modules/es-errors/uri.js +4 -0
- package/node_modules/fast-xml-parser/CHANGELOG.md +3 -0
- package/node_modules/fast-xml-parser/README.md +2 -1
- package/node_modules/fast-xml-parser/package.json +4 -1
- package/node_modules/fast-xml-parser/src/fxp.d.ts +363 -69
- package/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +5 -5
- package/node_modules/follow-redirects/index.js +114 -75
- package/node_modules/follow-redirects/package.json +1 -1
- package/node_modules/get-intrinsic/CHANGELOG.md +18 -0
- package/node_modules/get-intrinsic/index.js +15 -7
- package/node_modules/get-intrinsic/package.json +12 -12
- package/node_modules/has-property-descriptors/CHANGELOG.md +8 -0
- package/node_modules/has-property-descriptors/index.js +3 -14
- package/node_modules/has-property-descriptors/package.json +5 -5
- package/node_modules/has-proto/CHANGELOG.md +15 -0
- package/node_modules/has-proto/index.d.ts +3 -0
- package/node_modules/has-proto/index.js +5 -1
- package/node_modules/has-proto/package.json +9 -5
- package/node_modules/has-proto/tsconfig.json +49 -0
- package/node_modules/has-tostringtag/.eslintrc +0 -6
- package/node_modules/has-tostringtag/.nycrc +13 -0
- package/node_modules/has-tostringtag/CHANGELOG.md +22 -0
- package/node_modules/has-tostringtag/index.d.ts +3 -0
- package/node_modules/has-tostringtag/index.js +1 -0
- package/node_modules/has-tostringtag/package.json +37 -13
- package/node_modules/has-tostringtag/shams.d.ts +3 -0
- package/node_modules/has-tostringtag/shams.js +1 -0
- package/node_modules/has-tostringtag/test/shams/core-js.js +3 -0
- package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +2 -0
- package/node_modules/has-tostringtag/test/tests.js +2 -1
- package/node_modules/has-tostringtag/tsconfig.json +49 -0
- package/node_modules/hasown/CHANGELOG.md +8 -0
- package/node_modules/hasown/index.d.ts +3 -3
- package/node_modules/hasown/index.js +1 -1
- package/node_modules/hasown/package.json +13 -15
- package/node_modules/polygon-clipping/README.md +29 -26
- package/node_modules/polygon-clipping/dist/polygon-clipping.cjs.js +1398 -1421
- package/node_modules/polygon-clipping/dist/polygon-clipping.d.ts +13 -10
- package/node_modules/polygon-clipping/dist/polygon-clipping.esm.js +1139 -1427
- package/node_modules/polygon-clipping/dist/polygon-clipping.umd.js +1770 -1831
- package/node_modules/polygon-clipping/dist/polygon-clipping.umd.min.js +22 -8
- package/node_modules/polygon-clipping/dist/polygon-clipping.umd.min.js.map +1 -1
- package/node_modules/polygon-clipping/node_modules/robust-predicates/LICENSE +24 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/README.md +82 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/incircle.js +765 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/insphere.js +766 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/orient2d.js +184 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/orient3d.js +462 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/esm/util.js +138 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/index.d.ts +49 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/index.js +5 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/package.json +75 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/incircle.js +908 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/incircle.min.js +1 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/insphere.js +914 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/insphere.min.js +1 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/orient2d.js +280 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/orient2d.min.js +1 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/orient3d.js +601 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/orient3d.min.js +1 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/predicates.js +2328 -0
- package/node_modules/polygon-clipping/node_modules/robust-predicates/umd/predicates.min.js +1 -0
- package/node_modules/polygon-clipping/package.json +30 -25
- package/node_modules/protobufjs/dist/light/protobuf.js +4 -4
- package/node_modules/protobufjs/dist/light/protobuf.js.map +1 -1
- package/node_modules/protobufjs/dist/light/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/light/protobuf.min.js.map +1 -1
- package/node_modules/protobufjs/dist/minimal/protobuf.js +2 -2
- package/node_modules/protobufjs/dist/minimal/protobuf.min.js +2 -2
- package/node_modules/protobufjs/dist/protobuf.js +4 -4
- package/node_modules/protobufjs/dist/protobuf.js.map +1 -1
- package/node_modules/protobufjs/dist/protobuf.min.js +3 -3
- package/node_modules/protobufjs/dist/protobuf.min.js.map +1 -1
- package/node_modules/protobufjs/package.json +1 -1
- package/node_modules/protobufjs/src/root.js +2 -2
- package/node_modules/regexp.prototype.flags/CHANGELOG.md +13 -0
- package/node_modules/regexp.prototype.flags/implementation.js +2 -2
- package/node_modules/regexp.prototype.flags/package.json +11 -10
- package/node_modules/regexp.prototype.flags/test/tests.js +13 -13
- package/node_modules/set-function-length/CHANGELOG.md +18 -0
- package/node_modules/set-function-length/env.d.ts +6 -0
- package/node_modules/set-function-length/env.d.ts.map +1 -0
- package/node_modules/set-function-length/env.js +9 -4
- package/node_modules/set-function-length/index.d.ts +7 -0
- package/node_modules/set-function-length/index.d.ts.map +1 -0
- package/node_modules/set-function-length/index.js +6 -3
- package/node_modules/set-function-length/package.json +33 -13
- package/node_modules/set-function-length/tsconfig.json +59 -0
- package/node_modules/set-function-name/.eslintrc +1 -0
- package/node_modules/set-function-name/CHANGELOG.md +9 -0
- package/node_modules/set-function-name/index.d.ts +5 -0
- package/node_modules/set-function-name/index.js +4 -3
- package/node_modules/set-function-name/package.json +28 -9
- package/node_modules/set-function-name/tsconfig.json +59 -0
- package/package.json +4 -4
- package/tak-ingest.js +4 -0
- package/node_modules/define-data-property/index.d.ts.map +0 -1
- package/node_modules/hasown/index.d.ts.map +0 -1
- package/node_modules/polygon-clipping/CHANGELOG.md +0 -129
|
@@ -6,6 +6,30 @@ var Writable = require("stream").Writable;
|
|
|
6
6
|
var assert = require("assert");
|
|
7
7
|
var debug = require("./debug");
|
|
8
8
|
|
|
9
|
+
// Whether to use the native URL object or the legacy url module
|
|
10
|
+
var useNativeURL = false;
|
|
11
|
+
try {
|
|
12
|
+
assert(new URL());
|
|
13
|
+
}
|
|
14
|
+
catch (error) {
|
|
15
|
+
useNativeURL = error.code === "ERR_INVALID_URL";
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// URL fields to preserve in copy operations
|
|
19
|
+
var preservedUrlFields = [
|
|
20
|
+
"auth",
|
|
21
|
+
"host",
|
|
22
|
+
"hostname",
|
|
23
|
+
"href",
|
|
24
|
+
"path",
|
|
25
|
+
"pathname",
|
|
26
|
+
"port",
|
|
27
|
+
"protocol",
|
|
28
|
+
"query",
|
|
29
|
+
"search",
|
|
30
|
+
"hash",
|
|
31
|
+
];
|
|
32
|
+
|
|
9
33
|
// Create handlers that pass events from native requests
|
|
10
34
|
var events = ["abort", "aborted", "connect", "error", "socket", "timeout"];
|
|
11
35
|
var eventHandlers = Object.create(null);
|
|
@@ -15,19 +39,20 @@ events.forEach(function (event) {
|
|
|
15
39
|
};
|
|
16
40
|
});
|
|
17
41
|
|
|
42
|
+
// Error types with codes
|
|
18
43
|
var InvalidUrlError = createErrorType(
|
|
19
44
|
"ERR_INVALID_URL",
|
|
20
45
|
"Invalid URL",
|
|
21
46
|
TypeError
|
|
22
47
|
);
|
|
23
|
-
// Error types with codes
|
|
24
48
|
var RedirectionError = createErrorType(
|
|
25
49
|
"ERR_FR_REDIRECTION_FAILURE",
|
|
26
50
|
"Redirected request failed"
|
|
27
51
|
);
|
|
28
52
|
var TooManyRedirectsError = createErrorType(
|
|
29
53
|
"ERR_FR_TOO_MANY_REDIRECTS",
|
|
30
|
-
"Maximum number of redirects exceeded"
|
|
54
|
+
"Maximum number of redirects exceeded",
|
|
55
|
+
RedirectionError
|
|
31
56
|
);
|
|
32
57
|
var MaxBodyLengthExceededError = createErrorType(
|
|
33
58
|
"ERR_FR_MAX_BODY_LENGTH_EXCEEDED",
|
|
@@ -62,7 +87,13 @@ function RedirectableRequest(options, responseCallback) {
|
|
|
62
87
|
// React to responses of native requests
|
|
63
88
|
var self = this;
|
|
64
89
|
this._onNativeResponse = function (response) {
|
|
65
|
-
|
|
90
|
+
try {
|
|
91
|
+
self._processResponse(response);
|
|
92
|
+
}
|
|
93
|
+
catch (cause) {
|
|
94
|
+
self.emit("error", cause instanceof RedirectionError ?
|
|
95
|
+
cause : new RedirectionError({ cause: cause }));
|
|
96
|
+
}
|
|
66
97
|
};
|
|
67
98
|
|
|
68
99
|
// Perform the first request
|
|
@@ -280,8 +311,7 @@ RedirectableRequest.prototype._performRequest = function () {
|
|
|
280
311
|
var protocol = this._options.protocol;
|
|
281
312
|
var nativeProtocol = this._options.nativeProtocols[protocol];
|
|
282
313
|
if (!nativeProtocol) {
|
|
283
|
-
|
|
284
|
-
return;
|
|
314
|
+
throw new TypeError("Unsupported protocol " + protocol);
|
|
285
315
|
}
|
|
286
316
|
|
|
287
317
|
// If specified, use the agent corresponding to the protocol
|
|
@@ -380,8 +410,7 @@ RedirectableRequest.prototype._processResponse = function (response) {
|
|
|
380
410
|
// RFC7231§6.4: A client SHOULD detect and intervene
|
|
381
411
|
// in cyclical redirections (i.e., "infinite" redirection loops).
|
|
382
412
|
if (++this._redirectCount > this._options.maxRedirects) {
|
|
383
|
-
|
|
384
|
-
return;
|
|
413
|
+
throw new TooManyRedirectsError();
|
|
385
414
|
}
|
|
386
415
|
|
|
387
416
|
// Store the request headers if applicable
|
|
@@ -415,33 +444,23 @@ RedirectableRequest.prototype._processResponse = function (response) {
|
|
|
415
444
|
var currentHostHeader = removeMatchingHeaders(/^host$/i, this._options.headers);
|
|
416
445
|
|
|
417
446
|
// If the redirect is relative, carry over the host of the last request
|
|
418
|
-
var currentUrlParts =
|
|
447
|
+
var currentUrlParts = parseUrl(this._currentUrl);
|
|
419
448
|
var currentHost = currentHostHeader || currentUrlParts.host;
|
|
420
449
|
var currentUrl = /^\w+:/.test(location) ? this._currentUrl :
|
|
421
450
|
url.format(Object.assign(currentUrlParts, { host: currentHost }));
|
|
422
451
|
|
|
423
|
-
// Determine the URL of the redirection
|
|
424
|
-
var redirectUrl;
|
|
425
|
-
try {
|
|
426
|
-
redirectUrl = url.resolve(currentUrl, location);
|
|
427
|
-
}
|
|
428
|
-
catch (cause) {
|
|
429
|
-
this.emit("error", new RedirectionError({ cause: cause }));
|
|
430
|
-
return;
|
|
431
|
-
}
|
|
432
|
-
|
|
433
452
|
// Create the redirected request
|
|
434
|
-
|
|
453
|
+
var redirectUrl = resolveUrl(location, currentUrl);
|
|
454
|
+
debug("redirecting to", redirectUrl.href);
|
|
435
455
|
this._isRedirect = true;
|
|
436
|
-
|
|
437
|
-
Object.assign(this._options, redirectUrlParts);
|
|
456
|
+
spreadUrlObject(redirectUrl, this._options);
|
|
438
457
|
|
|
439
458
|
// Drop confidential headers when redirecting to a less secure protocol
|
|
440
459
|
// or to a different domain that is not a superdomain
|
|
441
|
-
if (
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
!isSubdomain(
|
|
460
|
+
if (redirectUrl.protocol !== currentUrlParts.protocol &&
|
|
461
|
+
redirectUrl.protocol !== "https:" ||
|
|
462
|
+
redirectUrl.host !== currentHost &&
|
|
463
|
+
!isSubdomain(redirectUrl.host, currentHost)) {
|
|
445
464
|
removeMatchingHeaders(/^(?:authorization|cookie)$/i, this._options.headers);
|
|
446
465
|
}
|
|
447
466
|
|
|
@@ -456,23 +475,12 @@ RedirectableRequest.prototype._processResponse = function (response) {
|
|
|
456
475
|
method: method,
|
|
457
476
|
headers: requestHeaders,
|
|
458
477
|
};
|
|
459
|
-
|
|
460
|
-
beforeRedirect(this._options, responseDetails, requestDetails);
|
|
461
|
-
}
|
|
462
|
-
catch (err) {
|
|
463
|
-
this.emit("error", err);
|
|
464
|
-
return;
|
|
465
|
-
}
|
|
478
|
+
beforeRedirect(this._options, responseDetails, requestDetails);
|
|
466
479
|
this._sanitizeOptions(this._options);
|
|
467
480
|
}
|
|
468
481
|
|
|
469
482
|
// Perform the redirected request
|
|
470
|
-
|
|
471
|
-
this._performRequest();
|
|
472
|
-
}
|
|
473
|
-
catch (cause) {
|
|
474
|
-
this.emit("error", new RedirectionError({ cause: cause }));
|
|
475
|
-
}
|
|
483
|
+
this._performRequest();
|
|
476
484
|
};
|
|
477
485
|
|
|
478
486
|
// Wraps the key/value object of protocols with redirect functionality
|
|
@@ -492,27 +500,16 @@ function wrap(protocols) {
|
|
|
492
500
|
|
|
493
501
|
// Executes a request, following redirects
|
|
494
502
|
function request(input, options, callback) {
|
|
495
|
-
// Parse parameters
|
|
496
|
-
if (
|
|
497
|
-
|
|
498
|
-
try {
|
|
499
|
-
parsed = urlToOptions(new URL(input));
|
|
500
|
-
}
|
|
501
|
-
catch (err) {
|
|
502
|
-
/* istanbul ignore next */
|
|
503
|
-
parsed = url.parse(input);
|
|
504
|
-
}
|
|
505
|
-
if (!isString(parsed.protocol)) {
|
|
506
|
-
throw new InvalidUrlError({ input });
|
|
507
|
-
}
|
|
508
|
-
input = parsed;
|
|
503
|
+
// Parse parameters, ensuring that input is an object
|
|
504
|
+
if (isURL(input)) {
|
|
505
|
+
input = spreadUrlObject(input);
|
|
509
506
|
}
|
|
510
|
-
else if (
|
|
511
|
-
input =
|
|
507
|
+
else if (isString(input)) {
|
|
508
|
+
input = spreadUrlObject(parseUrl(input));
|
|
512
509
|
}
|
|
513
510
|
else {
|
|
514
511
|
callback = options;
|
|
515
|
-
options = input;
|
|
512
|
+
options = validateUrl(input);
|
|
516
513
|
input = { protocol: protocol };
|
|
517
514
|
}
|
|
518
515
|
if (isFunction(options)) {
|
|
@@ -551,27 +548,57 @@ function wrap(protocols) {
|
|
|
551
548
|
return exports;
|
|
552
549
|
}
|
|
553
550
|
|
|
554
|
-
/* istanbul ignore next */
|
|
555
551
|
function noop() { /* empty */ }
|
|
556
552
|
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
553
|
+
function parseUrl(input) {
|
|
554
|
+
var parsed;
|
|
555
|
+
/* istanbul ignore else */
|
|
556
|
+
if (useNativeURL) {
|
|
557
|
+
parsed = new URL(input);
|
|
558
|
+
}
|
|
559
|
+
else {
|
|
560
|
+
// Ensure the URL is valid and absolute
|
|
561
|
+
parsed = validateUrl(url.parse(input));
|
|
562
|
+
if (!isString(parsed.protocol)) {
|
|
563
|
+
throw new InvalidUrlError({ input });
|
|
564
|
+
}
|
|
565
|
+
}
|
|
566
|
+
return parsed;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
function resolveUrl(relative, base) {
|
|
570
|
+
/* istanbul ignore next */
|
|
571
|
+
return useNativeURL ? new URL(relative, base) : parseUrl(url.resolve(base, relative));
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
function validateUrl(input) {
|
|
575
|
+
if (/^\[/.test(input.hostname) && !/^\[[:0-9a-f]+\]$/i.test(input.hostname)) {
|
|
576
|
+
throw new InvalidUrlError({ input: input.href || input });
|
|
573
577
|
}
|
|
574
|
-
|
|
578
|
+
if (/^\[/.test(input.host) && !/^\[[:0-9a-f]+\](:\d+)?$/i.test(input.host)) {
|
|
579
|
+
throw new InvalidUrlError({ input: input.href || input });
|
|
580
|
+
}
|
|
581
|
+
return input;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
function spreadUrlObject(urlObject, target) {
|
|
585
|
+
var spread = target || {};
|
|
586
|
+
for (var key of preservedUrlFields) {
|
|
587
|
+
spread[key] = urlObject[key];
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
// Fix IPv6 hostname
|
|
591
|
+
if (spread.hostname.startsWith("[")) {
|
|
592
|
+
spread.hostname = spread.hostname.slice(1, -1);
|
|
593
|
+
}
|
|
594
|
+
// Ensure port is a number
|
|
595
|
+
if (spread.port !== "") {
|
|
596
|
+
spread.port = Number(spread.port);
|
|
597
|
+
}
|
|
598
|
+
// Concatenate path
|
|
599
|
+
spread.path = spread.search ? spread.pathname + spread.search : spread.pathname;
|
|
600
|
+
|
|
601
|
+
return spread;
|
|
575
602
|
}
|
|
576
603
|
|
|
577
604
|
function removeMatchingHeaders(regex, headers) {
|
|
@@ -597,8 +624,16 @@ function createErrorType(code, message, baseClass) {
|
|
|
597
624
|
|
|
598
625
|
// Attach constructor and set default properties
|
|
599
626
|
CustomError.prototype = new (baseClass || Error)();
|
|
600
|
-
CustomError.prototype
|
|
601
|
-
|
|
627
|
+
Object.defineProperties(CustomError.prototype, {
|
|
628
|
+
constructor: {
|
|
629
|
+
value: CustomError,
|
|
630
|
+
enumerable: false,
|
|
631
|
+
},
|
|
632
|
+
name: {
|
|
633
|
+
value: "Error [" + code + "]",
|
|
634
|
+
enumerable: false,
|
|
635
|
+
},
|
|
636
|
+
});
|
|
602
637
|
return CustomError;
|
|
603
638
|
}
|
|
604
639
|
|
|
@@ -628,6 +663,10 @@ function isBuffer(value) {
|
|
|
628
663
|
return typeof value === "object" && ("length" in value);
|
|
629
664
|
}
|
|
630
665
|
|
|
666
|
+
function isURL(value) {
|
|
667
|
+
return URL && value instanceof URL;
|
|
668
|
+
}
|
|
669
|
+
|
|
631
670
|
// Exports
|
|
632
671
|
module.exports = wrap({ http: http, https: https });
|
|
633
672
|
module.exports.wrap = wrap;
|
|
@@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [v1.2.4](https://github.com/ljharb/get-intrinsic/compare/v1.2.3...v1.2.4) - 2024-02-05
|
|
9
|
+
|
|
10
|
+
### Commits
|
|
11
|
+
|
|
12
|
+
- [Refactor] use all 7 <+ ES6 Errors from `es-errors` [`bcac811`](https://github.com/ljharb/get-intrinsic/commit/bcac811abdc1c982e12abf848a410d6aae148d14)
|
|
13
|
+
|
|
14
|
+
## [v1.2.3](https://github.com/ljharb/get-intrinsic/compare/v1.2.2...v1.2.3) - 2024-02-03
|
|
15
|
+
|
|
16
|
+
### Commits
|
|
17
|
+
|
|
18
|
+
- [Refactor] use `es-errors`, so things that only need those do not need `get-intrinsic` [`f11db9c`](https://github.com/ljharb/get-intrinsic/commit/f11db9c4fb97d87bbd53d3c73ac6b3db3613ad3b)
|
|
19
|
+
- [Dev Deps] update `aud`, `es-abstract`, `mock-property`, `npmignore` [`b7ac7d1`](https://github.com/ljharb/get-intrinsic/commit/b7ac7d1616fefb03877b1aed0c8f8d61aad32b6c)
|
|
20
|
+
- [meta] simplify `exports` [`faa0cc6`](https://github.com/ljharb/get-intrinsic/commit/faa0cc618e2830ffb51a8202490b0c215d965cbc)
|
|
21
|
+
- [meta] add missing `engines.node` [`774dd0b`](https://github.com/ljharb/get-intrinsic/commit/774dd0b3e8f741c3f05a6322d124d6087f146af1)
|
|
22
|
+
- [Dev Deps] update `tape` [`5828e8e`](https://github.com/ljharb/get-intrinsic/commit/5828e8e4a04e69312e87a36c0ea39428a7a4c3d8)
|
|
23
|
+
- [Robustness] use null objects for lookups [`eb9a11f`](https://github.com/ljharb/get-intrinsic/commit/eb9a11fa9eb3e13b193fcc05a7fb814341b1a7b7)
|
|
24
|
+
- [meta] add `sideEffects` flag [`89bcc7a`](https://github.com/ljharb/get-intrinsic/commit/89bcc7a42e19bf07b7c21e3094d5ab177109e6d2)
|
|
25
|
+
|
|
8
26
|
## [v1.2.2](https://github.com/ljharb/get-intrinsic/compare/v1.2.1...v1.2.2) - 2023-10-20
|
|
9
27
|
|
|
10
28
|
### Commits
|
|
@@ -2,9 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
var undefined;
|
|
4
4
|
|
|
5
|
-
var $
|
|
5
|
+
var $Error = require('es-errors');
|
|
6
|
+
var $EvalError = require('es-errors/eval');
|
|
7
|
+
var $RangeError = require('es-errors/range');
|
|
8
|
+
var $ReferenceError = require('es-errors/ref');
|
|
9
|
+
var $SyntaxError = require('es-errors/syntax');
|
|
10
|
+
var $TypeError = require('es-errors/type');
|
|
11
|
+
var $URIError = require('es-errors/uri');
|
|
12
|
+
|
|
6
13
|
var $Function = Function;
|
|
7
|
-
var $TypeError = TypeError;
|
|
8
14
|
|
|
9
15
|
// eslint-disable-next-line consistent-return
|
|
10
16
|
var getEvalledConstructor = function (expressionSyntax) {
|
|
@@ -56,6 +62,7 @@ var needsEval = {};
|
|
|
56
62
|
var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array);
|
|
57
63
|
|
|
58
64
|
var INTRINSICS = {
|
|
65
|
+
__proto__: null,
|
|
59
66
|
'%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError,
|
|
60
67
|
'%Array%': Array,
|
|
61
68
|
'%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer,
|
|
@@ -76,9 +83,9 @@ var INTRINSICS = {
|
|
|
76
83
|
'%decodeURIComponent%': decodeURIComponent,
|
|
77
84
|
'%encodeURI%': encodeURI,
|
|
78
85
|
'%encodeURIComponent%': encodeURIComponent,
|
|
79
|
-
'%Error%': Error,
|
|
86
|
+
'%Error%': $Error,
|
|
80
87
|
'%eval%': eval, // eslint-disable-line no-eval
|
|
81
|
-
'%EvalError%': EvalError,
|
|
88
|
+
'%EvalError%': $EvalError,
|
|
82
89
|
'%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array,
|
|
83
90
|
'%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array,
|
|
84
91
|
'%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry,
|
|
@@ -100,8 +107,8 @@ var INTRINSICS = {
|
|
|
100
107
|
'%parseInt%': parseInt,
|
|
101
108
|
'%Promise%': typeof Promise === 'undefined' ? undefined : Promise,
|
|
102
109
|
'%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy,
|
|
103
|
-
'%RangeError%': RangeError,
|
|
104
|
-
'%ReferenceError%': ReferenceError,
|
|
110
|
+
'%RangeError%': $RangeError,
|
|
111
|
+
'%ReferenceError%': $ReferenceError,
|
|
105
112
|
'%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect,
|
|
106
113
|
'%RegExp%': RegExp,
|
|
107
114
|
'%Set%': typeof Set === 'undefined' ? undefined : Set,
|
|
@@ -118,7 +125,7 @@ var INTRINSICS = {
|
|
|
118
125
|
'%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray,
|
|
119
126
|
'%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array,
|
|
120
127
|
'%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array,
|
|
121
|
-
'%URIError%': URIError,
|
|
128
|
+
'%URIError%': $URIError,
|
|
122
129
|
'%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap,
|
|
123
130
|
'%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef,
|
|
124
131
|
'%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet
|
|
@@ -160,6 +167,7 @@ var doEval = function doEval(name) {
|
|
|
160
167
|
};
|
|
161
168
|
|
|
162
169
|
var LEGACY_ALIASES = {
|
|
170
|
+
__proto__: null,
|
|
163
171
|
'%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'],
|
|
164
172
|
'%ArrayPrototype%': ['Array', 'prototype'],
|
|
165
173
|
'%ArrayProto_entries%': ['Array', 'prototype', 'entries'],
|
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "get-intrinsic",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.4",
|
|
4
4
|
"description": "Get and robustly cache all JS language-level intrinsics at first require time",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
7
|
-
".":
|
|
8
|
-
{
|
|
9
|
-
"default": "./index.js"
|
|
10
|
-
},
|
|
11
|
-
"./index.js"
|
|
12
|
-
],
|
|
7
|
+
".": "./index.js",
|
|
13
8
|
"./package.json": "./package.json"
|
|
14
9
|
},
|
|
10
|
+
"sideEffects": false,
|
|
15
11
|
"scripts": {
|
|
16
12
|
"prepack": "npmignore --auto --commentLines=autogenerated",
|
|
17
13
|
"prepublish": "not-in-publish || npm run prepublishOnly",
|
|
@@ -49,10 +45,10 @@
|
|
|
49
45
|
"homepage": "https://github.com/ljharb/get-intrinsic#readme",
|
|
50
46
|
"devDependencies": {
|
|
51
47
|
"@ljharb/eslint-config": "^21.1.0",
|
|
52
|
-
"aud": "^2.0.
|
|
48
|
+
"aud": "^2.0.4",
|
|
53
49
|
"auto-changelog": "^2.4.0",
|
|
54
50
|
"call-bind": "^1.0.5",
|
|
55
|
-
"es-abstract": "^1.22.
|
|
51
|
+
"es-abstract": "^1.22.3",
|
|
56
52
|
"es-value-fixtures": "^1.4.2",
|
|
57
53
|
"eslint": "=8.8.0",
|
|
58
54
|
"evalmd": "^0.0.19",
|
|
@@ -61,12 +57,12 @@
|
|
|
61
57
|
"make-async-function": "^1.0.0",
|
|
62
58
|
"make-async-generator-function": "^1.0.0",
|
|
63
59
|
"make-generator-function": "^2.0.0",
|
|
64
|
-
"mock-property": "^1.0.
|
|
65
|
-
"npmignore": "^0.3.
|
|
60
|
+
"mock-property": "^1.0.3",
|
|
61
|
+
"npmignore": "^0.3.1",
|
|
66
62
|
"nyc": "^10.3.2",
|
|
67
63
|
"object-inspect": "^1.13.1",
|
|
68
64
|
"safe-publish-latest": "^2.0.0",
|
|
69
|
-
"tape": "^5.7.
|
|
65
|
+
"tape": "^5.7.4"
|
|
70
66
|
},
|
|
71
67
|
"auto-changelog": {
|
|
72
68
|
"output": "CHANGELOG.md",
|
|
@@ -77,6 +73,7 @@
|
|
|
77
73
|
"hideCredit": true
|
|
78
74
|
},
|
|
79
75
|
"dependencies": {
|
|
76
|
+
"es-errors": "^1.3.0",
|
|
80
77
|
"function-bind": "^1.1.2",
|
|
81
78
|
"has-proto": "^1.0.1",
|
|
82
79
|
"has-symbols": "^1.0.3",
|
|
@@ -89,5 +86,8 @@
|
|
|
89
86
|
"ignore": [
|
|
90
87
|
".github/workflows"
|
|
91
88
|
]
|
|
89
|
+
},
|
|
90
|
+
"engines": {
|
|
91
|
+
"node": ">= 0.4"
|
|
92
92
|
}
|
|
93
93
|
}
|
|
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [v1.0.2](https://github.com/inspect-js/has-property-descriptors/compare/v1.0.1...v1.0.2) - 2024-02-12
|
|
9
|
+
|
|
10
|
+
### Commits
|
|
11
|
+
|
|
12
|
+
- [Refactor] use `es-define-property` [`f93a8c8`](https://github.com/inspect-js/has-property-descriptors/commit/f93a8c85eba70cbceab500f2619fb5cce73a1805)
|
|
13
|
+
- [Dev Deps] update `aud`, `npmignore`, `tape` [`42b0c9d`](https://github.com/inspect-js/has-property-descriptors/commit/42b0c9d1c23e747755f0f2924923c418ea34a9ee)
|
|
14
|
+
- [Deps] update `get-intrinsic` [`35e9b46`](https://github.com/inspect-js/has-property-descriptors/commit/35e9b46a7f14331bf0de98b644dd803676746037)
|
|
15
|
+
|
|
8
16
|
## [v1.0.1](https://github.com/inspect-js/has-property-descriptors/compare/v1.0.0...v1.0.1) - 2023-10-20
|
|
9
17
|
|
|
10
18
|
### Commits
|
|
@@ -1,25 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
|
|
5
|
-
var $defineProperty = GetIntrinsic('%Object.defineProperty%', true);
|
|
3
|
+
var $defineProperty = require('es-define-property');
|
|
6
4
|
|
|
7
5
|
var hasPropertyDescriptors = function hasPropertyDescriptors() {
|
|
8
|
-
|
|
9
|
-
try {
|
|
10
|
-
$defineProperty({}, 'a', { value: 1 });
|
|
11
|
-
return true;
|
|
12
|
-
} catch (e) {
|
|
13
|
-
// IE 8 has a broken defineProperty
|
|
14
|
-
return false;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return false;
|
|
6
|
+
return !!$defineProperty;
|
|
18
7
|
};
|
|
19
8
|
|
|
20
9
|
hasPropertyDescriptors.hasArrayLengthDefineBug = function hasArrayLengthDefineBug() {
|
|
21
10
|
// node v0.6 has a bug where array lengths can be Set but not Defined
|
|
22
|
-
if (
|
|
11
|
+
if (!$defineProperty) {
|
|
23
12
|
return null;
|
|
24
13
|
}
|
|
25
14
|
try {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "has-property-descriptors",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Does the environment have full property descriptor support? Handles IE 8's broken defineProperty/gOPD.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
@@ -45,18 +45,18 @@
|
|
|
45
45
|
"homepage": "https://github.com/inspect-js/has-property-descriptors#readme",
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@ljharb/eslint-config": "^21.1.0",
|
|
48
|
-
"aud": "^2.0.
|
|
48
|
+
"aud": "^2.0.4",
|
|
49
49
|
"auto-changelog": "^2.4.0",
|
|
50
50
|
"eslint": "=8.8.0",
|
|
51
51
|
"evalmd": "^0.0.19",
|
|
52
52
|
"in-publish": "^2.0.1",
|
|
53
|
-
"npmignore": "^0.3.
|
|
53
|
+
"npmignore": "^0.3.1",
|
|
54
54
|
"nyc": "^10.3.2",
|
|
55
55
|
"safe-publish-latest": "^2.0.0",
|
|
56
|
-
"tape": "^5.7.
|
|
56
|
+
"tape": "^5.7.4"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"
|
|
59
|
+
"es-define-property": "^1.0.0"
|
|
60
60
|
},
|
|
61
61
|
"testling": {
|
|
62
62
|
"files": "test/index.js"
|
|
@@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [v1.0.3](https://github.com/inspect-js/has-proto/compare/v1.0.2...v1.0.3) - 2024-02-19
|
|
9
|
+
|
|
10
|
+
### Commits
|
|
11
|
+
|
|
12
|
+
- [types] add missing declaration file [`26ecade`](https://github.com/inspect-js/has-proto/commit/26ecade05d253bb5dc376945ee3186d1fbe334f8)
|
|
13
|
+
|
|
14
|
+
## [v1.0.2](https://github.com/inspect-js/has-proto/compare/v1.0.1...v1.0.2) - 2024-02-19
|
|
15
|
+
|
|
16
|
+
### Commits
|
|
17
|
+
|
|
18
|
+
- add types [`6435262`](https://github.com/inspect-js/has-proto/commit/64352626cf511c0276d5f4bb6be770a0bf0f8524)
|
|
19
|
+
- [Dev Deps] update `@ljharb/eslint-config`, `aud`, `npmignore`, `tape` [`f16a5e4`](https://github.com/inspect-js/has-proto/commit/f16a5e4121651e551271419f9d60fdd3561fd82c)
|
|
20
|
+
- [Refactor] tiny cleanup [`d1f1a4b`](https://github.com/inspect-js/has-proto/commit/d1f1a4bdc135f115a10f148ce302676224534702)
|
|
21
|
+
- [meta] add `sideEffects` flag [`e7ab1a6`](https://github.com/inspect-js/has-proto/commit/e7ab1a6f153b3e80dee68d1748b71e46767a0531)
|
|
22
|
+
|
|
8
23
|
## [v1.0.1](https://github.com/inspect-js/has-proto/compare/v1.0.0...v1.0.1) - 2022-12-21
|
|
9
24
|
|
|
10
25
|
### Commits
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var test = {
|
|
4
|
+
__proto__: null,
|
|
4
5
|
foo: {}
|
|
5
6
|
};
|
|
6
7
|
|
|
7
8
|
var $Object = Object;
|
|
8
9
|
|
|
10
|
+
/** @type {import('.')} */
|
|
9
11
|
module.exports = function hasProto() {
|
|
10
|
-
|
|
12
|
+
// @ts-expect-error: TS errors on an inherited property for some reason
|
|
13
|
+
return { __proto__: test }.foo === test.foo
|
|
14
|
+
&& !(test instanceof $Object);
|
|
11
15
|
};
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "has-proto",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Does this environment have the ability to get the [[Prototype]] of an object on creation with `__proto__`?",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"exports": {
|
|
7
7
|
".": "./index.js",
|
|
8
8
|
"./package.json": "./package.json"
|
|
9
9
|
},
|
|
10
|
+
"sideEffects": false,
|
|
10
11
|
"scripts": {
|
|
11
12
|
"prepack": "npmignore --auto --commentLines=autogenerated",
|
|
12
13
|
"prepublishOnly": "safe-publish-latest",
|
|
13
14
|
"prepublish": "not-in-publish || npm run prepublishOnly",
|
|
14
15
|
"lint": "eslint --ext=js,mjs .",
|
|
16
|
+
"postlint": "tsc -p .",
|
|
15
17
|
"pretest": "npm run lint",
|
|
16
18
|
"tests-only": "tape 'test/**/*.js'",
|
|
17
19
|
"test": "npm run tests-only",
|
|
@@ -46,14 +48,16 @@
|
|
|
46
48
|
"files": "test/index.js"
|
|
47
49
|
},
|
|
48
50
|
"devDependencies": {
|
|
49
|
-
"@ljharb/eslint-config": "^21.
|
|
50
|
-
"
|
|
51
|
+
"@ljharb/eslint-config": "^21.1.0",
|
|
52
|
+
"@types/tape": "^5.6.4",
|
|
53
|
+
"aud": "^2.0.4",
|
|
51
54
|
"auto-changelog": "^2.4.0",
|
|
52
55
|
"eslint": "=8.8.0",
|
|
53
56
|
"in-publish": "^2.0.1",
|
|
54
|
-
"npmignore": "^0.3.
|
|
57
|
+
"npmignore": "^0.3.1",
|
|
55
58
|
"safe-publish-latest": "^2.0.0",
|
|
56
|
-
"tape": "^5.
|
|
59
|
+
"tape": "^5.7.5",
|
|
60
|
+
"typescript": "next"
|
|
57
61
|
},
|
|
58
62
|
"engines": {
|
|
59
63
|
"node": ">= 0.4"
|