moodle-cli 0.7.0 → 0.8.0
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/README.md +73 -10
- package/SKILL.md +24 -32
- package/dist/moodle.js +6411 -5851
- package/dist/worker/recovery.js +1176 -959
- package/dist/worker/worker.js +1176 -959
- package/package.json +10 -16
- package/references/command-reference.md +74 -34
- package/references/setup-and-auth.md +20 -1
- package/node_modules/ansi-regex/index.d.ts +0 -37
- package/node_modules/ansi-regex/index.js +0 -10
- package/node_modules/ansi-regex/license +0 -9
- package/node_modules/ansi-regex/package.json +0 -55
- package/node_modules/ansi-regex/readme.md +0 -78
- package/node_modules/ansi-styles/index.d.ts +0 -345
- package/node_modules/ansi-styles/index.js +0 -163
- package/node_modules/ansi-styles/license +0 -9
- package/node_modules/ansi-styles/package.json +0 -56
- package/node_modules/ansi-styles/readme.md +0 -152
- package/node_modules/array-buffer-byte-length/.eslintrc +0 -9
- package/node_modules/array-buffer-byte-length/.github/FUNDING.yml +0 -12
- package/node_modules/array-buffer-byte-length/.nycrc +0 -13
- package/node_modules/array-buffer-byte-length/CHANGELOG.md +0 -43
- package/node_modules/array-buffer-byte-length/LICENSE +0 -21
- package/node_modules/array-buffer-byte-length/README.md +0 -40
- package/node_modules/array-buffer-byte-length/index.d.ts +0 -4
- package/node_modules/array-buffer-byte-length/index.js +0 -14
- package/node_modules/array-buffer-byte-length/package.json +0 -94
- package/node_modules/array-buffer-byte-length/test/index.js +0 -29
- package/node_modules/array-buffer-byte-length/tsconfig.json +0 -9
- package/node_modules/array.prototype.flat/.editorconfig +0 -20
- package/node_modules/array.prototype.flat/.eslintrc +0 -36
- package/node_modules/array.prototype.flat/.github/FUNDING.yml +0 -12
- package/node_modules/array.prototype.flat/.nycrc +0 -9
- package/node_modules/array.prototype.flat/CHANGELOG.md +0 -119
- package/node_modules/array.prototype.flat/LICENSE +0 -21
- package/node_modules/array.prototype.flat/README.md +0 -75
- package/node_modules/array.prototype.flat/auto.js +0 -3
- package/node_modules/array.prototype.flat/implementation.js +0 -22
- package/node_modules/array.prototype.flat/index.js +0 -19
- package/node_modules/array.prototype.flat/package.json +0 -113
- package/node_modules/array.prototype.flat/polyfill.js +0 -7
- package/node_modules/array.prototype.flat/shim.js +0 -20
- package/node_modules/array.prototype.flat/test/implementation.js +0 -20
- package/node_modules/array.prototype.flat/test/index.js +0 -17
- package/node_modules/array.prototype.flat/test/shimmed.js +0 -36
- package/node_modules/array.prototype.flat/test/tests.js +0 -30
- package/node_modules/arraybuffer.prototype.slice/.editorconfig +0 -13
- package/node_modules/arraybuffer.prototype.slice/.eslintrc +0 -34
- package/node_modules/arraybuffer.prototype.slice/.nycrc +0 -9
- package/node_modules/arraybuffer.prototype.slice/CHANGELOG.md +0 -52
- package/node_modules/arraybuffer.prototype.slice/LICENSE +0 -21
- package/node_modules/arraybuffer.prototype.slice/README.md +0 -61
- package/node_modules/arraybuffer.prototype.slice/auto.js +0 -3
- package/node_modules/arraybuffer.prototype.slice/implementation.js +0 -84
- package/node_modules/arraybuffer.prototype.slice/index.js +0 -18
- package/node_modules/arraybuffer.prototype.slice/package.json +0 -102
- package/node_modules/arraybuffer.prototype.slice/polyfill.js +0 -21
- package/node_modules/arraybuffer.prototype.slice/shim.js +0 -18
- package/node_modules/arraybuffer.prototype.slice/test/implementation.js +0 -32
- package/node_modules/arraybuffer.prototype.slice/test/index.js +0 -29
- package/node_modules/arraybuffer.prototype.slice/test/shimmed.js +0 -54
- package/node_modules/arraybuffer.prototype.slice/test/tests.js +0 -81
- package/node_modules/async-function/.eslintrc +0 -16
- package/node_modules/async-function/.github/FUNDING.yml +0 -12
- package/node_modules/async-function/.nycrc +0 -9
- package/node_modules/async-function/CHANGELOG.md +0 -16
- package/node_modules/async-function/LICENSE +0 -21
- package/node_modules/async-function/README.md +0 -51
- package/node_modules/async-function/index.d.mts +0 -3
- package/node_modules/async-function/index.d.ts +0 -13
- package/node_modules/async-function/index.js +0 -8
- package/node_modules/async-function/index.mjs +0 -4
- package/node_modules/async-function/legacy.js +0 -18
- package/node_modules/async-function/package.json +0 -86
- package/node_modules/async-function/require.mjs +0 -5
- package/node_modules/async-function/test/index.js +0 -40
- package/node_modules/async-function/tsconfig.json +0 -9
- package/node_modules/available-typed-arrays/.eslintrc +0 -5
- package/node_modules/available-typed-arrays/.github/FUNDING.yml +0 -12
- package/node_modules/available-typed-arrays/.nycrc +0 -9
- package/node_modules/available-typed-arrays/CHANGELOG.md +0 -100
- package/node_modules/available-typed-arrays/LICENSE +0 -21
- package/node_modules/available-typed-arrays/README.md +0 -55
- package/node_modules/available-typed-arrays/index.d.ts +0 -8
- package/node_modules/available-typed-arrays/index.js +0 -17
- package/node_modules/available-typed-arrays/package.json +0 -93
- package/node_modules/available-typed-arrays/test/index.js +0 -18
- package/node_modules/available-typed-arrays/tsconfig.json +0 -49
- package/node_modules/breakword/.eslintrc.js +0 -47
- package/node_modules/breakword/.huskyrc.js +0 -10
- package/node_modules/breakword/.nyc_output/32b587b4-27cd-4398-8b7a-14342e8dda06.json +0 -1
- package/node_modules/breakword/.nyc_output/f755b0bb-b99d-48db-856e-ce00c43abc52.json +0 -1
- package/node_modules/breakword/.nyc_output/processinfo/32b587b4-27cd-4398-8b7a-14342e8dda06.json +0 -1
- package/node_modules/breakword/.nyc_output/processinfo/f755b0bb-b99d-48db-856e-ce00c43abc52.json +0 -1
- package/node_modules/breakword/.nyc_output/processinfo/index.json +0 -1
- package/node_modules/breakword/Gruntfile.js +0 -19
- package/node_modules/breakword/LICENSE +0 -19
- package/node_modules/breakword/README.md +0 -48
- package/node_modules/breakword/dist/index.js +0 -25
- package/node_modules/breakword/dist/index.js.map +0 -1
- package/node_modules/breakword/dist/main.js +0 -32
- package/node_modules/breakword/dist/main.js.map +0 -1
- package/node_modules/breakword/package.json +0 -44
- package/node_modules/breakword/src/main.js +0 -28
- package/node_modules/breakword/test/test.js +0 -66
- package/node_modules/breakword/test/tests.json +0 -50
- package/node_modules/call-bind/.eslintignore +0 -1
- package/node_modules/call-bind/.eslintrc +0 -16
- package/node_modules/call-bind/.github/FUNDING.yml +0 -12
- package/node_modules/call-bind/.nycrc +0 -9
- package/node_modules/call-bind/CHANGELOG.md +0 -115
- package/node_modules/call-bind/LICENSE +0 -21
- package/node_modules/call-bind/README.md +0 -64
- package/node_modules/call-bind/callBound.js +0 -15
- package/node_modules/call-bind/index.js +0 -24
- package/node_modules/call-bind/package.json +0 -93
- package/node_modules/call-bind/test/callBound.js +0 -54
- package/node_modules/call-bind/test/index.js +0 -82
- package/node_modules/call-bind-apply-helpers/.eslintrc +0 -17
- package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +0 -12
- package/node_modules/call-bind-apply-helpers/.nycrc +0 -9
- package/node_modules/call-bind-apply-helpers/CHANGELOG.md +0 -30
- package/node_modules/call-bind-apply-helpers/LICENSE +0 -21
- package/node_modules/call-bind-apply-helpers/README.md +0 -62
- package/node_modules/call-bind-apply-helpers/actualApply.d.ts +0 -1
- package/node_modules/call-bind-apply-helpers/actualApply.js +0 -10
- package/node_modules/call-bind-apply-helpers/applyBind.d.ts +0 -19
- package/node_modules/call-bind-apply-helpers/applyBind.js +0 -10
- package/node_modules/call-bind-apply-helpers/functionApply.d.ts +0 -1
- package/node_modules/call-bind-apply-helpers/functionApply.js +0 -4
- package/node_modules/call-bind-apply-helpers/functionCall.d.ts +0 -1
- package/node_modules/call-bind-apply-helpers/functionCall.js +0 -4
- package/node_modules/call-bind-apply-helpers/index.d.ts +0 -64
- package/node_modules/call-bind-apply-helpers/index.js +0 -15
- package/node_modules/call-bind-apply-helpers/package.json +0 -85
- package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +0 -3
- package/node_modules/call-bind-apply-helpers/reflectApply.js +0 -4
- package/node_modules/call-bind-apply-helpers/test/index.js +0 -63
- package/node_modules/call-bind-apply-helpers/tsconfig.json +0 -9
- package/node_modules/call-bound/.eslintrc +0 -13
- package/node_modules/call-bound/.github/FUNDING.yml +0 -12
- package/node_modules/call-bound/.nycrc +0 -9
- package/node_modules/call-bound/CHANGELOG.md +0 -42
- package/node_modules/call-bound/LICENSE +0 -21
- package/node_modules/call-bound/README.md +0 -53
- package/node_modules/call-bound/index.d.ts +0 -94
- package/node_modules/call-bound/index.js +0 -19
- package/node_modules/call-bound/package.json +0 -99
- package/node_modules/call-bound/test/index.js +0 -61
- package/node_modules/call-bound/tsconfig.json +0 -10
- package/node_modules/camelcase/index.d.ts +0 -63
- package/node_modules/camelcase/index.js +0 -76
- package/node_modules/camelcase/license +0 -9
- package/node_modules/camelcase/package.json +0 -43
- package/node_modules/camelcase/readme.md +0 -99
- package/node_modules/chalk/index.d.ts +0 -415
- package/node_modules/chalk/license +0 -9
- package/node_modules/chalk/node_modules/supports-color/browser.js +0 -5
- package/node_modules/chalk/node_modules/supports-color/index.js +0 -135
- package/node_modules/chalk/node_modules/supports-color/license +0 -9
- package/node_modules/chalk/node_modules/supports-color/package.json +0 -53
- package/node_modules/chalk/node_modules/supports-color/readme.md +0 -76
- package/node_modules/chalk/package.json +0 -68
- package/node_modules/chalk/readme.md +0 -341
- package/node_modules/chalk/source/index.js +0 -229
- package/node_modules/chalk/source/templates.js +0 -134
- package/node_modules/chalk/source/util.js +0 -39
- package/node_modules/cliui/LICENSE.txt +0 -14
- package/node_modules/cliui/README.md +0 -141
- package/node_modules/cliui/build/index.cjs +0 -302
- package/node_modules/cliui/build/index.d.cts +0 -43
- package/node_modules/cliui/build/lib/index.js +0 -287
- package/node_modules/cliui/build/lib/string-utils.js +0 -27
- package/node_modules/cliui/index.mjs +0 -13
- package/node_modules/cliui/package.json +0 -83
- package/node_modules/clone/.npmignore +0 -4
- package/node_modules/clone/LICENSE +0 -18
- package/node_modules/clone/README.md +0 -126
- package/node_modules/clone/clone.iml +0 -10
- package/node_modules/clone/clone.js +0 -166
- package/node_modules/clone/package.json +0 -51
- package/node_modules/color-convert/LICENSE +0 -21
- package/node_modules/color-convert/README.md +0 -68
- package/node_modules/color-convert/conversions.js +0 -839
- package/node_modules/color-convert/index.js +0 -81
- package/node_modules/color-convert/package.json +0 -48
- package/node_modules/color-convert/route.js +0 -97
- package/node_modules/color-name/LICENSE +0 -8
- package/node_modules/color-name/README.md +0 -11
- package/node_modules/color-name/index.js +0 -152
- package/node_modules/color-name/package.json +0 -28
- package/node_modules/csv/LICENSE +0 -21
- package/node_modules/csv/README.md +0 -113
- package/node_modules/csv/dist/cjs/index.cjs +0 -3484
- package/node_modules/csv/dist/cjs/index.d.cts +0 -13
- package/node_modules/csv/dist/cjs/sync.cjs +0 -3268
- package/node_modules/csv/dist/cjs/sync.d.cts +0 -13
- package/node_modules/csv/dist/esm/index.d.ts +0 -13
- package/node_modules/csv/dist/esm/index.js +0 -8583
- package/node_modules/csv/dist/esm/sync.d.ts +0 -13
- package/node_modules/csv/dist/esm/sync.js +0 -8375
- package/node_modules/csv/dist/iife/index.js +0 -8593
- package/node_modules/csv/dist/iife/sync.js +0 -8385
- package/node_modules/csv/dist/umd/index.js +0 -8594
- package/node_modules/csv/dist/umd/sync.js +0 -8386
- package/node_modules/csv/lib/index.d.ts +0 -13
- package/node_modules/csv/lib/index.js +0 -8
- package/node_modules/csv/lib/sync.d.ts +0 -13
- package/node_modules/csv/lib/sync.js +0 -8
- package/node_modules/csv/package.json +0 -130
- package/node_modules/csv-generate/LICENSE +0 -21
- package/node_modules/csv-generate/README.md +0 -79
- package/node_modules/csv-generate/dist/cjs/index.cjs +0 -305
- package/node_modules/csv-generate/dist/cjs/index.d.cts +0 -92
- package/node_modules/csv-generate/dist/cjs/stream.d.cts +0 -5
- package/node_modules/csv-generate/dist/cjs/sync.cjs +0 -302
- package/node_modules/csv-generate/dist/cjs/sync.d.cts +0 -7
- package/node_modules/csv-generate/dist/esm/index.d.ts +0 -92
- package/node_modules/csv-generate/dist/esm/index.js +0 -5414
- package/node_modules/csv-generate/dist/esm/stream.d.ts +0 -5
- package/node_modules/csv-generate/dist/esm/sync.d.ts +0 -7
- package/node_modules/csv-generate/dist/esm/sync.js +0 -5412
- package/node_modules/csv-generate/dist/iife/index.js +0 -5422
- package/node_modules/csv-generate/dist/iife/sync.js +0 -5419
- package/node_modules/csv-generate/dist/umd/index.js +0 -5423
- package/node_modules/csv-generate/dist/umd/sync.js +0 -5420
- package/node_modules/csv-generate/lib/api/index.js +0 -5
- package/node_modules/csv-generate/lib/api/init_state.js +0 -11
- package/node_modules/csv-generate/lib/api/normalize_options.js +0 -70
- package/node_modules/csv-generate/lib/api/random.js +0 -10
- package/node_modules/csv-generate/lib/api/read.js +0 -94
- package/node_modules/csv-generate/lib/api/types.js +0 -24
- package/node_modules/csv-generate/lib/index.d.ts +0 -92
- package/node_modules/csv-generate/lib/index.js +0 -102
- package/node_modules/csv-generate/lib/stream.d.ts +0 -5
- package/node_modules/csv-generate/lib/stream.js +0 -29
- package/node_modules/csv-generate/lib/sync.d.ts +0 -7
- package/node_modules/csv-generate/lib/sync.js +0 -41
- package/node_modules/csv-generate/package.json +0 -121
- package/node_modules/csv-parse/LICENSE +0 -21
- package/node_modules/csv-parse/README.md +0 -82
- package/node_modules/csv-parse/dist/cjs/index.cjs +0 -2133
- package/node_modules/csv-parse/dist/cjs/index.d.cts +0 -542
- package/node_modules/csv-parse/dist/cjs/stream.cjs +0 -2026
- package/node_modules/csv-parse/dist/cjs/stream.d.cts +0 -23
- package/node_modules/csv-parse/dist/cjs/sync.cjs +0 -2010
- package/node_modules/csv-parse/dist/cjs/sync.d.cts +0 -31
- package/node_modules/csv-parse/dist/esm/index.d.ts +0 -542
- package/node_modules/csv-parse/dist/esm/index.js +0 -7171
- package/node_modules/csv-parse/dist/esm/stream.d.ts +0 -23
- package/node_modules/csv-parse/dist/esm/sync.d.ts +0 -31
- package/node_modules/csv-parse/dist/esm/sync.js +0 -3978
- package/node_modules/csv-parse/dist/iife/index.js +0 -7181
- package/node_modules/csv-parse/dist/iife/sync.js +0 -3987
- package/node_modules/csv-parse/dist/umd/index.js +0 -7182
- package/node_modules/csv-parse/dist/umd/sync.js +0 -3988
- package/node_modules/csv-parse/lib/api/CsvError.js +0 -22
- package/node_modules/csv-parse/lib/api/index.js +0 -968
- package/node_modules/csv-parse/lib/api/init_state.js +0 -114
- package/node_modules/csv-parse/lib/api/normalize_columns_array.js +0 -32
- package/node_modules/csv-parse/lib/api/normalize_options.js +0 -762
- package/node_modules/csv-parse/lib/index.d.ts +0 -542
- package/node_modules/csv-parse/lib/index.js +0 -144
- package/node_modules/csv-parse/lib/stream.d.ts +0 -23
- package/node_modules/csv-parse/lib/stream.js +0 -37
- package/node_modules/csv-parse/lib/sync.d.ts +0 -31
- package/node_modules/csv-parse/lib/sync.js +0 -22
- package/node_modules/csv-parse/lib/utils/ResizeableBuffer.js +0 -63
- package/node_modules/csv-parse/lib/utils/delimiter_discover.js +0 -65
- package/node_modules/csv-parse/lib/utils/is_object.js +0 -5
- package/node_modules/csv-parse/lib/utils/underscore.js +0 -7
- package/node_modules/csv-parse/package.json +0 -145
- package/node_modules/csv-stringify/LICENSE +0 -21
- package/node_modules/csv-stringify/README.md +0 -61
- package/node_modules/csv-stringify/dist/cjs/index.cjs +0 -889
- package/node_modules/csv-stringify/dist/cjs/index.d.cts +0 -223
- package/node_modules/csv-stringify/dist/cjs/sync.cjs +0 -803
- package/node_modules/csv-stringify/dist/cjs/sync.d.cts +0 -16
- package/node_modules/csv-stringify/dist/esm/index.d.ts +0 -223
- package/node_modules/csv-stringify/dist/esm/index.js +0 -5936
- package/node_modules/csv-stringify/dist/esm/sync.d.ts +0 -16
- package/node_modules/csv-stringify/dist/esm/sync.js +0 -2773
- package/node_modules/csv-stringify/dist/iife/index.js +0 -5945
- package/node_modules/csv-stringify/dist/iife/sync.js +0 -2780
- package/node_modules/csv-stringify/dist/umd/index.js +0 -5946
- package/node_modules/csv-stringify/dist/umd/sync.js +0 -2781
- package/node_modules/csv-stringify/lib/api/CsvError.js +0 -22
- package/node_modules/csv-stringify/lib/api/index.js +0 -334
- package/node_modules/csv-stringify/lib/api/normalize_columns.js +0 -50
- package/node_modules/csv-stringify/lib/api/normalize_options.js +0 -279
- package/node_modules/csv-stringify/lib/index.d.ts +0 -223
- package/node_modules/csv-stringify/lib/index.js +0 -118
- package/node_modules/csv-stringify/lib/sync.d.ts +0 -16
- package/node_modules/csv-stringify/lib/sync.js +0 -34
- package/node_modules/csv-stringify/lib/utils/get.js +0 -100
- package/node_modules/csv-stringify/lib/utils/is_object.js +0 -5
- package/node_modules/csv-stringify/lib/utils/underscore.js +0 -7
- package/node_modules/csv-stringify/package.json +0 -111
- package/node_modules/data-view-buffer/.eslintrc +0 -17
- package/node_modules/data-view-buffer/.github/FUNDING.yml +0 -12
- package/node_modules/data-view-buffer/.nycrc +0 -13
- package/node_modules/data-view-buffer/CHANGELOG.md +0 -38
- package/node_modules/data-view-buffer/LICENSE +0 -21
- package/node_modules/data-view-buffer/README.md +0 -43
- package/node_modules/data-view-buffer/index.d.ts +0 -4
- package/node_modules/data-view-buffer/index.js +0 -19
- package/node_modules/data-view-buffer/package.json +0 -88
- package/node_modules/data-view-buffer/test/index.js +0 -31
- package/node_modules/data-view-buffer/tsconfig.json +0 -10
- package/node_modules/data-view-byte-length/.eslintrc +0 -17
- package/node_modules/data-view-byte-length/.github/FUNDING.yml +0 -12
- package/node_modules/data-view-byte-length/.nycrc +0 -13
- package/node_modules/data-view-byte-length/CHANGELOG.md +0 -36
- package/node_modules/data-view-byte-length/LICENSE +0 -21
- package/node_modules/data-view-byte-length/README.md +0 -43
- package/node_modules/data-view-byte-length/index.d.ts +0 -4
- package/node_modules/data-view-byte-length/index.js +0 -19
- package/node_modules/data-view-byte-length/package.json +0 -92
- package/node_modules/data-view-byte-length/test/index.js +0 -31
- package/node_modules/data-view-byte-length/tsconfig.json +0 -9
- package/node_modules/data-view-byte-offset/.eslintrc +0 -17
- package/node_modules/data-view-byte-offset/.github/FUNDING.yml +0 -12
- package/node_modules/data-view-byte-offset/.nycrc +0 -13
- package/node_modules/data-view-byte-offset/CHANGELOG.md +0 -31
- package/node_modules/data-view-byte-offset/LICENSE +0 -21
- package/node_modules/data-view-byte-offset/README.md +0 -43
- package/node_modules/data-view-byte-offset/index.d.ts +0 -4
- package/node_modules/data-view-byte-offset/index.js +0 -19
- package/node_modules/data-view-byte-offset/package.json +0 -94
- package/node_modules/data-view-byte-offset/test/index.js +0 -31
- package/node_modules/data-view-byte-offset/tsconfig.json +0 -9
- package/node_modules/decamelize/index.js +0 -13
- package/node_modules/decamelize/license +0 -21
- package/node_modules/decamelize/package.json +0 -38
- package/node_modules/decamelize/readme.md +0 -48
- package/node_modules/defaults/LICENSE +0 -22
- package/node_modules/defaults/README.md +0 -39
- package/node_modules/defaults/index.js +0 -13
- package/node_modules/defaults/package.json +0 -33
- package/node_modules/defaults/test.js +0 -34
- package/node_modules/define-data-property/.eslintrc +0 -24
- package/node_modules/define-data-property/.github/FUNDING.yml +0 -12
- package/node_modules/define-data-property/.nycrc +0 -13
- package/node_modules/define-data-property/CHANGELOG.md +0 -70
- package/node_modules/define-data-property/LICENSE +0 -21
- package/node_modules/define-data-property/README.md +0 -67
- package/node_modules/define-data-property/index.d.ts +0 -12
- package/node_modules/define-data-property/index.js +0 -56
- package/node_modules/define-data-property/package.json +0 -106
- package/node_modules/define-data-property/test/index.js +0 -392
- package/node_modules/define-data-property/tsconfig.json +0 -59
- package/node_modules/define-properties/.editorconfig +0 -13
- package/node_modules/define-properties/.eslintrc +0 -19
- package/node_modules/define-properties/.github/FUNDING.yml +0 -12
- package/node_modules/define-properties/.nycrc +0 -9
- package/node_modules/define-properties/CHANGELOG.md +0 -91
- package/node_modules/define-properties/LICENSE +0 -21
- package/node_modules/define-properties/README.md +0 -84
- package/node_modules/define-properties/index.js +0 -47
- package/node_modules/define-properties/package.json +0 -88
- package/node_modules/dunder-proto/.eslintrc +0 -5
- package/node_modules/dunder-proto/.github/FUNDING.yml +0 -12
- package/node_modules/dunder-proto/.nycrc +0 -13
- package/node_modules/dunder-proto/CHANGELOG.md +0 -24
- package/node_modules/dunder-proto/LICENSE +0 -21
- package/node_modules/dunder-proto/README.md +0 -54
- package/node_modules/dunder-proto/get.d.ts +0 -5
- package/node_modules/dunder-proto/get.js +0 -30
- package/node_modules/dunder-proto/package.json +0 -76
- package/node_modules/dunder-proto/set.d.ts +0 -5
- package/node_modules/dunder-proto/set.js +0 -35
- package/node_modules/dunder-proto/test/get.js +0 -34
- package/node_modules/dunder-proto/test/index.js +0 -4
- package/node_modules/dunder-proto/test/set.js +0 -50
- package/node_modules/dunder-proto/tsconfig.json +0 -9
- package/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/node_modules/emoji-regex/README.md +0 -73
- package/node_modules/emoji-regex/es2015/index.js +0 -6
- package/node_modules/emoji-regex/es2015/text.js +0 -6
- package/node_modules/emoji-regex/index.d.ts +0 -23
- package/node_modules/emoji-regex/index.js +0 -6
- package/node_modules/emoji-regex/package.json +0 -50
- package/node_modules/emoji-regex/text.js +0 -6
- package/node_modules/es-abstract/.editorconfig +0 -15
- package/node_modules/es-abstract/.nycrc +0 -15
- package/node_modules/es-abstract/2015/AbstractEqualityComparison.js +0 -38
- package/node_modules/es-abstract/2015/AbstractRelationalComparison.js +0 -62
- package/node_modules/es-abstract/2015/AdvanceStringIndex.js +0 -44
- package/node_modules/es-abstract/2015/ArrayCreate.js +0 -42
- package/node_modules/es-abstract/2015/ArraySetLength.js +0 -77
- package/node_modules/es-abstract/2015/ArraySpeciesCreate.js +0 -46
- package/node_modules/es-abstract/2015/Call.js +0 -20
- package/node_modules/es-abstract/2015/CanonicalNumericIndexString.js +0 -19
- package/node_modules/es-abstract/2015/Canonicalize.js +0 -51
- package/node_modules/es-abstract/2015/CharacterRange.js +0 -53
- package/node_modules/es-abstract/2015/CompletePropertyDescriptor.js +0 -43
- package/node_modules/es-abstract/2015/CompletionRecord.js +0 -48
- package/node_modules/es-abstract/2015/CreateDataProperty.js +0 -25
- package/node_modules/es-abstract/2015/CreateDataPropertyOrThrow.js +0 -24
- package/node_modules/es-abstract/2015/CreateHTML.js +0 -27
- package/node_modules/es-abstract/2015/CreateIterResultObject.js +0 -15
- package/node_modules/es-abstract/2015/CreateListFromArrayLike.js +0 -43
- package/node_modules/es-abstract/2015/CreateMethodProperty.js +0 -38
- package/node_modules/es-abstract/2015/DateFromTime.js +0 -52
- package/node_modules/es-abstract/2015/Day.js +0 -11
- package/node_modules/es-abstract/2015/DayFromYear.js +0 -10
- package/node_modules/es-abstract/2015/DayWithinYear.js +0 -11
- package/node_modules/es-abstract/2015/DaysInYear.js +0 -18
- package/node_modules/es-abstract/2015/DefinePropertyOrThrow.js +0 -39
- package/node_modules/es-abstract/2015/DeletePropertyOrThrow.js +0 -25
- package/node_modules/es-abstract/2015/DetachArrayBuffer.js +0 -38
- package/node_modules/es-abstract/2015/EnumerableOwnNames.js +0 -16
- package/node_modules/es-abstract/2015/FromPropertyDescriptor.js +0 -16
- package/node_modules/es-abstract/2015/Get.js +0 -24
- package/node_modules/es-abstract/2015/GetGlobalObject.js +0 -9
- package/node_modules/es-abstract/2015/GetIterator.js +0 -30
- package/node_modules/es-abstract/2015/GetMethod.js +0 -34
- package/node_modules/es-abstract/2015/GetOwnPropertyKeys.js +0 -30
- package/node_modules/es-abstract/2015/GetPrototypeFromConstructor.js +0 -33
- package/node_modules/es-abstract/2015/GetSubstitution.js +0 -98
- package/node_modules/es-abstract/2015/GetV.js +0 -23
- package/node_modules/es-abstract/2015/GetValueFromBuffer.js +0 -86
- package/node_modules/es-abstract/2015/HasOwnProperty.js +0 -20
- package/node_modules/es-abstract/2015/HasProperty.js +0 -18
- package/node_modules/es-abstract/2015/HourFromTime.js +0 -14
- package/node_modules/es-abstract/2015/InLeapYear.js +0 -19
- package/node_modules/es-abstract/2015/InstanceofOperator.js +0 -30
- package/node_modules/es-abstract/2015/IntegerIndexedElementGet.js +0 -57
- package/node_modules/es-abstract/2015/IntegerIndexedElementSet.js +0 -62
- package/node_modules/es-abstract/2015/InternalizeJSONProperty.js +0 -68
- package/node_modules/es-abstract/2015/Invoke.js +0 -22
- package/node_modules/es-abstract/2015/IsAccessorDescriptor.js +0 -25
- package/node_modules/es-abstract/2015/IsArray.js +0 -4
- package/node_modules/es-abstract/2015/IsCallable.js +0 -5
- package/node_modules/es-abstract/2015/IsCompatiblePropertyDescriptor.js +0 -15
- package/node_modules/es-abstract/2015/IsConcatSpreadable.js +0 -26
- package/node_modules/es-abstract/2015/IsConstructor.js +0 -40
- package/node_modules/es-abstract/2015/IsDataDescriptor.js +0 -25
- package/node_modules/es-abstract/2015/IsDetachedBuffer.js +0 -25
- package/node_modules/es-abstract/2015/IsExtensible.js +0 -18
- package/node_modules/es-abstract/2015/IsGenericDescriptor.js +0 -26
- package/node_modules/es-abstract/2015/IsInteger.js +0 -9
- package/node_modules/es-abstract/2015/IsPromise.js +0 -24
- package/node_modules/es-abstract/2015/IsPropertyDescriptor.js +0 -11
- package/node_modules/es-abstract/2015/IsPropertyKey.js +0 -9
- package/node_modules/es-abstract/2015/IsRegExp.js +0 -25
- package/node_modules/es-abstract/2015/IsWordChar.js +0 -37
- package/node_modules/es-abstract/2015/IteratorClose.js +0 -51
- package/node_modules/es-abstract/2015/IteratorComplete.js +0 -16
- package/node_modules/es-abstract/2015/IteratorNext.js +0 -16
- package/node_modules/es-abstract/2015/IteratorStep.js +0 -13
- package/node_modules/es-abstract/2015/IteratorValue.js +0 -16
- package/node_modules/es-abstract/2015/MakeDate.js +0 -14
- package/node_modules/es-abstract/2015/MakeDay.js +0 -33
- package/node_modules/es-abstract/2015/MakeTime.js +0 -24
- package/node_modules/es-abstract/2015/MinFromTime.js +0 -14
- package/node_modules/es-abstract/2015/MonthFromTime.js +0 -51
- package/node_modules/es-abstract/2015/NewPromiseCapability.js +0 -34
- package/node_modules/es-abstract/2015/NormalCompletion.js +0 -9
- package/node_modules/es-abstract/2015/ObjectCreate.js +0 -50
- package/node_modules/es-abstract/2015/ObjectDefineProperties.js +0 -37
- package/node_modules/es-abstract/2015/OrdinaryCreateFromConstructor.js +0 -20
- package/node_modules/es-abstract/2015/OrdinaryDefineOwnProperty.js +0 -54
- package/node_modules/es-abstract/2015/OrdinaryGetOwnProperty.js +0 -40
- package/node_modules/es-abstract/2015/OrdinaryHasInstance.js +0 -23
- package/node_modules/es-abstract/2015/OrdinaryHasProperty.js +0 -18
- package/node_modules/es-abstract/2015/QuoteJSONString.js +0 -48
- package/node_modules/es-abstract/2015/RegExpCreate.js +0 -21
- package/node_modules/es-abstract/2015/RegExpExec.js +0 -29
- package/node_modules/es-abstract/2015/RequireObjectCoercible.js +0 -3
- package/node_modules/es-abstract/2015/SameValue.js +0 -13
- package/node_modules/es-abstract/2015/SameValueZero.js +0 -9
- package/node_modules/es-abstract/2015/SecFromTime.js +0 -14
- package/node_modules/es-abstract/2015/Set.js +0 -45
- package/node_modules/es-abstract/2015/SetFunctionName.js +0 -40
- package/node_modules/es-abstract/2015/SetIntegrityLevel.js +0 -57
- package/node_modules/es-abstract/2015/SetValueInBuffer.js +0 -110
- package/node_modules/es-abstract/2015/SpeciesConstructor.js +0 -32
- package/node_modules/es-abstract/2015/SplitMatch.js +0 -35
- package/node_modules/es-abstract/2015/StrictEqualityComparison.js +0 -15
- package/node_modules/es-abstract/2015/StringCreate.js +0 -38
- package/node_modules/es-abstract/2015/StringGetIndexProperty.js +0 -50
- package/node_modules/es-abstract/2015/SymbolDescriptiveString.js +0 -16
- package/node_modules/es-abstract/2015/TestIntegrityLevel.js +0 -40
- package/node_modules/es-abstract/2015/TimeClip.js +0 -20
- package/node_modules/es-abstract/2015/TimeFromYear.js +0 -11
- package/node_modules/es-abstract/2015/TimeWithinDay.js +0 -12
- package/node_modules/es-abstract/2015/ToBoolean.js +0 -5
- package/node_modules/es-abstract/2015/ToDateString.js +0 -21
- package/node_modules/es-abstract/2015/ToInt16.js +0 -10
- package/node_modules/es-abstract/2015/ToInt32.js +0 -9
- package/node_modules/es-abstract/2015/ToInt8.js +0 -10
- package/node_modules/es-abstract/2015/ToInteger.js +0 -12
- package/node_modules/es-abstract/2015/ToLength.js +0 -14
- package/node_modules/es-abstract/2015/ToNumber.js +0 -48
- package/node_modules/es-abstract/2015/ToObject.js +0 -5
- package/node_modules/es-abstract/2015/ToPrimitive.js +0 -12
- package/node_modules/es-abstract/2015/ToPropertyDescriptor.js +0 -50
- package/node_modules/es-abstract/2015/ToPropertyKey.js +0 -15
- package/node_modules/es-abstract/2015/ToString.js +0 -15
- package/node_modules/es-abstract/2015/ToUint16.js +0 -19
- package/node_modules/es-abstract/2015/ToUint32.js +0 -9
- package/node_modules/es-abstract/2015/ToUint8.js +0 -19
- package/node_modules/es-abstract/2015/ToUint8Clamp.js +0 -19
- package/node_modules/es-abstract/2015/Type.js +0 -12
- package/node_modules/es-abstract/2015/ValidateAndApplyPropertyDescriptor.js +0 -159
- package/node_modules/es-abstract/2015/ValidateTypedArray.js +0 -28
- package/node_modules/es-abstract/2015/WeekDay.js +0 -10
- package/node_modules/es-abstract/2015/YearFromTime.js +0 -16
- package/node_modules/es-abstract/2015/abs.js +0 -9
- package/node_modules/es-abstract/2015/floor.js +0 -11
- package/node_modules/es-abstract/2015/max.js +0 -5
- package/node_modules/es-abstract/2015/min.js +0 -5
- package/node_modules/es-abstract/2015/modulo.js +0 -9
- package/node_modules/es-abstract/2015/msFromTime.js +0 -11
- package/node_modules/es-abstract/2015/tables/typed-array-objects.js +0 -32
- package/node_modules/es-abstract/2015/thisBooleanValue.js +0 -13
- package/node_modules/es-abstract/2015/thisNumberValue.js +0 -16
- package/node_modules/es-abstract/2015/thisStringValue.js +0 -13
- package/node_modules/es-abstract/2015/thisTimeValue.js +0 -9
- package/node_modules/es-abstract/2016/AbstractEqualityComparison.js +0 -38
- package/node_modules/es-abstract/2016/AbstractRelationalComparison.js +0 -62
- package/node_modules/es-abstract/2016/AdvanceStringIndex.js +0 -44
- package/node_modules/es-abstract/2016/ArrayCreate.js +0 -42
- package/node_modules/es-abstract/2016/ArraySetLength.js +0 -77
- package/node_modules/es-abstract/2016/ArraySpeciesCreate.js +0 -46
- package/node_modules/es-abstract/2016/Call.js +0 -20
- package/node_modules/es-abstract/2016/CanonicalNumericIndexString.js +0 -19
- package/node_modules/es-abstract/2016/Canonicalize.js +0 -51
- package/node_modules/es-abstract/2016/CharacterRange.js +0 -53
- package/node_modules/es-abstract/2016/CompletePropertyDescriptor.js +0 -43
- package/node_modules/es-abstract/2016/CompletionRecord.js +0 -48
- package/node_modules/es-abstract/2016/CreateDataProperty.js +0 -25
- package/node_modules/es-abstract/2016/CreateDataPropertyOrThrow.js +0 -24
- package/node_modules/es-abstract/2016/CreateHTML.js +0 -27
- package/node_modules/es-abstract/2016/CreateIterResultObject.js +0 -15
- package/node_modules/es-abstract/2016/CreateListFromArrayLike.js +0 -43
- package/node_modules/es-abstract/2016/CreateMethodProperty.js +0 -38
- package/node_modules/es-abstract/2016/DateFromTime.js +0 -52
- package/node_modules/es-abstract/2016/Day.js +0 -11
- package/node_modules/es-abstract/2016/DayFromYear.js +0 -10
- package/node_modules/es-abstract/2016/DayWithinYear.js +0 -11
- package/node_modules/es-abstract/2016/DaysInYear.js +0 -18
- package/node_modules/es-abstract/2016/DefinePropertyOrThrow.js +0 -39
- package/node_modules/es-abstract/2016/DeletePropertyOrThrow.js +0 -25
- package/node_modules/es-abstract/2016/DetachArrayBuffer.js +0 -38
- package/node_modules/es-abstract/2016/EnumerableOwnNames.js +0 -16
- package/node_modules/es-abstract/2016/FromPropertyDescriptor.js +0 -16
- package/node_modules/es-abstract/2016/Get.js +0 -24
- package/node_modules/es-abstract/2016/GetGlobalObject.js +0 -9
- package/node_modules/es-abstract/2016/GetIterator.js +0 -30
- package/node_modules/es-abstract/2016/GetMethod.js +0 -34
- package/node_modules/es-abstract/2016/GetOwnPropertyKeys.js +0 -30
- package/node_modules/es-abstract/2016/GetPrototypeFromConstructor.js +0 -33
- package/node_modules/es-abstract/2016/GetSubstitution.js +0 -98
- package/node_modules/es-abstract/2016/GetV.js +0 -23
- package/node_modules/es-abstract/2016/GetValueFromBuffer.js +0 -86
- package/node_modules/es-abstract/2016/HasOwnProperty.js +0 -20
- package/node_modules/es-abstract/2016/HasProperty.js +0 -18
- package/node_modules/es-abstract/2016/HourFromTime.js +0 -14
- package/node_modules/es-abstract/2016/InLeapYear.js +0 -19
- package/node_modules/es-abstract/2016/InstanceofOperator.js +0 -30
- package/node_modules/es-abstract/2016/IntegerIndexedElementGet.js +0 -57
- package/node_modules/es-abstract/2016/IntegerIndexedElementSet.js +0 -62
- package/node_modules/es-abstract/2016/InternalizeJSONProperty.js +0 -68
- package/node_modules/es-abstract/2016/Invoke.js +0 -22
- package/node_modules/es-abstract/2016/IsAccessorDescriptor.js +0 -25
- package/node_modules/es-abstract/2016/IsArray.js +0 -4
- package/node_modules/es-abstract/2016/IsCallable.js +0 -5
- package/node_modules/es-abstract/2016/IsCompatiblePropertyDescriptor.js +0 -15
- package/node_modules/es-abstract/2016/IsConcatSpreadable.js +0 -26
- package/node_modules/es-abstract/2016/IsConstructor.js +0 -40
- package/node_modules/es-abstract/2016/IsDataDescriptor.js +0 -25
- package/node_modules/es-abstract/2016/IsDetachedBuffer.js +0 -25
- package/node_modules/es-abstract/2016/IsExtensible.js +0 -18
- package/node_modules/es-abstract/2016/IsGenericDescriptor.js +0 -26
- package/node_modules/es-abstract/2016/IsInteger.js +0 -9
- package/node_modules/es-abstract/2016/IsPromise.js +0 -24
- package/node_modules/es-abstract/2016/IsPropertyDescriptor.js +0 -11
- package/node_modules/es-abstract/2016/IsPropertyKey.js +0 -9
- package/node_modules/es-abstract/2016/IsRegExp.js +0 -25
- package/node_modules/es-abstract/2016/IsWordChar.js +0 -37
- package/node_modules/es-abstract/2016/IterableToArrayLike.js +0 -34
- package/node_modules/es-abstract/2016/IteratorClose.js +0 -51
- package/node_modules/es-abstract/2016/IteratorComplete.js +0 -16
- package/node_modules/es-abstract/2016/IteratorNext.js +0 -16
- package/node_modules/es-abstract/2016/IteratorStep.js +0 -13
- package/node_modules/es-abstract/2016/IteratorValue.js +0 -16
- package/node_modules/es-abstract/2016/MakeDate.js +0 -14
- package/node_modules/es-abstract/2016/MakeDay.js +0 -33
- package/node_modules/es-abstract/2016/MakeTime.js +0 -24
- package/node_modules/es-abstract/2016/MinFromTime.js +0 -14
- package/node_modules/es-abstract/2016/MonthFromTime.js +0 -51
- package/node_modules/es-abstract/2016/NewPromiseCapability.js +0 -34
- package/node_modules/es-abstract/2016/NormalCompletion.js +0 -9
- package/node_modules/es-abstract/2016/ObjectCreate.js +0 -50
- package/node_modules/es-abstract/2016/ObjectDefineProperties.js +0 -37
- package/node_modules/es-abstract/2016/OrdinaryCreateFromConstructor.js +0 -20
- package/node_modules/es-abstract/2016/OrdinaryDefineOwnProperty.js +0 -54
- package/node_modules/es-abstract/2016/OrdinaryGetOwnProperty.js +0 -40
- package/node_modules/es-abstract/2016/OrdinaryGetPrototypeOf.js +0 -18
- package/node_modules/es-abstract/2016/OrdinaryHasInstance.js +0 -23
- package/node_modules/es-abstract/2016/OrdinaryHasProperty.js +0 -18
- package/node_modules/es-abstract/2016/OrdinarySetPrototypeOf.js +0 -50
- package/node_modules/es-abstract/2016/QuoteJSONString.js +0 -48
- package/node_modules/es-abstract/2016/RegExpCreate.js +0 -21
- package/node_modules/es-abstract/2016/RegExpExec.js +0 -29
- package/node_modules/es-abstract/2016/RequireObjectCoercible.js +0 -3
- package/node_modules/es-abstract/2016/SameValue.js +0 -13
- package/node_modules/es-abstract/2016/SameValueNonNumber.js +0 -14
- package/node_modules/es-abstract/2016/SameValueZero.js +0 -9
- package/node_modules/es-abstract/2016/SecFromTime.js +0 -14
- package/node_modules/es-abstract/2016/Set.js +0 -45
- package/node_modules/es-abstract/2016/SetFunctionName.js +0 -40
- package/node_modules/es-abstract/2016/SetIntegrityLevel.js +0 -57
- package/node_modules/es-abstract/2016/SetValueInBuffer.js +0 -110
- package/node_modules/es-abstract/2016/SpeciesConstructor.js +0 -32
- package/node_modules/es-abstract/2016/SplitMatch.js +0 -35
- package/node_modules/es-abstract/2016/StrictEqualityComparison.js +0 -15
- package/node_modules/es-abstract/2016/StringCreate.js +0 -38
- package/node_modules/es-abstract/2016/SymbolDescriptiveString.js +0 -16
- package/node_modules/es-abstract/2016/TestIntegrityLevel.js +0 -40
- package/node_modules/es-abstract/2016/TimeClip.js +0 -20
- package/node_modules/es-abstract/2016/TimeFromYear.js +0 -11
- package/node_modules/es-abstract/2016/TimeWithinDay.js +0 -12
- package/node_modules/es-abstract/2016/ToBoolean.js +0 -5
- package/node_modules/es-abstract/2016/ToDateString.js +0 -21
- package/node_modules/es-abstract/2016/ToInt16.js +0 -10
- package/node_modules/es-abstract/2016/ToInt32.js +0 -9
- package/node_modules/es-abstract/2016/ToInt8.js +0 -10
- package/node_modules/es-abstract/2016/ToInteger.js +0 -12
- package/node_modules/es-abstract/2016/ToLength.js +0 -14
- package/node_modules/es-abstract/2016/ToNumber.js +0 -48
- package/node_modules/es-abstract/2016/ToObject.js +0 -5
- package/node_modules/es-abstract/2016/ToPrimitive.js +0 -12
- package/node_modules/es-abstract/2016/ToPropertyDescriptor.js +0 -50
- package/node_modules/es-abstract/2016/ToPropertyKey.js +0 -15
- package/node_modules/es-abstract/2016/ToString.js +0 -15
- package/node_modules/es-abstract/2016/ToUint16.js +0 -19
- package/node_modules/es-abstract/2016/ToUint32.js +0 -9
- package/node_modules/es-abstract/2016/ToUint8.js +0 -19
- package/node_modules/es-abstract/2016/ToUint8Clamp.js +0 -19
- package/node_modules/es-abstract/2016/Type.js +0 -12
- package/node_modules/es-abstract/2016/TypedArrayCreate.js +0 -47
- package/node_modules/es-abstract/2016/TypedArraySpeciesCreate.js +0 -37
- package/node_modules/es-abstract/2016/UTF16Decode.js +0 -21
- package/node_modules/es-abstract/2016/UTF16Encoding.js +0 -25
- package/node_modules/es-abstract/2016/ValidateAndApplyPropertyDescriptor.js +0 -159
- package/node_modules/es-abstract/2016/ValidateTypedArray.js +0 -28
- package/node_modules/es-abstract/2016/WeekDay.js +0 -10
- package/node_modules/es-abstract/2016/YearFromTime.js +0 -16
- package/node_modules/es-abstract/2016/abs.js +0 -9
- package/node_modules/es-abstract/2016/floor.js +0 -11
- package/node_modules/es-abstract/2016/max.js +0 -5
- package/node_modules/es-abstract/2016/min.js +0 -5
- package/node_modules/es-abstract/2016/modulo.js +0 -9
- package/node_modules/es-abstract/2016/msFromTime.js +0 -11
- package/node_modules/es-abstract/2016/tables/typed-array-objects.js +0 -32
- package/node_modules/es-abstract/2016/thisBooleanValue.js +0 -13
- package/node_modules/es-abstract/2016/thisNumberValue.js +0 -16
- package/node_modules/es-abstract/2016/thisStringValue.js +0 -13
- package/node_modules/es-abstract/2016/thisTimeValue.js +0 -9
- package/node_modules/es-abstract/2017/AbstractEqualityComparison.js +0 -38
- package/node_modules/es-abstract/2017/AbstractRelationalComparison.js +0 -62
- package/node_modules/es-abstract/2017/AdvanceStringIndex.js +0 -44
- package/node_modules/es-abstract/2017/ArrayCreate.js +0 -42
- package/node_modules/es-abstract/2017/ArraySetLength.js +0 -77
- package/node_modules/es-abstract/2017/ArraySpeciesCreate.js +0 -46
- package/node_modules/es-abstract/2017/Call.js +0 -20
- package/node_modules/es-abstract/2017/CanonicalNumericIndexString.js +0 -19
- package/node_modules/es-abstract/2017/Canonicalize.js +0 -51
- package/node_modules/es-abstract/2017/CharacterRange.js +0 -53
- package/node_modules/es-abstract/2017/CompletePropertyDescriptor.js +0 -43
- package/node_modules/es-abstract/2017/CompletionRecord.js +0 -48
- package/node_modules/es-abstract/2017/CreateDataProperty.js +0 -25
- package/node_modules/es-abstract/2017/CreateDataPropertyOrThrow.js +0 -24
- package/node_modules/es-abstract/2017/CreateHTML.js +0 -27
- package/node_modules/es-abstract/2017/CreateIterResultObject.js +0 -15
- package/node_modules/es-abstract/2017/CreateListFromArrayLike.js +0 -43
- package/node_modules/es-abstract/2017/CreateMethodProperty.js +0 -38
- package/node_modules/es-abstract/2017/DateFromTime.js +0 -52
- package/node_modules/es-abstract/2017/Day.js +0 -11
- package/node_modules/es-abstract/2017/DayFromYear.js +0 -10
- package/node_modules/es-abstract/2017/DayWithinYear.js +0 -11
- package/node_modules/es-abstract/2017/DaysInYear.js +0 -18
- package/node_modules/es-abstract/2017/DefinePropertyOrThrow.js +0 -39
- package/node_modules/es-abstract/2017/DeletePropertyOrThrow.js +0 -25
- package/node_modules/es-abstract/2017/DetachArrayBuffer.js +0 -39
- package/node_modules/es-abstract/2017/EnumerableOwnProperties.js +0 -37
- package/node_modules/es-abstract/2017/FromPropertyDescriptor.js +0 -16
- package/node_modules/es-abstract/2017/Get.js +0 -24
- package/node_modules/es-abstract/2017/GetGlobalObject.js +0 -9
- package/node_modules/es-abstract/2017/GetIterator.js +0 -30
- package/node_modules/es-abstract/2017/GetMethod.js +0 -34
- package/node_modules/es-abstract/2017/GetOwnPropertyKeys.js +0 -30
- package/node_modules/es-abstract/2017/GetPrototypeFromConstructor.js +0 -33
- package/node_modules/es-abstract/2017/GetSubstitution.js +0 -98
- package/node_modules/es-abstract/2017/GetV.js +0 -23
- package/node_modules/es-abstract/2017/GetValueFromBuffer.js +0 -96
- package/node_modules/es-abstract/2017/HasOwnProperty.js +0 -20
- package/node_modules/es-abstract/2017/HasProperty.js +0 -18
- package/node_modules/es-abstract/2017/HourFromTime.js +0 -14
- package/node_modules/es-abstract/2017/InLeapYear.js +0 -19
- package/node_modules/es-abstract/2017/InstanceofOperator.js +0 -30
- package/node_modules/es-abstract/2017/IntegerIndexedElementGet.js +0 -58
- package/node_modules/es-abstract/2017/IntegerIndexedElementSet.js +0 -62
- package/node_modules/es-abstract/2017/InternalizeJSONProperty.js +0 -68
- package/node_modules/es-abstract/2017/Invoke.js +0 -22
- package/node_modules/es-abstract/2017/IsAccessorDescriptor.js +0 -25
- package/node_modules/es-abstract/2017/IsArray.js +0 -4
- package/node_modules/es-abstract/2017/IsCallable.js +0 -5
- package/node_modules/es-abstract/2017/IsCompatiblePropertyDescriptor.js +0 -15
- package/node_modules/es-abstract/2017/IsConcatSpreadable.js +0 -26
- package/node_modules/es-abstract/2017/IsConstructor.js +0 -40
- package/node_modules/es-abstract/2017/IsDataDescriptor.js +0 -25
- package/node_modules/es-abstract/2017/IsDetachedBuffer.js +0 -28
- package/node_modules/es-abstract/2017/IsExtensible.js +0 -18
- package/node_modules/es-abstract/2017/IsGenericDescriptor.js +0 -26
- package/node_modules/es-abstract/2017/IsInteger.js +0 -9
- package/node_modules/es-abstract/2017/IsPromise.js +0 -24
- package/node_modules/es-abstract/2017/IsPropertyDescriptor.js +0 -11
- package/node_modules/es-abstract/2017/IsPropertyKey.js +0 -9
- package/node_modules/es-abstract/2017/IsRegExp.js +0 -25
- package/node_modules/es-abstract/2017/IsSharedArrayBuffer.js +0 -16
- package/node_modules/es-abstract/2017/IsWordChar.js +0 -45
- package/node_modules/es-abstract/2017/IterableToList.js +0 -21
- package/node_modules/es-abstract/2017/IteratorClose.js +0 -51
- package/node_modules/es-abstract/2017/IteratorComplete.js +0 -16
- package/node_modules/es-abstract/2017/IteratorNext.js +0 -16
- package/node_modules/es-abstract/2017/IteratorStep.js +0 -13
- package/node_modules/es-abstract/2017/IteratorValue.js +0 -16
- package/node_modules/es-abstract/2017/MakeDate.js +0 -14
- package/node_modules/es-abstract/2017/MakeDay.js +0 -33
- package/node_modules/es-abstract/2017/MakeTime.js +0 -24
- package/node_modules/es-abstract/2017/MinFromTime.js +0 -14
- package/node_modules/es-abstract/2017/MonthFromTime.js +0 -51
- package/node_modules/es-abstract/2017/NewPromiseCapability.js +0 -34
- package/node_modules/es-abstract/2017/NormalCompletion.js +0 -9
- package/node_modules/es-abstract/2017/NumberToRawBytes.js +0 -59
- package/node_modules/es-abstract/2017/ObjectCreate.js +0 -50
- package/node_modules/es-abstract/2017/ObjectDefineProperties.js +0 -37
- package/node_modules/es-abstract/2017/OrdinaryCreateFromConstructor.js +0 -20
- package/node_modules/es-abstract/2017/OrdinaryDefineOwnProperty.js +0 -54
- package/node_modules/es-abstract/2017/OrdinaryGetOwnProperty.js +0 -40
- package/node_modules/es-abstract/2017/OrdinaryGetPrototypeOf.js +0 -18
- package/node_modules/es-abstract/2017/OrdinaryHasInstance.js +0 -23
- package/node_modules/es-abstract/2017/OrdinaryHasProperty.js +0 -18
- package/node_modules/es-abstract/2017/OrdinarySetPrototypeOf.js +0 -50
- package/node_modules/es-abstract/2017/OrdinaryToPrimitive.js +0 -36
- package/node_modules/es-abstract/2017/QuoteJSONString.js +0 -48
- package/node_modules/es-abstract/2017/RawBytesToNumber.js +0 -58
- package/node_modules/es-abstract/2017/RegExpCreate.js +0 -21
- package/node_modules/es-abstract/2017/RegExpExec.js +0 -29
- package/node_modules/es-abstract/2017/RequireObjectCoercible.js +0 -3
- package/node_modules/es-abstract/2017/SameValue.js +0 -13
- package/node_modules/es-abstract/2017/SameValueNonNumber.js +0 -14
- package/node_modules/es-abstract/2017/SameValueZero.js +0 -9
- package/node_modules/es-abstract/2017/SecFromTime.js +0 -14
- package/node_modules/es-abstract/2017/Set.js +0 -45
- package/node_modules/es-abstract/2017/SetFunctionName.js +0 -40
- package/node_modules/es-abstract/2017/SetIntegrityLevel.js +0 -57
- package/node_modules/es-abstract/2017/SetValueInBuffer.js +0 -94
- package/node_modules/es-abstract/2017/SpeciesConstructor.js +0 -32
- package/node_modules/es-abstract/2017/SplitMatch.js +0 -35
- package/node_modules/es-abstract/2017/StrictEqualityComparison.js +0 -15
- package/node_modules/es-abstract/2017/StringCreate.js +0 -38
- package/node_modules/es-abstract/2017/StringGetOwnProperty.js +0 -47
- package/node_modules/es-abstract/2017/SymbolDescriptiveString.js +0 -16
- package/node_modules/es-abstract/2017/TestIntegrityLevel.js +0 -40
- package/node_modules/es-abstract/2017/TimeClip.js +0 -20
- package/node_modules/es-abstract/2017/TimeFromYear.js +0 -11
- package/node_modules/es-abstract/2017/TimeWithinDay.js +0 -12
- package/node_modules/es-abstract/2017/ToBoolean.js +0 -5
- package/node_modules/es-abstract/2017/ToDateString.js +0 -21
- package/node_modules/es-abstract/2017/ToIndex.js +0 -24
- package/node_modules/es-abstract/2017/ToInt16.js +0 -10
- package/node_modules/es-abstract/2017/ToInt32.js +0 -9
- package/node_modules/es-abstract/2017/ToInt8.js +0 -10
- package/node_modules/es-abstract/2017/ToInteger.js +0 -12
- package/node_modules/es-abstract/2017/ToLength.js +0 -14
- package/node_modules/es-abstract/2017/ToNumber.js +0 -48
- package/node_modules/es-abstract/2017/ToObject.js +0 -5
- package/node_modules/es-abstract/2017/ToPrimitive.js +0 -12
- package/node_modules/es-abstract/2017/ToPropertyDescriptor.js +0 -50
- package/node_modules/es-abstract/2017/ToPropertyKey.js +0 -15
- package/node_modules/es-abstract/2017/ToString.js +0 -15
- package/node_modules/es-abstract/2017/ToUint16.js +0 -19
- package/node_modules/es-abstract/2017/ToUint32.js +0 -9
- package/node_modules/es-abstract/2017/ToUint8.js +0 -19
- package/node_modules/es-abstract/2017/ToUint8Clamp.js +0 -19
- package/node_modules/es-abstract/2017/Type.js +0 -12
- package/node_modules/es-abstract/2017/TypedArrayCreate.js +0 -47
- package/node_modules/es-abstract/2017/TypedArraySpeciesCreate.js +0 -37
- package/node_modules/es-abstract/2017/UTF16Decode.js +0 -21
- package/node_modules/es-abstract/2017/UTF16Encoding.js +0 -25
- package/node_modules/es-abstract/2017/ValidateAndApplyPropertyDescriptor.js +0 -159
- package/node_modules/es-abstract/2017/ValidateAtomicAccess.js +0 -34
- package/node_modules/es-abstract/2017/ValidateTypedArray.js +0 -28
- package/node_modules/es-abstract/2017/WeekDay.js +0 -10
- package/node_modules/es-abstract/2017/WordCharacters.js +0 -46
- package/node_modules/es-abstract/2017/YearFromTime.js +0 -16
- package/node_modules/es-abstract/2017/abs.js +0 -9
- package/node_modules/es-abstract/2017/floor.js +0 -11
- package/node_modules/es-abstract/2017/max.js +0 -5
- package/node_modules/es-abstract/2017/min.js +0 -5
- package/node_modules/es-abstract/2017/modulo.js +0 -9
- package/node_modules/es-abstract/2017/msFromTime.js +0 -11
- package/node_modules/es-abstract/2017/tables/typed-array-objects.js +0 -32
- package/node_modules/es-abstract/2017/thisBooleanValue.js +0 -13
- package/node_modules/es-abstract/2017/thisNumberValue.js +0 -16
- package/node_modules/es-abstract/2017/thisStringValue.js +0 -13
- package/node_modules/es-abstract/2017/thisTimeValue.js +0 -9
- package/node_modules/es-abstract/2018/AbstractEqualityComparison.js +0 -38
- package/node_modules/es-abstract/2018/AbstractRelationalComparison.js +0 -59
- package/node_modules/es-abstract/2018/AdvanceStringIndex.js +0 -44
- package/node_modules/es-abstract/2018/ArrayCreate.js +0 -42
- package/node_modules/es-abstract/2018/ArraySetLength.js +0 -77
- package/node_modules/es-abstract/2018/ArraySpeciesCreate.js +0 -46
- package/node_modules/es-abstract/2018/AsyncIteratorClose.js +0 -64
- package/node_modules/es-abstract/2018/Call.js +0 -20
- package/node_modules/es-abstract/2018/CanonicalNumericIndexString.js +0 -19
- package/node_modules/es-abstract/2018/Canonicalize.js +0 -51
- package/node_modules/es-abstract/2018/CharacterRange.js +0 -53
- package/node_modules/es-abstract/2018/CompletePropertyDescriptor.js +0 -43
- package/node_modules/es-abstract/2018/CompletionRecord.js +0 -48
- package/node_modules/es-abstract/2018/CopyDataProperties.js +0 -62
- package/node_modules/es-abstract/2018/CreateAsyncFromSyncIterator.js +0 -169
- package/node_modules/es-abstract/2018/CreateDataProperty.js +0 -25
- package/node_modules/es-abstract/2018/CreateDataPropertyOrThrow.js +0 -24
- package/node_modules/es-abstract/2018/CreateHTML.js +0 -27
- package/node_modules/es-abstract/2018/CreateIterResultObject.js +0 -15
- package/node_modules/es-abstract/2018/CreateListFromArrayLike.js +0 -43
- package/node_modules/es-abstract/2018/CreateMethodProperty.js +0 -38
- package/node_modules/es-abstract/2018/DateFromTime.js +0 -52
- package/node_modules/es-abstract/2018/DateString.js +0 -27
- package/node_modules/es-abstract/2018/Day.js +0 -11
- package/node_modules/es-abstract/2018/DayFromYear.js +0 -10
- package/node_modules/es-abstract/2018/DayWithinYear.js +0 -11
- package/node_modules/es-abstract/2018/DaysInYear.js +0 -18
- package/node_modules/es-abstract/2018/DefinePropertyOrThrow.js +0 -39
- package/node_modules/es-abstract/2018/DeletePropertyOrThrow.js +0 -25
- package/node_modules/es-abstract/2018/DetachArrayBuffer.js +0 -46
- package/node_modules/es-abstract/2018/EnumerableOwnPropertyNames.js +0 -37
- package/node_modules/es-abstract/2018/FromPropertyDescriptor.js +0 -16
- package/node_modules/es-abstract/2018/Get.js +0 -24
- package/node_modules/es-abstract/2018/GetGlobalObject.js +0 -9
- package/node_modules/es-abstract/2018/GetIterator.js +0 -30
- package/node_modules/es-abstract/2018/GetMethod.js +0 -34
- package/node_modules/es-abstract/2018/GetOwnPropertyKeys.js +0 -30
- package/node_modules/es-abstract/2018/GetPrototypeFromConstructor.js +0 -33
- package/node_modules/es-abstract/2018/GetSubstitution.js +0 -120
- package/node_modules/es-abstract/2018/GetV.js +0 -23
- package/node_modules/es-abstract/2018/GetValueFromBuffer.js +0 -96
- package/node_modules/es-abstract/2018/HasOwnProperty.js +0 -20
- package/node_modules/es-abstract/2018/HasProperty.js +0 -18
- package/node_modules/es-abstract/2018/HourFromTime.js +0 -14
- package/node_modules/es-abstract/2018/InLeapYear.js +0 -19
- package/node_modules/es-abstract/2018/InstanceofOperator.js +0 -30
- package/node_modules/es-abstract/2018/IntegerIndexedElementGet.js +0 -58
- package/node_modules/es-abstract/2018/IntegerIndexedElementSet.js +0 -62
- package/node_modules/es-abstract/2018/InternalizeJSONProperty.js +0 -68
- package/node_modules/es-abstract/2018/Invoke.js +0 -22
- package/node_modules/es-abstract/2018/IsAccessorDescriptor.js +0 -25
- package/node_modules/es-abstract/2018/IsArray.js +0 -4
- package/node_modules/es-abstract/2018/IsCallable.js +0 -5
- package/node_modules/es-abstract/2018/IsCompatiblePropertyDescriptor.js +0 -15
- package/node_modules/es-abstract/2018/IsConcatSpreadable.js +0 -26
- package/node_modules/es-abstract/2018/IsConstructor.js +0 -40
- package/node_modules/es-abstract/2018/IsDataDescriptor.js +0 -25
- package/node_modules/es-abstract/2018/IsDetachedBuffer.js +0 -28
- package/node_modules/es-abstract/2018/IsExtensible.js +0 -18
- package/node_modules/es-abstract/2018/IsGenericDescriptor.js +0 -26
- package/node_modules/es-abstract/2018/IsInteger.js +0 -9
- package/node_modules/es-abstract/2018/IsPromise.js +0 -24
- package/node_modules/es-abstract/2018/IsPropertyKey.js +0 -9
- package/node_modules/es-abstract/2018/IsRegExp.js +0 -25
- package/node_modules/es-abstract/2018/IsSharedArrayBuffer.js +0 -16
- package/node_modules/es-abstract/2018/IsStringPrefix.js +0 -43
- package/node_modules/es-abstract/2018/IsWordChar.js +0 -45
- package/node_modules/es-abstract/2018/IterableToList.js +0 -21
- package/node_modules/es-abstract/2018/IteratorClose.js +0 -51
- package/node_modules/es-abstract/2018/IteratorComplete.js +0 -16
- package/node_modules/es-abstract/2018/IteratorNext.js +0 -16
- package/node_modules/es-abstract/2018/IteratorStep.js +0 -13
- package/node_modules/es-abstract/2018/IteratorValue.js +0 -16
- package/node_modules/es-abstract/2018/MakeDate.js +0 -14
- package/node_modules/es-abstract/2018/MakeDay.js +0 -33
- package/node_modules/es-abstract/2018/MakeTime.js +0 -24
- package/node_modules/es-abstract/2018/MinFromTime.js +0 -14
- package/node_modules/es-abstract/2018/MonthFromTime.js +0 -51
- package/node_modules/es-abstract/2018/NewPromiseCapability.js +0 -34
- package/node_modules/es-abstract/2018/NormalCompletion.js +0 -9
- package/node_modules/es-abstract/2018/NumberToRawBytes.js +0 -59
- package/node_modules/es-abstract/2018/NumberToString.js +0 -17
- package/node_modules/es-abstract/2018/ObjectCreate.js +0 -50
- package/node_modules/es-abstract/2018/ObjectDefineProperties.js +0 -37
- package/node_modules/es-abstract/2018/OrdinaryCreateFromConstructor.js +0 -20
- package/node_modules/es-abstract/2018/OrdinaryDefineOwnProperty.js +0 -54
- package/node_modules/es-abstract/2018/OrdinaryGetOwnProperty.js +0 -40
- package/node_modules/es-abstract/2018/OrdinaryGetPrototypeOf.js +0 -18
- package/node_modules/es-abstract/2018/OrdinaryHasInstance.js +0 -23
- package/node_modules/es-abstract/2018/OrdinaryHasProperty.js +0 -18
- package/node_modules/es-abstract/2018/OrdinarySetPrototypeOf.js +0 -50
- package/node_modules/es-abstract/2018/OrdinaryToPrimitive.js +0 -36
- package/node_modules/es-abstract/2018/PromiseResolve.js +0 -18
- package/node_modules/es-abstract/2018/QuoteJSONString.js +0 -45
- package/node_modules/es-abstract/2018/RawBytesToNumber.js +0 -58
- package/node_modules/es-abstract/2018/RegExpCreate.js +0 -21
- package/node_modules/es-abstract/2018/RegExpExec.js +0 -29
- package/node_modules/es-abstract/2018/RequireObjectCoercible.js +0 -3
- package/node_modules/es-abstract/2018/SameValue.js +0 -13
- package/node_modules/es-abstract/2018/SameValueNonNumber.js +0 -14
- package/node_modules/es-abstract/2018/SameValueZero.js +0 -9
- package/node_modules/es-abstract/2018/SecFromTime.js +0 -14
- package/node_modules/es-abstract/2018/Set.js +0 -45
- package/node_modules/es-abstract/2018/SetFunctionLength.js +0 -28
- package/node_modules/es-abstract/2018/SetFunctionName.js +0 -40
- package/node_modules/es-abstract/2018/SetIntegrityLevel.js +0 -57
- package/node_modules/es-abstract/2018/SetValueInBuffer.js +0 -94
- package/node_modules/es-abstract/2018/SpeciesConstructor.js +0 -32
- package/node_modules/es-abstract/2018/SplitMatch.js +0 -35
- package/node_modules/es-abstract/2018/StrictEqualityComparison.js +0 -15
- package/node_modules/es-abstract/2018/StringCreate.js +0 -38
- package/node_modules/es-abstract/2018/StringGetOwnProperty.js +0 -47
- package/node_modules/es-abstract/2018/SymbolDescriptiveString.js +0 -16
- package/node_modules/es-abstract/2018/TestIntegrityLevel.js +0 -40
- package/node_modules/es-abstract/2018/ThrowCompletion.js +0 -9
- package/node_modules/es-abstract/2018/TimeClip.js +0 -20
- package/node_modules/es-abstract/2018/TimeFromYear.js +0 -11
- package/node_modules/es-abstract/2018/TimeString.js +0 -22
- package/node_modules/es-abstract/2018/TimeWithinDay.js +0 -12
- package/node_modules/es-abstract/2018/TimeZoneString.js +0 -33
- package/node_modules/es-abstract/2018/ToBoolean.js +0 -5
- package/node_modules/es-abstract/2018/ToDateString.js +0 -21
- package/node_modules/es-abstract/2018/ToIndex.js +0 -24
- package/node_modules/es-abstract/2018/ToInt16.js +0 -10
- package/node_modules/es-abstract/2018/ToInt32.js +0 -9
- package/node_modules/es-abstract/2018/ToInt8.js +0 -10
- package/node_modules/es-abstract/2018/ToInteger.js +0 -12
- package/node_modules/es-abstract/2018/ToLength.js +0 -14
- package/node_modules/es-abstract/2018/ToNumber.js +0 -48
- package/node_modules/es-abstract/2018/ToObject.js +0 -5
- package/node_modules/es-abstract/2018/ToPrimitive.js +0 -12
- package/node_modules/es-abstract/2018/ToPropertyDescriptor.js +0 -50
- package/node_modules/es-abstract/2018/ToPropertyKey.js +0 -15
- package/node_modules/es-abstract/2018/ToString.js +0 -15
- package/node_modules/es-abstract/2018/ToUint16.js +0 -19
- package/node_modules/es-abstract/2018/ToUint32.js +0 -9
- package/node_modules/es-abstract/2018/ToUint8.js +0 -19
- package/node_modules/es-abstract/2018/ToUint8Clamp.js +0 -19
- package/node_modules/es-abstract/2018/Type.js +0 -12
- package/node_modules/es-abstract/2018/TypedArrayCreate.js +0 -47
- package/node_modules/es-abstract/2018/TypedArraySpeciesCreate.js +0 -37
- package/node_modules/es-abstract/2018/UTF16Decode.js +0 -21
- package/node_modules/es-abstract/2018/UTF16Encoding.js +0 -25
- package/node_modules/es-abstract/2018/UnicodeEscape.js +0 -24
- package/node_modules/es-abstract/2018/ValidateAndApplyPropertyDescriptor.js +0 -159
- package/node_modules/es-abstract/2018/ValidateAtomicAccess.js +0 -34
- package/node_modules/es-abstract/2018/ValidateTypedArray.js +0 -28
- package/node_modules/es-abstract/2018/WeekDay.js +0 -10
- package/node_modules/es-abstract/2018/WordCharacters.js +0 -46
- package/node_modules/es-abstract/2018/YearFromTime.js +0 -16
- package/node_modules/es-abstract/2018/abs.js +0 -9
- package/node_modules/es-abstract/2018/floor.js +0 -11
- package/node_modules/es-abstract/2018/max.js +0 -5
- package/node_modules/es-abstract/2018/min.js +0 -5
- package/node_modules/es-abstract/2018/modulo.js +0 -9
- package/node_modules/es-abstract/2018/msFromTime.js +0 -11
- package/node_modules/es-abstract/2018/tables/typed-array-objects.js +0 -32
- package/node_modules/es-abstract/2018/thisBooleanValue.js +0 -13
- package/node_modules/es-abstract/2018/thisNumberValue.js +0 -16
- package/node_modules/es-abstract/2018/thisStringValue.js +0 -13
- package/node_modules/es-abstract/2018/thisSymbolValue.js +0 -20
- package/node_modules/es-abstract/2018/thisTimeValue.js +0 -9
- package/node_modules/es-abstract/2019/AbstractEqualityComparison.js +0 -38
- package/node_modules/es-abstract/2019/AbstractRelationalComparison.js +0 -59
- package/node_modules/es-abstract/2019/AddEntriesFromIterable.js +0 -44
- package/node_modules/es-abstract/2019/AdvanceStringIndex.js +0 -44
- package/node_modules/es-abstract/2019/ArrayCreate.js +0 -42
- package/node_modules/es-abstract/2019/ArraySetLength.js +0 -77
- package/node_modules/es-abstract/2019/ArraySpeciesCreate.js +0 -46
- package/node_modules/es-abstract/2019/AsyncFromSyncIteratorContinuation.js +0 -45
- package/node_modules/es-abstract/2019/AsyncIteratorClose.js +0 -64
- package/node_modules/es-abstract/2019/Call.js +0 -20
- package/node_modules/es-abstract/2019/CanonicalNumericIndexString.js +0 -19
- package/node_modules/es-abstract/2019/Canonicalize.js +0 -51
- package/node_modules/es-abstract/2019/CharacterRange.js +0 -53
- package/node_modules/es-abstract/2019/CompletePropertyDescriptor.js +0 -43
- package/node_modules/es-abstract/2019/CompletionRecord.js +0 -48
- package/node_modules/es-abstract/2019/CopyDataProperties.js +0 -62
- package/node_modules/es-abstract/2019/CreateAsyncFromSyncIterator.js +0 -137
- package/node_modules/es-abstract/2019/CreateDataProperty.js +0 -25
- package/node_modules/es-abstract/2019/CreateDataPropertyOrThrow.js +0 -24
- package/node_modules/es-abstract/2019/CreateHTML.js +0 -27
- package/node_modules/es-abstract/2019/CreateIterResultObject.js +0 -15
- package/node_modules/es-abstract/2019/CreateListFromArrayLike.js +0 -43
- package/node_modules/es-abstract/2019/CreateMethodProperty.js +0 -38
- package/node_modules/es-abstract/2019/DateFromTime.js +0 -52
- package/node_modules/es-abstract/2019/DateString.js +0 -27
- package/node_modules/es-abstract/2019/Day.js +0 -11
- package/node_modules/es-abstract/2019/DayFromYear.js +0 -10
- package/node_modules/es-abstract/2019/DayWithinYear.js +0 -11
- package/node_modules/es-abstract/2019/DaysInYear.js +0 -18
- package/node_modules/es-abstract/2019/DefinePropertyOrThrow.js +0 -39
- package/node_modules/es-abstract/2019/DeletePropertyOrThrow.js +0 -25
- package/node_modules/es-abstract/2019/DetachArrayBuffer.js +0 -46
- package/node_modules/es-abstract/2019/EnumerableOwnPropertyNames.js +0 -37
- package/node_modules/es-abstract/2019/FlattenIntoArray.js +0 -55
- package/node_modules/es-abstract/2019/FromPropertyDescriptor.js +0 -16
- package/node_modules/es-abstract/2019/Get.js +0 -24
- package/node_modules/es-abstract/2019/GetGlobalObject.js +0 -9
- package/node_modules/es-abstract/2019/GetIterator.js +0 -30
- package/node_modules/es-abstract/2019/GetMethod.js +0 -34
- package/node_modules/es-abstract/2019/GetOwnPropertyKeys.js +0 -30
- package/node_modules/es-abstract/2019/GetPrototypeFromConstructor.js +0 -33
- package/node_modules/es-abstract/2019/GetSubstitution.js +0 -120
- package/node_modules/es-abstract/2019/GetV.js +0 -23
- package/node_modules/es-abstract/2019/GetValueFromBuffer.js +0 -94
- package/node_modules/es-abstract/2019/HasOwnProperty.js +0 -20
- package/node_modules/es-abstract/2019/HasProperty.js +0 -18
- package/node_modules/es-abstract/2019/HourFromTime.js +0 -14
- package/node_modules/es-abstract/2019/InLeapYear.js +0 -19
- package/node_modules/es-abstract/2019/InstanceofOperator.js +0 -30
- package/node_modules/es-abstract/2019/IntegerIndexedElementGet.js +0 -58
- package/node_modules/es-abstract/2019/IntegerIndexedElementSet.js +0 -62
- package/node_modules/es-abstract/2019/InternalizeJSONProperty.js +0 -68
- package/node_modules/es-abstract/2019/Invoke.js +0 -22
- package/node_modules/es-abstract/2019/IsAccessorDescriptor.js +0 -25
- package/node_modules/es-abstract/2019/IsArray.js +0 -4
- package/node_modules/es-abstract/2019/IsCallable.js +0 -5
- package/node_modules/es-abstract/2019/IsCompatiblePropertyDescriptor.js +0 -15
- package/node_modules/es-abstract/2019/IsConcatSpreadable.js +0 -26
- package/node_modules/es-abstract/2019/IsConstructor.js +0 -40
- package/node_modules/es-abstract/2019/IsDataDescriptor.js +0 -25
- package/node_modules/es-abstract/2019/IsDetachedBuffer.js +0 -28
- package/node_modules/es-abstract/2019/IsExtensible.js +0 -18
- package/node_modules/es-abstract/2019/IsGenericDescriptor.js +0 -26
- package/node_modules/es-abstract/2019/IsInteger.js +0 -9
- package/node_modules/es-abstract/2019/IsPromise.js +0 -24
- package/node_modules/es-abstract/2019/IsPropertyKey.js +0 -9
- package/node_modules/es-abstract/2019/IsRegExp.js +0 -25
- package/node_modules/es-abstract/2019/IsSharedArrayBuffer.js +0 -16
- package/node_modules/es-abstract/2019/IsStringPrefix.js +0 -43
- package/node_modules/es-abstract/2019/IsWordChar.js +0 -45
- package/node_modules/es-abstract/2019/IterableToList.js +0 -21
- package/node_modules/es-abstract/2019/IteratorClose.js +0 -51
- package/node_modules/es-abstract/2019/IteratorComplete.js +0 -16
- package/node_modules/es-abstract/2019/IteratorNext.js +0 -16
- package/node_modules/es-abstract/2019/IteratorStep.js +0 -13
- package/node_modules/es-abstract/2019/IteratorValue.js +0 -16
- package/node_modules/es-abstract/2019/MakeDate.js +0 -14
- package/node_modules/es-abstract/2019/MakeDay.js +0 -33
- package/node_modules/es-abstract/2019/MakeTime.js +0 -24
- package/node_modules/es-abstract/2019/MinFromTime.js +0 -14
- package/node_modules/es-abstract/2019/MonthFromTime.js +0 -51
- package/node_modules/es-abstract/2019/NewPromiseCapability.js +0 -34
- package/node_modules/es-abstract/2019/NormalCompletion.js +0 -9
- package/node_modules/es-abstract/2019/NumberToRawBytes.js +0 -59
- package/node_modules/es-abstract/2019/NumberToString.js +0 -17
- package/node_modules/es-abstract/2019/ObjectCreate.js +0 -50
- package/node_modules/es-abstract/2019/ObjectDefineProperties.js +0 -37
- package/node_modules/es-abstract/2019/OrdinaryCreateFromConstructor.js +0 -20
- package/node_modules/es-abstract/2019/OrdinaryDefineOwnProperty.js +0 -54
- package/node_modules/es-abstract/2019/OrdinaryGetOwnProperty.js +0 -40
- package/node_modules/es-abstract/2019/OrdinaryGetPrototypeOf.js +0 -18
- package/node_modules/es-abstract/2019/OrdinaryHasInstance.js +0 -23
- package/node_modules/es-abstract/2019/OrdinaryHasProperty.js +0 -18
- package/node_modules/es-abstract/2019/OrdinarySetPrototypeOf.js +0 -50
- package/node_modules/es-abstract/2019/OrdinaryToPrimitive.js +0 -36
- package/node_modules/es-abstract/2019/PromiseResolve.js +0 -18
- package/node_modules/es-abstract/2019/QuoteJSONString.js +0 -51
- package/node_modules/es-abstract/2019/RawBytesToNumber.js +0 -58
- package/node_modules/es-abstract/2019/RegExpCreate.js +0 -21
- package/node_modules/es-abstract/2019/RegExpExec.js +0 -29
- package/node_modules/es-abstract/2019/RequireObjectCoercible.js +0 -3
- package/node_modules/es-abstract/2019/SameValue.js +0 -13
- package/node_modules/es-abstract/2019/SameValueNonNumber.js +0 -14
- package/node_modules/es-abstract/2019/SameValueZero.js +0 -9
- package/node_modules/es-abstract/2019/SecFromTime.js +0 -14
- package/node_modules/es-abstract/2019/Set.js +0 -45
- package/node_modules/es-abstract/2019/SetFunctionLength.js +0 -28
- package/node_modules/es-abstract/2019/SetFunctionName.js +0 -40
- package/node_modules/es-abstract/2019/SetIntegrityLevel.js +0 -57
- package/node_modules/es-abstract/2019/SetValueInBuffer.js +0 -94
- package/node_modules/es-abstract/2019/SpeciesConstructor.js +0 -32
- package/node_modules/es-abstract/2019/SplitMatch.js +0 -35
- package/node_modules/es-abstract/2019/StrictEqualityComparison.js +0 -15
- package/node_modules/es-abstract/2019/StringCreate.js +0 -38
- package/node_modules/es-abstract/2019/StringGetOwnProperty.js +0 -47
- package/node_modules/es-abstract/2019/SymbolDescriptiveString.js +0 -16
- package/node_modules/es-abstract/2019/TestIntegrityLevel.js +0 -40
- package/node_modules/es-abstract/2019/ThrowCompletion.js +0 -9
- package/node_modules/es-abstract/2019/TimeClip.js +0 -20
- package/node_modules/es-abstract/2019/TimeFromYear.js +0 -11
- package/node_modules/es-abstract/2019/TimeString.js +0 -22
- package/node_modules/es-abstract/2019/TimeWithinDay.js +0 -12
- package/node_modules/es-abstract/2019/TimeZoneString.js +0 -33
- package/node_modules/es-abstract/2019/ToBoolean.js +0 -5
- package/node_modules/es-abstract/2019/ToDateString.js +0 -21
- package/node_modules/es-abstract/2019/ToIndex.js +0 -24
- package/node_modules/es-abstract/2019/ToInt16.js +0 -10
- package/node_modules/es-abstract/2019/ToInt32.js +0 -9
- package/node_modules/es-abstract/2019/ToInt8.js +0 -10
- package/node_modules/es-abstract/2019/ToInteger.js +0 -12
- package/node_modules/es-abstract/2019/ToLength.js +0 -14
- package/node_modules/es-abstract/2019/ToNumber.js +0 -48
- package/node_modules/es-abstract/2019/ToObject.js +0 -5
- package/node_modules/es-abstract/2019/ToPrimitive.js +0 -12
- package/node_modules/es-abstract/2019/ToPropertyDescriptor.js +0 -50
- package/node_modules/es-abstract/2019/ToPropertyKey.js +0 -15
- package/node_modules/es-abstract/2019/ToString.js +0 -15
- package/node_modules/es-abstract/2019/ToUint16.js +0 -19
- package/node_modules/es-abstract/2019/ToUint32.js +0 -9
- package/node_modules/es-abstract/2019/ToUint8.js +0 -19
- package/node_modules/es-abstract/2019/ToUint8Clamp.js +0 -19
- package/node_modules/es-abstract/2019/TrimString.js +0 -27
- package/node_modules/es-abstract/2019/Type.js +0 -12
- package/node_modules/es-abstract/2019/TypedArrayCreate.js +0 -47
- package/node_modules/es-abstract/2019/TypedArraySpeciesCreate.js +0 -37
- package/node_modules/es-abstract/2019/UTF16Decode.js +0 -21
- package/node_modules/es-abstract/2019/UTF16Encoding.js +0 -25
- package/node_modules/es-abstract/2019/UnicodeEscape.js +0 -24
- package/node_modules/es-abstract/2019/ValidateAndApplyPropertyDescriptor.js +0 -159
- package/node_modules/es-abstract/2019/ValidateAtomicAccess.js +0 -34
- package/node_modules/es-abstract/2019/ValidateTypedArray.js +0 -28
- package/node_modules/es-abstract/2019/WeekDay.js +0 -10
- package/node_modules/es-abstract/2019/WordCharacters.js +0 -46
- package/node_modules/es-abstract/2019/YearFromTime.js +0 -16
- package/node_modules/es-abstract/2019/abs.js +0 -9
- package/node_modules/es-abstract/2019/floor.js +0 -11
- package/node_modules/es-abstract/2019/max.js +0 -5
- package/node_modules/es-abstract/2019/min.js +0 -5
- package/node_modules/es-abstract/2019/modulo.js +0 -9
- package/node_modules/es-abstract/2019/msFromTime.js +0 -11
- package/node_modules/es-abstract/2019/tables/typed-array-objects.js +0 -32
- package/node_modules/es-abstract/2019/thisBooleanValue.js +0 -13
- package/node_modules/es-abstract/2019/thisNumberValue.js +0 -16
- package/node_modules/es-abstract/2019/thisStringValue.js +0 -13
- package/node_modules/es-abstract/2019/thisSymbolValue.js +0 -20
- package/node_modules/es-abstract/2019/thisTimeValue.js +0 -9
- package/node_modules/es-abstract/2020/AbstractEqualityComparison.js +0 -56
- package/node_modules/es-abstract/2020/AbstractRelationalComparison.js +0 -80
- package/node_modules/es-abstract/2020/AddEntriesFromIterable.js +0 -44
- package/node_modules/es-abstract/2020/AdvanceStringIndex.js +0 -30
- package/node_modules/es-abstract/2020/ArrayCreate.js +0 -42
- package/node_modules/es-abstract/2020/ArraySetLength.js +0 -77
- package/node_modules/es-abstract/2020/ArraySpeciesCreate.js +0 -46
- package/node_modules/es-abstract/2020/AsyncFromSyncIteratorContinuation.js +0 -45
- package/node_modules/es-abstract/2020/AsyncIteratorClose.js +0 -64
- package/node_modules/es-abstract/2020/BigInt/add.js +0 -14
- package/node_modules/es-abstract/2020/BigInt/bitwiseAND.js +0 -14
- package/node_modules/es-abstract/2020/BigInt/bitwiseNOT.js +0 -15
- package/node_modules/es-abstract/2020/BigInt/bitwiseOR.js +0 -14
- package/node_modules/es-abstract/2020/BigInt/bitwiseXOR.js +0 -14
- package/node_modules/es-abstract/2020/BigInt/divide.js +0 -20
- package/node_modules/es-abstract/2020/BigInt/equal.js +0 -13
- package/node_modules/es-abstract/2020/BigInt/exponentiate.js +0 -29
- package/node_modules/es-abstract/2020/BigInt/index.js +0 -43
- package/node_modules/es-abstract/2020/BigInt/leftShift.js +0 -14
- package/node_modules/es-abstract/2020/BigInt/lessThan.js +0 -14
- package/node_modules/es-abstract/2020/BigInt/multiply.js +0 -14
- package/node_modules/es-abstract/2020/BigInt/remainder.js +0 -28
- package/node_modules/es-abstract/2020/BigInt/sameValue.js +0 -15
- package/node_modules/es-abstract/2020/BigInt/sameValueZero.js +0 -15
- package/node_modules/es-abstract/2020/BigInt/signedRightShift.js +0 -15
- package/node_modules/es-abstract/2020/BigInt/subtract.js +0 -14
- package/node_modules/es-abstract/2020/BigInt/toString.js +0 -16
- package/node_modules/es-abstract/2020/BigInt/unaryMinus.js +0 -22
- package/node_modules/es-abstract/2020/BigInt/unsignedRightShift.js +0 -13
- package/node_modules/es-abstract/2020/BigIntBitwiseOp.js +0 -63
- package/node_modules/es-abstract/2020/BinaryAnd.js +0 -12
- package/node_modules/es-abstract/2020/BinaryOr.js +0 -12
- package/node_modules/es-abstract/2020/BinaryXor.js +0 -12
- package/node_modules/es-abstract/2020/Call.js +0 -20
- package/node_modules/es-abstract/2020/CanonicalNumericIndexString.js +0 -19
- package/node_modules/es-abstract/2020/Canonicalize.js +0 -51
- package/node_modules/es-abstract/2020/CharacterRange.js +0 -53
- package/node_modules/es-abstract/2020/CodePointAt.js +0 -55
- package/node_modules/es-abstract/2020/CompletePropertyDescriptor.js +0 -43
- package/node_modules/es-abstract/2020/CompletionRecord.js +0 -48
- package/node_modules/es-abstract/2020/CopyDataProperties.js +0 -62
- package/node_modules/es-abstract/2020/CreateAsyncFromSyncIterator.js +0 -137
- package/node_modules/es-abstract/2020/CreateDataProperty.js +0 -25
- package/node_modules/es-abstract/2020/CreateDataPropertyOrThrow.js +0 -24
- package/node_modules/es-abstract/2020/CreateHTML.js +0 -27
- package/node_modules/es-abstract/2020/CreateIterResultObject.js +0 -15
- package/node_modules/es-abstract/2020/CreateListFromArrayLike.js +0 -46
- package/node_modules/es-abstract/2020/CreateMethodProperty.js +0 -38
- package/node_modules/es-abstract/2020/CreateRegExpStringIterator.js +0 -100
- package/node_modules/es-abstract/2020/DateFromTime.js +0 -52
- package/node_modules/es-abstract/2020/DateString.js +0 -27
- package/node_modules/es-abstract/2020/Day.js +0 -11
- package/node_modules/es-abstract/2020/DayFromYear.js +0 -10
- package/node_modules/es-abstract/2020/DayWithinYear.js +0 -11
- package/node_modules/es-abstract/2020/DaysInYear.js +0 -18
- package/node_modules/es-abstract/2020/DefinePropertyOrThrow.js +0 -39
- package/node_modules/es-abstract/2020/DeletePropertyOrThrow.js +0 -25
- package/node_modules/es-abstract/2020/DetachArrayBuffer.js +0 -46
- package/node_modules/es-abstract/2020/EnumerableOwnPropertyNames.js +0 -37
- package/node_modules/es-abstract/2020/FlattenIntoArray.js +0 -55
- package/node_modules/es-abstract/2020/FromPropertyDescriptor.js +0 -16
- package/node_modules/es-abstract/2020/Get.js +0 -24
- package/node_modules/es-abstract/2020/GetGlobalObject.js +0 -9
- package/node_modules/es-abstract/2020/GetIterator.js +0 -63
- package/node_modules/es-abstract/2020/GetMethod.js +0 -34
- package/node_modules/es-abstract/2020/GetOwnPropertyKeys.js +0 -30
- package/node_modules/es-abstract/2020/GetPrototypeFromConstructor.js +0 -33
- package/node_modules/es-abstract/2020/GetSubstitution.js +0 -120
- package/node_modules/es-abstract/2020/GetV.js +0 -23
- package/node_modules/es-abstract/2020/GetValueFromBuffer.js +0 -96
- package/node_modules/es-abstract/2020/HasOwnProperty.js +0 -20
- package/node_modules/es-abstract/2020/HasProperty.js +0 -18
- package/node_modules/es-abstract/2020/HourFromTime.js +0 -14
- package/node_modules/es-abstract/2020/InLeapYear.js +0 -19
- package/node_modules/es-abstract/2020/InstanceofOperator.js +0 -30
- package/node_modules/es-abstract/2020/IntegerIndexedElementGet.js +0 -53
- package/node_modules/es-abstract/2020/IntegerIndexedElementSet.js +0 -60
- package/node_modules/es-abstract/2020/InternalizeJSONProperty.js +0 -66
- package/node_modules/es-abstract/2020/Invoke.js +0 -22
- package/node_modules/es-abstract/2020/IsAccessorDescriptor.js +0 -25
- package/node_modules/es-abstract/2020/IsArray.js +0 -4
- package/node_modules/es-abstract/2020/IsBigIntElementType.js +0 -7
- package/node_modules/es-abstract/2020/IsCallable.js +0 -5
- package/node_modules/es-abstract/2020/IsCompatiblePropertyDescriptor.js +0 -15
- package/node_modules/es-abstract/2020/IsConcatSpreadable.js +0 -26
- package/node_modules/es-abstract/2020/IsConstructor.js +0 -40
- package/node_modules/es-abstract/2020/IsDataDescriptor.js +0 -25
- package/node_modules/es-abstract/2020/IsDetachedBuffer.js +0 -28
- package/node_modules/es-abstract/2020/IsExtensible.js +0 -18
- package/node_modules/es-abstract/2020/IsGenericDescriptor.js +0 -26
- package/node_modules/es-abstract/2020/IsInteger.js +0 -9
- package/node_modules/es-abstract/2020/IsNoTearConfiguration.js +0 -16
- package/node_modules/es-abstract/2020/IsNonNegativeInteger.js +0 -9
- package/node_modules/es-abstract/2020/IsPromise.js +0 -24
- package/node_modules/es-abstract/2020/IsPropertyKey.js +0 -9
- package/node_modules/es-abstract/2020/IsRegExp.js +0 -25
- package/node_modules/es-abstract/2020/IsSharedArrayBuffer.js +0 -16
- package/node_modules/es-abstract/2020/IsStringPrefix.js +0 -43
- package/node_modules/es-abstract/2020/IsUnclampedIntegerElementType.js +0 -12
- package/node_modules/es-abstract/2020/IsUnsignedElementType.js +0 -11
- package/node_modules/es-abstract/2020/IsValidIntegerIndex.js +0 -32
- package/node_modules/es-abstract/2020/IsWordChar.js +0 -45
- package/node_modules/es-abstract/2020/IterableToList.js +0 -21
- package/node_modules/es-abstract/2020/IteratorClose.js +0 -51
- package/node_modules/es-abstract/2020/IteratorComplete.js +0 -16
- package/node_modules/es-abstract/2020/IteratorNext.js +0 -16
- package/node_modules/es-abstract/2020/IteratorStep.js +0 -13
- package/node_modules/es-abstract/2020/IteratorValue.js +0 -16
- package/node_modules/es-abstract/2020/LengthOfArrayLike.js +0 -18
- package/node_modules/es-abstract/2020/MakeDate.js +0 -14
- package/node_modules/es-abstract/2020/MakeDay.js +0 -33
- package/node_modules/es-abstract/2020/MakeTime.js +0 -24
- package/node_modules/es-abstract/2020/MinFromTime.js +0 -14
- package/node_modules/es-abstract/2020/MonthFromTime.js +0 -51
- package/node_modules/es-abstract/2020/NewPromiseCapability.js +0 -34
- package/node_modules/es-abstract/2020/NormalCompletion.js +0 -9
- package/node_modules/es-abstract/2020/Number/add.js +0 -40
- package/node_modules/es-abstract/2020/Number/bitwiseAND.js +0 -14
- package/node_modules/es-abstract/2020/Number/bitwiseNOT.js +0 -16
- package/node_modules/es-abstract/2020/Number/bitwiseOR.js +0 -14
- package/node_modules/es-abstract/2020/Number/bitwiseXOR.js +0 -14
- package/node_modules/es-abstract/2020/Number/divide.js +0 -18
- package/node_modules/es-abstract/2020/Number/equal.js +0 -18
- package/node_modules/es-abstract/2020/Number/exponentiate.js +0 -74
- package/node_modules/es-abstract/2020/Number/index.js +0 -43
- package/node_modules/es-abstract/2020/Number/leftShift.js +0 -21
- package/node_modules/es-abstract/2020/Number/lessThan.js +0 -22
- package/node_modules/es-abstract/2020/Number/multiply.js +0 -30
- package/node_modules/es-abstract/2020/Number/remainder.js +0 -29
- package/node_modules/es-abstract/2020/Number/sameValue.js +0 -18
- package/node_modules/es-abstract/2020/Number/sameValueZero.js +0 -20
- package/node_modules/es-abstract/2020/Number/signedRightShift.js +0 -21
- package/node_modules/es-abstract/2020/Number/subtract.js +0 -12
- package/node_modules/es-abstract/2020/Number/toString.js +0 -16
- package/node_modules/es-abstract/2020/Number/unaryMinus.js +0 -17
- package/node_modules/es-abstract/2020/Number/unsignedRightShift.js +0 -21
- package/node_modules/es-abstract/2020/NumberBitwiseOp.js +0 -26
- package/node_modules/es-abstract/2020/NumberToBigInt.js +0 -24
- package/node_modules/es-abstract/2020/NumericToRawBytes.js +0 -62
- package/node_modules/es-abstract/2020/ObjectDefineProperties.js +0 -37
- package/node_modules/es-abstract/2020/OrdinaryCreateFromConstructor.js +0 -20
- package/node_modules/es-abstract/2020/OrdinaryDefineOwnProperty.js +0 -54
- package/node_modules/es-abstract/2020/OrdinaryGetOwnProperty.js +0 -40
- package/node_modules/es-abstract/2020/OrdinaryGetPrototypeOf.js +0 -18
- package/node_modules/es-abstract/2020/OrdinaryHasInstance.js +0 -23
- package/node_modules/es-abstract/2020/OrdinaryHasProperty.js +0 -18
- package/node_modules/es-abstract/2020/OrdinaryObjectCreate.js +0 -56
- package/node_modules/es-abstract/2020/OrdinarySetPrototypeOf.js +0 -50
- package/node_modules/es-abstract/2020/OrdinaryToPrimitive.js +0 -36
- package/node_modules/es-abstract/2020/PromiseResolve.js +0 -18
- package/node_modules/es-abstract/2020/QuoteJSONString.js +0 -52
- package/node_modules/es-abstract/2020/RawBytesToNumeric.js +0 -67
- package/node_modules/es-abstract/2020/RegExpCreate.js +0 -21
- package/node_modules/es-abstract/2020/RegExpExec.js +0 -29
- package/node_modules/es-abstract/2020/RequireObjectCoercible.js +0 -3
- package/node_modules/es-abstract/2020/SameValue.js +0 -13
- package/node_modules/es-abstract/2020/SameValueNonNumeric.js +0 -18
- package/node_modules/es-abstract/2020/SameValueZero.js +0 -9
- package/node_modules/es-abstract/2020/SecFromTime.js +0 -14
- package/node_modules/es-abstract/2020/Set.js +0 -45
- package/node_modules/es-abstract/2020/SetFunctionLength.js +0 -28
- package/node_modules/es-abstract/2020/SetFunctionName.js +0 -40
- package/node_modules/es-abstract/2020/SetIntegrityLevel.js +0 -57
- package/node_modules/es-abstract/2020/SetValueInBuffer.js +0 -96
- package/node_modules/es-abstract/2020/SpeciesConstructor.js +0 -32
- package/node_modules/es-abstract/2020/SplitMatch.js +0 -35
- package/node_modules/es-abstract/2020/StrictEqualityComparison.js +0 -15
- package/node_modules/es-abstract/2020/StringCreate.js +0 -38
- package/node_modules/es-abstract/2020/StringGetOwnProperty.js +0 -47
- package/node_modules/es-abstract/2020/StringPad.js +0 -41
- package/node_modules/es-abstract/2020/StringToBigInt.js +0 -23
- package/node_modules/es-abstract/2020/SymbolDescriptiveString.js +0 -16
- package/node_modules/es-abstract/2020/TestIntegrityLevel.js +0 -40
- package/node_modules/es-abstract/2020/ThrowCompletion.js +0 -9
- package/node_modules/es-abstract/2020/TimeClip.js +0 -20
- package/node_modules/es-abstract/2020/TimeFromYear.js +0 -11
- package/node_modules/es-abstract/2020/TimeString.js +0 -22
- package/node_modules/es-abstract/2020/TimeWithinDay.js +0 -12
- package/node_modules/es-abstract/2020/TimeZoneString.js +0 -33
- package/node_modules/es-abstract/2020/ToBigInt.js +0 -53
- package/node_modules/es-abstract/2020/ToBigInt64.js +0 -25
- package/node_modules/es-abstract/2020/ToBigUint64.js +0 -23
- package/node_modules/es-abstract/2020/ToBoolean.js +0 -5
- package/node_modules/es-abstract/2020/ToDateString.js +0 -21
- package/node_modules/es-abstract/2020/ToIndex.js +0 -24
- package/node_modules/es-abstract/2020/ToInt16.js +0 -10
- package/node_modules/es-abstract/2020/ToInt32.js +0 -9
- package/node_modules/es-abstract/2020/ToInt8.js +0 -10
- package/node_modules/es-abstract/2020/ToInteger.js +0 -15
- package/node_modules/es-abstract/2020/ToLength.js +0 -14
- package/node_modules/es-abstract/2020/ToNumber.js +0 -51
- package/node_modules/es-abstract/2020/ToNumeric.js +0 -20
- package/node_modules/es-abstract/2020/ToObject.js +0 -5
- package/node_modules/es-abstract/2020/ToPrimitive.js +0 -12
- package/node_modules/es-abstract/2020/ToPropertyDescriptor.js +0 -50
- package/node_modules/es-abstract/2020/ToPropertyKey.js +0 -15
- package/node_modules/es-abstract/2020/ToString.js +0 -15
- package/node_modules/es-abstract/2020/ToUint16.js +0 -19
- package/node_modules/es-abstract/2020/ToUint32.js +0 -9
- package/node_modules/es-abstract/2020/ToUint8.js +0 -19
- package/node_modules/es-abstract/2020/ToUint8Clamp.js +0 -19
- package/node_modules/es-abstract/2020/TrimString.js +0 -27
- package/node_modules/es-abstract/2020/Type.js +0 -15
- package/node_modules/es-abstract/2020/TypedArrayCreate.js +0 -47
- package/node_modules/es-abstract/2020/TypedArraySpeciesCreate.js +0 -37
- package/node_modules/es-abstract/2020/UTF16DecodeString.js +0 -22
- package/node_modules/es-abstract/2020/UTF16DecodeSurrogatePair.js +0 -19
- package/node_modules/es-abstract/2020/UTF16Encoding.js +0 -25
- package/node_modules/es-abstract/2020/UnicodeEscape.js +0 -25
- package/node_modules/es-abstract/2020/ValidateAndApplyPropertyDescriptor.js +0 -159
- package/node_modules/es-abstract/2020/ValidateAtomicAccess.js +0 -34
- package/node_modules/es-abstract/2020/ValidateTypedArray.js +0 -28
- package/node_modules/es-abstract/2020/WeekDay.js +0 -10
- package/node_modules/es-abstract/2020/WordCharacters.js +0 -46
- package/node_modules/es-abstract/2020/YearFromTime.js +0 -16
- package/node_modules/es-abstract/2020/abs.js +0 -9
- package/node_modules/es-abstract/2020/floor.js +0 -14
- package/node_modules/es-abstract/2020/max.js +0 -5
- package/node_modules/es-abstract/2020/min.js +0 -5
- package/node_modules/es-abstract/2020/modulo.js +0 -9
- package/node_modules/es-abstract/2020/msFromTime.js +0 -11
- package/node_modules/es-abstract/2020/tables/typed-array-objects.js +0 -36
- package/node_modules/es-abstract/2020/thisBigIntValue.js +0 -18
- package/node_modules/es-abstract/2020/thisBooleanValue.js +0 -13
- package/node_modules/es-abstract/2020/thisNumberValue.js +0 -16
- package/node_modules/es-abstract/2020/thisStringValue.js +0 -13
- package/node_modules/es-abstract/2020/thisSymbolValue.js +0 -20
- package/node_modules/es-abstract/2020/thisTimeValue.js +0 -9
- package/node_modules/es-abstract/2021/AbstractEqualityComparison.js +0 -56
- package/node_modules/es-abstract/2021/AbstractRelationalComparison.js +0 -80
- package/node_modules/es-abstract/2021/AddEntriesFromIterable.js +0 -44
- package/node_modules/es-abstract/2021/AddToKeptObjects.js +0 -18
- package/node_modules/es-abstract/2021/AdvanceStringIndex.js +0 -30
- package/node_modules/es-abstract/2021/ApplyStringOrNumericBinaryOperator.js +0 -77
- package/node_modules/es-abstract/2021/ArrayCreate.js +0 -42
- package/node_modules/es-abstract/2021/ArraySetLength.js +0 -77
- package/node_modules/es-abstract/2021/ArraySpeciesCreate.js +0 -48
- package/node_modules/es-abstract/2021/AsyncFromSyncIteratorContinuation.js +0 -45
- package/node_modules/es-abstract/2021/AsyncIteratorClose.js +0 -70
- package/node_modules/es-abstract/2021/BigInt/add.js +0 -14
- package/node_modules/es-abstract/2021/BigInt/bitwiseAND.js +0 -14
- package/node_modules/es-abstract/2021/BigInt/bitwiseNOT.js +0 -15
- package/node_modules/es-abstract/2021/BigInt/bitwiseOR.js +0 -14
- package/node_modules/es-abstract/2021/BigInt/bitwiseXOR.js +0 -14
- package/node_modules/es-abstract/2021/BigInt/divide.js +0 -20
- package/node_modules/es-abstract/2021/BigInt/equal.js +0 -13
- package/node_modules/es-abstract/2021/BigInt/exponentiate.js +0 -29
- package/node_modules/es-abstract/2021/BigInt/index.js +0 -43
- package/node_modules/es-abstract/2021/BigInt/leftShift.js +0 -14
- package/node_modules/es-abstract/2021/BigInt/lessThan.js +0 -14
- package/node_modules/es-abstract/2021/BigInt/multiply.js +0 -14
- package/node_modules/es-abstract/2021/BigInt/remainder.js +0 -28
- package/node_modules/es-abstract/2021/BigInt/sameValue.js +0 -15
- package/node_modules/es-abstract/2021/BigInt/sameValueZero.js +0 -15
- package/node_modules/es-abstract/2021/BigInt/signedRightShift.js +0 -15
- package/node_modules/es-abstract/2021/BigInt/subtract.js +0 -14
- package/node_modules/es-abstract/2021/BigInt/toString.js +0 -16
- package/node_modules/es-abstract/2021/BigInt/unaryMinus.js +0 -22
- package/node_modules/es-abstract/2021/BigInt/unsignedRightShift.js +0 -13
- package/node_modules/es-abstract/2021/BigIntBitwiseOp.js +0 -63
- package/node_modules/es-abstract/2021/BinaryAnd.js +0 -12
- package/node_modules/es-abstract/2021/BinaryOr.js +0 -12
- package/node_modules/es-abstract/2021/BinaryXor.js +0 -12
- package/node_modules/es-abstract/2021/ByteListBitwiseOp.js +0 -39
- package/node_modules/es-abstract/2021/ByteListEqual.js +0 -31
- package/node_modules/es-abstract/2021/Call.js +0 -20
- package/node_modules/es-abstract/2021/CanonicalNumericIndexString.js +0 -19
- package/node_modules/es-abstract/2021/Canonicalize.js +0 -51
- package/node_modules/es-abstract/2021/CharacterRange.js +0 -53
- package/node_modules/es-abstract/2021/ClearKeptObjects.js +0 -12
- package/node_modules/es-abstract/2021/CloneArrayBuffer.js +0 -46
- package/node_modules/es-abstract/2021/CodePointAt.js +0 -55
- package/node_modules/es-abstract/2021/CodePointsToString.js +0 -25
- package/node_modules/es-abstract/2021/CompletePropertyDescriptor.js +0 -43
- package/node_modules/es-abstract/2021/CompletionRecord.js +0 -48
- package/node_modules/es-abstract/2021/CopyDataProperties.js +0 -69
- package/node_modules/es-abstract/2021/CreateAsyncFromSyncIterator.js +0 -137
- package/node_modules/es-abstract/2021/CreateDataProperty.js +0 -25
- package/node_modules/es-abstract/2021/CreateDataPropertyOrThrow.js +0 -24
- package/node_modules/es-abstract/2021/CreateHTML.js +0 -27
- package/node_modules/es-abstract/2021/CreateIterResultObject.js +0 -15
- package/node_modules/es-abstract/2021/CreateListFromArrayLike.js +0 -44
- package/node_modules/es-abstract/2021/CreateMethodProperty.js +0 -38
- package/node_modules/es-abstract/2021/CreateRegExpStringIterator.js +0 -100
- package/node_modules/es-abstract/2021/DateFromTime.js +0 -52
- package/node_modules/es-abstract/2021/DateString.js +0 -27
- package/node_modules/es-abstract/2021/Day.js +0 -11
- package/node_modules/es-abstract/2021/DayFromYear.js +0 -10
- package/node_modules/es-abstract/2021/DayWithinYear.js +0 -11
- package/node_modules/es-abstract/2021/DaysInYear.js +0 -18
- package/node_modules/es-abstract/2021/DefinePropertyOrThrow.js +0 -39
- package/node_modules/es-abstract/2021/DeletePropertyOrThrow.js +0 -25
- package/node_modules/es-abstract/2021/DetachArrayBuffer.js +0 -46
- package/node_modules/es-abstract/2021/EnumerableOwnPropertyNames.js +0 -37
- package/node_modules/es-abstract/2021/FlattenIntoArray.js +0 -55
- package/node_modules/es-abstract/2021/FromPropertyDescriptor.js +0 -16
- package/node_modules/es-abstract/2021/Get.js +0 -24
- package/node_modules/es-abstract/2021/GetGlobalObject.js +0 -9
- package/node_modules/es-abstract/2021/GetIterator.js +0 -63
- package/node_modules/es-abstract/2021/GetMethod.js +0 -34
- package/node_modules/es-abstract/2021/GetOwnPropertyKeys.js +0 -30
- package/node_modules/es-abstract/2021/GetPromiseResolve.js +0 -20
- package/node_modules/es-abstract/2021/GetPrototypeFromConstructor.js +0 -33
- package/node_modules/es-abstract/2021/GetSubstitution.js +0 -119
- package/node_modules/es-abstract/2021/GetV.js +0 -23
- package/node_modules/es-abstract/2021/GetValueFromBuffer.js +0 -96
- package/node_modules/es-abstract/2021/HasOwnProperty.js +0 -20
- package/node_modules/es-abstract/2021/HasProperty.js +0 -18
- package/node_modules/es-abstract/2021/HourFromTime.js +0 -14
- package/node_modules/es-abstract/2021/InLeapYear.js +0 -19
- package/node_modules/es-abstract/2021/InstanceofOperator.js +0 -30
- package/node_modules/es-abstract/2021/IntegerIndexedElementGet.js +0 -39
- package/node_modules/es-abstract/2021/IntegerIndexedElementSet.js +0 -44
- package/node_modules/es-abstract/2021/InternalizeJSONProperty.js +0 -66
- package/node_modules/es-abstract/2021/Invoke.js +0 -22
- package/node_modules/es-abstract/2021/IsAccessorDescriptor.js +0 -25
- package/node_modules/es-abstract/2021/IsArray.js +0 -4
- package/node_modules/es-abstract/2021/IsBigIntElementType.js +0 -7
- package/node_modules/es-abstract/2021/IsCallable.js +0 -5
- package/node_modules/es-abstract/2021/IsCompatiblePropertyDescriptor.js +0 -15
- package/node_modules/es-abstract/2021/IsConcatSpreadable.js +0 -26
- package/node_modules/es-abstract/2021/IsConstructor.js +0 -40
- package/node_modules/es-abstract/2021/IsDataDescriptor.js +0 -25
- package/node_modules/es-abstract/2021/IsDetachedBuffer.js +0 -28
- package/node_modules/es-abstract/2021/IsExtensible.js +0 -18
- package/node_modules/es-abstract/2021/IsGenericDescriptor.js +0 -26
- package/node_modules/es-abstract/2021/IsIntegralNumber.js +0 -9
- package/node_modules/es-abstract/2021/IsNoTearConfiguration.js +0 -16
- package/node_modules/es-abstract/2021/IsPromise.js +0 -24
- package/node_modules/es-abstract/2021/IsPropertyKey.js +0 -9
- package/node_modules/es-abstract/2021/IsRegExp.js +0 -25
- package/node_modules/es-abstract/2021/IsSharedArrayBuffer.js +0 -16
- package/node_modules/es-abstract/2021/IsStringPrefix.js +0 -43
- package/node_modules/es-abstract/2021/IsUnclampedIntegerElementType.js +0 -12
- package/node_modules/es-abstract/2021/IsUnsignedElementType.js +0 -11
- package/node_modules/es-abstract/2021/IsValidIntegerIndex.js +0 -30
- package/node_modules/es-abstract/2021/IsWordChar.js +0 -46
- package/node_modules/es-abstract/2021/IterableToList.js +0 -26
- package/node_modules/es-abstract/2021/IteratorClose.js +0 -51
- package/node_modules/es-abstract/2021/IteratorComplete.js +0 -16
- package/node_modules/es-abstract/2021/IteratorNext.js +0 -16
- package/node_modules/es-abstract/2021/IteratorStep.js +0 -13
- package/node_modules/es-abstract/2021/IteratorValue.js +0 -16
- package/node_modules/es-abstract/2021/LengthOfArrayLike.js +0 -18
- package/node_modules/es-abstract/2021/MakeDate.js +0 -14
- package/node_modules/es-abstract/2021/MakeDay.js +0 -36
- package/node_modules/es-abstract/2021/MakeTime.js +0 -23
- package/node_modules/es-abstract/2021/MinFromTime.js +0 -14
- package/node_modules/es-abstract/2021/MonthFromTime.js +0 -51
- package/node_modules/es-abstract/2021/NewPromiseCapability.js +0 -34
- package/node_modules/es-abstract/2021/NormalCompletion.js +0 -9
- package/node_modules/es-abstract/2021/Number/add.js +0 -31
- package/node_modules/es-abstract/2021/Number/bitwiseAND.js +0 -14
- package/node_modules/es-abstract/2021/Number/bitwiseNOT.js +0 -16
- package/node_modules/es-abstract/2021/Number/bitwiseOR.js +0 -14
- package/node_modules/es-abstract/2021/Number/bitwiseXOR.js +0 -14
- package/node_modules/es-abstract/2021/Number/divide.js +0 -18
- package/node_modules/es-abstract/2021/Number/equal.js +0 -18
- package/node_modules/es-abstract/2021/Number/exponentiate.js +0 -74
- package/node_modules/es-abstract/2021/Number/index.js +0 -43
- package/node_modules/es-abstract/2021/Number/leftShift.js +0 -22
- package/node_modules/es-abstract/2021/Number/lessThan.js +0 -22
- package/node_modules/es-abstract/2021/Number/multiply.js +0 -30
- package/node_modules/es-abstract/2021/Number/remainder.js +0 -29
- package/node_modules/es-abstract/2021/Number/sameValue.js +0 -18
- package/node_modules/es-abstract/2021/Number/sameValueZero.js +0 -20
- package/node_modules/es-abstract/2021/Number/signedRightShift.js +0 -22
- package/node_modules/es-abstract/2021/Number/subtract.js +0 -15
- package/node_modules/es-abstract/2021/Number/toString.js +0 -16
- package/node_modules/es-abstract/2021/Number/unaryMinus.js +0 -17
- package/node_modules/es-abstract/2021/Number/unsignedRightShift.js +0 -22
- package/node_modules/es-abstract/2021/NumberBitwiseOp.js +0 -26
- package/node_modules/es-abstract/2021/NumberToBigInt.js +0 -25
- package/node_modules/es-abstract/2021/NumericToRawBytes.js +0 -62
- package/node_modules/es-abstract/2021/ObjectDefineProperties.js +0 -37
- package/node_modules/es-abstract/2021/OrdinaryCreateFromConstructor.js +0 -20
- package/node_modules/es-abstract/2021/OrdinaryDefineOwnProperty.js +0 -54
- package/node_modules/es-abstract/2021/OrdinaryGetOwnProperty.js +0 -41
- package/node_modules/es-abstract/2021/OrdinaryGetPrototypeOf.js +0 -18
- package/node_modules/es-abstract/2021/OrdinaryHasInstance.js +0 -23
- package/node_modules/es-abstract/2021/OrdinaryHasProperty.js +0 -18
- package/node_modules/es-abstract/2021/OrdinaryObjectCreate.js +0 -56
- package/node_modules/es-abstract/2021/OrdinarySetPrototypeOf.js +0 -50
- package/node_modules/es-abstract/2021/OrdinaryToPrimitive.js +0 -36
- package/node_modules/es-abstract/2021/PromiseResolve.js +0 -18
- package/node_modules/es-abstract/2021/QuoteJSONString.js +0 -52
- package/node_modules/es-abstract/2021/RawBytesToNumeric.js +0 -67
- package/node_modules/es-abstract/2021/RegExpCreate.js +0 -21
- package/node_modules/es-abstract/2021/RegExpExec.js +0 -29
- package/node_modules/es-abstract/2021/RequireObjectCoercible.js +0 -3
- package/node_modules/es-abstract/2021/SameValue.js +0 -13
- package/node_modules/es-abstract/2021/SameValueNonNumeric.js +0 -18
- package/node_modules/es-abstract/2021/SameValueZero.js +0 -9
- package/node_modules/es-abstract/2021/SecFromTime.js +0 -14
- package/node_modules/es-abstract/2021/Set.js +0 -45
- package/node_modules/es-abstract/2021/SetFunctionLength.js +0 -28
- package/node_modules/es-abstract/2021/SetFunctionName.js +0 -40
- package/node_modules/es-abstract/2021/SetIntegrityLevel.js +0 -57
- package/node_modules/es-abstract/2021/SetTypedArrayFromArrayLike.js +0 -96
- package/node_modules/es-abstract/2021/SetTypedArrayFromTypedArray.js +0 -138
- package/node_modules/es-abstract/2021/SetValueInBuffer.js +0 -92
- package/node_modules/es-abstract/2021/SpeciesConstructor.js +0 -32
- package/node_modules/es-abstract/2021/SplitMatch.js +0 -35
- package/node_modules/es-abstract/2021/StrictEqualityComparison.js +0 -15
- package/node_modules/es-abstract/2021/StringCreate.js +0 -38
- package/node_modules/es-abstract/2021/StringGetOwnProperty.js +0 -46
- package/node_modules/es-abstract/2021/StringIndexOf.js +0 -36
- package/node_modules/es-abstract/2021/StringPad.js +0 -41
- package/node_modules/es-abstract/2021/StringToBigInt.js +0 -23
- package/node_modules/es-abstract/2021/StringToCodePoints.js +0 -22
- package/node_modules/es-abstract/2021/SymbolDescriptiveString.js +0 -16
- package/node_modules/es-abstract/2021/TestIntegrityLevel.js +0 -40
- package/node_modules/es-abstract/2021/ThrowCompletion.js +0 -9
- package/node_modules/es-abstract/2021/TimeClip.js +0 -20
- package/node_modules/es-abstract/2021/TimeFromYear.js +0 -11
- package/node_modules/es-abstract/2021/TimeString.js +0 -22
- package/node_modules/es-abstract/2021/TimeWithinDay.js +0 -12
- package/node_modules/es-abstract/2021/TimeZoneString.js +0 -38
- package/node_modules/es-abstract/2021/ToBigInt.js +0 -53
- package/node_modules/es-abstract/2021/ToBigInt64.js +0 -25
- package/node_modules/es-abstract/2021/ToBigUint64.js +0 -23
- package/node_modules/es-abstract/2021/ToBoolean.js +0 -5
- package/node_modules/es-abstract/2021/ToDateString.js +0 -21
- package/node_modules/es-abstract/2021/ToIndex.js +0 -24
- package/node_modules/es-abstract/2021/ToInt16.js +0 -10
- package/node_modules/es-abstract/2021/ToInt32.js +0 -9
- package/node_modules/es-abstract/2021/ToInt8.js +0 -10
- package/node_modules/es-abstract/2021/ToIntegerOrInfinity.js +0 -20
- package/node_modules/es-abstract/2021/ToLength.js +0 -14
- package/node_modules/es-abstract/2021/ToNumber.js +0 -51
- package/node_modules/es-abstract/2021/ToNumeric.js +0 -20
- package/node_modules/es-abstract/2021/ToObject.js +0 -5
- package/node_modules/es-abstract/2021/ToPrimitive.js +0 -12
- package/node_modules/es-abstract/2021/ToPropertyDescriptor.js +0 -50
- package/node_modules/es-abstract/2021/ToPropertyKey.js +0 -15
- package/node_modules/es-abstract/2021/ToString.js +0 -15
- package/node_modules/es-abstract/2021/ToUint16.js +0 -19
- package/node_modules/es-abstract/2021/ToUint32.js +0 -9
- package/node_modules/es-abstract/2021/ToUint8.js +0 -19
- package/node_modules/es-abstract/2021/ToUint8Clamp.js +0 -19
- package/node_modules/es-abstract/2021/TrimString.js +0 -27
- package/node_modules/es-abstract/2021/Type.js +0 -15
- package/node_modules/es-abstract/2021/TypedArrayCreate.js +0 -47
- package/node_modules/es-abstract/2021/TypedArraySpeciesCreate.js +0 -37
- package/node_modules/es-abstract/2021/UTF16EncodeCodePoint.js +0 -25
- package/node_modules/es-abstract/2021/UTF16SurrogatePairToCodePoint.js +0 -19
- package/node_modules/es-abstract/2021/UnicodeEscape.js +0 -25
- package/node_modules/es-abstract/2021/ValidateAndApplyPropertyDescriptor.js +0 -159
- package/node_modules/es-abstract/2021/ValidateAtomicAccess.js +0 -45
- package/node_modules/es-abstract/2021/ValidateIntegerTypedArray.js +0 -37
- package/node_modules/es-abstract/2021/ValidateTypedArray.js +0 -28
- package/node_modules/es-abstract/2021/WeakRefDeref.js +0 -23
- package/node_modules/es-abstract/2021/WeekDay.js +0 -10
- package/node_modules/es-abstract/2021/WordCharacters.js +0 -46
- package/node_modules/es-abstract/2021/YearFromTime.js +0 -16
- package/node_modules/es-abstract/2021/abs.js +0 -9
- package/node_modules/es-abstract/2021/clamp.js +0 -14
- package/node_modules/es-abstract/2021/floor.js +0 -14
- package/node_modules/es-abstract/2021/max.js +0 -5
- package/node_modules/es-abstract/2021/min.js +0 -5
- package/node_modules/es-abstract/2021/modulo.js +0 -9
- package/node_modules/es-abstract/2021/msFromTime.js +0 -11
- package/node_modules/es-abstract/2021/substring.js +0 -15
- package/node_modules/es-abstract/2021/tables/typed-array-objects.js +0 -36
- package/node_modules/es-abstract/2021/thisBigIntValue.js +0 -18
- package/node_modules/es-abstract/2021/thisBooleanValue.js +0 -13
- package/node_modules/es-abstract/2021/thisNumberValue.js +0 -16
- package/node_modules/es-abstract/2021/thisStringValue.js +0 -13
- package/node_modules/es-abstract/2021/thisSymbolValue.js +0 -20
- package/node_modules/es-abstract/2021/thisTimeValue.js +0 -9
- package/node_modules/es-abstract/2022/AddEntriesFromIterable.js +0 -44
- package/node_modules/es-abstract/2022/AddToKeptObjects.js +0 -18
- package/node_modules/es-abstract/2022/AdvanceStringIndex.js +0 -30
- package/node_modules/es-abstract/2022/ApplyStringOrNumericBinaryOperator.js +0 -77
- package/node_modules/es-abstract/2022/ArrayCreate.js +0 -42
- package/node_modules/es-abstract/2022/ArraySetLength.js +0 -77
- package/node_modules/es-abstract/2022/ArraySpeciesCreate.js +0 -48
- package/node_modules/es-abstract/2022/AsyncFromSyncIteratorContinuation.js +0 -45
- package/node_modules/es-abstract/2022/AsyncIteratorClose.js +0 -70
- package/node_modules/es-abstract/2022/BigInt/add.js +0 -14
- package/node_modules/es-abstract/2022/BigInt/bitwiseAND.js +0 -14
- package/node_modules/es-abstract/2022/BigInt/bitwiseNOT.js +0 -15
- package/node_modules/es-abstract/2022/BigInt/bitwiseOR.js +0 -14
- package/node_modules/es-abstract/2022/BigInt/bitwiseXOR.js +0 -14
- package/node_modules/es-abstract/2022/BigInt/divide.js +0 -20
- package/node_modules/es-abstract/2022/BigInt/equal.js +0 -13
- package/node_modules/es-abstract/2022/BigInt/exponentiate.js +0 -29
- package/node_modules/es-abstract/2022/BigInt/index.js +0 -43
- package/node_modules/es-abstract/2022/BigInt/leftShift.js +0 -14
- package/node_modules/es-abstract/2022/BigInt/lessThan.js +0 -14
- package/node_modules/es-abstract/2022/BigInt/multiply.js +0 -14
- package/node_modules/es-abstract/2022/BigInt/remainder.js +0 -28
- package/node_modules/es-abstract/2022/BigInt/sameValue.js +0 -15
- package/node_modules/es-abstract/2022/BigInt/sameValueZero.js +0 -15
- package/node_modules/es-abstract/2022/BigInt/signedRightShift.js +0 -15
- package/node_modules/es-abstract/2022/BigInt/subtract.js +0 -14
- package/node_modules/es-abstract/2022/BigInt/toString.js +0 -16
- package/node_modules/es-abstract/2022/BigInt/unaryMinus.js +0 -22
- package/node_modules/es-abstract/2022/BigInt/unsignedRightShift.js +0 -13
- package/node_modules/es-abstract/2022/BigIntBitwiseOp.js +0 -63
- package/node_modules/es-abstract/2022/BinaryAnd.js +0 -12
- package/node_modules/es-abstract/2022/BinaryOr.js +0 -12
- package/node_modules/es-abstract/2022/BinaryXor.js +0 -12
- package/node_modules/es-abstract/2022/ByteListBitwiseOp.js +0 -39
- package/node_modules/es-abstract/2022/ByteListEqual.js +0 -31
- package/node_modules/es-abstract/2022/Call.js +0 -20
- package/node_modules/es-abstract/2022/CanonicalNumericIndexString.js +0 -19
- package/node_modules/es-abstract/2022/Canonicalize.js +0 -51
- package/node_modules/es-abstract/2022/CharacterRange.js +0 -53
- package/node_modules/es-abstract/2022/ClearKeptObjects.js +0 -12
- package/node_modules/es-abstract/2022/CloneArrayBuffer.js +0 -46
- package/node_modules/es-abstract/2022/CodePointAt.js +0 -55
- package/node_modules/es-abstract/2022/CodePointsToString.js +0 -25
- package/node_modules/es-abstract/2022/CompletePropertyDescriptor.js +0 -43
- package/node_modules/es-abstract/2022/CompletionRecord.js +0 -48
- package/node_modules/es-abstract/2022/CopyDataProperties.js +0 -69
- package/node_modules/es-abstract/2022/CreateAsyncFromSyncIterator.js +0 -137
- package/node_modules/es-abstract/2022/CreateDataProperty.js +0 -25
- package/node_modules/es-abstract/2022/CreateDataPropertyOrThrow.js +0 -24
- package/node_modules/es-abstract/2022/CreateHTML.js +0 -27
- package/node_modules/es-abstract/2022/CreateIterResultObject.js +0 -15
- package/node_modules/es-abstract/2022/CreateListFromArrayLike.js +0 -44
- package/node_modules/es-abstract/2022/CreateMethodProperty.js +0 -38
- package/node_modules/es-abstract/2022/CreateNonEnumerableDataPropertyOrThrow.js +0 -28
- package/node_modules/es-abstract/2022/CreateRegExpStringIterator.js +0 -100
- package/node_modules/es-abstract/2022/DateFromTime.js +0 -52
- package/node_modules/es-abstract/2022/DateString.js +0 -27
- package/node_modules/es-abstract/2022/Day.js +0 -11
- package/node_modules/es-abstract/2022/DayFromYear.js +0 -10
- package/node_modules/es-abstract/2022/DayWithinYear.js +0 -11
- package/node_modules/es-abstract/2022/DaysInYear.js +0 -18
- package/node_modules/es-abstract/2022/DefineMethodProperty.js +0 -42
- package/node_modules/es-abstract/2022/DefinePropertyOrThrow.js +0 -39
- package/node_modules/es-abstract/2022/DeletePropertyOrThrow.js +0 -25
- package/node_modules/es-abstract/2022/DetachArrayBuffer.js +0 -46
- package/node_modules/es-abstract/2022/EnumerableOwnPropertyNames.js +0 -37
- package/node_modules/es-abstract/2022/FlattenIntoArray.js +0 -55
- package/node_modules/es-abstract/2022/FromPropertyDescriptor.js +0 -16
- package/node_modules/es-abstract/2022/Get.js +0 -24
- package/node_modules/es-abstract/2022/GetGlobalObject.js +0 -9
- package/node_modules/es-abstract/2022/GetIterator.js +0 -63
- package/node_modules/es-abstract/2022/GetMatchIndexPair.js +0 -24
- package/node_modules/es-abstract/2022/GetMatchString.js +0 -26
- package/node_modules/es-abstract/2022/GetMethod.js +0 -34
- package/node_modules/es-abstract/2022/GetOwnPropertyKeys.js +0 -30
- package/node_modules/es-abstract/2022/GetPromiseResolve.js +0 -20
- package/node_modules/es-abstract/2022/GetPrototypeFromConstructor.js +0 -33
- package/node_modules/es-abstract/2022/GetStringIndex.js +0 -27
- package/node_modules/es-abstract/2022/GetSubstitution.js +0 -137
- package/node_modules/es-abstract/2022/GetV.js +0 -23
- package/node_modules/es-abstract/2022/GetValueFromBuffer.js +0 -96
- package/node_modules/es-abstract/2022/HasOwnProperty.js +0 -20
- package/node_modules/es-abstract/2022/HasProperty.js +0 -18
- package/node_modules/es-abstract/2022/HourFromTime.js +0 -14
- package/node_modules/es-abstract/2022/InLeapYear.js +0 -19
- package/node_modules/es-abstract/2022/InstallErrorCause.js +0 -21
- package/node_modules/es-abstract/2022/InstanceofOperator.js +0 -30
- package/node_modules/es-abstract/2022/IntegerIndexedElementGet.js +0 -38
- package/node_modules/es-abstract/2022/IntegerIndexedElementSet.js +0 -42
- package/node_modules/es-abstract/2022/InternalizeJSONProperty.js +0 -66
- package/node_modules/es-abstract/2022/Invoke.js +0 -22
- package/node_modules/es-abstract/2022/IsAccessorDescriptor.js +0 -25
- package/node_modules/es-abstract/2022/IsArray.js +0 -4
- package/node_modules/es-abstract/2022/IsBigIntElementType.js +0 -7
- package/node_modules/es-abstract/2022/IsCallable.js +0 -5
- package/node_modules/es-abstract/2022/IsCompatiblePropertyDescriptor.js +0 -15
- package/node_modules/es-abstract/2022/IsConcatSpreadable.js +0 -26
- package/node_modules/es-abstract/2022/IsConstructor.js +0 -40
- package/node_modules/es-abstract/2022/IsDataDescriptor.js +0 -25
- package/node_modules/es-abstract/2022/IsDetachedBuffer.js +0 -28
- package/node_modules/es-abstract/2022/IsExtensible.js +0 -18
- package/node_modules/es-abstract/2022/IsGenericDescriptor.js +0 -26
- package/node_modules/es-abstract/2022/IsIntegralNumber.js +0 -9
- package/node_modules/es-abstract/2022/IsLessThan.js +0 -87
- package/node_modules/es-abstract/2022/IsLooselyEqual.js +0 -58
- package/node_modules/es-abstract/2022/IsNoTearConfiguration.js +0 -16
- package/node_modules/es-abstract/2022/IsPromise.js +0 -24
- package/node_modules/es-abstract/2022/IsPropertyKey.js +0 -9
- package/node_modules/es-abstract/2022/IsRegExp.js +0 -25
- package/node_modules/es-abstract/2022/IsSharedArrayBuffer.js +0 -16
- package/node_modules/es-abstract/2022/IsStrictlyEqual.js +0 -18
- package/node_modules/es-abstract/2022/IsStringPrefix.js +0 -19
- package/node_modules/es-abstract/2022/IsStringWellFormedUnicode.js +0 -23
- package/node_modules/es-abstract/2022/IsUnclampedIntegerElementType.js +0 -12
- package/node_modules/es-abstract/2022/IsUnsignedElementType.js +0 -11
- package/node_modules/es-abstract/2022/IsValidIntegerIndex.js +0 -30
- package/node_modules/es-abstract/2022/IsWordChar.js +0 -46
- package/node_modules/es-abstract/2022/IterableToList.js +0 -26
- package/node_modules/es-abstract/2022/IteratorClose.js +0 -51
- package/node_modules/es-abstract/2022/IteratorComplete.js +0 -16
- package/node_modules/es-abstract/2022/IteratorNext.js +0 -16
- package/node_modules/es-abstract/2022/IteratorStep.js +0 -13
- package/node_modules/es-abstract/2022/IteratorValue.js +0 -16
- package/node_modules/es-abstract/2022/LengthOfArrayLike.js +0 -18
- package/node_modules/es-abstract/2022/MakeDate.js +0 -14
- package/node_modules/es-abstract/2022/MakeDay.js +0 -36
- package/node_modules/es-abstract/2022/MakeMatchIndicesIndexPairArray.js +0 -66
- package/node_modules/es-abstract/2022/MakeTime.js +0 -23
- package/node_modules/es-abstract/2022/MinFromTime.js +0 -14
- package/node_modules/es-abstract/2022/MonthFromTime.js +0 -51
- package/node_modules/es-abstract/2022/NewPromiseCapability.js +0 -34
- package/node_modules/es-abstract/2022/NormalCompletion.js +0 -9
- package/node_modules/es-abstract/2022/Number/add.js +0 -31
- package/node_modules/es-abstract/2022/Number/bitwiseAND.js +0 -14
- package/node_modules/es-abstract/2022/Number/bitwiseNOT.js +0 -16
- package/node_modules/es-abstract/2022/Number/bitwiseOR.js +0 -14
- package/node_modules/es-abstract/2022/Number/bitwiseXOR.js +0 -14
- package/node_modules/es-abstract/2022/Number/divide.js +0 -18
- package/node_modules/es-abstract/2022/Number/equal.js +0 -18
- package/node_modules/es-abstract/2022/Number/exponentiate.js +0 -74
- package/node_modules/es-abstract/2022/Number/index.js +0 -43
- package/node_modules/es-abstract/2022/Number/leftShift.js +0 -22
- package/node_modules/es-abstract/2022/Number/lessThan.js +0 -22
- package/node_modules/es-abstract/2022/Number/multiply.js +0 -30
- package/node_modules/es-abstract/2022/Number/remainder.js +0 -29
- package/node_modules/es-abstract/2022/Number/sameValue.js +0 -18
- package/node_modules/es-abstract/2022/Number/sameValueZero.js +0 -20
- package/node_modules/es-abstract/2022/Number/signedRightShift.js +0 -22
- package/node_modules/es-abstract/2022/Number/subtract.js +0 -15
- package/node_modules/es-abstract/2022/Number/toString.js +0 -16
- package/node_modules/es-abstract/2022/Number/unaryMinus.js +0 -17
- package/node_modules/es-abstract/2022/Number/unsignedRightShift.js +0 -22
- package/node_modules/es-abstract/2022/NumberBitwiseOp.js +0 -26
- package/node_modules/es-abstract/2022/NumberToBigInt.js +0 -25
- package/node_modules/es-abstract/2022/NumericToRawBytes.js +0 -62
- package/node_modules/es-abstract/2022/ObjectDefineProperties.js +0 -37
- package/node_modules/es-abstract/2022/OrdinaryCreateFromConstructor.js +0 -20
- package/node_modules/es-abstract/2022/OrdinaryDefineOwnProperty.js +0 -54
- package/node_modules/es-abstract/2022/OrdinaryGetOwnProperty.js +0 -41
- package/node_modules/es-abstract/2022/OrdinaryGetPrototypeOf.js +0 -18
- package/node_modules/es-abstract/2022/OrdinaryHasInstance.js +0 -23
- package/node_modules/es-abstract/2022/OrdinaryHasProperty.js +0 -18
- package/node_modules/es-abstract/2022/OrdinaryObjectCreate.js +0 -56
- package/node_modules/es-abstract/2022/OrdinarySetPrototypeOf.js +0 -50
- package/node_modules/es-abstract/2022/OrdinaryToPrimitive.js +0 -36
- package/node_modules/es-abstract/2022/PromiseResolve.js +0 -18
- package/node_modules/es-abstract/2022/QuoteJSONString.js +0 -52
- package/node_modules/es-abstract/2022/RawBytesToNumeric.js +0 -67
- package/node_modules/es-abstract/2022/RegExpCreate.js +0 -21
- package/node_modules/es-abstract/2022/RegExpExec.js +0 -29
- package/node_modules/es-abstract/2022/RegExpHasFlag.js +0 -38
- package/node_modules/es-abstract/2022/RequireObjectCoercible.js +0 -3
- package/node_modules/es-abstract/2022/SameValue.js +0 -13
- package/node_modules/es-abstract/2022/SameValueNonNumeric.js +0 -18
- package/node_modules/es-abstract/2022/SameValueZero.js +0 -9
- package/node_modules/es-abstract/2022/SecFromTime.js +0 -14
- package/node_modules/es-abstract/2022/Set.js +0 -45
- package/node_modules/es-abstract/2022/SetFunctionLength.js +0 -28
- package/node_modules/es-abstract/2022/SetFunctionName.js +0 -40
- package/node_modules/es-abstract/2022/SetIntegrityLevel.js +0 -57
- package/node_modules/es-abstract/2022/SetTypedArrayFromArrayLike.js +0 -94
- package/node_modules/es-abstract/2022/SetTypedArrayFromTypedArray.js +0 -134
- package/node_modules/es-abstract/2022/SetValueInBuffer.js +0 -92
- package/node_modules/es-abstract/2022/SortIndexedProperties.js +0 -62
- package/node_modules/es-abstract/2022/SpeciesConstructor.js +0 -32
- package/node_modules/es-abstract/2022/StringCreate.js +0 -38
- package/node_modules/es-abstract/2022/StringGetOwnProperty.js +0 -46
- package/node_modules/es-abstract/2022/StringIndexOf.js +0 -36
- package/node_modules/es-abstract/2022/StringPad.js +0 -41
- package/node_modules/es-abstract/2022/StringToBigInt.js +0 -23
- package/node_modules/es-abstract/2022/StringToCodePoints.js +0 -22
- package/node_modules/es-abstract/2022/StringToNumber.js +0 -42
- package/node_modules/es-abstract/2022/SymbolDescriptiveString.js +0 -16
- package/node_modules/es-abstract/2022/TestIntegrityLevel.js +0 -40
- package/node_modules/es-abstract/2022/ThrowCompletion.js +0 -9
- package/node_modules/es-abstract/2022/TimeClip.js +0 -20
- package/node_modules/es-abstract/2022/TimeFromYear.js +0 -11
- package/node_modules/es-abstract/2022/TimeString.js +0 -26
- package/node_modules/es-abstract/2022/TimeWithinDay.js +0 -12
- package/node_modules/es-abstract/2022/TimeZoneString.js +0 -38
- package/node_modules/es-abstract/2022/ToBigInt.js +0 -51
- package/node_modules/es-abstract/2022/ToBigInt64.js +0 -25
- package/node_modules/es-abstract/2022/ToBigUint64.js +0 -23
- package/node_modules/es-abstract/2022/ToBoolean.js +0 -5
- package/node_modules/es-abstract/2022/ToDateString.js +0 -21
- package/node_modules/es-abstract/2022/ToIndex.js +0 -24
- package/node_modules/es-abstract/2022/ToInt16.js +0 -10
- package/node_modules/es-abstract/2022/ToInt32.js +0 -9
- package/node_modules/es-abstract/2022/ToInt8.js +0 -10
- package/node_modules/es-abstract/2022/ToIntegerOrInfinity.js +0 -20
- package/node_modules/es-abstract/2022/ToLength.js +0 -14
- package/node_modules/es-abstract/2022/ToNumber.js +0 -26
- package/node_modules/es-abstract/2022/ToNumeric.js +0 -20
- package/node_modules/es-abstract/2022/ToObject.js +0 -5
- package/node_modules/es-abstract/2022/ToPrimitive.js +0 -12
- package/node_modules/es-abstract/2022/ToPropertyDescriptor.js +0 -50
- package/node_modules/es-abstract/2022/ToPropertyKey.js +0 -15
- package/node_modules/es-abstract/2022/ToString.js +0 -15
- package/node_modules/es-abstract/2022/ToUint16.js +0 -19
- package/node_modules/es-abstract/2022/ToUint32.js +0 -9
- package/node_modules/es-abstract/2022/ToUint8.js +0 -19
- package/node_modules/es-abstract/2022/ToUint8Clamp.js +0 -19
- package/node_modules/es-abstract/2022/ToZeroPaddedDecimalString.js +0 -19
- package/node_modules/es-abstract/2022/TrimString.js +0 -27
- package/node_modules/es-abstract/2022/Type.js +0 -15
- package/node_modules/es-abstract/2022/TypedArrayCreate.js +0 -47
- package/node_modules/es-abstract/2022/TypedArrayElementSize.js +0 -23
- package/node_modules/es-abstract/2022/TypedArrayElementType.js +0 -23
- package/node_modules/es-abstract/2022/TypedArraySpeciesCreate.js +0 -37
- package/node_modules/es-abstract/2022/UTF16EncodeCodePoint.js +0 -25
- package/node_modules/es-abstract/2022/UTF16SurrogatePairToCodePoint.js +0 -19
- package/node_modules/es-abstract/2022/UnicodeEscape.js +0 -25
- package/node_modules/es-abstract/2022/ValidateAndApplyPropertyDescriptor.js +0 -171
- package/node_modules/es-abstract/2022/ValidateAtomicAccess.js +0 -40
- package/node_modules/es-abstract/2022/ValidateIntegerTypedArray.js +0 -38
- package/node_modules/es-abstract/2022/ValidateTypedArray.js +0 -26
- package/node_modules/es-abstract/2022/WeakRefDeref.js +0 -23
- package/node_modules/es-abstract/2022/WeekDay.js +0 -10
- package/node_modules/es-abstract/2022/WordCharacters.js +0 -46
- package/node_modules/es-abstract/2022/YearFromTime.js +0 -16
- package/node_modules/es-abstract/2022/abs.js +0 -9
- package/node_modules/es-abstract/2022/clamp.js +0 -14
- package/node_modules/es-abstract/2022/floor.js +0 -14
- package/node_modules/es-abstract/2022/max.js +0 -5
- package/node_modules/es-abstract/2022/min.js +0 -5
- package/node_modules/es-abstract/2022/modulo.js +0 -9
- package/node_modules/es-abstract/2022/msFromTime.js +0 -11
- package/node_modules/es-abstract/2022/substring.js +0 -15
- package/node_modules/es-abstract/2022/tables/typed-array-objects.js +0 -36
- package/node_modules/es-abstract/2022/thisBigIntValue.js +0 -18
- package/node_modules/es-abstract/2022/thisBooleanValue.js +0 -13
- package/node_modules/es-abstract/2022/thisNumberValue.js +0 -16
- package/node_modules/es-abstract/2022/thisStringValue.js +0 -13
- package/node_modules/es-abstract/2022/thisSymbolValue.js +0 -20
- package/node_modules/es-abstract/2022/thisTimeValue.js +0 -9
- package/node_modules/es-abstract/2023/AddEntriesFromIterable.js +0 -44
- package/node_modules/es-abstract/2023/AddToKeptObjects.js +0 -18
- package/node_modules/es-abstract/2023/AdvanceStringIndex.js +0 -30
- package/node_modules/es-abstract/2023/ApplyStringOrNumericBinaryOperator.js +0 -77
- package/node_modules/es-abstract/2023/ArrayCreate.js +0 -42
- package/node_modules/es-abstract/2023/ArraySetLength.js +0 -77
- package/node_modules/es-abstract/2023/ArraySpeciesCreate.js +0 -48
- package/node_modules/es-abstract/2023/AsyncFromSyncIteratorContinuation.js +0 -45
- package/node_modules/es-abstract/2023/AsyncIteratorClose.js +0 -70
- package/node_modules/es-abstract/2023/BigInt/add.js +0 -14
- package/node_modules/es-abstract/2023/BigInt/bitwiseAND.js +0 -14
- package/node_modules/es-abstract/2023/BigInt/bitwiseNOT.js +0 -15
- package/node_modules/es-abstract/2023/BigInt/bitwiseOR.js +0 -14
- package/node_modules/es-abstract/2023/BigInt/bitwiseXOR.js +0 -14
- package/node_modules/es-abstract/2023/BigInt/divide.js +0 -20
- package/node_modules/es-abstract/2023/BigInt/equal.js +0 -13
- package/node_modules/es-abstract/2023/BigInt/exponentiate.js +0 -29
- package/node_modules/es-abstract/2023/BigInt/index.js +0 -39
- package/node_modules/es-abstract/2023/BigInt/leftShift.js +0 -14
- package/node_modules/es-abstract/2023/BigInt/lessThan.js +0 -14
- package/node_modules/es-abstract/2023/BigInt/multiply.js +0 -14
- package/node_modules/es-abstract/2023/BigInt/remainder.js +0 -28
- package/node_modules/es-abstract/2023/BigInt/signedRightShift.js +0 -15
- package/node_modules/es-abstract/2023/BigInt/subtract.js +0 -14
- package/node_modules/es-abstract/2023/BigInt/toString.js +0 -26
- package/node_modules/es-abstract/2023/BigInt/unaryMinus.js +0 -22
- package/node_modules/es-abstract/2023/BigInt/unsignedRightShift.js +0 -13
- package/node_modules/es-abstract/2023/BigIntBitwiseOp.js +0 -63
- package/node_modules/es-abstract/2023/BinaryAnd.js +0 -12
- package/node_modules/es-abstract/2023/BinaryOr.js +0 -12
- package/node_modules/es-abstract/2023/BinaryXor.js +0 -12
- package/node_modules/es-abstract/2023/ByteListBitwiseOp.js +0 -39
- package/node_modules/es-abstract/2023/ByteListEqual.js +0 -31
- package/node_modules/es-abstract/2023/Call.js +0 -20
- package/node_modules/es-abstract/2023/CanBeHeldWeakly.js +0 -17
- package/node_modules/es-abstract/2023/CanonicalNumericIndexString.js +0 -19
- package/node_modules/es-abstract/2023/Canonicalize.js +0 -52
- package/node_modules/es-abstract/2023/CharacterRange.js +0 -53
- package/node_modules/es-abstract/2023/ClearKeptObjects.js +0 -12
- package/node_modules/es-abstract/2023/CloneArrayBuffer.js +0 -46
- package/node_modules/es-abstract/2023/CodePointAt.js +0 -55
- package/node_modules/es-abstract/2023/CodePointsToString.js +0 -25
- package/node_modules/es-abstract/2023/CompareArrayElements.js +0 -50
- package/node_modules/es-abstract/2023/CompareTypedArrayElements.js +0 -60
- package/node_modules/es-abstract/2023/CompletePropertyDescriptor.js +0 -43
- package/node_modules/es-abstract/2023/CompletionRecord.js +0 -48
- package/node_modules/es-abstract/2023/CopyDataProperties.js +0 -69
- package/node_modules/es-abstract/2023/CreateAsyncFromSyncIterator.js +0 -137
- package/node_modules/es-abstract/2023/CreateDataProperty.js +0 -25
- package/node_modules/es-abstract/2023/CreateDataPropertyOrThrow.js +0 -23
- package/node_modules/es-abstract/2023/CreateHTML.js +0 -27
- package/node_modules/es-abstract/2023/CreateIterResultObject.js +0 -15
- package/node_modules/es-abstract/2023/CreateListFromArrayLike.js +0 -44
- package/node_modules/es-abstract/2023/CreateMethodProperty.js +0 -38
- package/node_modules/es-abstract/2023/CreateNonEnumerableDataPropertyOrThrow.js +0 -28
- package/node_modules/es-abstract/2023/CreateRegExpStringIterator.js +0 -100
- package/node_modules/es-abstract/2023/DateFromTime.js +0 -52
- package/node_modules/es-abstract/2023/DateString.js +0 -27
- package/node_modules/es-abstract/2023/Day.js +0 -11
- package/node_modules/es-abstract/2023/DayFromYear.js +0 -10
- package/node_modules/es-abstract/2023/DayWithinYear.js +0 -11
- package/node_modules/es-abstract/2023/DaysInYear.js +0 -18
- package/node_modules/es-abstract/2023/DefaultTimeZone.js +0 -18
- package/node_modules/es-abstract/2023/DefineMethodProperty.js +0 -42
- package/node_modules/es-abstract/2023/DefinePropertyOrThrow.js +0 -39
- package/node_modules/es-abstract/2023/DeletePropertyOrThrow.js +0 -25
- package/node_modules/es-abstract/2023/DetachArrayBuffer.js +0 -46
- package/node_modules/es-abstract/2023/EnumerableOwnProperties.js +0 -36
- package/node_modules/es-abstract/2023/FindViaPredicate.js +0 -43
- package/node_modules/es-abstract/2023/FlattenIntoArray.js +0 -55
- package/node_modules/es-abstract/2023/FromPropertyDescriptor.js +0 -16
- package/node_modules/es-abstract/2023/Get.js +0 -24
- package/node_modules/es-abstract/2023/GetGlobalObject.js +0 -9
- package/node_modules/es-abstract/2023/GetIterator.js +0 -53
- package/node_modules/es-abstract/2023/GetIteratorFromMethod.js +0 -28
- package/node_modules/es-abstract/2023/GetMatchIndexPair.js +0 -24
- package/node_modules/es-abstract/2023/GetMatchString.js +0 -26
- package/node_modules/es-abstract/2023/GetMethod.js +0 -34
- package/node_modules/es-abstract/2023/GetNamedTimeZoneEpochNanoseconds.js +0 -72
- package/node_modules/es-abstract/2023/GetOwnPropertyKeys.js +0 -30
- package/node_modules/es-abstract/2023/GetPromiseResolve.js +0 -20
- package/node_modules/es-abstract/2023/GetPrototypeFromConstructor.js +0 -33
- package/node_modules/es-abstract/2023/GetStringIndex.js +0 -27
- package/node_modules/es-abstract/2023/GetSubstitution.js +0 -138
- package/node_modules/es-abstract/2023/GetUTCEpochNanoseconds.js +0 -68
- package/node_modules/es-abstract/2023/GetV.js +0 -23
- package/node_modules/es-abstract/2023/GetValueFromBuffer.js +0 -96
- package/node_modules/es-abstract/2023/HasOwnProperty.js +0 -20
- package/node_modules/es-abstract/2023/HasProperty.js +0 -18
- package/node_modules/es-abstract/2023/HourFromTime.js +0 -14
- package/node_modules/es-abstract/2023/InLeapYear.js +0 -19
- package/node_modules/es-abstract/2023/InstallErrorCause.js +0 -21
- package/node_modules/es-abstract/2023/InstanceofOperator.js +0 -30
- package/node_modules/es-abstract/2023/IntegerIndexedElementGet.js +0 -38
- package/node_modules/es-abstract/2023/IntegerIndexedElementSet.js +0 -42
- package/node_modules/es-abstract/2023/InternalizeJSONProperty.js +0 -68
- package/node_modules/es-abstract/2023/Invoke.js +0 -22
- package/node_modules/es-abstract/2023/IsAccessorDescriptor.js +0 -25
- package/node_modules/es-abstract/2023/IsArray.js +0 -4
- package/node_modules/es-abstract/2023/IsBigIntElementType.js +0 -7
- package/node_modules/es-abstract/2023/IsCallable.js +0 -5
- package/node_modules/es-abstract/2023/IsCompatiblePropertyDescriptor.js +0 -15
- package/node_modules/es-abstract/2023/IsConcatSpreadable.js +0 -26
- package/node_modules/es-abstract/2023/IsConstructor.js +0 -40
- package/node_modules/es-abstract/2023/IsDataDescriptor.js +0 -25
- package/node_modules/es-abstract/2023/IsDetachedBuffer.js +0 -28
- package/node_modules/es-abstract/2023/IsExtensible.js +0 -18
- package/node_modules/es-abstract/2023/IsGenericDescriptor.js +0 -26
- package/node_modules/es-abstract/2023/IsIntegralNumber.js +0 -14
- package/node_modules/es-abstract/2023/IsLessThan.js +0 -97
- package/node_modules/es-abstract/2023/IsLooselyEqual.js +0 -58
- package/node_modules/es-abstract/2023/IsNoTearConfiguration.js +0 -16
- package/node_modules/es-abstract/2023/IsPromise.js +0 -24
- package/node_modules/es-abstract/2023/IsPropertyKey.js +0 -9
- package/node_modules/es-abstract/2023/IsRegExp.js +0 -25
- package/node_modules/es-abstract/2023/IsSharedArrayBuffer.js +0 -16
- package/node_modules/es-abstract/2023/IsStrictlyEqual.js +0 -14
- package/node_modules/es-abstract/2023/IsStringWellFormedUnicode.js +0 -23
- package/node_modules/es-abstract/2023/IsTimeZoneOffsetString.js +0 -20
- package/node_modules/es-abstract/2023/IsUnclampedIntegerElementType.js +0 -12
- package/node_modules/es-abstract/2023/IsUnsignedElementType.js +0 -11
- package/node_modules/es-abstract/2023/IsValidIntegerIndex.js +0 -30
- package/node_modules/es-abstract/2023/IsWordChar.js +0 -42
- package/node_modules/es-abstract/2023/IteratorClose.js +0 -65
- package/node_modules/es-abstract/2023/IteratorComplete.js +0 -16
- package/node_modules/es-abstract/2023/IteratorNext.js +0 -28
- package/node_modules/es-abstract/2023/IteratorStep.js +0 -21
- package/node_modules/es-abstract/2023/IteratorToList.js +0 -27
- package/node_modules/es-abstract/2023/IteratorValue.js +0 -16
- package/node_modules/es-abstract/2023/KeyForSymbol.js +0 -16
- package/node_modules/es-abstract/2023/LengthOfArrayLike.js +0 -18
- package/node_modules/es-abstract/2023/MakeDate.js +0 -14
- package/node_modules/es-abstract/2023/MakeDay.js +0 -36
- package/node_modules/es-abstract/2023/MakeMatchIndicesIndexPairArray.js +0 -66
- package/node_modules/es-abstract/2023/MakeTime.js +0 -23
- package/node_modules/es-abstract/2023/MinFromTime.js +0 -14
- package/node_modules/es-abstract/2023/MonthFromTime.js +0 -51
- package/node_modules/es-abstract/2023/NewPromiseCapability.js +0 -34
- package/node_modules/es-abstract/2023/NormalCompletion.js +0 -9
- package/node_modules/es-abstract/2023/Number/add.js +0 -31
- package/node_modules/es-abstract/2023/Number/bitwiseAND.js +0 -14
- package/node_modules/es-abstract/2023/Number/bitwiseNOT.js +0 -16
- package/node_modules/es-abstract/2023/Number/bitwiseOR.js +0 -14
- package/node_modules/es-abstract/2023/Number/bitwiseXOR.js +0 -14
- package/node_modules/es-abstract/2023/Number/divide.js +0 -18
- package/node_modules/es-abstract/2023/Number/equal.js +0 -18
- package/node_modules/es-abstract/2023/Number/exponentiate.js +0 -74
- package/node_modules/es-abstract/2023/Number/index.js +0 -43
- package/node_modules/es-abstract/2023/Number/leftShift.js +0 -22
- package/node_modules/es-abstract/2023/Number/lessThan.js +0 -22
- package/node_modules/es-abstract/2023/Number/multiply.js +0 -30
- package/node_modules/es-abstract/2023/Number/remainder.js +0 -38
- package/node_modules/es-abstract/2023/Number/sameValue.js +0 -18
- package/node_modules/es-abstract/2023/Number/sameValueZero.js +0 -20
- package/node_modules/es-abstract/2023/Number/signedRightShift.js +0 -22
- package/node_modules/es-abstract/2023/Number/subtract.js +0 -15
- package/node_modules/es-abstract/2023/Number/toString.js +0 -20
- package/node_modules/es-abstract/2023/Number/unaryMinus.js +0 -17
- package/node_modules/es-abstract/2023/Number/unsignedRightShift.js +0 -22
- package/node_modules/es-abstract/2023/NumberBitwiseOp.js +0 -26
- package/node_modules/es-abstract/2023/NumberToBigInt.js +0 -25
- package/node_modules/es-abstract/2023/NumericToRawBytes.js +0 -62
- package/node_modules/es-abstract/2023/ObjectDefineProperties.js +0 -37
- package/node_modules/es-abstract/2023/OrdinaryCreateFromConstructor.js +0 -20
- package/node_modules/es-abstract/2023/OrdinaryDefineOwnProperty.js +0 -54
- package/node_modules/es-abstract/2023/OrdinaryGetOwnProperty.js +0 -41
- package/node_modules/es-abstract/2023/OrdinaryGetPrototypeOf.js +0 -18
- package/node_modules/es-abstract/2023/OrdinaryHasInstance.js +0 -23
- package/node_modules/es-abstract/2023/OrdinaryHasProperty.js +0 -18
- package/node_modules/es-abstract/2023/OrdinaryObjectCreate.js +0 -56
- package/node_modules/es-abstract/2023/OrdinarySetPrototypeOf.js +0 -50
- package/node_modules/es-abstract/2023/OrdinaryToPrimitive.js +0 -36
- package/node_modules/es-abstract/2023/ParseHexOctet.js +0 -40
- package/node_modules/es-abstract/2023/PromiseResolve.js +0 -18
- package/node_modules/es-abstract/2023/QuoteJSONString.js +0 -52
- package/node_modules/es-abstract/2023/RawBytesToNumeric.js +0 -67
- package/node_modules/es-abstract/2023/RegExpCreate.js +0 -21
- package/node_modules/es-abstract/2023/RegExpExec.js +0 -29
- package/node_modules/es-abstract/2023/RegExpHasFlag.js +0 -38
- package/node_modules/es-abstract/2023/RequireObjectCoercible.js +0 -3
- package/node_modules/es-abstract/2023/SameValue.js +0 -13
- package/node_modules/es-abstract/2023/SameValueNonNumber.js +0 -18
- package/node_modules/es-abstract/2023/SameValueZero.js +0 -9
- package/node_modules/es-abstract/2023/SecFromTime.js +0 -14
- package/node_modules/es-abstract/2023/Set.js +0 -45
- package/node_modules/es-abstract/2023/SetFunctionLength.js +0 -28
- package/node_modules/es-abstract/2023/SetFunctionName.js +0 -40
- package/node_modules/es-abstract/2023/SetIntegrityLevel.js +0 -57
- package/node_modules/es-abstract/2023/SetTypedArrayFromArrayLike.js +0 -68
- package/node_modules/es-abstract/2023/SetTypedArrayFromTypedArray.js +0 -129
- package/node_modules/es-abstract/2023/SetValueInBuffer.js +0 -92
- package/node_modules/es-abstract/2023/SortIndexedProperties.js +0 -49
- package/node_modules/es-abstract/2023/SpeciesConstructor.js +0 -32
- package/node_modules/es-abstract/2023/StringCreate.js +0 -38
- package/node_modules/es-abstract/2023/StringGetOwnProperty.js +0 -46
- package/node_modules/es-abstract/2023/StringIndexOf.js +0 -36
- package/node_modules/es-abstract/2023/StringPad.js +0 -41
- package/node_modules/es-abstract/2023/StringToBigInt.js +0 -23
- package/node_modules/es-abstract/2023/StringToCodePoints.js +0 -22
- package/node_modules/es-abstract/2023/StringToNumber.js +0 -42
- package/node_modules/es-abstract/2023/SymbolDescriptiveString.js +0 -16
- package/node_modules/es-abstract/2023/TestIntegrityLevel.js +0 -40
- package/node_modules/es-abstract/2023/ThrowCompletion.js +0 -9
- package/node_modules/es-abstract/2023/TimeClip.js +0 -20
- package/node_modules/es-abstract/2023/TimeFromYear.js +0 -11
- package/node_modules/es-abstract/2023/TimeString.js +0 -26
- package/node_modules/es-abstract/2023/TimeWithinDay.js +0 -12
- package/node_modules/es-abstract/2023/TimeZoneString.js +0 -41
- package/node_modules/es-abstract/2023/ToBigInt.js +0 -51
- package/node_modules/es-abstract/2023/ToBigInt64.js +0 -25
- package/node_modules/es-abstract/2023/ToBigUint64.js +0 -23
- package/node_modules/es-abstract/2023/ToBoolean.js +0 -5
- package/node_modules/es-abstract/2023/ToDateString.js +0 -21
- package/node_modules/es-abstract/2023/ToIndex.js +0 -24
- package/node_modules/es-abstract/2023/ToInt16.js +0 -21
- package/node_modules/es-abstract/2023/ToInt32.js +0 -23
- package/node_modules/es-abstract/2023/ToInt8.js +0 -19
- package/node_modules/es-abstract/2023/ToIntegerOrInfinity.js +0 -16
- package/node_modules/es-abstract/2023/ToLength.js +0 -14
- package/node_modules/es-abstract/2023/ToNumber.js +0 -26
- package/node_modules/es-abstract/2023/ToNumeric.js +0 -20
- package/node_modules/es-abstract/2023/ToObject.js +0 -5
- package/node_modules/es-abstract/2023/ToPrimitive.js +0 -12
- package/node_modules/es-abstract/2023/ToPropertyDescriptor.js +0 -50
- package/node_modules/es-abstract/2023/ToPropertyKey.js +0 -15
- package/node_modules/es-abstract/2023/ToString.js +0 -15
- package/node_modules/es-abstract/2023/ToUint16.js +0 -21
- package/node_modules/es-abstract/2023/ToUint32.js +0 -21
- package/node_modules/es-abstract/2023/ToUint8.js +0 -19
- package/node_modules/es-abstract/2023/ToUint8Clamp.js +0 -19
- package/node_modules/es-abstract/2023/ToZeroPaddedDecimalString.js +0 -19
- package/node_modules/es-abstract/2023/TrimString.js +0 -27
- package/node_modules/es-abstract/2023/Type.js +0 -15
- package/node_modules/es-abstract/2023/TypedArrayCreate.js +0 -47
- package/node_modules/es-abstract/2023/TypedArrayCreateSameType.js +0 -35
- package/node_modules/es-abstract/2023/TypedArrayElementSize.js +0 -23
- package/node_modules/es-abstract/2023/TypedArrayElementType.js +0 -23
- package/node_modules/es-abstract/2023/TypedArraySpeciesCreate.js +0 -37
- package/node_modules/es-abstract/2023/UTF16EncodeCodePoint.js +0 -25
- package/node_modules/es-abstract/2023/UTF16SurrogatePairToCodePoint.js +0 -19
- package/node_modules/es-abstract/2023/UnicodeEscape.js +0 -25
- package/node_modules/es-abstract/2023/ValidateAndApplyPropertyDescriptor.js +0 -171
- package/node_modules/es-abstract/2023/ValidateAtomicAccess.js +0 -40
- package/node_modules/es-abstract/2023/ValidateIntegerTypedArray.js +0 -38
- package/node_modules/es-abstract/2023/ValidateTypedArray.js +0 -26
- package/node_modules/es-abstract/2023/WeakRefDeref.js +0 -23
- package/node_modules/es-abstract/2023/WeekDay.js +0 -10
- package/node_modules/es-abstract/2023/WordCharacters.js +0 -47
- package/node_modules/es-abstract/2023/YearFromTime.js +0 -16
- package/node_modules/es-abstract/2023/abs.js +0 -9
- package/node_modules/es-abstract/2023/clamp.js +0 -14
- package/node_modules/es-abstract/2023/floor.js +0 -14
- package/node_modules/es-abstract/2023/max.js +0 -5
- package/node_modules/es-abstract/2023/min.js +0 -5
- package/node_modules/es-abstract/2023/modulo.js +0 -9
- package/node_modules/es-abstract/2023/msFromTime.js +0 -11
- package/node_modules/es-abstract/2023/substring.js +0 -15
- package/node_modules/es-abstract/2023/tables/typed-array-objects.js +0 -36
- package/node_modules/es-abstract/2023/thisBigIntValue.js +0 -18
- package/node_modules/es-abstract/2023/thisBooleanValue.js +0 -13
- package/node_modules/es-abstract/2023/thisNumberValue.js +0 -16
- package/node_modules/es-abstract/2023/thisStringValue.js +0 -13
- package/node_modules/es-abstract/2023/thisSymbolValue.js +0 -20
- package/node_modules/es-abstract/2023/thisTimeValue.js +0 -9
- package/node_modules/es-abstract/2023/truncate.js +0 -15
- package/node_modules/es-abstract/2024/AddEntriesFromIterable.js +0 -44
- package/node_modules/es-abstract/2024/AddToKeptObjects.js +0 -18
- package/node_modules/es-abstract/2024/AddValueToKeyedGroup.js +0 -45
- package/node_modules/es-abstract/2024/AdvanceStringIndex.js +0 -30
- package/node_modules/es-abstract/2024/AllCharacters.js +0 -29
- package/node_modules/es-abstract/2024/ApplyStringOrNumericBinaryOperator.js +0 -77
- package/node_modules/es-abstract/2024/ArrayBufferByteLength.js +0 -41
- package/node_modules/es-abstract/2024/ArrayBufferCopyAndDetach.js +0 -101
- package/node_modules/es-abstract/2024/ArrayCreate.js +0 -42
- package/node_modules/es-abstract/2024/ArraySetLength.js +0 -77
- package/node_modules/es-abstract/2024/ArraySpeciesCreate.js +0 -48
- package/node_modules/es-abstract/2024/AsyncFromSyncIteratorContinuation.js +0 -45
- package/node_modules/es-abstract/2024/AsyncIteratorClose.js +0 -70
- package/node_modules/es-abstract/2024/BigInt/add.js +0 -14
- package/node_modules/es-abstract/2024/BigInt/bitwiseAND.js +0 -14
- package/node_modules/es-abstract/2024/BigInt/bitwiseNOT.js +0 -15
- package/node_modules/es-abstract/2024/BigInt/bitwiseOR.js +0 -14
- package/node_modules/es-abstract/2024/BigInt/bitwiseXOR.js +0 -14
- package/node_modules/es-abstract/2024/BigInt/divide.js +0 -20
- package/node_modules/es-abstract/2024/BigInt/equal.js +0 -13
- package/node_modules/es-abstract/2024/BigInt/exponentiate.js +0 -29
- package/node_modules/es-abstract/2024/BigInt/index.js +0 -39
- package/node_modules/es-abstract/2024/BigInt/leftShift.js +0 -14
- package/node_modules/es-abstract/2024/BigInt/lessThan.js +0 -14
- package/node_modules/es-abstract/2024/BigInt/multiply.js +0 -14
- package/node_modules/es-abstract/2024/BigInt/remainder.js +0 -28
- package/node_modules/es-abstract/2024/BigInt/signedRightShift.js +0 -15
- package/node_modules/es-abstract/2024/BigInt/subtract.js +0 -14
- package/node_modules/es-abstract/2024/BigInt/toString.js +0 -26
- package/node_modules/es-abstract/2024/BigInt/unaryMinus.js +0 -22
- package/node_modules/es-abstract/2024/BigInt/unsignedRightShift.js +0 -13
- package/node_modules/es-abstract/2024/BigIntBitwiseOp.js +0 -63
- package/node_modules/es-abstract/2024/BinaryAnd.js +0 -12
- package/node_modules/es-abstract/2024/BinaryOr.js +0 -12
- package/node_modules/es-abstract/2024/BinaryXor.js +0 -12
- package/node_modules/es-abstract/2024/ByteListBitwiseOp.js +0 -39
- package/node_modules/es-abstract/2024/ByteListEqual.js +0 -31
- package/node_modules/es-abstract/2024/Call.js +0 -20
- package/node_modules/es-abstract/2024/CanBeHeldWeakly.js +0 -17
- package/node_modules/es-abstract/2024/CanonicalNumericIndexString.js +0 -19
- package/node_modules/es-abstract/2024/Canonicalize.js +0 -52
- package/node_modules/es-abstract/2024/CharacterComplement.js +0 -34
- package/node_modules/es-abstract/2024/CharacterRange.js +0 -53
- package/node_modules/es-abstract/2024/ClearKeptObjects.js +0 -12
- package/node_modules/es-abstract/2024/CloneArrayBuffer.js +0 -46
- package/node_modules/es-abstract/2024/CodePointAt.js +0 -55
- package/node_modules/es-abstract/2024/CodePointsToString.js +0 -25
- package/node_modules/es-abstract/2024/CompareArrayElements.js +0 -50
- package/node_modules/es-abstract/2024/CompareTypedArrayElements.js +0 -60
- package/node_modules/es-abstract/2024/CompletePropertyDescriptor.js +0 -43
- package/node_modules/es-abstract/2024/CompletionRecord.js +0 -48
- package/node_modules/es-abstract/2024/CopyDataProperties.js +0 -69
- package/node_modules/es-abstract/2024/CreateAsyncFromSyncIterator.js +0 -137
- package/node_modules/es-abstract/2024/CreateDataProperty.js +0 -25
- package/node_modules/es-abstract/2024/CreateDataPropertyOrThrow.js +0 -23
- package/node_modules/es-abstract/2024/CreateHTML.js +0 -27
- package/node_modules/es-abstract/2024/CreateIterResultObject.js +0 -15
- package/node_modules/es-abstract/2024/CreateListFromArrayLike.js +0 -44
- package/node_modules/es-abstract/2024/CreateNonEnumerableDataPropertyOrThrow.js +0 -28
- package/node_modules/es-abstract/2024/CreateRegExpStringIterator.js +0 -101
- package/node_modules/es-abstract/2024/DateFromTime.js +0 -52
- package/node_modules/es-abstract/2024/DateString.js +0 -27
- package/node_modules/es-abstract/2024/Day.js +0 -11
- package/node_modules/es-abstract/2024/DayFromYear.js +0 -10
- package/node_modules/es-abstract/2024/DayWithinYear.js +0 -11
- package/node_modules/es-abstract/2024/DaysInYear.js +0 -18
- package/node_modules/es-abstract/2024/DefineMethodProperty.js +0 -42
- package/node_modules/es-abstract/2024/DefinePropertyOrThrow.js +0 -39
- package/node_modules/es-abstract/2024/DeletePropertyOrThrow.js +0 -25
- package/node_modules/es-abstract/2024/DetachArrayBuffer.js +0 -46
- package/node_modules/es-abstract/2024/EnumerableOwnProperties.js +0 -36
- package/node_modules/es-abstract/2024/FindViaPredicate.js +0 -43
- package/node_modules/es-abstract/2024/FlattenIntoArray.js +0 -55
- package/node_modules/es-abstract/2024/FromPropertyDescriptor.js +0 -16
- package/node_modules/es-abstract/2024/Get.js +0 -24
- package/node_modules/es-abstract/2024/GetArrayBufferMaxByteLengthOption.js +0 -22
- package/node_modules/es-abstract/2024/GetGlobalObject.js +0 -9
- package/node_modules/es-abstract/2024/GetIterator.js +0 -53
- package/node_modules/es-abstract/2024/GetIteratorFromMethod.js +0 -28
- package/node_modules/es-abstract/2024/GetMatchIndexPair.js +0 -24
- package/node_modules/es-abstract/2024/GetMatchString.js +0 -26
- package/node_modules/es-abstract/2024/GetMethod.js +0 -34
- package/node_modules/es-abstract/2024/GetNamedTimeZoneEpochNanoseconds.js +0 -72
- package/node_modules/es-abstract/2024/GetOwnPropertyKeys.js +0 -30
- package/node_modules/es-abstract/2024/GetPromiseResolve.js +0 -20
- package/node_modules/es-abstract/2024/GetPrototypeFromConstructor.js +0 -33
- package/node_modules/es-abstract/2024/GetStringIndex.js +0 -27
- package/node_modules/es-abstract/2024/GetSubstitution.js +0 -148
- package/node_modules/es-abstract/2024/GetUTCEpochNanoseconds.js +0 -68
- package/node_modules/es-abstract/2024/GetV.js +0 -23
- package/node_modules/es-abstract/2024/GetValueFromBuffer.js +0 -95
- package/node_modules/es-abstract/2024/GetViewByteLength.js +0 -47
- package/node_modules/es-abstract/2024/GroupBy.js +0 -75
- package/node_modules/es-abstract/2024/HasEitherUnicodeFlag.js +0 -18
- package/node_modules/es-abstract/2024/HasOwnProperty.js +0 -20
- package/node_modules/es-abstract/2024/HasProperty.js +0 -18
- package/node_modules/es-abstract/2024/HourFromTime.js +0 -14
- package/node_modules/es-abstract/2024/InLeapYear.js +0 -19
- package/node_modules/es-abstract/2024/InstallErrorCause.js +0 -21
- package/node_modules/es-abstract/2024/InstanceofOperator.js +0 -30
- package/node_modules/es-abstract/2024/InternalizeJSONProperty.js +0 -68
- package/node_modules/es-abstract/2024/Invoke.js +0 -22
- package/node_modules/es-abstract/2024/IsAccessorDescriptor.js +0 -25
- package/node_modules/es-abstract/2024/IsArray.js +0 -4
- package/node_modules/es-abstract/2024/IsArrayBufferViewOutOfBounds.js +0 -30
- package/node_modules/es-abstract/2024/IsBigIntElementType.js +0 -7
- package/node_modules/es-abstract/2024/IsCallable.js +0 -5
- package/node_modules/es-abstract/2024/IsCompatiblePropertyDescriptor.js +0 -15
- package/node_modules/es-abstract/2024/IsConcatSpreadable.js +0 -26
- package/node_modules/es-abstract/2024/IsConstructor.js +0 -40
- package/node_modules/es-abstract/2024/IsDataDescriptor.js +0 -25
- package/node_modules/es-abstract/2024/IsDetachedBuffer.js +0 -28
- package/node_modules/es-abstract/2024/IsExtensible.js +0 -18
- package/node_modules/es-abstract/2024/IsFixedLengthArrayBuffer.js +0 -29
- package/node_modules/es-abstract/2024/IsGenericDescriptor.js +0 -26
- package/node_modules/es-abstract/2024/IsIntegralNumber.js +0 -14
- package/node_modules/es-abstract/2024/IsLessThan.js +0 -97
- package/node_modules/es-abstract/2024/IsLooselyEqual.js +0 -58
- package/node_modules/es-abstract/2024/IsNoTearConfiguration.js +0 -16
- package/node_modules/es-abstract/2024/IsPromise.js +0 -24
- package/node_modules/es-abstract/2024/IsPropertyKey.js +0 -9
- package/node_modules/es-abstract/2024/IsRegExp.js +0 -25
- package/node_modules/es-abstract/2024/IsSharedArrayBuffer.js +0 -16
- package/node_modules/es-abstract/2024/IsStrictlyEqual.js +0 -14
- package/node_modules/es-abstract/2024/IsStringWellFormedUnicode.js +0 -23
- package/node_modules/es-abstract/2024/IsTimeZoneOffsetString.js +0 -20
- package/node_modules/es-abstract/2024/IsTypedArrayOutOfBounds.js +0 -57
- package/node_modules/es-abstract/2024/IsUnclampedIntegerElementType.js +0 -12
- package/node_modules/es-abstract/2024/IsUnsignedElementType.js +0 -11
- package/node_modules/es-abstract/2024/IsValidIntegerIndex.js +0 -43
- package/node_modules/es-abstract/2024/IsViewOutOfBounds.js +0 -48
- package/node_modules/es-abstract/2024/IsWordChar.js +0 -42
- package/node_modules/es-abstract/2024/IteratorClose.js +0 -65
- package/node_modules/es-abstract/2024/IteratorComplete.js +0 -16
- package/node_modules/es-abstract/2024/IteratorNext.js +0 -28
- package/node_modules/es-abstract/2024/IteratorStep.js +0 -21
- package/node_modules/es-abstract/2024/IteratorStepValue.js +0 -49
- package/node_modules/es-abstract/2024/IteratorToList.js +0 -27
- package/node_modules/es-abstract/2024/IteratorValue.js +0 -16
- package/node_modules/es-abstract/2024/KeyForSymbol.js +0 -16
- package/node_modules/es-abstract/2024/LengthOfArrayLike.js +0 -18
- package/node_modules/es-abstract/2024/MakeDataViewWithBufferWitnessRecord.js +0 -26
- package/node_modules/es-abstract/2024/MakeDate.js +0 -14
- package/node_modules/es-abstract/2024/MakeDay.js +0 -36
- package/node_modules/es-abstract/2024/MakeFullYear.js +0 -26
- package/node_modules/es-abstract/2024/MakeMatchIndicesIndexPairArray.js +0 -66
- package/node_modules/es-abstract/2024/MakeTime.js +0 -23
- package/node_modules/es-abstract/2024/MakeTypedArrayWithBufferWitnessRecord.js +0 -26
- package/node_modules/es-abstract/2024/MinFromTime.js +0 -14
- package/node_modules/es-abstract/2024/MonthFromTime.js +0 -51
- package/node_modules/es-abstract/2024/NewPromiseCapability.js +0 -34
- package/node_modules/es-abstract/2024/NormalCompletion.js +0 -9
- package/node_modules/es-abstract/2024/Number/add.js +0 -31
- package/node_modules/es-abstract/2024/Number/bitwiseAND.js +0 -14
- package/node_modules/es-abstract/2024/Number/bitwiseNOT.js +0 -16
- package/node_modules/es-abstract/2024/Number/bitwiseOR.js +0 -14
- package/node_modules/es-abstract/2024/Number/bitwiseXOR.js +0 -14
- package/node_modules/es-abstract/2024/Number/divide.js +0 -18
- package/node_modules/es-abstract/2024/Number/equal.js +0 -18
- package/node_modules/es-abstract/2024/Number/exponentiate.js +0 -74
- package/node_modules/es-abstract/2024/Number/index.js +0 -43
- package/node_modules/es-abstract/2024/Number/leftShift.js +0 -22
- package/node_modules/es-abstract/2024/Number/lessThan.js +0 -22
- package/node_modules/es-abstract/2024/Number/multiply.js +0 -30
- package/node_modules/es-abstract/2024/Number/remainder.js +0 -38
- package/node_modules/es-abstract/2024/Number/sameValue.js +0 -18
- package/node_modules/es-abstract/2024/Number/sameValueZero.js +0 -20
- package/node_modules/es-abstract/2024/Number/signedRightShift.js +0 -22
- package/node_modules/es-abstract/2024/Number/subtract.js +0 -15
- package/node_modules/es-abstract/2024/Number/toString.js +0 -20
- package/node_modules/es-abstract/2024/Number/unaryMinus.js +0 -17
- package/node_modules/es-abstract/2024/Number/unsignedRightShift.js +0 -22
- package/node_modules/es-abstract/2024/NumberBitwiseOp.js +0 -26
- package/node_modules/es-abstract/2024/NumberToBigInt.js +0 -25
- package/node_modules/es-abstract/2024/NumericToRawBytes.js +0 -62
- package/node_modules/es-abstract/2024/ObjectDefineProperties.js +0 -33
- package/node_modules/es-abstract/2024/OrdinaryCreateFromConstructor.js +0 -20
- package/node_modules/es-abstract/2024/OrdinaryDefineOwnProperty.js +0 -54
- package/node_modules/es-abstract/2024/OrdinaryGetOwnProperty.js +0 -41
- package/node_modules/es-abstract/2024/OrdinaryGetPrototypeOf.js +0 -18
- package/node_modules/es-abstract/2024/OrdinaryHasInstance.js +0 -23
- package/node_modules/es-abstract/2024/OrdinaryHasProperty.js +0 -18
- package/node_modules/es-abstract/2024/OrdinaryObjectCreate.js +0 -56
- package/node_modules/es-abstract/2024/OrdinarySetPrototypeOf.js +0 -50
- package/node_modules/es-abstract/2024/OrdinaryToPrimitive.js +0 -36
- package/node_modules/es-abstract/2024/ParseHexOctet.js +0 -40
- package/node_modules/es-abstract/2024/PromiseResolve.js +0 -18
- package/node_modules/es-abstract/2024/QuoteJSONString.js +0 -52
- package/node_modules/es-abstract/2024/RawBytesToNumeric.js +0 -67
- package/node_modules/es-abstract/2024/RegExpCreate.js +0 -21
- package/node_modules/es-abstract/2024/RegExpExec.js +0 -29
- package/node_modules/es-abstract/2024/RegExpHasFlag.js +0 -38
- package/node_modules/es-abstract/2024/RequireObjectCoercible.js +0 -3
- package/node_modules/es-abstract/2024/SameValue.js +0 -13
- package/node_modules/es-abstract/2024/SameValueNonNumber.js +0 -18
- package/node_modules/es-abstract/2024/SameValueZero.js +0 -9
- package/node_modules/es-abstract/2024/SecFromTime.js +0 -14
- package/node_modules/es-abstract/2024/Set.js +0 -45
- package/node_modules/es-abstract/2024/SetFunctionLength.js +0 -28
- package/node_modules/es-abstract/2024/SetFunctionName.js +0 -40
- package/node_modules/es-abstract/2024/SetIntegrityLevel.js +0 -57
- package/node_modules/es-abstract/2024/SetTypedArrayFromArrayLike.js +0 -64
- package/node_modules/es-abstract/2024/SetTypedArrayFromTypedArray.js +0 -133
- package/node_modules/es-abstract/2024/SetValueInBuffer.js +0 -92
- package/node_modules/es-abstract/2024/SortIndexedProperties.js +0 -49
- package/node_modules/es-abstract/2024/SpeciesConstructor.js +0 -32
- package/node_modules/es-abstract/2024/StringCreate.js +0 -38
- package/node_modules/es-abstract/2024/StringGetOwnProperty.js +0 -46
- package/node_modules/es-abstract/2024/StringIndexOf.js +0 -36
- package/node_modules/es-abstract/2024/StringPad.js +0 -43
- package/node_modules/es-abstract/2024/StringPaddingBuiltinsImpl.js +0 -27
- package/node_modules/es-abstract/2024/StringToBigInt.js +0 -23
- package/node_modules/es-abstract/2024/StringToCodePoints.js +0 -22
- package/node_modules/es-abstract/2024/StringToNumber.js +0 -42
- package/node_modules/es-abstract/2024/SymbolDescriptiveString.js +0 -16
- package/node_modules/es-abstract/2024/SystemTimeZoneIdentifier.js +0 -18
- package/node_modules/es-abstract/2024/TestIntegrityLevel.js +0 -40
- package/node_modules/es-abstract/2024/ThisBigIntValue.js +0 -20
- package/node_modules/es-abstract/2024/ThisBooleanValue.js +0 -13
- package/node_modules/es-abstract/2024/ThisNumberValue.js +0 -15
- package/node_modules/es-abstract/2024/ThisStringValue.js +0 -13
- package/node_modules/es-abstract/2024/ThisSymbolValue.js +0 -20
- package/node_modules/es-abstract/2024/ThrowCompletion.js +0 -9
- package/node_modules/es-abstract/2024/TimeClip.js +0 -20
- package/node_modules/es-abstract/2024/TimeFromYear.js +0 -11
- package/node_modules/es-abstract/2024/TimeString.js +0 -26
- package/node_modules/es-abstract/2024/TimeWithinDay.js +0 -12
- package/node_modules/es-abstract/2024/TimeZoneString.js +0 -41
- package/node_modules/es-abstract/2024/ToBigInt.js +0 -51
- package/node_modules/es-abstract/2024/ToBigInt64.js +0 -25
- package/node_modules/es-abstract/2024/ToBigUint64.js +0 -23
- package/node_modules/es-abstract/2024/ToBoolean.js +0 -5
- package/node_modules/es-abstract/2024/ToDateString.js +0 -21
- package/node_modules/es-abstract/2024/ToIndex.js +0 -20
- package/node_modules/es-abstract/2024/ToInt16.js +0 -21
- package/node_modules/es-abstract/2024/ToInt32.js +0 -23
- package/node_modules/es-abstract/2024/ToInt8.js +0 -19
- package/node_modules/es-abstract/2024/ToIntegerOrInfinity.js +0 -16
- package/node_modules/es-abstract/2024/ToLength.js +0 -14
- package/node_modules/es-abstract/2024/ToNumber.js +0 -26
- package/node_modules/es-abstract/2024/ToNumeric.js +0 -20
- package/node_modules/es-abstract/2024/ToObject.js +0 -5
- package/node_modules/es-abstract/2024/ToPrimitive.js +0 -12
- package/node_modules/es-abstract/2024/ToPropertyDescriptor.js +0 -50
- package/node_modules/es-abstract/2024/ToPropertyKey.js +0 -15
- package/node_modules/es-abstract/2024/ToString.js +0 -15
- package/node_modules/es-abstract/2024/ToUint16.js +0 -21
- package/node_modules/es-abstract/2024/ToUint32.js +0 -21
- package/node_modules/es-abstract/2024/ToUint8.js +0 -19
- package/node_modules/es-abstract/2024/ToUint8Clamp.js +0 -26
- package/node_modules/es-abstract/2024/ToZeroPaddedDecimalString.js +0 -19
- package/node_modules/es-abstract/2024/TrimString.js +0 -27
- package/node_modules/es-abstract/2024/Type.js +0 -15
- package/node_modules/es-abstract/2024/TypedArrayByteLength.js +0 -43
- package/node_modules/es-abstract/2024/TypedArrayCreateFromConstructor.js +0 -52
- package/node_modules/es-abstract/2024/TypedArrayCreateSameType.js +0 -35
- package/node_modules/es-abstract/2024/TypedArrayElementSize.js +0 -23
- package/node_modules/es-abstract/2024/TypedArrayElementType.js +0 -23
- package/node_modules/es-abstract/2024/TypedArrayGetElement.js +0 -37
- package/node_modules/es-abstract/2024/TypedArrayLength.js +0 -51
- package/node_modules/es-abstract/2024/TypedArraySetElement.js +0 -42
- package/node_modules/es-abstract/2024/TypedArraySpeciesCreate.js +0 -37
- package/node_modules/es-abstract/2024/UTF16EncodeCodePoint.js +0 -25
- package/node_modules/es-abstract/2024/UTF16SurrogatePairToCodePoint.js +0 -19
- package/node_modules/es-abstract/2024/UnicodeEscape.js +0 -25
- package/node_modules/es-abstract/2024/ValidateAndApplyPropertyDescriptor.js +0 -171
- package/node_modules/es-abstract/2024/ValidateAtomicAccess.js +0 -43
- package/node_modules/es-abstract/2024/ValidateAtomicAccessOnIntegerTypedArray.js +0 -19
- package/node_modules/es-abstract/2024/ValidateIntegerTypedArray.js +0 -31
- package/node_modules/es-abstract/2024/ValidateTypedArray.js +0 -32
- package/node_modules/es-abstract/2024/WeakRefDeref.js +0 -23
- package/node_modules/es-abstract/2024/WeekDay.js +0 -10
- package/node_modules/es-abstract/2024/WordCharacters.js +0 -47
- package/node_modules/es-abstract/2024/YearFromTime.js +0 -16
- package/node_modules/es-abstract/2024/abs.js +0 -9
- package/node_modules/es-abstract/2024/clamp.js +0 -14
- package/node_modules/es-abstract/2024/floor.js +0 -14
- package/node_modules/es-abstract/2024/max.js +0 -5
- package/node_modules/es-abstract/2024/min.js +0 -5
- package/node_modules/es-abstract/2024/modulo.js +0 -9
- package/node_modules/es-abstract/2024/msFromTime.js +0 -11
- package/node_modules/es-abstract/2024/substring.js +0 -15
- package/node_modules/es-abstract/2024/tables/typed-array-objects.js +0 -36
- package/node_modules/es-abstract/2024/truncate.js +0 -15
- package/node_modules/es-abstract/2025/AddEntriesFromIterable.js +0 -44
- package/node_modules/es-abstract/2025/AddToKeptObjects.js +0 -18
- package/node_modules/es-abstract/2025/AddValueToKeyedGroup.js +0 -45
- package/node_modules/es-abstract/2025/AdvanceStringIndex.js +0 -30
- package/node_modules/es-abstract/2025/AllCharacters.js +0 -29
- package/node_modules/es-abstract/2025/ApplyStringOrNumericBinaryOperator.js +0 -77
- package/node_modules/es-abstract/2025/ArrayBufferByteLength.js +0 -41
- package/node_modules/es-abstract/2025/ArrayBufferCopyAndDetach.js +0 -101
- package/node_modules/es-abstract/2025/ArrayCreate.js +0 -42
- package/node_modules/es-abstract/2025/ArraySetLength.js +0 -77
- package/node_modules/es-abstract/2025/ArraySpeciesCreate.js +0 -48
- package/node_modules/es-abstract/2025/AsyncFromSyncIteratorContinuation.js +0 -45
- package/node_modules/es-abstract/2025/AsyncIteratorClose.js +0 -70
- package/node_modules/es-abstract/2025/BigInt/add.js +0 -14
- package/node_modules/es-abstract/2025/BigInt/bitwiseAND.js +0 -14
- package/node_modules/es-abstract/2025/BigInt/bitwiseNOT.js +0 -15
- package/node_modules/es-abstract/2025/BigInt/bitwiseOR.js +0 -14
- package/node_modules/es-abstract/2025/BigInt/bitwiseXOR.js +0 -14
- package/node_modules/es-abstract/2025/BigInt/divide.js +0 -20
- package/node_modules/es-abstract/2025/BigInt/equal.js +0 -13
- package/node_modules/es-abstract/2025/BigInt/exponentiate.js +0 -29
- package/node_modules/es-abstract/2025/BigInt/index.js +0 -39
- package/node_modules/es-abstract/2025/BigInt/leftShift.js +0 -14
- package/node_modules/es-abstract/2025/BigInt/lessThan.js +0 -14
- package/node_modules/es-abstract/2025/BigInt/multiply.js +0 -14
- package/node_modules/es-abstract/2025/BigInt/remainder.js +0 -28
- package/node_modules/es-abstract/2025/BigInt/signedRightShift.js +0 -15
- package/node_modules/es-abstract/2025/BigInt/subtract.js +0 -14
- package/node_modules/es-abstract/2025/BigInt/toString.js +0 -26
- package/node_modules/es-abstract/2025/BigInt/unaryMinus.js +0 -22
- package/node_modules/es-abstract/2025/BigInt/unsignedRightShift.js +0 -13
- package/node_modules/es-abstract/2025/BigIntBitwiseOp.js +0 -63
- package/node_modules/es-abstract/2025/BinaryAnd.js +0 -12
- package/node_modules/es-abstract/2025/BinaryOr.js +0 -12
- package/node_modules/es-abstract/2025/BinaryXor.js +0 -12
- package/node_modules/es-abstract/2025/ByteListBitwiseOp.js +0 -39
- package/node_modules/es-abstract/2025/ByteListEqual.js +0 -31
- package/node_modules/es-abstract/2025/Call.js +0 -20
- package/node_modules/es-abstract/2025/CanBeHeldWeakly.js +0 -17
- package/node_modules/es-abstract/2025/CanonicalNumericIndexString.js +0 -19
- package/node_modules/es-abstract/2025/Canonicalize.js +0 -52
- package/node_modules/es-abstract/2025/CanonicalizeKeyedCollectionKey.js +0 -7
- package/node_modules/es-abstract/2025/CharacterComplement.js +0 -34
- package/node_modules/es-abstract/2025/CharacterRange.js +0 -47
- package/node_modules/es-abstract/2025/ClearKeptObjects.js +0 -12
- package/node_modules/es-abstract/2025/CloneArrayBuffer.js +0 -46
- package/node_modules/es-abstract/2025/CodePointAt.js +0 -55
- package/node_modules/es-abstract/2025/CodePointsToString.js +0 -25
- package/node_modules/es-abstract/2025/CompareArrayElements.js +0 -50
- package/node_modules/es-abstract/2025/CompareTypedArrayElements.js +0 -60
- package/node_modules/es-abstract/2025/CompletePropertyDescriptor.js +0 -43
- package/node_modules/es-abstract/2025/CompletionRecord.js +0 -48
- package/node_modules/es-abstract/2025/CopyDataProperties.js +0 -69
- package/node_modules/es-abstract/2025/CreateAsyncFromSyncIterator.js +0 -137
- package/node_modules/es-abstract/2025/CreateDataProperty.js +0 -25
- package/node_modules/es-abstract/2025/CreateDataPropertyOrThrow.js +0 -23
- package/node_modules/es-abstract/2025/CreateHTML.js +0 -27
- package/node_modules/es-abstract/2025/CreateIteratorFromClosure.js +0 -51
- package/node_modules/es-abstract/2025/CreateIteratorResultObject.js +0 -15
- package/node_modules/es-abstract/2025/CreateListFromArrayLike.js +0 -40
- package/node_modules/es-abstract/2025/CreateNonEnumerableDataPropertyOrThrow.js +0 -28
- package/node_modules/es-abstract/2025/CreateRegExpStringIterator.js +0 -101
- package/node_modules/es-abstract/2025/DateFromTime.js +0 -52
- package/node_modules/es-abstract/2025/DateString.js +0 -27
- package/node_modules/es-abstract/2025/Day.js +0 -11
- package/node_modules/es-abstract/2025/DayFromYear.js +0 -10
- package/node_modules/es-abstract/2025/DayWithinYear.js +0 -11
- package/node_modules/es-abstract/2025/DaysInYear.js +0 -18
- package/node_modules/es-abstract/2025/DefineMethodProperty.js +0 -42
- package/node_modules/es-abstract/2025/DefinePropertyOrThrow.js +0 -39
- package/node_modules/es-abstract/2025/DeletePropertyOrThrow.js +0 -25
- package/node_modules/es-abstract/2025/DetachArrayBuffer.js +0 -46
- package/node_modules/es-abstract/2025/EncodeForRegExpEscape.js +0 -74
- package/node_modules/es-abstract/2025/EnumerableOwnProperties.js +0 -36
- package/node_modules/es-abstract/2025/FindViaPredicate.js +0 -43
- package/node_modules/es-abstract/2025/FlattenIntoArray.js +0 -55
- package/node_modules/es-abstract/2025/FromPropertyDescriptor.js +0 -16
- package/node_modules/es-abstract/2025/GeneratorResume.js +0 -29
- package/node_modules/es-abstract/2025/GeneratorResumeAbrupt.js +0 -55
- package/node_modules/es-abstract/2025/GeneratorStart.js +0 -46
- package/node_modules/es-abstract/2025/GeneratorValidate.js +0 -24
- package/node_modules/es-abstract/2025/Get.js +0 -24
- package/node_modules/es-abstract/2025/GetArrayBufferMaxByteLengthOption.js +0 -22
- package/node_modules/es-abstract/2025/GetGlobalObject.js +0 -9
- package/node_modules/es-abstract/2025/GetIterator.js +0 -53
- package/node_modules/es-abstract/2025/GetIteratorDirect.js +0 -24
- package/node_modules/es-abstract/2025/GetIteratorFlattenable.js +0 -48
- package/node_modules/es-abstract/2025/GetIteratorFromMethod.js +0 -28
- package/node_modules/es-abstract/2025/GetMatchIndexPair.js +0 -24
- package/node_modules/es-abstract/2025/GetMatchString.js +0 -26
- package/node_modules/es-abstract/2025/GetMethod.js +0 -34
- package/node_modules/es-abstract/2025/GetNamedTimeZoneEpochNanoseconds.js +0 -72
- package/node_modules/es-abstract/2025/GetOwnPropertyKeys.js +0 -30
- package/node_modules/es-abstract/2025/GetPromiseResolve.js +0 -20
- package/node_modules/es-abstract/2025/GetPrototypeFromConstructor.js +0 -33
- package/node_modules/es-abstract/2025/GetSetRecord.js +0 -64
- package/node_modules/es-abstract/2025/GetStringIndex.js +0 -27
- package/node_modules/es-abstract/2025/GetSubstitution.js +0 -148
- package/node_modules/es-abstract/2025/GetUTCEpochNanoseconds.js +0 -68
- package/node_modules/es-abstract/2025/GetV.js +0 -23
- package/node_modules/es-abstract/2025/GetValueFromBuffer.js +0 -95
- package/node_modules/es-abstract/2025/GetViewByteLength.js +0 -47
- package/node_modules/es-abstract/2025/GroupBy.js +0 -75
- package/node_modules/es-abstract/2025/HasEitherUnicodeFlag.js +0 -18
- package/node_modules/es-abstract/2025/HasOwnProperty.js +0 -20
- package/node_modules/es-abstract/2025/HasProperty.js +0 -18
- package/node_modules/es-abstract/2025/HourFromTime.js +0 -14
- package/node_modules/es-abstract/2025/IfAbruptCloseIterator.js +0 -19
- package/node_modules/es-abstract/2025/InLeapYear.js +0 -19
- package/node_modules/es-abstract/2025/InstallErrorCause.js +0 -21
- package/node_modules/es-abstract/2025/InstanceofOperator.js +0 -30
- package/node_modules/es-abstract/2025/InternalizeJSONProperty.js +0 -68
- package/node_modules/es-abstract/2025/Invoke.js +0 -22
- package/node_modules/es-abstract/2025/IsAccessorDescriptor.js +0 -25
- package/node_modules/es-abstract/2025/IsArray.js +0 -4
- package/node_modules/es-abstract/2025/IsArrayBufferViewOutOfBounds.js +0 -30
- package/node_modules/es-abstract/2025/IsBigIntElementType.js +0 -7
- package/node_modules/es-abstract/2025/IsCallable.js +0 -5
- package/node_modules/es-abstract/2025/IsCompatiblePropertyDescriptor.js +0 -15
- package/node_modules/es-abstract/2025/IsConcatSpreadable.js +0 -26
- package/node_modules/es-abstract/2025/IsConstructor.js +0 -40
- package/node_modules/es-abstract/2025/IsDataDescriptor.js +0 -25
- package/node_modules/es-abstract/2025/IsDetachedBuffer.js +0 -28
- package/node_modules/es-abstract/2025/IsExtensible.js +0 -18
- package/node_modules/es-abstract/2025/IsFixedLengthArrayBuffer.js +0 -29
- package/node_modules/es-abstract/2025/IsGenericDescriptor.js +0 -26
- package/node_modules/es-abstract/2025/IsLessThan.js +0 -97
- package/node_modules/es-abstract/2025/IsLooselyEqual.js +0 -58
- package/node_modules/es-abstract/2025/IsNoTearConfiguration.js +0 -16
- package/node_modules/es-abstract/2025/IsPromise.js +0 -24
- package/node_modules/es-abstract/2025/IsRegExp.js +0 -25
- package/node_modules/es-abstract/2025/IsSharedArrayBuffer.js +0 -16
- package/node_modules/es-abstract/2025/IsStrictlyEqual.js +0 -14
- package/node_modules/es-abstract/2025/IsStringWellFormedUnicode.js +0 -23
- package/node_modules/es-abstract/2025/IsTimeZoneOffsetString.js +0 -20
- package/node_modules/es-abstract/2025/IsTypedArrayFixedLength.js +0 -34
- package/node_modules/es-abstract/2025/IsTypedArrayOutOfBounds.js +0 -57
- package/node_modules/es-abstract/2025/IsUnclampedIntegerElementType.js +0 -12
- package/node_modules/es-abstract/2025/IsUnsignedElementType.js +0 -11
- package/node_modules/es-abstract/2025/IsValidIntegerIndex.js +0 -43
- package/node_modules/es-abstract/2025/IsViewOutOfBounds.js +0 -48
- package/node_modules/es-abstract/2025/IsWordChar.js +0 -42
- package/node_modules/es-abstract/2025/IteratorClose.js +0 -65
- package/node_modules/es-abstract/2025/IteratorComplete.js +0 -16
- package/node_modules/es-abstract/2025/IteratorNext.js +0 -36
- package/node_modules/es-abstract/2025/IteratorStep.js +0 -35
- package/node_modules/es-abstract/2025/IteratorStepValue.js +0 -32
- package/node_modules/es-abstract/2025/IteratorToList.js +0 -27
- package/node_modules/es-abstract/2025/IteratorValue.js +0 -16
- package/node_modules/es-abstract/2025/KeyForSymbol.js +0 -16
- package/node_modules/es-abstract/2025/LengthOfArrayLike.js +0 -18
- package/node_modules/es-abstract/2025/MakeDataViewWithBufferWitnessRecord.js +0 -26
- package/node_modules/es-abstract/2025/MakeDate.js +0 -14
- package/node_modules/es-abstract/2025/MakeDay.js +0 -36
- package/node_modules/es-abstract/2025/MakeFullYear.js +0 -26
- package/node_modules/es-abstract/2025/MakeMatchIndicesIndexPairArray.js +0 -66
- package/node_modules/es-abstract/2025/MakeTime.js +0 -23
- package/node_modules/es-abstract/2025/MakeTypedArrayWithBufferWitnessRecord.js +0 -26
- package/node_modules/es-abstract/2025/MinFromTime.js +0 -14
- package/node_modules/es-abstract/2025/MonthFromTime.js +0 -51
- package/node_modules/es-abstract/2025/NewPromiseCapability.js +0 -34
- package/node_modules/es-abstract/2025/NormalCompletion.js +0 -9
- package/node_modules/es-abstract/2025/Number/add.js +0 -31
- package/node_modules/es-abstract/2025/Number/bitwiseAND.js +0 -14
- package/node_modules/es-abstract/2025/Number/bitwiseNOT.js +0 -16
- package/node_modules/es-abstract/2025/Number/bitwiseOR.js +0 -14
- package/node_modules/es-abstract/2025/Number/bitwiseXOR.js +0 -14
- package/node_modules/es-abstract/2025/Number/divide.js +0 -18
- package/node_modules/es-abstract/2025/Number/equal.js +0 -18
- package/node_modules/es-abstract/2025/Number/exponentiate.js +0 -74
- package/node_modules/es-abstract/2025/Number/index.js +0 -43
- package/node_modules/es-abstract/2025/Number/leftShift.js +0 -22
- package/node_modules/es-abstract/2025/Number/lessThan.js +0 -22
- package/node_modules/es-abstract/2025/Number/multiply.js +0 -30
- package/node_modules/es-abstract/2025/Number/remainder.js +0 -38
- package/node_modules/es-abstract/2025/Number/sameValue.js +0 -18
- package/node_modules/es-abstract/2025/Number/sameValueZero.js +0 -20
- package/node_modules/es-abstract/2025/Number/signedRightShift.js +0 -22
- package/node_modules/es-abstract/2025/Number/subtract.js +0 -15
- package/node_modules/es-abstract/2025/Number/toString.js +0 -20
- package/node_modules/es-abstract/2025/Number/unaryMinus.js +0 -17
- package/node_modules/es-abstract/2025/Number/unsignedRightShift.js +0 -22
- package/node_modules/es-abstract/2025/NumberBitwiseOp.js +0 -26
- package/node_modules/es-abstract/2025/NumberToBigInt.js +0 -25
- package/node_modules/es-abstract/2025/NumericToRawBytes.js +0 -65
- package/node_modules/es-abstract/2025/ObjectDefineProperties.js +0 -33
- package/node_modules/es-abstract/2025/OrdinaryCreateFromConstructor.js +0 -20
- package/node_modules/es-abstract/2025/OrdinaryDefineOwnProperty.js +0 -54
- package/node_modules/es-abstract/2025/OrdinaryGetOwnProperty.js +0 -41
- package/node_modules/es-abstract/2025/OrdinaryGetPrototypeOf.js +0 -18
- package/node_modules/es-abstract/2025/OrdinaryHasInstance.js +0 -23
- package/node_modules/es-abstract/2025/OrdinaryHasProperty.js +0 -18
- package/node_modules/es-abstract/2025/OrdinaryObjectCreate.js +0 -56
- package/node_modules/es-abstract/2025/OrdinarySetPrototypeOf.js +0 -50
- package/node_modules/es-abstract/2025/OrdinaryToPrimitive.js +0 -36
- package/node_modules/es-abstract/2025/ParseHexOctet.js +0 -40
- package/node_modules/es-abstract/2025/PromiseResolve.js +0 -18
- package/node_modules/es-abstract/2025/QuoteJSONString.js +0 -52
- package/node_modules/es-abstract/2025/RawBytesToNumeric.js +0 -72
- package/node_modules/es-abstract/2025/RegExpCreate.js +0 -21
- package/node_modules/es-abstract/2025/RegExpExec.js +0 -29
- package/node_modules/es-abstract/2025/RegExpHasFlag.js +0 -38
- package/node_modules/es-abstract/2025/RequireObjectCoercible.js +0 -3
- package/node_modules/es-abstract/2025/ReturnCompletion.js +0 -9
- package/node_modules/es-abstract/2025/SameType.js +0 -16
- package/node_modules/es-abstract/2025/SameValue.js +0 -13
- package/node_modules/es-abstract/2025/SameValueNonNumber.js +0 -18
- package/node_modules/es-abstract/2025/SameValueZero.js +0 -9
- package/node_modules/es-abstract/2025/SecFromTime.js +0 -14
- package/node_modules/es-abstract/2025/Set.js +0 -45
- package/node_modules/es-abstract/2025/SetDataHas.js +0 -26
- package/node_modules/es-abstract/2025/SetDataIndex.js +0 -32
- package/node_modules/es-abstract/2025/SetDataSize.js +0 -30
- package/node_modules/es-abstract/2025/SetFunctionLength.js +0 -28
- package/node_modules/es-abstract/2025/SetFunctionName.js +0 -40
- package/node_modules/es-abstract/2025/SetIntegrityLevel.js +0 -57
- package/node_modules/es-abstract/2025/SetTypedArrayFromArrayLike.js +0 -64
- package/node_modules/es-abstract/2025/SetTypedArrayFromTypedArray.js +0 -133
- package/node_modules/es-abstract/2025/SetValueInBuffer.js +0 -92
- package/node_modules/es-abstract/2025/SetterThatIgnoresPrototypeProperties.js +0 -38
- package/node_modules/es-abstract/2025/SortIndexedProperties.js +0 -49
- package/node_modules/es-abstract/2025/SpeciesConstructor.js +0 -32
- package/node_modules/es-abstract/2025/StringCreate.js +0 -38
- package/node_modules/es-abstract/2025/StringGetOwnProperty.js +0 -46
- package/node_modules/es-abstract/2025/StringIndexOf.js +0 -36
- package/node_modules/es-abstract/2025/StringLastIndexOf.js +0 -38
- package/node_modules/es-abstract/2025/StringPad.js +0 -43
- package/node_modules/es-abstract/2025/StringPaddingBuiltinsImpl.js +0 -27
- package/node_modules/es-abstract/2025/StringToBigInt.js +0 -23
- package/node_modules/es-abstract/2025/StringToCodePoints.js +0 -22
- package/node_modules/es-abstract/2025/StringToNumber.js +0 -42
- package/node_modules/es-abstract/2025/SymbolDescriptiveString.js +0 -16
- package/node_modules/es-abstract/2025/SystemTimeZoneIdentifier.js +0 -18
- package/node_modules/es-abstract/2025/TestIntegrityLevel.js +0 -40
- package/node_modules/es-abstract/2025/ThisBigIntValue.js +0 -20
- package/node_modules/es-abstract/2025/ThisBooleanValue.js +0 -13
- package/node_modules/es-abstract/2025/ThisNumberValue.js +0 -15
- package/node_modules/es-abstract/2025/ThisStringValue.js +0 -13
- package/node_modules/es-abstract/2025/ThisSymbolValue.js +0 -20
- package/node_modules/es-abstract/2025/ThrowCompletion.js +0 -9
- package/node_modules/es-abstract/2025/TimeClip.js +0 -20
- package/node_modules/es-abstract/2025/TimeFromYear.js +0 -11
- package/node_modules/es-abstract/2025/TimeString.js +0 -26
- package/node_modules/es-abstract/2025/TimeWithinDay.js +0 -12
- package/node_modules/es-abstract/2025/TimeZoneString.js +0 -41
- package/node_modules/es-abstract/2025/ToBigInt.js +0 -51
- package/node_modules/es-abstract/2025/ToBigInt64.js +0 -25
- package/node_modules/es-abstract/2025/ToBigUint64.js +0 -23
- package/node_modules/es-abstract/2025/ToBoolean.js +0 -5
- package/node_modules/es-abstract/2025/ToDateString.js +0 -21
- package/node_modules/es-abstract/2025/ToIndex.js +0 -20
- package/node_modules/es-abstract/2025/ToInt16.js +0 -21
- package/node_modules/es-abstract/2025/ToInt32.js +0 -23
- package/node_modules/es-abstract/2025/ToInt8.js +0 -19
- package/node_modules/es-abstract/2025/ToIntegerOrInfinity.js +0 -16
- package/node_modules/es-abstract/2025/ToLength.js +0 -14
- package/node_modules/es-abstract/2025/ToNumber.js +0 -26
- package/node_modules/es-abstract/2025/ToNumeric.js +0 -20
- package/node_modules/es-abstract/2025/ToObject.js +0 -5
- package/node_modules/es-abstract/2025/ToPrimitive.js +0 -12
- package/node_modules/es-abstract/2025/ToPropertyDescriptor.js +0 -50
- package/node_modules/es-abstract/2025/ToPropertyKey.js +0 -15
- package/node_modules/es-abstract/2025/ToString.js +0 -15
- package/node_modules/es-abstract/2025/ToUint16.js +0 -21
- package/node_modules/es-abstract/2025/ToUint32.js +0 -21
- package/node_modules/es-abstract/2025/ToUint8.js +0 -19
- package/node_modules/es-abstract/2025/ToUint8Clamp.js +0 -26
- package/node_modules/es-abstract/2025/ToZeroPaddedDecimalString.js +0 -19
- package/node_modules/es-abstract/2025/TrimString.js +0 -27
- package/node_modules/es-abstract/2025/TypedArrayByteLength.js +0 -43
- package/node_modules/es-abstract/2025/TypedArrayCreateFromConstructor.js +0 -52
- package/node_modules/es-abstract/2025/TypedArrayCreateSameType.js +0 -35
- package/node_modules/es-abstract/2025/TypedArrayElementSize.js +0 -23
- package/node_modules/es-abstract/2025/TypedArrayElementType.js +0 -23
- package/node_modules/es-abstract/2025/TypedArrayGetElement.js +0 -37
- package/node_modules/es-abstract/2025/TypedArrayLength.js +0 -51
- package/node_modules/es-abstract/2025/TypedArraySetElement.js +0 -42
- package/node_modules/es-abstract/2025/TypedArraySpeciesCreate.js +0 -37
- package/node_modules/es-abstract/2025/UTF16EncodeCodePoint.js +0 -25
- package/node_modules/es-abstract/2025/UTF16SurrogatePairToCodePoint.js +0 -19
- package/node_modules/es-abstract/2025/UnicodeEscape.js +0 -25
- package/node_modules/es-abstract/2025/UpdateModifiers.js +0 -77
- package/node_modules/es-abstract/2025/ValidateAndApplyPropertyDescriptor.js +0 -171
- package/node_modules/es-abstract/2025/ValidateAtomicAccess.js +0 -43
- package/node_modules/es-abstract/2025/ValidateAtomicAccessOnIntegerTypedArray.js +0 -19
- package/node_modules/es-abstract/2025/ValidateIntegerTypedArray.js +0 -31
- package/node_modules/es-abstract/2025/ValidateTypedArray.js +0 -32
- package/node_modules/es-abstract/2025/WeakRefDeref.js +0 -23
- package/node_modules/es-abstract/2025/WeekDay.js +0 -10
- package/node_modules/es-abstract/2025/WordCharacters.js +0 -47
- package/node_modules/es-abstract/2025/YearFromTime.js +0 -16
- package/node_modules/es-abstract/2025/abs.js +0 -9
- package/node_modules/es-abstract/2025/clamp.js +0 -14
- package/node_modules/es-abstract/2025/floor.js +0 -14
- package/node_modules/es-abstract/2025/max.js +0 -5
- package/node_modules/es-abstract/2025/min.js +0 -5
- package/node_modules/es-abstract/2025/modulo.js +0 -9
- package/node_modules/es-abstract/2025/msFromTime.js +0 -11
- package/node_modules/es-abstract/2025/substring.js +0 -15
- package/node_modules/es-abstract/2025/tables/typed-array-objects.js +0 -38
- package/node_modules/es-abstract/2025/truncate.js +0 -15
- package/node_modules/es-abstract/5/AbstractEqualityComparison.js +0 -38
- package/node_modules/es-abstract/5/AbstractRelationalComparison.js +0 -62
- package/node_modules/es-abstract/5/Canonicalize.js +0 -38
- package/node_modules/es-abstract/5/CheckObjectCoercible.js +0 -9
- package/node_modules/es-abstract/5/DateFromTime.js +0 -52
- package/node_modules/es-abstract/5/Day.js +0 -11
- package/node_modules/es-abstract/5/DayFromYear.js +0 -10
- package/node_modules/es-abstract/5/DayWithinYear.js +0 -11
- package/node_modules/es-abstract/5/DaysInYear.js +0 -18
- package/node_modules/es-abstract/5/FromPropertyDescriptor.js +0 -38
- package/node_modules/es-abstract/5/HourFromTime.js +0 -14
- package/node_modules/es-abstract/5/InLeapYear.js +0 -19
- package/node_modules/es-abstract/5/IsAccessorDescriptor.js +0 -25
- package/node_modules/es-abstract/5/IsCallable.js +0 -5
- package/node_modules/es-abstract/5/IsDataDescriptor.js +0 -25
- package/node_modules/es-abstract/5/IsGenericDescriptor.js +0 -26
- package/node_modules/es-abstract/5/IsPropertyDescriptor.js +0 -11
- package/node_modules/es-abstract/5/MakeDate.js +0 -14
- package/node_modules/es-abstract/5/MakeDay.js +0 -33
- package/node_modules/es-abstract/5/MakeTime.js +0 -24
- package/node_modules/es-abstract/5/MinFromTime.js +0 -14
- package/node_modules/es-abstract/5/MonthFromTime.js +0 -51
- package/node_modules/es-abstract/5/SameValue.js +0 -13
- package/node_modules/es-abstract/5/SecFromTime.js +0 -14
- package/node_modules/es-abstract/5/StrictEqualityComparison.js +0 -15
- package/node_modules/es-abstract/5/TimeClip.js +0 -20
- package/node_modules/es-abstract/5/TimeFromYear.js +0 -11
- package/node_modules/es-abstract/5/TimeWithinDay.js +0 -12
- package/node_modules/es-abstract/5/ToBoolean.js +0 -5
- package/node_modules/es-abstract/5/ToInt32.js +0 -9
- package/node_modules/es-abstract/5/ToInteger.js +0 -18
- package/node_modules/es-abstract/5/ToNumber.js +0 -34
- package/node_modules/es-abstract/5/ToObject.js +0 -5
- package/node_modules/es-abstract/5/ToPrimitive.js +0 -5
- package/node_modules/es-abstract/5/ToPropertyDescriptor.js +0 -50
- package/node_modules/es-abstract/5/ToString.js +0 -12
- package/node_modules/es-abstract/5/ToUint16.js +0 -19
- package/node_modules/es-abstract/5/ToUint32.js +0 -9
- package/node_modules/es-abstract/5/Type.js +0 -26
- package/node_modules/es-abstract/5/WeekDay.js +0 -10
- package/node_modules/es-abstract/5/YearFromTime.js +0 -16
- package/node_modules/es-abstract/5/abs.js +0 -9
- package/node_modules/es-abstract/5/floor.js +0 -11
- package/node_modules/es-abstract/5/modulo.js +0 -9
- package/node_modules/es-abstract/5/msFromTime.js +0 -11
- package/node_modules/es-abstract/CHANGELOG.md +0 -971
- package/node_modules/es-abstract/GetIntrinsic.js +0 -5
- package/node_modules/es-abstract/LICENSE +0 -21
- package/node_modules/es-abstract/README.md +0 -43
- package/node_modules/es-abstract/es2015.js +0 -142
- package/node_modules/es-abstract/es2016.js +0 -149
- package/node_modules/es-abstract/es2017.js +0 -157
- package/node_modules/es-abstract/es2018.js +0 -169
- package/node_modules/es-abstract/es2019.js +0 -173
- package/node_modules/es-abstract/es2020.js +0 -197
- package/node_modules/es-abstract/es2021.js +0 -211
- package/node_modules/es-abstract/es2022.js +0 -224
- package/node_modules/es-abstract/es2023.js +0 -236
- package/node_modules/es-abstract/es2024.js +0 -255
- package/node_modules/es-abstract/es2025.js +0 -272
- package/node_modules/es-abstract/es5.js +0 -52
- package/node_modules/es-abstract/es6.js +0 -3
- package/node_modules/es-abstract/es7.js +0 -3
- package/node_modules/es-abstract/eslint.config.mjs +0 -129
- package/node_modules/es-abstract/helpers/CharSet.js +0 -130
- package/node_modules/es-abstract/helpers/DefineOwnProperty.js +0 -53
- package/node_modules/es-abstract/helpers/IsArray.js +0 -12
- package/node_modules/es-abstract/helpers/OwnPropertyKeys.js +0 -4
- package/node_modules/es-abstract/helpers/assertRecord.js +0 -32
- package/node_modules/es-abstract/helpers/assign.js +0 -22
- package/node_modules/es-abstract/helpers/bytesAsFloat16.js +0 -47
- package/node_modules/es-abstract/helpers/bytesAsFloat32.js +0 -36
- package/node_modules/es-abstract/helpers/bytesAsFloat64.js +0 -42
- package/node_modules/es-abstract/helpers/bytesAsInteger.js +0 -32
- package/node_modules/es-abstract/helpers/callBind.js +0 -5
- package/node_modules/es-abstract/helpers/callBound.js +0 -5
- package/node_modules/es-abstract/helpers/caseFolding.json +0 -1430
- package/node_modules/es-abstract/helpers/defaultEndianness.js +0 -21
- package/node_modules/es-abstract/helpers/every.js +0 -10
- package/node_modules/es-abstract/helpers/forEach.js +0 -7
- package/node_modules/es-abstract/helpers/fractionToBinaryString.js +0 -33
- package/node_modules/es-abstract/helpers/fromPropertyDescriptor.js +0 -27
- package/node_modules/es-abstract/helpers/getInferredName.js +0 -4
- package/node_modules/es-abstract/helpers/getIteratorMethod.js +0 -50
- package/node_modules/es-abstract/helpers/getOwnPropertyDescriptor.js +0 -5
- package/node_modules/es-abstract/helpers/getProto.js +0 -4
- package/node_modules/es-abstract/helpers/getSymbolDescription.js +0 -4
- package/node_modules/es-abstract/helpers/intToBinaryString.js +0 -21
- package/node_modules/es-abstract/helpers/integerToNBytes.js +0 -28
- package/node_modules/es-abstract/helpers/isAbstractClosure.js +0 -9
- package/node_modules/es-abstract/helpers/isByteValue.js +0 -5
- package/node_modules/es-abstract/helpers/isCodePoint.js +0 -5
- package/node_modules/es-abstract/helpers/isFinite.js +0 -4
- package/node_modules/es-abstract/helpers/isFullyPopulatedPropertyDescriptor.js +0 -10
- package/node_modules/es-abstract/helpers/isInteger.js +0 -4
- package/node_modules/es-abstract/helpers/isLeadingSurrogate.js +0 -5
- package/node_modules/es-abstract/helpers/isLineTerminator.js +0 -7
- package/node_modules/es-abstract/helpers/isNaN.js +0 -5
- package/node_modules/es-abstract/helpers/isNegativeZero.js +0 -6
- package/node_modules/es-abstract/helpers/isObject.js +0 -5
- package/node_modules/es-abstract/helpers/isPrefixOf.js +0 -13
- package/node_modules/es-abstract/helpers/isPrimitive.js +0 -5
- package/node_modules/es-abstract/helpers/isPropertyKey.js +0 -5
- package/node_modules/es-abstract/helpers/isSamePropertyDescriptor.js +0 -20
- package/node_modules/es-abstract/helpers/isSameType.js +0 -16
- package/node_modules/es-abstract/helpers/isStringOrHole.js +0 -9
- package/node_modules/es-abstract/helpers/isStringOrUndefined.js +0 -5
- package/node_modules/es-abstract/helpers/isTrailingSurrogate.js +0 -5
- package/node_modules/es-abstract/helpers/maxSafeInteger.js +0 -4
- package/node_modules/es-abstract/helpers/maxValue.js +0 -4
- package/node_modules/es-abstract/helpers/mod.js +0 -4
- package/node_modules/es-abstract/helpers/modBigInt.js +0 -6
- package/node_modules/es-abstract/helpers/padTimeComponent.js +0 -9
- package/node_modules/es-abstract/helpers/records/async-generator-request-record.js +0 -13
- package/node_modules/es-abstract/helpers/records/data-view-with-buffer-witness-record.js +0 -18
- package/node_modules/es-abstract/helpers/records/iterator-record-2023.js +0 -7
- package/node_modules/es-abstract/helpers/records/iterator-record.js +0 -12
- package/node_modules/es-abstract/helpers/records/match-record.js +0 -21
- package/node_modules/es-abstract/helpers/records/promise-capability-record.js +0 -16
- package/node_modules/es-abstract/helpers/records/property-descriptor.js +0 -36
- package/node_modules/es-abstract/helpers/records/regexp-record.js +0 -23
- package/node_modules/es-abstract/helpers/records/set-record.js +0 -21
- package/node_modules/es-abstract/helpers/records/typed-array-with-buffer-witness-record.js +0 -18
- package/node_modules/es-abstract/helpers/reduce.js +0 -9
- package/node_modules/es-abstract/helpers/regexTester.js +0 -5
- package/node_modules/es-abstract/helpers/setProto.js +0 -4
- package/node_modules/es-abstract/helpers/sign.js +0 -4
- package/node_modules/es-abstract/helpers/some.js +0 -10
- package/node_modules/es-abstract/helpers/timeConstants.js +0 -19
- package/node_modules/es-abstract/helpers/timeValue.js +0 -7
- package/node_modules/es-abstract/helpers/typedArrayConstructors.js +0 -23
- package/node_modules/es-abstract/helpers/valueToFloat16Bytes.js +0 -73
- package/node_modules/es-abstract/helpers/valueToFloat32Bytes.js +0 -67
- package/node_modules/es-abstract/helpers/valueToFloat64Bytes.js +0 -85
- package/node_modules/es-abstract/index.js +0 -38
- package/node_modules/es-abstract/operations/2015.js +0 -744
- package/node_modules/es-abstract/operations/2016.js +0 -813
- package/node_modules/es-abstract/operations/2017.js +0 -954
- package/node_modules/es-abstract/operations/2018.js +0 -1033
- package/node_modules/es-abstract/operations/2019.js +0 -1048
- package/node_modules/es-abstract/operations/2020.js +0 -1228
- package/node_modules/es-abstract/operations/2021.js +0 -1282
- package/node_modules/es-abstract/operations/2022.js +0 -1372
- package/node_modules/es-abstract/operations/2023.js +0 -1441
- package/node_modules/es-abstract/operations/2024.js +0 -1537
- package/node_modules/es-abstract/operations/2025.js +0 -1603
- package/node_modules/es-abstract/operations/es5.js +0 -50
- package/node_modules/es-abstract/package.json +0 -188
- package/node_modules/es-abstract-get/.github/FUNDING.yml +0 -12
- package/node_modules/es-abstract-get/.nycrc +0 -9
- package/node_modules/es-abstract-get/CHANGELOG.md +0 -15
- package/node_modules/es-abstract-get/Get.d.ts +0 -11
- package/node_modules/es-abstract-get/Get.js +0 -26
- package/node_modules/es-abstract-get/GetMethod.d.ts +0 -13
- package/node_modules/es-abstract-get/GetMethod.js +0 -36
- package/node_modules/es-abstract-get/GetV.d.ts +0 -11
- package/node_modules/es-abstract-get/GetV.js +0 -23
- package/node_modules/es-abstract-get/LICENSE +0 -21
- package/node_modules/es-abstract-get/README.md +0 -67
- package/node_modules/es-abstract-get/eslint.config.mjs +0 -42
- package/node_modules/es-abstract-get/isPropertyKey.d.ts +0 -9
- package/node_modules/es-abstract-get/isPropertyKey.js +0 -6
- package/node_modules/es-abstract-get/package.json +0 -95
- package/node_modules/es-abstract-get/test/Get.js +0 -43
- package/node_modules/es-abstract-get/test/GetMethod.js +0 -42
- package/node_modules/es-abstract-get/test/GetV.js +0 -43
- package/node_modules/es-abstract-get/test/isPropertyKey.js +0 -26
- package/node_modules/es-abstract-get/tsconfig.json +0 -6
- package/node_modules/es-define-property/.eslintrc +0 -13
- package/node_modules/es-define-property/.github/FUNDING.yml +0 -12
- package/node_modules/es-define-property/.nycrc +0 -9
- package/node_modules/es-define-property/CHANGELOG.md +0 -29
- package/node_modules/es-define-property/LICENSE +0 -21
- package/node_modules/es-define-property/README.md +0 -49
- package/node_modules/es-define-property/index.d.ts +0 -3
- package/node_modules/es-define-property/index.js +0 -14
- package/node_modules/es-define-property/package.json +0 -81
- package/node_modules/es-define-property/test/index.js +0 -56
- package/node_modules/es-define-property/tsconfig.json +0 -10
- package/node_modules/es-errors/.eslintrc +0 -5
- package/node_modules/es-errors/.github/FUNDING.yml +0 -12
- package/node_modules/es-errors/CHANGELOG.md +0 -40
- package/node_modules/es-errors/LICENSE +0 -21
- package/node_modules/es-errors/README.md +0 -55
- package/node_modules/es-errors/eval.d.ts +0 -3
- package/node_modules/es-errors/eval.js +0 -4
- package/node_modules/es-errors/index.d.ts +0 -3
- package/node_modules/es-errors/index.js +0 -4
- package/node_modules/es-errors/package.json +0 -80
- package/node_modules/es-errors/range.d.ts +0 -3
- package/node_modules/es-errors/range.js +0 -4
- package/node_modules/es-errors/ref.d.ts +0 -3
- package/node_modules/es-errors/ref.js +0 -4
- package/node_modules/es-errors/syntax.d.ts +0 -3
- package/node_modules/es-errors/syntax.js +0 -4
- package/node_modules/es-errors/test/index.js +0 -19
- package/node_modules/es-errors/tsconfig.json +0 -49
- package/node_modules/es-errors/type.d.ts +0 -3
- package/node_modules/es-errors/type.js +0 -4
- package/node_modules/es-errors/uri.d.ts +0 -3
- package/node_modules/es-errors/uri.js +0 -4
- package/node_modules/es-object-atoms/.eslintrc +0 -16
- package/node_modules/es-object-atoms/.github/FUNDING.yml +0 -12
- package/node_modules/es-object-atoms/CHANGELOG.md +0 -44
- package/node_modules/es-object-atoms/LICENSE +0 -21
- package/node_modules/es-object-atoms/README.md +0 -63
- package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +0 -3
- package/node_modules/es-object-atoms/RequireObjectCoercible.js +0 -11
- package/node_modules/es-object-atoms/ToObject.d.ts +0 -7
- package/node_modules/es-object-atoms/ToObject.js +0 -10
- package/node_modules/es-object-atoms/index.d.ts +0 -3
- package/node_modules/es-object-atoms/index.js +0 -4
- package/node_modules/es-object-atoms/isObject.d.ts +0 -3
- package/node_modules/es-object-atoms/isObject.js +0 -6
- package/node_modules/es-object-atoms/package.json +0 -79
- package/node_modules/es-object-atoms/test/index.js +0 -38
- package/node_modules/es-object-atoms/tsconfig.json +0 -7
- package/node_modules/es-set-tostringtag/.eslintrc +0 -13
- package/node_modules/es-set-tostringtag/.nycrc +0 -9
- package/node_modules/es-set-tostringtag/CHANGELOG.md +0 -67
- package/node_modules/es-set-tostringtag/LICENSE +0 -21
- package/node_modules/es-set-tostringtag/README.md +0 -53
- package/node_modules/es-set-tostringtag/index.d.ts +0 -10
- package/node_modules/es-set-tostringtag/index.js +0 -35
- package/node_modules/es-set-tostringtag/package.json +0 -78
- package/node_modules/es-set-tostringtag/test/index.js +0 -85
- package/node_modules/es-set-tostringtag/tsconfig.json +0 -9
- package/node_modules/es-shim-unscopables/.eslintrc +0 -37
- package/node_modules/es-shim-unscopables/.github/FUNDING.yml +0 -12
- package/node_modules/es-shim-unscopables/.nycrc +0 -9
- package/node_modules/es-shim-unscopables/CHANGELOG.md +0 -35
- package/node_modules/es-shim-unscopables/LICENSE +0 -21
- package/node_modules/es-shim-unscopables/README.md +0 -57
- package/node_modules/es-shim-unscopables/index.d.ts +0 -8
- package/node_modules/es-shim-unscopables/index.js +0 -22
- package/node_modules/es-shim-unscopables/package.json +0 -65
- package/node_modules/es-shim-unscopables/test/index.js +0 -70
- package/node_modules/es-shim-unscopables/test/with.js +0 -43
- package/node_modules/es-shim-unscopables/tsconfig.json +0 -10
- package/node_modules/es-to-primitive/.github/FUNDING.yml +0 -12
- package/node_modules/es-to-primitive/.nycrc +0 -9
- package/node_modules/es-to-primitive/CHANGELOG.md +0 -135
- package/node_modules/es-to-primitive/LICENSE +0 -22
- package/node_modules/es-to-primitive/README.md +0 -52
- package/node_modules/es-to-primitive/es2015.d.ts +0 -14
- package/node_modules/es-to-primitive/es2015.js +0 -80
- package/node_modules/es-to-primitive/es5.d.ts +0 -17
- package/node_modules/es-to-primitive/es5.js +0 -56
- package/node_modules/es-to-primitive/es6.d.ts +0 -3
- package/node_modules/es-to-primitive/es6.js +0 -4
- package/node_modules/es-to-primitive/eslint.config.mjs +0 -29
- package/node_modules/es-to-primitive/helpers/isPrimitive.js +0 -9
- package/node_modules/es-to-primitive/index.d.ts +0 -26
- package/node_modules/es-to-primitive/index.js +0 -21
- package/node_modules/es-to-primitive/package.json +0 -96
- package/node_modules/es-to-primitive/test/es2015.js +0 -140
- package/node_modules/es-to-primitive/test/es5.js +0 -103
- package/node_modules/es-to-primitive/test/es6.js +0 -140
- package/node_modules/es-to-primitive/test/index.js +0 -20
- package/node_modules/es-to-primitive/tsconfig.json +0 -9
- package/node_modules/escalade/dist/index.js +0 -22
- package/node_modules/escalade/dist/index.mjs +0 -22
- package/node_modules/escalade/index.d.mts +0 -11
- package/node_modules/escalade/index.d.ts +0 -15
- package/node_modules/escalade/license +0 -9
- package/node_modules/escalade/package.json +0 -74
- package/node_modules/escalade/readme.md +0 -211
- package/node_modules/escalade/sync/index.d.mts +0 -9
- package/node_modules/escalade/sync/index.d.ts +0 -13
- package/node_modules/escalade/sync/index.js +0 -18
- package/node_modules/escalade/sync/index.mjs +0 -18
- package/node_modules/find-up/index.d.ts +0 -137
- package/node_modules/find-up/index.js +0 -89
- package/node_modules/find-up/license +0 -9
- package/node_modules/find-up/package.json +0 -53
- package/node_modules/find-up/readme.md +0 -156
- package/node_modules/for-each/.editorconfig +0 -20
- package/node_modules/for-each/.eslintrc +0 -30
- package/node_modules/for-each/.github/FUNDING.yml +0 -12
- package/node_modules/for-each/.github/SECURITY.md +0 -3
- package/node_modules/for-each/.nycrc +0 -8
- package/node_modules/for-each/CHANGELOG.md +0 -107
- package/node_modules/for-each/LICENSE +0 -22
- package/node_modules/for-each/README.md +0 -39
- package/node_modules/for-each/index.d.ts +0 -35
- package/node_modules/for-each/index.js +0 -69
- package/node_modules/for-each/package.json +0 -76
- package/node_modules/for-each/test/test.js +0 -224
- package/node_modules/for-each/tsconfig.json +0 -8
- package/node_modules/function-bind/.eslintrc +0 -21
- package/node_modules/function-bind/.github/FUNDING.yml +0 -12
- package/node_modules/function-bind/.github/SECURITY.md +0 -3
- package/node_modules/function-bind/.nycrc +0 -13
- package/node_modules/function-bind/CHANGELOG.md +0 -136
- package/node_modules/function-bind/LICENSE +0 -20
- package/node_modules/function-bind/README.md +0 -46
- package/node_modules/function-bind/implementation.js +0 -84
- package/node_modules/function-bind/index.js +0 -5
- package/node_modules/function-bind/package.json +0 -87
- package/node_modules/function-bind/test/.eslintrc +0 -9
- package/node_modules/function-bind/test/index.js +0 -252
- package/node_modules/function.prototype.name/.editorconfig +0 -29
- package/node_modules/function.prototype.name/.github/FUNDING.yml +0 -12
- package/node_modules/function.prototype.name/.nycrc +0 -9
- package/node_modules/function.prototype.name/CHANGELOG.md +0 -154
- package/node_modules/function.prototype.name/LICENSE +0 -21
- package/node_modules/function.prototype.name/README.md +0 -55
- package/node_modules/function.prototype.name/auto.d.ts +0 -1
- package/node_modules/function.prototype.name/auto.js +0 -3
- package/node_modules/function.prototype.name/eslint.config.mjs +0 -20
- package/node_modules/function.prototype.name/helpers/functionsHaveNames.js +0 -5
- package/node_modules/function.prototype.name/implementation.d.ts +0 -8
- package/node_modules/function.prototype.name/implementation.js +0 -50
- package/node_modules/function.prototype.name/index.d.ts +0 -21
- package/node_modules/function.prototype.name/index.js +0 -16
- package/node_modules/function.prototype.name/package.json +0 -110
- package/node_modules/function.prototype.name/polyfill.d.ts +0 -8
- package/node_modules/function.prototype.name/polyfill.js +0 -8
- package/node_modules/function.prototype.name/shim.d.ts +0 -8
- package/node_modules/function.prototype.name/shim.js +0 -38
- package/node_modules/function.prototype.name/test/implementation.js +0 -20
- package/node_modules/function.prototype.name/test/index.js +0 -23
- package/node_modules/function.prototype.name/test/shimmed.js +0 -21
- package/node_modules/function.prototype.name/test/tests.js +0 -104
- package/node_modules/function.prototype.name/test/uglified.js +0 -17
- package/node_modules/function.prototype.name/tsconfig.json +0 -10
- package/node_modules/functions-have-names/.editorconfig +0 -20
- package/node_modules/functions-have-names/.eslintrc +0 -19
- package/node_modules/functions-have-names/.github/FUNDING.yml +0 -12
- package/node_modules/functions-have-names/.nycrc +0 -9
- package/node_modules/functions-have-names/CHANGELOG.md +0 -89
- package/node_modules/functions-have-names/LICENSE +0 -21
- package/node_modules/functions-have-names/README.md +0 -40
- package/node_modules/functions-have-names/index.js +0 -31
- package/node_modules/functions-have-names/package.json +0 -55
- package/node_modules/functions-have-names/test/index.js +0 -65
- package/node_modules/generator-function/.eslintrc +0 -16
- package/node_modules/generator-function/.github/FUNDING.yml +0 -12
- package/node_modules/generator-function/.nycrc +0 -9
- package/node_modules/generator-function/CHANGELOG.md +0 -27
- package/node_modules/generator-function/LICENSE.md +0 -7
- package/node_modules/generator-function/README.md +0 -51
- package/node_modules/generator-function/index.d.mts +0 -3
- package/node_modules/generator-function/index.d.ts +0 -3
- package/node_modules/generator-function/index.js +0 -8
- package/node_modules/generator-function/index.mjs +0 -4
- package/node_modules/generator-function/legacy.js +0 -18
- package/node_modules/generator-function/package.json +0 -88
- package/node_modules/generator-function/require.mjs +0 -5
- package/node_modules/generator-function/test/index.js +0 -42
- package/node_modules/generator-function/tsconfig.json +0 -9
- package/node_modules/get-caller-file/LICENSE.md +0 -6
- package/node_modules/get-caller-file/README.md +0 -41
- package/node_modules/get-caller-file/index.d.ts +0 -2
- package/node_modules/get-caller-file/index.js +0 -22
- package/node_modules/get-caller-file/index.js.map +0 -1
- package/node_modules/get-caller-file/package.json +0 -42
- package/node_modules/get-intrinsic/.eslintrc +0 -42
- package/node_modules/get-intrinsic/.github/FUNDING.yml +0 -12
- package/node_modules/get-intrinsic/.nycrc +0 -9
- package/node_modules/get-intrinsic/CHANGELOG.md +0 -186
- package/node_modules/get-intrinsic/LICENSE +0 -21
- package/node_modules/get-intrinsic/README.md +0 -71
- package/node_modules/get-intrinsic/index.js +0 -378
- package/node_modules/get-intrinsic/package.json +0 -97
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +0 -274
- package/node_modules/get-proto/.eslintrc +0 -10
- package/node_modules/get-proto/.github/FUNDING.yml +0 -12
- package/node_modules/get-proto/.nycrc +0 -9
- package/node_modules/get-proto/CHANGELOG.md +0 -21
- package/node_modules/get-proto/LICENSE +0 -21
- package/node_modules/get-proto/Object.getPrototypeOf.d.ts +0 -5
- package/node_modules/get-proto/Object.getPrototypeOf.js +0 -6
- package/node_modules/get-proto/README.md +0 -50
- package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +0 -3
- package/node_modules/get-proto/Reflect.getPrototypeOf.js +0 -4
- package/node_modules/get-proto/index.d.ts +0 -5
- package/node_modules/get-proto/index.js +0 -27
- package/node_modules/get-proto/package.json +0 -81
- package/node_modules/get-proto/test/index.js +0 -68
- package/node_modules/get-proto/tsconfig.json +0 -9
- package/node_modules/get-symbol-description/.eslintrc +0 -14
- package/node_modules/get-symbol-description/.github/FUNDING.yml +0 -12
- package/node_modules/get-symbol-description/.nycrc +0 -9
- package/node_modules/get-symbol-description/CHANGELOG.md +0 -61
- package/node_modules/get-symbol-description/LICENSE +0 -21
- package/node_modules/get-symbol-description/README.md +0 -43
- package/node_modules/get-symbol-description/getInferredName.d.ts +0 -5
- package/node_modules/get-symbol-description/getInferredName.js +0 -13
- package/node_modules/get-symbol-description/index.d.ts +0 -3
- package/node_modules/get-symbol-description/index.js +0 -49
- package/node_modules/get-symbol-description/package.json +0 -88
- package/node_modules/get-symbol-description/test/index.js +0 -74
- package/node_modules/get-symbol-description/tsconfig.json +0 -9
- package/node_modules/globalthis/.eslintrc +0 -18
- package/node_modules/globalthis/.nycrc +0 -10
- package/node_modules/globalthis/CHANGELOG.md +0 -109
- package/node_modules/globalthis/LICENSE +0 -21
- package/node_modules/globalthis/README.md +0 -70
- package/node_modules/globalthis/auto.js +0 -3
- package/node_modules/globalthis/implementation.browser.js +0 -11
- package/node_modules/globalthis/implementation.js +0 -3
- package/node_modules/globalthis/index.js +0 -19
- package/node_modules/globalthis/package.json +0 -99
- package/node_modules/globalthis/polyfill.js +0 -10
- package/node_modules/globalthis/shim.js +0 -29
- package/node_modules/globalthis/test/implementation.js +0 -11
- package/node_modules/globalthis/test/index.js +0 -11
- package/node_modules/globalthis/test/native.js +0 -26
- package/node_modules/globalthis/test/shimmed.js +0 -29
- package/node_modules/globalthis/test/tests.js +0 -36
- package/node_modules/gopd/.eslintrc +0 -16
- package/node_modules/gopd/.github/FUNDING.yml +0 -12
- package/node_modules/gopd/CHANGELOG.md +0 -45
- package/node_modules/gopd/LICENSE +0 -21
- package/node_modules/gopd/README.md +0 -40
- package/node_modules/gopd/gOPD.d.ts +0 -1
- package/node_modules/gopd/gOPD.js +0 -4
- package/node_modules/gopd/index.d.ts +0 -5
- package/node_modules/gopd/index.js +0 -15
- package/node_modules/gopd/package.json +0 -77
- package/node_modules/gopd/test/index.js +0 -36
- package/node_modules/gopd/tsconfig.json +0 -9
- package/node_modules/grapheme-splitter/LICENSE +0 -22
- package/node_modules/grapheme-splitter/README.md +0 -111
- package/node_modules/grapheme-splitter/index.d.ts +0 -24
- package/node_modules/grapheme-splitter/index.js +0 -1743
- package/node_modules/grapheme-splitter/package.json +0 -34
- package/node_modules/grapheme-splitter/tests/GraphemeBreakTest.txt +0 -850
- package/node_modules/grapheme-splitter/tests/grapheme_splitter_tests.js +0 -83
- package/node_modules/has-bigints/.eslintrc +0 -5
- package/node_modules/has-bigints/.github/FUNDING.yml +0 -12
- package/node_modules/has-bigints/.nycrc +0 -9
- package/node_modules/has-bigints/CHANGELOG.md +0 -74
- package/node_modules/has-bigints/LICENSE +0 -21
- package/node_modules/has-bigints/README.md +0 -39
- package/node_modules/has-bigints/index.d.ts +0 -3
- package/node_modules/has-bigints/index.js +0 -11
- package/node_modules/has-bigints/package.json +0 -69
- package/node_modules/has-bigints/test/index.js +0 -44
- package/node_modules/has-bigints/tsconfig.json +0 -9
- package/node_modules/has-flag/index.d.ts +0 -39
- package/node_modules/has-flag/index.js +0 -8
- package/node_modules/has-flag/license +0 -9
- package/node_modules/has-flag/package.json +0 -46
- package/node_modules/has-flag/readme.md +0 -89
- package/node_modules/has-property-descriptors/.eslintrc +0 -13
- package/node_modules/has-property-descriptors/.github/FUNDING.yml +0 -12
- package/node_modules/has-property-descriptors/.nycrc +0 -9
- package/node_modules/has-property-descriptors/CHANGELOG.md +0 -35
- package/node_modules/has-property-descriptors/LICENSE +0 -21
- package/node_modules/has-property-descriptors/README.md +0 -43
- package/node_modules/has-property-descriptors/index.js +0 -22
- package/node_modules/has-property-descriptors/package.json +0 -77
- package/node_modules/has-property-descriptors/test/index.js +0 -57
- package/node_modules/has-proto/.eslintrc +0 -5
- package/node_modules/has-proto/.github/FUNDING.yml +0 -12
- package/node_modules/has-proto/CHANGELOG.md +0 -61
- package/node_modules/has-proto/LICENSE +0 -21
- package/node_modules/has-proto/README.md +0 -57
- package/node_modules/has-proto/accessor.d.ts +0 -3
- package/node_modules/has-proto/accessor.js +0 -20
- package/node_modules/has-proto/index.d.ts +0 -3
- package/node_modules/has-proto/index.js +0 -15
- package/node_modules/has-proto/mutator.d.ts +0 -3
- package/node_modules/has-proto/mutator.js +0 -33
- package/node_modules/has-proto/package.json +0 -91
- package/node_modules/has-proto/test/accessor.js +0 -34
- package/node_modules/has-proto/test/index.js +0 -28
- package/node_modules/has-proto/test/mutator.js +0 -34
- package/node_modules/has-proto/tsconfig.json +0 -11
- package/node_modules/has-symbols/.eslintrc +0 -11
- package/node_modules/has-symbols/.github/FUNDING.yml +0 -12
- package/node_modules/has-symbols/.nycrc +0 -9
- package/node_modules/has-symbols/CHANGELOG.md +0 -91
- package/node_modules/has-symbols/LICENSE +0 -21
- package/node_modules/has-symbols/README.md +0 -46
- package/node_modules/has-symbols/index.d.ts +0 -3
- package/node_modules/has-symbols/index.js +0 -14
- package/node_modules/has-symbols/package.json +0 -111
- package/node_modules/has-symbols/shams.d.ts +0 -3
- package/node_modules/has-symbols/shams.js +0 -45
- package/node_modules/has-symbols/test/index.js +0 -22
- package/node_modules/has-symbols/test/shams/core-js.js +0 -29
- package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +0 -29
- package/node_modules/has-symbols/test/tests.js +0 -58
- package/node_modules/has-symbols/tsconfig.json +0 -10
- package/node_modules/has-tostringtag/.eslintrc +0 -5
- package/node_modules/has-tostringtag/.github/FUNDING.yml +0 -12
- package/node_modules/has-tostringtag/.nycrc +0 -13
- package/node_modules/has-tostringtag/CHANGELOG.md +0 -42
- package/node_modules/has-tostringtag/LICENSE +0 -21
- package/node_modules/has-tostringtag/README.md +0 -46
- package/node_modules/has-tostringtag/index.d.ts +0 -3
- package/node_modules/has-tostringtag/index.js +0 -8
- package/node_modules/has-tostringtag/package.json +0 -108
- package/node_modules/has-tostringtag/shams.d.ts +0 -3
- package/node_modules/has-tostringtag/shams.js +0 -8
- package/node_modules/has-tostringtag/test/index.js +0 -21
- package/node_modules/has-tostringtag/test/shams/core-js.js +0 -31
- package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +0 -30
- package/node_modules/has-tostringtag/test/tests.js +0 -15
- package/node_modules/has-tostringtag/tsconfig.json +0 -49
- package/node_modules/hasown/.github/FUNDING.yml +0 -12
- package/node_modules/hasown/.nycrc +0 -13
- package/node_modules/hasown/CHANGELOG.md +0 -58
- package/node_modules/hasown/LICENSE +0 -21
- package/node_modules/hasown/README.md +0 -40
- package/node_modules/hasown/eslint.config.mjs +0 -6
- package/node_modules/hasown/index.d.ts +0 -3
- package/node_modules/hasown/index.js +0 -8
- package/node_modules/hasown/package.json +0 -91
- package/node_modules/hasown/tsconfig.json +0 -6
- package/node_modules/internal-slot/.attw.json +0 -5
- package/node_modules/internal-slot/.editorconfig +0 -20
- package/node_modules/internal-slot/.eslintrc +0 -11
- package/node_modules/internal-slot/.github/FUNDING.yml +0 -12
- package/node_modules/internal-slot/.nycrc +0 -9
- package/node_modules/internal-slot/CHANGELOG.md +0 -114
- package/node_modules/internal-slot/LICENSE +0 -21
- package/node_modules/internal-slot/README.md +0 -58
- package/node_modules/internal-slot/index.d.ts +0 -12
- package/node_modules/internal-slot/index.js +0 -69
- package/node_modules/internal-slot/package.json +0 -79
- package/node_modules/internal-slot/test/index.js +0 -129
- package/node_modules/internal-slot/tsconfig.json +0 -9
- package/node_modules/is-array-buffer/.eslintrc +0 -17
- package/node_modules/is-array-buffer/.github/FUNDING.yml +0 -12
- package/node_modules/is-array-buffer/.nycrc +0 -9
- package/node_modules/is-array-buffer/CHANGELOG.md +0 -91
- package/node_modules/is-array-buffer/LICENSE +0 -21
- package/node_modules/is-array-buffer/README.md +0 -56
- package/node_modules/is-array-buffer/index.d.ts +0 -3
- package/node_modules/is-array-buffer/index.js +0 -43
- package/node_modules/is-array-buffer/package.json +0 -91
- package/node_modules/is-array-buffer/test/index.js +0 -49
- package/node_modules/is-array-buffer/tsconfig.json +0 -9
- package/node_modules/is-async-function/.eslintrc +0 -9
- package/node_modules/is-async-function/.nycrc +0 -9
- package/node_modules/is-async-function/CHANGELOG.md +0 -189
- package/node_modules/is-async-function/LICENSE +0 -20
- package/node_modules/is-async-function/README.md +0 -41
- package/node_modules/is-async-function/index.d.ts +0 -9
- package/node_modules/is-async-function/index.js +0 -32
- package/node_modules/is-async-function/package.json +0 -110
- package/node_modules/is-async-function/test/index.js +0 -91
- package/node_modules/is-async-function/test/uglified.js +0 -9
- package/node_modules/is-async-function/tsconfig.json +0 -10
- package/node_modules/is-bigint/.eslintrc +0 -5
- package/node_modules/is-bigint/.github/FUNDING.yml +0 -12
- package/node_modules/is-bigint/.nycrc +0 -9
- package/node_modules/is-bigint/CHANGELOG.md +0 -91
- package/node_modules/is-bigint/LICENSE +0 -21
- package/node_modules/is-bigint/README.md +0 -44
- package/node_modules/is-bigint/index.d.ts +0 -3
- package/node_modules/is-bigint/index.js +0 -41
- package/node_modules/is-bigint/package.json +0 -78
- package/node_modules/is-bigint/test/index.js +0 -65
- package/node_modules/is-bigint/tsconfig.json +0 -9
- package/node_modules/is-boolean-object/.editorconfig +0 -22
- package/node_modules/is-boolean-object/.eslintrc +0 -12
- package/node_modules/is-boolean-object/.github/FUNDING.yml +0 -12
- package/node_modules/is-boolean-object/.nycrc +0 -10
- package/node_modules/is-boolean-object/CHANGELOG.md +0 -143
- package/node_modules/is-boolean-object/LICENSE +0 -22
- package/node_modules/is-boolean-object/README.md +0 -57
- package/node_modules/is-boolean-object/index.d.ts +0 -3
- package/node_modules/is-boolean-object/index.js +0 -28
- package/node_modules/is-boolean-object/package.json +0 -100
- package/node_modules/is-boolean-object/test/index.js +0 -73
- package/node_modules/is-boolean-object/tsconfig.json +0 -9
- package/node_modules/is-callable/.editorconfig +0 -31
- package/node_modules/is-callable/.eslintrc +0 -10
- package/node_modules/is-callable/.github/FUNDING.yml +0 -12
- package/node_modules/is-callable/.nycrc +0 -9
- package/node_modules/is-callable/CHANGELOG.md +0 -158
- package/node_modules/is-callable/LICENSE +0 -22
- package/node_modules/is-callable/README.md +0 -83
- package/node_modules/is-callable/index.js +0 -101
- package/node_modules/is-callable/package.json +0 -106
- package/node_modules/is-callable/test/index.js +0 -244
- package/node_modules/is-data-view/.editorconfig +0 -20
- package/node_modules/is-data-view/.eslintrc +0 -17
- package/node_modules/is-data-view/.github/FUNDING.yml +0 -12
- package/node_modules/is-data-view/.nycrc +0 -9
- package/node_modules/is-data-view/CHANGELOG.md +0 -35
- package/node_modules/is-data-view/LICENSE +0 -21
- package/node_modules/is-data-view/README.md +0 -69
- package/node_modules/is-data-view/index.d.ts +0 -3
- package/node_modules/is-data-view/index.js +0 -39
- package/node_modules/is-data-view/package.json +0 -100
- package/node_modules/is-data-view/test/index.js +0 -60
- package/node_modules/is-data-view/tsconfig.json +0 -9
- package/node_modules/is-date-object/.editorconfig +0 -20
- package/node_modules/is-date-object/.eslintrc +0 -9
- package/node_modules/is-date-object/.github/FUNDING.yml +0 -12
- package/node_modules/is-date-object/.nycrc +0 -10
- package/node_modules/is-date-object/CHANGELOG.md +0 -134
- package/node_modules/is-date-object/LICENSE +0 -22
- package/node_modules/is-date-object/README.md +0 -52
- package/node_modules/is-date-object/index.d.ts +0 -3
- package/node_modules/is-date-object/index.js +0 -27
- package/node_modules/is-date-object/package.json +0 -99
- package/node_modules/is-date-object/test/index.js +0 -38
- package/node_modules/is-date-object/tsconfig.json +0 -6
- package/node_modules/is-document.all/.github/FUNDING.yml +0 -12
- package/node_modules/is-document.all/.nycrc +0 -9
- package/node_modules/is-document.all/CHANGELOG.md +0 -13
- package/node_modules/is-document.all/LICENSE +0 -21
- package/node_modules/is-document.all/README.md +0 -40
- package/node_modules/is-document.all/eslint.config.mjs +0 -10
- package/node_modules/is-document.all/index.d.ts +0 -3
- package/node_modules/is-document.all/index.js +0 -37
- package/node_modules/is-document.all/package.json +0 -85
- package/node_modules/is-document.all/test/index.js +0 -52
- package/node_modules/is-document.all/tsconfig.json +0 -9
- package/node_modules/is-finalizationregistry/.eslintrc +0 -9
- package/node_modules/is-finalizationregistry/.github/FUNDING.yml +0 -12
- package/node_modules/is-finalizationregistry/.nycrc +0 -9
- package/node_modules/is-finalizationregistry/CHANGELOG.md +0 -78
- package/node_modules/is-finalizationregistry/LICENSE +0 -21
- package/node_modules/is-finalizationregistry/README.md +0 -54
- package/node_modules/is-finalizationregistry/index.d.ts +0 -3
- package/node_modules/is-finalizationregistry/index.js +0 -25
- package/node_modules/is-finalizationregistry/package.json +0 -82
- package/node_modules/is-finalizationregistry/test/index.js +0 -26
- package/node_modules/is-finalizationregistry/tsconfig.json +0 -9
- package/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
- package/node_modules/is-fullwidth-code-point/index.js +0 -50
- package/node_modules/is-fullwidth-code-point/license +0 -9
- package/node_modules/is-fullwidth-code-point/package.json +0 -42
- package/node_modules/is-fullwidth-code-point/readme.md +0 -39
- package/node_modules/is-generator-function/.eslintrc +0 -9
- package/node_modules/is-generator-function/.nvmrc +0 -1
- package/node_modules/is-generator-function/.nycrc +0 -9
- package/node_modules/is-generator-function/CHANGELOG.md +0 -254
- package/node_modules/is-generator-function/LICENSE +0 -20
- package/node_modules/is-generator-function/README.md +0 -40
- package/node_modules/is-generator-function/index.d.ts +0 -3
- package/node_modules/is-generator-function/index.js +0 -31
- package/node_modules/is-generator-function/package.json +0 -107
- package/node_modules/is-generator-function/test/corejs.js +0 -6
- package/node_modules/is-generator-function/test/index.js +0 -80
- package/node_modules/is-generator-function/test/uglified.js +0 -9
- package/node_modules/is-generator-function/tsconfig.json +0 -9
- package/node_modules/is-map/.editorconfig +0 -15
- package/node_modules/is-map/.eslintrc +0 -5
- package/node_modules/is-map/.gitattributes +0 -1
- package/node_modules/is-map/.github/FUNDING.yml +0 -12
- package/node_modules/is-map/.nycrc +0 -9
- package/node_modules/is-map/CHANGELOG.md +0 -89
- package/node_modules/is-map/LICENSE +0 -21
- package/node_modules/is-map/README.md +0 -52
- package/node_modules/is-map/index.d.ts +0 -3
- package/node_modules/is-map/index.js +0 -47
- package/node_modules/is-map/package.json +0 -79
- package/node_modules/is-map/test/index.js +0 -59
- package/node_modules/is-map/tsconfig.json +0 -49
- package/node_modules/is-negative-zero/.editorconfig +0 -8
- package/node_modules/is-negative-zero/.eslintrc +0 -9
- package/node_modules/is-negative-zero/.github/FUNDING.yml +0 -12
- package/node_modules/is-negative-zero/.nycrc +0 -9
- package/node_modules/is-negative-zero/CHANGELOG.md +0 -147
- package/node_modules/is-negative-zero/LICENSE +0 -20
- package/node_modules/is-negative-zero/README.md +0 -54
- package/node_modules/is-negative-zero/index.d.ts +0 -3
- package/node_modules/is-negative-zero/index.js +0 -7
- package/node_modules/is-negative-zero/package.json +0 -92
- package/node_modules/is-negative-zero/test/index.js +0 -29
- package/node_modules/is-negative-zero/tsconfig.json +0 -49
- package/node_modules/is-number-object/.editorconfig +0 -23
- package/node_modules/is-number-object/.eslintrc +0 -16
- package/node_modules/is-number-object/.github/FUNDING.yml +0 -12
- package/node_modules/is-number-object/.nycrc +0 -10
- package/node_modules/is-number-object/CHANGELOG.md +0 -149
- package/node_modules/is-number-object/LICENSE +0 -22
- package/node_modules/is-number-object/README.md +0 -55
- package/node_modules/is-number-object/index.d.ts +0 -3
- package/node_modules/is-number-object/index.js +0 -29
- package/node_modules/is-number-object/package.json +0 -85
- package/node_modules/is-number-object/test/index.js +0 -40
- package/node_modules/is-number-object/tsconfig.json +0 -9
- package/node_modules/is-regex/.editorconfig +0 -23
- package/node_modules/is-regex/.eslintrc +0 -10
- package/node_modules/is-regex/.nycrc +0 -10
- package/node_modules/is-regex/CHANGELOG.md +0 -233
- package/node_modules/is-regex/LICENSE +0 -20
- package/node_modules/is-regex/README.md +0 -52
- package/node_modules/is-regex/index.d.ts +0 -3
- package/node_modules/is-regex/index.js +0 -69
- package/node_modules/is-regex/package.json +0 -104
- package/node_modules/is-regex/test/index.js +0 -121
- package/node_modules/is-regex/tsconfig.json +0 -9
- package/node_modules/is-set/.editorconfig +0 -15
- package/node_modules/is-set/.eslintrc +0 -5
- package/node_modules/is-set/.gitattributes +0 -1
- package/node_modules/is-set/.github/FUNDING.yml +0 -12
- package/node_modules/is-set/.nycrc +0 -9
- package/node_modules/is-set/CHANGELOG.md +0 -81
- package/node_modules/is-set/LICENSE +0 -21
- package/node_modules/is-set/README.md +0 -50
- package/node_modules/is-set/index.d.ts +0 -3
- package/node_modules/is-set/index.js +0 -46
- package/node_modules/is-set/package.json +0 -72
- package/node_modules/is-set/test/index.js +0 -59
- package/node_modules/is-set/tsconfig.json +0 -49
- package/node_modules/is-shared-array-buffer/.eslintrc +0 -5
- package/node_modules/is-shared-array-buffer/.github/FUNDING.yml +0 -12
- package/node_modules/is-shared-array-buffer/.nycrc +0 -9
- package/node_modules/is-shared-array-buffer/CHANGELOG.md +0 -75
- package/node_modules/is-shared-array-buffer/LICENSE +0 -21
- package/node_modules/is-shared-array-buffer/README.md +0 -56
- package/node_modules/is-shared-array-buffer/index.d.ts +0 -3
- package/node_modules/is-shared-array-buffer/index.js +0 -24
- package/node_modules/is-shared-array-buffer/package.json +0 -92
- package/node_modules/is-shared-array-buffer/test/index.js +0 -39
- package/node_modules/is-shared-array-buffer/tsconfig.json +0 -9
- package/node_modules/is-string/.eslintrc +0 -9
- package/node_modules/is-string/.github/FUNDING.yml +0 -12
- package/node_modules/is-string/.nycrc +0 -10
- package/node_modules/is-string/CHANGELOG.md +0 -146
- package/node_modules/is-string/LICENSE +0 -22
- package/node_modules/is-string/README.md +0 -56
- package/node_modules/is-string/index.d.ts +0 -3
- package/node_modules/is-string/index.js +0 -31
- package/node_modules/is-string/package.json +0 -95
- package/node_modules/is-string/test/index.js +0 -41
- package/node_modules/is-string/tsconfig.json +0 -9
- package/node_modules/is-symbol/.editorconfig +0 -13
- package/node_modules/is-symbol/.eslintrc +0 -14
- package/node_modules/is-symbol/.github/FUNDING.yml +0 -12
- package/node_modules/is-symbol/.nycrc +0 -9
- package/node_modules/is-symbol/CHANGELOG.md +0 -145
- package/node_modules/is-symbol/LICENSE +0 -22
- package/node_modules/is-symbol/README.md +0 -45
- package/node_modules/is-symbol/index.d.ts +0 -3
- package/node_modules/is-symbol/index.js +0 -40
- package/node_modules/is-symbol/package.json +0 -98
- package/node_modules/is-symbol/test/index.js +0 -88
- package/node_modules/is-symbol/tsconfig.json +0 -9
- package/node_modules/is-typed-array/.editorconfig +0 -20
- package/node_modules/is-typed-array/.eslintrc +0 -13
- package/node_modules/is-typed-array/.github/FUNDING.yml +0 -12
- package/node_modules/is-typed-array/.nycrc +0 -9
- package/node_modules/is-typed-array/CHANGELOG.md +0 -166
- package/node_modules/is-typed-array/LICENSE +0 -22
- package/node_modules/is-typed-array/README.md +0 -70
- package/node_modules/is-typed-array/index.d.ts +0 -9
- package/node_modules/is-typed-array/index.js +0 -8
- package/node_modules/is-typed-array/package.json +0 -129
- package/node_modules/is-typed-array/test/index.js +0 -111
- package/node_modules/is-typed-array/tsconfig.json +0 -6
- package/node_modules/is-weakmap/.editorconfig +0 -15
- package/node_modules/is-weakmap/.eslintrc +0 -5
- package/node_modules/is-weakmap/.github/FUNDING.yml +0 -12
- package/node_modules/is-weakmap/.nycrc +0 -9
- package/node_modules/is-weakmap/CHANGELOG.md +0 -83
- package/node_modules/is-weakmap/LICENSE +0 -21
- package/node_modules/is-weakmap/README.md +0 -50
- package/node_modules/is-weakmap/index.d.ts +0 -3
- package/node_modules/is-weakmap/index.js +0 -46
- package/node_modules/is-weakmap/package.json +0 -81
- package/node_modules/is-weakmap/test/index.js +0 -59
- package/node_modules/is-weakmap/tsconfig.json +0 -49
- package/node_modules/is-weakref/.eslintrc +0 -5
- package/node_modules/is-weakref/.github/FUNDING.yml +0 -12
- package/node_modules/is-weakref/.nycrc +0 -9
- package/node_modules/is-weakref/CHANGELOG.md +0 -82
- package/node_modules/is-weakref/LICENSE +0 -21
- package/node_modules/is-weakref/README.md +0 -52
- package/node_modules/is-weakref/index.d.ts +0 -3
- package/node_modules/is-weakref/index.js +0 -24
- package/node_modules/is-weakref/package.json +0 -82
- package/node_modules/is-weakref/test/index.js +0 -26
- package/node_modules/is-weakref/tsconfig.json +0 -9
- package/node_modules/is-weakset/.editorconfig +0 -15
- package/node_modules/is-weakset/.eslintrc +0 -13
- package/node_modules/is-weakset/.gitattributes +0 -1
- package/node_modules/is-weakset/.github/FUNDING.yml +0 -12
- package/node_modules/is-weakset/.nycrc +0 -9
- package/node_modules/is-weakset/CHANGELOG.md +0 -107
- package/node_modules/is-weakset/LICENSE +0 -21
- package/node_modules/is-weakset/README.md +0 -50
- package/node_modules/is-weakset/index.d.ts +0 -3
- package/node_modules/is-weakset/index.js +0 -43
- package/node_modules/is-weakset/package.json +0 -87
- package/node_modules/is-weakset/test/index.js +0 -59
- package/node_modules/is-weakset/tsconfig.json +0 -9
- package/node_modules/isarray/LICENSE +0 -21
- package/node_modules/isarray/README.md +0 -38
- package/node_modules/isarray/index.js +0 -5
- package/node_modules/isarray/package.json +0 -48
- package/node_modules/kleur/colors.d.ts +0 -38
- package/node_modules/kleur/colors.js +0 -53
- package/node_modules/kleur/colors.mjs +0 -53
- package/node_modules/kleur/index.d.ts +0 -45
- package/node_modules/kleur/index.js +0 -110
- package/node_modules/kleur/index.mjs +0 -110
- package/node_modules/kleur/license +0 -21
- package/node_modules/kleur/package.json +0 -51
- package/node_modules/kleur/readme.md +0 -232
- package/node_modules/locate-path/index.d.ts +0 -83
- package/node_modules/locate-path/index.js +0 -65
- package/node_modules/locate-path/license +0 -9
- package/node_modules/locate-path/package.json +0 -45
- package/node_modules/locate-path/readme.md +0 -122
- package/node_modules/math-intrinsics/.eslintrc +0 -16
- package/node_modules/math-intrinsics/.github/FUNDING.yml +0 -12
- package/node_modules/math-intrinsics/CHANGELOG.md +0 -24
- package/node_modules/math-intrinsics/LICENSE +0 -21
- package/node_modules/math-intrinsics/README.md +0 -50
- package/node_modules/math-intrinsics/abs.d.ts +0 -1
- package/node_modules/math-intrinsics/abs.js +0 -4
- package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +0 -3
- package/node_modules/math-intrinsics/constants/maxArrayLength.js +0 -4
- package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +0 -3
- package/node_modules/math-intrinsics/constants/maxSafeInteger.js +0 -5
- package/node_modules/math-intrinsics/constants/maxValue.d.ts +0 -3
- package/node_modules/math-intrinsics/constants/maxValue.js +0 -5
- package/node_modules/math-intrinsics/floor.d.ts +0 -1
- package/node_modules/math-intrinsics/floor.js +0 -4
- package/node_modules/math-intrinsics/isFinite.d.ts +0 -3
- package/node_modules/math-intrinsics/isFinite.js +0 -12
- package/node_modules/math-intrinsics/isInteger.d.ts +0 -3
- package/node_modules/math-intrinsics/isInteger.js +0 -16
- package/node_modules/math-intrinsics/isNaN.d.ts +0 -1
- package/node_modules/math-intrinsics/isNaN.js +0 -6
- package/node_modules/math-intrinsics/isNegativeZero.d.ts +0 -3
- package/node_modules/math-intrinsics/isNegativeZero.js +0 -6
- package/node_modules/math-intrinsics/max.d.ts +0 -1
- package/node_modules/math-intrinsics/max.js +0 -4
- package/node_modules/math-intrinsics/min.d.ts +0 -1
- package/node_modules/math-intrinsics/min.js +0 -4
- package/node_modules/math-intrinsics/mod.d.ts +0 -3
- package/node_modules/math-intrinsics/mod.js +0 -9
- package/node_modules/math-intrinsics/package.json +0 -86
- package/node_modules/math-intrinsics/pow.d.ts +0 -1
- package/node_modules/math-intrinsics/pow.js +0 -4
- package/node_modules/math-intrinsics/round.d.ts +0 -1
- package/node_modules/math-intrinsics/round.js +0 -4
- package/node_modules/math-intrinsics/sign.d.ts +0 -3
- package/node_modules/math-intrinsics/sign.js +0 -11
- package/node_modules/math-intrinsics/test/index.js +0 -192
- package/node_modules/math-intrinsics/tsconfig.json +0 -3
- package/node_modules/object-inspect/.eslintrc +0 -53
- package/node_modules/object-inspect/.github/FUNDING.yml +0 -12
- package/node_modules/object-inspect/.nycrc +0 -13
- package/node_modules/object-inspect/CHANGELOG.md +0 -424
- package/node_modules/object-inspect/LICENSE +0 -21
- package/node_modules/object-inspect/example/all.js +0 -23
- package/node_modules/object-inspect/example/circular.js +0 -6
- package/node_modules/object-inspect/example/fn.js +0 -5
- package/node_modules/object-inspect/example/inspect.js +0 -10
- package/node_modules/object-inspect/index.js +0 -544
- package/node_modules/object-inspect/package-support.json +0 -20
- package/node_modules/object-inspect/package.json +0 -105
- package/node_modules/object-inspect/readme.markdown +0 -84
- package/node_modules/object-inspect/test/bigint.js +0 -58
- package/node_modules/object-inspect/test/browser/dom.js +0 -15
- package/node_modules/object-inspect/test/circular.js +0 -16
- package/node_modules/object-inspect/test/deep.js +0 -12
- package/node_modules/object-inspect/test/element.js +0 -53
- package/node_modules/object-inspect/test/err.js +0 -48
- package/node_modules/object-inspect/test/fakes.js +0 -29
- package/node_modules/object-inspect/test/fn.js +0 -76
- package/node_modules/object-inspect/test/global.js +0 -17
- package/node_modules/object-inspect/test/has.js +0 -15
- package/node_modules/object-inspect/test/holes.js +0 -15
- package/node_modules/object-inspect/test/indent-option.js +0 -271
- package/node_modules/object-inspect/test/inspect.js +0 -139
- package/node_modules/object-inspect/test/lowbyte.js +0 -12
- package/node_modules/object-inspect/test/number.js +0 -58
- package/node_modules/object-inspect/test/quoteStyle.js +0 -26
- package/node_modules/object-inspect/test/toStringTag.js +0 -40
- package/node_modules/object-inspect/test/undef.js +0 -12
- package/node_modules/object-inspect/test/values.js +0 -261
- package/node_modules/object-inspect/test-core-js.js +0 -26
- package/node_modules/object-inspect/util.inspect.js +0 -1
- package/node_modules/object-keys/.editorconfig +0 -13
- package/node_modules/object-keys/.eslintrc +0 -17
- package/node_modules/object-keys/.travis.yml +0 -277
- package/node_modules/object-keys/CHANGELOG.md +0 -232
- package/node_modules/object-keys/LICENSE +0 -21
- package/node_modules/object-keys/README.md +0 -76
- package/node_modules/object-keys/implementation.js +0 -122
- package/node_modules/object-keys/index.js +0 -32
- package/node_modules/object-keys/isArguments.js +0 -17
- package/node_modules/object-keys/package.json +0 -88
- package/node_modules/object-keys/test/index.js +0 -5
- package/node_modules/object.assign/.editorconfig +0 -20
- package/node_modules/object.assign/.eslintrc +0 -28
- package/node_modules/object.assign/.github/FUNDING.yml +0 -12
- package/node_modules/object.assign/.nycrc +0 -9
- package/node_modules/object.assign/CHANGELOG.md +0 -246
- package/node_modules/object.assign/LICENSE +0 -21
- package/node_modules/object.assign/README.md +0 -136
- package/node_modules/object.assign/auto.js +0 -3
- package/node_modules/object.assign/dist/browser.js +0 -1304
- package/node_modules/object.assign/hasSymbols.js +0 -43
- package/node_modules/object.assign/implementation.js +0 -46
- package/node_modules/object.assign/index.js +0 -22
- package/node_modules/object.assign/package.json +0 -96
- package/node_modules/object.assign/polyfill.js +0 -55
- package/node_modules/object.assign/shim.js +0 -14
- package/node_modules/object.assign/test/implementation.js +0 -19
- package/node_modules/object.assign/test/index.js +0 -17
- package/node_modules/object.assign/test/native.js +0 -49
- package/node_modules/object.assign/test/ses-compat.js +0 -12
- package/node_modules/object.assign/test/shimmed.js +0 -52
- package/node_modules/object.assign/test/tests.js +0 -232
- package/node_modules/own-keys/.eslintrc +0 -16
- package/node_modules/own-keys/.github/FUNDING.yml +0 -12
- package/node_modules/own-keys/.nycrc +0 -9
- package/node_modules/own-keys/CHANGELOG.md +0 -33
- package/node_modules/own-keys/LICENSE +0 -21
- package/node_modules/own-keys/README.md +0 -45
- package/node_modules/own-keys/index.d.ts +0 -3
- package/node_modules/own-keys/index.js +0 -82
- package/node_modules/own-keys/package.json +0 -93
- package/node_modules/own-keys/test/index.js +0 -82
- package/node_modules/own-keys/tsconfig.json +0 -10
- package/node_modules/p-limit/index.d.ts +0 -38
- package/node_modules/p-limit/index.js +0 -57
- package/node_modules/p-limit/license +0 -9
- package/node_modules/p-limit/package.json +0 -52
- package/node_modules/p-limit/readme.md +0 -101
- package/node_modules/p-locate/index.d.ts +0 -64
- package/node_modules/p-locate/index.js +0 -52
- package/node_modules/p-locate/license +0 -9
- package/node_modules/p-locate/package.json +0 -53
- package/node_modules/p-locate/readme.md +0 -90
- package/node_modules/p-try/index.d.ts +0 -39
- package/node_modules/p-try/index.js +0 -9
- package/node_modules/p-try/license +0 -9
- package/node_modules/p-try/package.json +0 -42
- package/node_modules/p-try/readme.md +0 -58
- package/node_modules/path-exists/index.d.ts +0 -28
- package/node_modules/path-exists/index.js +0 -23
- package/node_modules/path-exists/license +0 -9
- package/node_modules/path-exists/package.json +0 -39
- package/node_modules/path-exists/readme.md +0 -52
- package/node_modules/possible-typed-array-names/.eslintrc +0 -5
- package/node_modules/possible-typed-array-names/.github/FUNDING.yml +0 -12
- package/node_modules/possible-typed-array-names/CHANGELOG.md +0 -29
- package/node_modules/possible-typed-array-names/LICENSE +0 -21
- package/node_modules/possible-typed-array-names/README.md +0 -50
- package/node_modules/possible-typed-array-names/index.d.ts +0 -16
- package/node_modules/possible-typed-array-names/index.js +0 -17
- package/node_modules/possible-typed-array-names/package.json +0 -84
- package/node_modules/possible-typed-array-names/test/index.js +0 -19
- package/node_modules/possible-typed-array-names/tsconfig.json +0 -9
- package/node_modules/reflect.getprototypeof/.eslintrc +0 -17
- package/node_modules/reflect.getprototypeof/.nycrc +0 -9
- package/node_modules/reflect.getprototypeof/CHANGELOG.md +0 -115
- package/node_modules/reflect.getprototypeof/LICENSE +0 -21
- package/node_modules/reflect.getprototypeof/README.md +0 -77
- package/node_modules/reflect.getprototypeof/auto.js +0 -3
- package/node_modules/reflect.getprototypeof/implementation.js +0 -40
- package/node_modules/reflect.getprototypeof/index.js +0 -18
- package/node_modules/reflect.getprototypeof/package.json +0 -98
- package/node_modules/reflect.getprototypeof/polyfill.js +0 -14
- package/node_modules/reflect.getprototypeof/shim.js +0 -21
- package/node_modules/reflect.getprototypeof/test/implementation.js +0 -11
- package/node_modules/reflect.getprototypeof/test/index.js +0 -11
- package/node_modules/reflect.getprototypeof/test/shimmed.js +0 -28
- package/node_modules/reflect.getprototypeof/test/tests.js +0 -33
- package/node_modules/regexp.prototype.flags/.editorconfig +0 -13
- package/node_modules/regexp.prototype.flags/.eslintrc +0 -20
- package/node_modules/regexp.prototype.flags/.nycrc +0 -9
- package/node_modules/regexp.prototype.flags/CHANGELOG.md +0 -249
- package/node_modules/regexp.prototype.flags/LICENSE +0 -22
- package/node_modules/regexp.prototype.flags/README.md +0 -55
- package/node_modules/regexp.prototype.flags/auto.js +0 -3
- package/node_modules/regexp.prototype.flags/implementation.js +0 -39
- package/node_modules/regexp.prototype.flags/index.js +0 -18
- package/node_modules/regexp.prototype.flags/package.json +0 -105
- package/node_modules/regexp.prototype.flags/polyfill.js +0 -39
- package/node_modules/regexp.prototype.flags/shim.js +0 -26
- package/node_modules/regexp.prototype.flags/test/builtin.js +0 -46
- package/node_modules/regexp.prototype.flags/test/implementation.js +0 -20
- package/node_modules/regexp.prototype.flags/test/index.js +0 -17
- package/node_modules/regexp.prototype.flags/test/shimmed.js +0 -48
- package/node_modules/regexp.prototype.flags/test/tests.js +0 -143
- package/node_modules/require-directory/.jshintrc +0 -67
- package/node_modules/require-directory/.npmignore +0 -1
- package/node_modules/require-directory/.travis.yml +0 -3
- package/node_modules/require-directory/LICENSE +0 -22
- package/node_modules/require-directory/README.markdown +0 -184
- package/node_modules/require-directory/index.js +0 -86
- package/node_modules/require-directory/package.json +0 -40
- package/node_modules/require-main-filename/LICENSE.txt +0 -14
- package/node_modules/require-main-filename/README.md +0 -26
- package/node_modules/require-main-filename/index.js +0 -18
- package/node_modules/require-main-filename/package.json +0 -35
- package/node_modules/safe-array-concat/.eslintrc +0 -15
- package/node_modules/safe-array-concat/.github/FUNDING.yml +0 -12
- package/node_modules/safe-array-concat/.nycrc +0 -13
- package/node_modules/safe-array-concat/CHANGELOG.md +0 -81
- package/node_modules/safe-array-concat/LICENSE +0 -21
- package/node_modules/safe-array-concat/README.md +0 -53
- package/node_modules/safe-array-concat/index.d.ts +0 -6
- package/node_modules/safe-array-concat/index.js +0 -43
- package/node_modules/safe-array-concat/package.json +0 -89
- package/node_modules/safe-array-concat/test/index.js +0 -100
- package/node_modules/safe-array-concat/tsconfig.json +0 -9
- package/node_modules/safe-push-apply/.eslintrc +0 -15
- package/node_modules/safe-push-apply/.github/FUNDING.yml +0 -12
- package/node_modules/safe-push-apply/.nycrc +0 -13
- package/node_modules/safe-push-apply/CHANGELOG.md +0 -15
- package/node_modules/safe-push-apply/LICENSE +0 -21
- package/node_modules/safe-push-apply/README.md +0 -59
- package/node_modules/safe-push-apply/index.d.ts +0 -6
- package/node_modules/safe-push-apply/index.js +0 -15
- package/node_modules/safe-push-apply/package.json +0 -82
- package/node_modules/safe-push-apply/test/index.js +0 -30
- package/node_modules/safe-push-apply/tsconfig.json +0 -9
- package/node_modules/safe-regex-test/.eslintrc +0 -9
- package/node_modules/safe-regex-test/.github/FUNDING.yml +0 -12
- package/node_modules/safe-regex-test/.nycrc +0 -13
- package/node_modules/safe-regex-test/CHANGELOG.md +0 -55
- package/node_modules/safe-regex-test/LICENSE +0 -21
- package/node_modules/safe-regex-test/README.md +0 -46
- package/node_modules/safe-regex-test/index.d.ts +0 -3
- package/node_modules/safe-regex-test/index.js +0 -17
- package/node_modules/safe-regex-test/package.json +0 -87
- package/node_modules/safe-regex-test/test/index.js +0 -41
- package/node_modules/safe-regex-test/tsconfig.json +0 -9
- package/node_modules/set-blocking/LICENSE.txt +0 -14
- package/node_modules/set-blocking/README.md +0 -31
- package/node_modules/set-blocking/index.js +0 -7
- package/node_modules/set-blocking/package.json +0 -42
- package/node_modules/set-function-length/.eslintrc +0 -27
- package/node_modules/set-function-length/.github/FUNDING.yml +0 -12
- package/node_modules/set-function-length/.nycrc +0 -13
- package/node_modules/set-function-length/CHANGELOG.md +0 -70
- package/node_modules/set-function-length/LICENSE +0 -21
- package/node_modules/set-function-length/README.md +0 -56
- package/node_modules/set-function-length/env.d.ts +0 -9
- package/node_modules/set-function-length/env.js +0 -25
- package/node_modules/set-function-length/index.d.ts +0 -7
- package/node_modules/set-function-length/index.js +0 -42
- package/node_modules/set-function-length/package.json +0 -102
- package/node_modules/set-function-length/tsconfig.json +0 -9
- package/node_modules/set-function-name/.eslintrc +0 -21
- package/node_modules/set-function-name/.github/FUNDING.yml +0 -12
- package/node_modules/set-function-name/CHANGELOG.md +0 -48
- package/node_modules/set-function-name/LICENSE +0 -21
- package/node_modules/set-function-name/README.md +0 -61
- package/node_modules/set-function-name/index.d.ts +0 -5
- package/node_modules/set-function-name/index.js +0 -23
- package/node_modules/set-function-name/package.json +0 -99
- package/node_modules/set-function-name/tsconfig.json +0 -59
- package/node_modules/set-proto/.eslintrc +0 -10
- package/node_modules/set-proto/.github/FUNDING.yml +0 -12
- package/node_modules/set-proto/.nycrc +0 -9
- package/node_modules/set-proto/CHANGELOG.md +0 -15
- package/node_modules/set-proto/LICENSE +0 -21
- package/node_modules/set-proto/Object.setPrototypeOf.d.ts +0 -8
- package/node_modules/set-proto/Object.setPrototypeOf.js +0 -6
- package/node_modules/set-proto/README.md +0 -52
- package/node_modules/set-proto/Reflect.setPrototypeOf.d.ts +0 -3
- package/node_modules/set-proto/Reflect.setPrototypeOf.js +0 -4
- package/node_modules/set-proto/index.d.ts +0 -8
- package/node_modules/set-proto/index.js +0 -25
- package/node_modules/set-proto/package.json +0 -82
- package/node_modules/set-proto/test/index.js +0 -40
- package/node_modules/set-proto/tsconfig.json +0 -9
- package/node_modules/side-channel/.editorconfig +0 -9
- package/node_modules/side-channel/.eslintrc +0 -12
- package/node_modules/side-channel/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel/.nycrc +0 -13
- package/node_modules/side-channel/CHANGELOG.md +0 -120
- package/node_modules/side-channel/LICENSE +0 -21
- package/node_modules/side-channel/README.md +0 -61
- package/node_modules/side-channel/index.d.ts +0 -14
- package/node_modules/side-channel/index.js +0 -46
- package/node_modules/side-channel/package.json +0 -85
- package/node_modules/side-channel/test/index.js +0 -120
- package/node_modules/side-channel/tsconfig.json +0 -9
- package/node_modules/side-channel-list/.editorconfig +0 -9
- package/node_modules/side-channel-list/.eslintrc +0 -11
- package/node_modules/side-channel-list/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel-list/.nycrc +0 -13
- package/node_modules/side-channel-list/CHANGELOG.md +0 -36
- package/node_modules/side-channel-list/LICENSE +0 -21
- package/node_modules/side-channel-list/README.md +0 -62
- package/node_modules/side-channel-list/index.d.ts +0 -13
- package/node_modules/side-channel-list/index.js +0 -111
- package/node_modules/side-channel-list/list.d.ts +0 -14
- package/node_modules/side-channel-list/package.json +0 -77
- package/node_modules/side-channel-list/test/index.js +0 -154
- package/node_modules/side-channel-list/tsconfig.json +0 -9
- package/node_modules/side-channel-map/.editorconfig +0 -9
- package/node_modules/side-channel-map/.eslintrc +0 -11
- package/node_modules/side-channel-map/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel-map/.nycrc +0 -13
- package/node_modules/side-channel-map/CHANGELOG.md +0 -22
- package/node_modules/side-channel-map/LICENSE +0 -21
- package/node_modules/side-channel-map/README.md +0 -62
- package/node_modules/side-channel-map/index.d.ts +0 -15
- package/node_modules/side-channel-map/index.js +0 -68
- package/node_modules/side-channel-map/package.json +0 -80
- package/node_modules/side-channel-map/test/index.js +0 -114
- package/node_modules/side-channel-map/tsconfig.json +0 -9
- package/node_modules/side-channel-weakmap/.editorconfig +0 -9
- package/node_modules/side-channel-weakmap/.eslintrc +0 -12
- package/node_modules/side-channel-weakmap/.github/FUNDING.yml +0 -12
- package/node_modules/side-channel-weakmap/.nycrc +0 -13
- package/node_modules/side-channel-weakmap/CHANGELOG.md +0 -28
- package/node_modules/side-channel-weakmap/LICENSE +0 -21
- package/node_modules/side-channel-weakmap/README.md +0 -62
- package/node_modules/side-channel-weakmap/index.d.ts +0 -15
- package/node_modules/side-channel-weakmap/index.js +0 -84
- package/node_modules/side-channel-weakmap/package.json +0 -87
- package/node_modules/side-channel-weakmap/test/index.js +0 -114
- package/node_modules/side-channel-weakmap/tsconfig.json +0 -9
- package/node_modules/smartwrap/.editorconfig +0 -15
- package/node_modules/smartwrap/.eslintrc.js +0 -60
- package/node_modules/smartwrap/.huskyrc.js +0 -10
- package/node_modules/smartwrap/.jshintrc +0 -81
- package/node_modules/smartwrap/.travis.yml +0 -40
- package/node_modules/smartwrap/Gruntfile.js +0 -62
- package/node_modules/smartwrap/LICENSE +0 -19
- package/node_modules/smartwrap/README.md +0 -112
- package/node_modules/smartwrap/docker/Dockerfile.centos-7 +0 -28
- package/node_modules/smartwrap/docker/Dockerfile.centos-8 +0 -28
- package/node_modules/smartwrap/docker/Dockerfile.ubuntu-14.04 +0 -26
- package/node_modules/smartwrap/docker/Dockerfile.ubuntu-16.04 +0 -53
- package/node_modules/smartwrap/docker/Dockerfile.ubuntu-18.04 +0 -53
- package/node_modules/smartwrap/docker/Dockerfile.ubuntu-20.04 +0 -53
- package/node_modules/smartwrap/node_modules/cliui/LICENSE.txt +0 -14
- package/node_modules/smartwrap/node_modules/cliui/README.md +0 -115
- package/node_modules/smartwrap/node_modules/cliui/index.js +0 -354
- package/node_modules/smartwrap/node_modules/cliui/package.json +0 -65
- package/node_modules/smartwrap/node_modules/wrap-ansi/index.js +0 -186
- package/node_modules/smartwrap/node_modules/wrap-ansi/license +0 -9
- package/node_modules/smartwrap/node_modules/wrap-ansi/package.json +0 -61
- package/node_modules/smartwrap/node_modules/wrap-ansi/readme.md +0 -97
- package/node_modules/smartwrap/node_modules/y18n/LICENSE +0 -13
- package/node_modules/smartwrap/node_modules/y18n/README.md +0 -109
- package/node_modules/smartwrap/node_modules/y18n/index.js +0 -188
- package/node_modules/smartwrap/node_modules/y18n/package.json +0 -39
- package/node_modules/smartwrap/node_modules/yargs/LICENSE +0 -21
- package/node_modules/smartwrap/node_modules/yargs/README.md +0 -140
- package/node_modules/smartwrap/node_modules/yargs/build/lib/apply-extends.d.ts +0 -2
- package/node_modules/smartwrap/node_modules/yargs/build/lib/apply-extends.js +0 -65
- package/node_modules/smartwrap/node_modules/yargs/build/lib/argsert.d.ts +0 -2
- package/node_modules/smartwrap/node_modules/yargs/build/lib/argsert.js +0 -65
- package/node_modules/smartwrap/node_modules/yargs/build/lib/command.d.ts +0 -64
- package/node_modules/smartwrap/node_modules/yargs/build/lib/command.js +0 -416
- package/node_modules/smartwrap/node_modules/yargs/build/lib/common-types.d.ts +0 -36
- package/node_modules/smartwrap/node_modules/yargs/build/lib/common-types.js +0 -25
- package/node_modules/smartwrap/node_modules/yargs/build/lib/completion-templates.d.ts +0 -2
- package/node_modules/smartwrap/node_modules/yargs/build/lib/completion-templates.js +0 -50
- package/node_modules/smartwrap/node_modules/yargs/build/lib/completion.d.ts +0 -21
- package/node_modules/smartwrap/node_modules/yargs/build/lib/completion.js +0 -135
- package/node_modules/smartwrap/node_modules/yargs/build/lib/is-promise.d.ts +0 -1
- package/node_modules/smartwrap/node_modules/yargs/build/lib/is-promise.js +0 -9
- package/node_modules/smartwrap/node_modules/yargs/build/lib/levenshtein.d.ts +0 -1
- package/node_modules/smartwrap/node_modules/yargs/build/lib/levenshtein.js +0 -58
- package/node_modules/smartwrap/node_modules/yargs/build/lib/middleware.d.ts +0 -10
- package/node_modules/smartwrap/node_modules/yargs/build/lib/middleware.js +0 -57
- package/node_modules/smartwrap/node_modules/yargs/build/lib/obj-filter.d.ts +0 -1
- package/node_modules/smartwrap/node_modules/yargs/build/lib/obj-filter.js +0 -14
- package/node_modules/smartwrap/node_modules/yargs/build/lib/parse-command.d.ts +0 -11
- package/node_modules/smartwrap/node_modules/yargs/build/lib/parse-command.js +0 -36
- package/node_modules/smartwrap/node_modules/yargs/build/lib/process-argv.d.ts +0 -2
- package/node_modules/smartwrap/node_modules/yargs/build/lib/process-argv.js +0 -31
- package/node_modules/smartwrap/node_modules/yargs/build/lib/usage.d.ts +0 -49
- package/node_modules/smartwrap/node_modules/yargs/build/lib/usage.js +0 -540
- package/node_modules/smartwrap/node_modules/yargs/build/lib/validation.d.ts +0 -34
- package/node_modules/smartwrap/node_modules/yargs/build/lib/validation.js +0 -330
- package/node_modules/smartwrap/node_modules/yargs/build/lib/yargs.d.ts +0 -274
- package/node_modules/smartwrap/node_modules/yargs/build/lib/yargs.js +0 -1190
- package/node_modules/smartwrap/node_modules/yargs/build/lib/yerror.d.ts +0 -4
- package/node_modules/smartwrap/node_modules/yargs/build/lib/yerror.js +0 -11
- package/node_modules/smartwrap/node_modules/yargs/index.js +0 -40
- package/node_modules/smartwrap/node_modules/yargs/locales/be.json +0 -46
- package/node_modules/smartwrap/node_modules/yargs/locales/de.json +0 -46
- package/node_modules/smartwrap/node_modules/yargs/locales/en.json +0 -51
- package/node_modules/smartwrap/node_modules/yargs/locales/es.json +0 -46
- package/node_modules/smartwrap/node_modules/yargs/locales/fi.json +0 -49
- package/node_modules/smartwrap/node_modules/yargs/locales/fr.json +0 -53
- package/node_modules/smartwrap/node_modules/yargs/locales/hi.json +0 -49
- package/node_modules/smartwrap/node_modules/yargs/locales/hu.json +0 -46
- package/node_modules/smartwrap/node_modules/yargs/locales/id.json +0 -50
- package/node_modules/smartwrap/node_modules/yargs/locales/it.json +0 -46
- package/node_modules/smartwrap/node_modules/yargs/locales/ja.json +0 -51
- package/node_modules/smartwrap/node_modules/yargs/locales/ko.json +0 -49
- package/node_modules/smartwrap/node_modules/yargs/locales/nb.json +0 -44
- package/node_modules/smartwrap/node_modules/yargs/locales/nl.json +0 -49
- package/node_modules/smartwrap/node_modules/yargs/locales/nn.json +0 -44
- package/node_modules/smartwrap/node_modules/yargs/locales/pirate.json +0 -13
- package/node_modules/smartwrap/node_modules/yargs/locales/pl.json +0 -49
- package/node_modules/smartwrap/node_modules/yargs/locales/pt.json +0 -45
- package/node_modules/smartwrap/node_modules/yargs/locales/pt_BR.json +0 -48
- package/node_modules/smartwrap/node_modules/yargs/locales/ru.json +0 -46
- package/node_modules/smartwrap/node_modules/yargs/locales/th.json +0 -46
- package/node_modules/smartwrap/node_modules/yargs/locales/tr.json +0 -48
- package/node_modules/smartwrap/node_modules/yargs/locales/zh_CN.json +0 -48
- package/node_modules/smartwrap/node_modules/yargs/locales/zh_TW.json +0 -47
- package/node_modules/smartwrap/node_modules/yargs/package.json +0 -92
- package/node_modules/smartwrap/node_modules/yargs/yargs.js +0 -14
- package/node_modules/smartwrap/node_modules/yargs-parser/LICENSE.txt +0 -14
- package/node_modules/smartwrap/node_modules/yargs-parser/README.md +0 -449
- package/node_modules/smartwrap/node_modules/yargs-parser/index.js +0 -1032
- package/node_modules/smartwrap/node_modules/yargs-parser/lib/tokenize-arg-string.js +0 -40
- package/node_modules/smartwrap/node_modules/yargs-parser/package.json +0 -46
- package/node_modules/smartwrap/package.json +0 -44
- package/node_modules/smartwrap/src/main.js +0 -289
- package/node_modules/smartwrap/src/terminal-adapter.js +0 -71
- package/node_modules/smartwrap/test/data.js +0 -141
- package/node_modules/smartwrap/test/speariment.js +0 -78
- package/node_modules/smartwrap/test/test.js +0 -66
- package/node_modules/stop-iteration-iterator/.eslintrc +0 -14
- package/node_modules/stop-iteration-iterator/.github/FUNDING.yml +0 -12
- package/node_modules/stop-iteration-iterator/.nycrc +0 -13
- package/node_modules/stop-iteration-iterator/CHANGELOG.md +0 -31
- package/node_modules/stop-iteration-iterator/LICENSE +0 -21
- package/node_modules/stop-iteration-iterator/README.md +0 -42
- package/node_modules/stop-iteration-iterator/index.d.ts +0 -7
- package/node_modules/stop-iteration-iterator/index.js +0 -46
- package/node_modules/stop-iteration-iterator/package.json +0 -77
- package/node_modules/stop-iteration-iterator/test/index.js +0 -51
- package/node_modules/stop-iteration-iterator/tsconfig.json +0 -6
- package/node_modules/stream-transform/LICENSE +0 -21
- package/node_modules/stream-transform/README.md +0 -76
- package/node_modules/stream-transform/dist/cjs/index.cjs +0 -177
- package/node_modules/stream-transform/dist/cjs/index.d.cts +0 -63
- package/node_modules/stream-transform/dist/cjs/sync.cjs +0 -164
- package/node_modules/stream-transform/dist/cjs/sync.d.cts +0 -17
- package/node_modules/stream-transform/dist/esm/index.d.ts +0 -63
- package/node_modules/stream-transform/dist/esm/index.js +0 -5294
- package/node_modules/stream-transform/dist/esm/sync.d.ts +0 -17
- package/node_modules/stream-transform/dist/esm/sync.js +0 -5282
- package/node_modules/stream-transform/dist/iife/index.js +0 -5302
- package/node_modules/stream-transform/dist/iife/sync.js +0 -5289
- package/node_modules/stream-transform/dist/umd/index.js +0 -5303
- package/node_modules/stream-transform/dist/umd/sync.js +0 -5290
- package/node_modules/stream-transform/lib/index.d.ts +0 -63
- package/node_modules/stream-transform/lib/index.js +0 -173
- package/node_modules/stream-transform/lib/sync.d.ts +0 -17
- package/node_modules/stream-transform/lib/sync.js +0 -54
- package/node_modules/stream-transform/package.json +0 -112
- package/node_modules/string-width/index.d.ts +0 -29
- package/node_modules/string-width/index.js +0 -47
- package/node_modules/string-width/license +0 -9
- package/node_modules/string-width/package.json +0 -56
- package/node_modules/string-width/readme.md +0 -50
- package/node_modules/string.prototype.trim/.eslintrc +0 -25
- package/node_modules/string.prototype.trim/.nycrc +0 -9
- package/node_modules/string.prototype.trim/CHANGELOG.md +0 -214
- package/node_modules/string.prototype.trim/LICENSE +0 -21
- package/node_modules/string.prototype.trim/README.md +0 -46
- package/node_modules/string.prototype.trim/auto.js +0 -3
- package/node_modules/string.prototype.trim/implementation.js +0 -30
- package/node_modules/string.prototype.trim/index.js +0 -23
- package/node_modules/string.prototype.trim/package.json +0 -108
- package/node_modules/string.prototype.trim/polyfill.js +0 -19
- package/node_modules/string.prototype.trim/shim.js +0 -20
- package/node_modules/string.prototype.trim/test/implementation.js +0 -21
- package/node_modules/string.prototype.trim/test/index.js +0 -17
- package/node_modules/string.prototype.trim/test/shimmed.js +0 -36
- package/node_modules/string.prototype.trim/test/tests.js +0 -92
- package/node_modules/string.prototype.trimend/.editorconfig +0 -20
- package/node_modules/string.prototype.trimend/.eslintrc +0 -24
- package/node_modules/string.prototype.trimend/.nycrc +0 -9
- package/node_modules/string.prototype.trimend/CHANGELOG.md +0 -139
- package/node_modules/string.prototype.trimend/LICENSE +0 -21
- package/node_modules/string.prototype.trimend/README.md +0 -44
- package/node_modules/string.prototype.trimend/auto.js +0 -3
- package/node_modules/string.prototype.trimend/implementation.js +0 -22
- package/node_modules/string.prototype.trimend/index.js +0 -23
- package/node_modules/string.prototype.trimend/package.json +0 -82
- package/node_modules/string.prototype.trimend/polyfill.js +0 -15
- package/node_modules/string.prototype.trimend/shim.js +0 -14
- package/node_modules/string.prototype.trimend/test/implementation.js +0 -20
- package/node_modules/string.prototype.trimend/test/index.js +0 -17
- package/node_modules/string.prototype.trimend/test/shimmed.js +0 -36
- package/node_modules/string.prototype.trimend/test/tests.js +0 -45
- package/node_modules/string.prototype.trimstart/.editorconfig +0 -20
- package/node_modules/string.prototype.trimstart/.eslintrc +0 -24
- package/node_modules/string.prototype.trimstart/.nycrc +0 -9
- package/node_modules/string.prototype.trimstart/CHANGELOG.md +0 -118
- package/node_modules/string.prototype.trimstart/LICENSE +0 -21
- package/node_modules/string.prototype.trimstart/README.md +0 -46
- package/node_modules/string.prototype.trimstart/auto.js +0 -3
- package/node_modules/string.prototype.trimstart/implementation.js +0 -15
- package/node_modules/string.prototype.trimstart/index.js +0 -23
- package/node_modules/string.prototype.trimstart/package.json +0 -82
- package/node_modules/string.prototype.trimstart/polyfill.js +0 -15
- package/node_modules/string.prototype.trimstart/shim.js +0 -14
- package/node_modules/string.prototype.trimstart/test/implementation.js +0 -20
- package/node_modules/string.prototype.trimstart/test/index.js +0 -18
- package/node_modules/string.prototype.trimstart/test/shimmed.js +0 -36
- package/node_modules/string.prototype.trimstart/test/tests.js +0 -31
- package/node_modules/strip-ansi/index.d.ts +0 -17
- package/node_modules/strip-ansi/index.js +0 -4
- package/node_modules/strip-ansi/license +0 -9
- package/node_modules/strip-ansi/package.json +0 -54
- package/node_modules/strip-ansi/readme.md +0 -46
- package/node_modules/tty-table/LICENSE.txt +0 -7
- package/node_modules/tty-table/README.md +0 -302
- package/node_modules/tty-table/adapters/automattic-cli-table.js +0 -68
- package/node_modules/tty-table/adapters/default-adapter.js +0 -2
- package/node_modules/tty-table/adapters/terminal-adapter.js +0 -179
- package/node_modules/tty-table/package.json +0 -103
- package/node_modules/tty-table/src/defaults.js +0 -70
- package/node_modules/tty-table/src/factory.d.ts +0 -67
- package/node_modules/tty-table/src/factory.js +0 -137
- package/node_modules/tty-table/src/format.js +0 -282
- package/node_modules/tty-table/src/main.js +0 -8
- package/node_modules/tty-table/src/render.js +0 -411
- package/node_modules/tty-table/src/style.js +0 -62
- package/node_modules/typed-array-buffer/.eslintrc +0 -13
- package/node_modules/typed-array-buffer/.github/FUNDING.yml +0 -12
- package/node_modules/typed-array-buffer/.nycrc +0 -13
- package/node_modules/typed-array-buffer/CHANGELOG.md +0 -50
- package/node_modules/typed-array-buffer/LICENSE +0 -21
- package/node_modules/typed-array-buffer/README.md +0 -42
- package/node_modules/typed-array-buffer/index.d.ts +0 -9
- package/node_modules/typed-array-buffer/index.js +0 -19
- package/node_modules/typed-array-buffer/package.json +0 -82
- package/node_modules/typed-array-buffer/test/index.js +0 -23
- package/node_modules/typed-array-buffer/tsconfig.json +0 -9
- package/node_modules/typed-array-byte-length/.eslintrc +0 -12
- package/node_modules/typed-array-byte-length/.github/FUNDING.yml +0 -12
- package/node_modules/typed-array-byte-length/.nycrc +0 -13
- package/node_modules/typed-array-byte-length/CHANGELOG.md +0 -44
- package/node_modules/typed-array-byte-length/LICENSE +0 -21
- package/node_modules/typed-array-byte-length/README.md +0 -70
- package/node_modules/typed-array-byte-length/index.d.ts +0 -10
- package/node_modules/typed-array-byte-length/index.js +0 -85
- package/node_modules/typed-array-byte-length/package.json +0 -113
- package/node_modules/typed-array-byte-length/test/index.js +0 -83
- package/node_modules/typed-array-byte-length/tsconfig.json +0 -9
- package/node_modules/typed-array-byte-offset/.eslintrc +0 -8
- package/node_modules/typed-array-byte-offset/.github/FUNDING.yml +0 -12
- package/node_modules/typed-array-byte-offset/.nycrc +0 -13
- package/node_modules/typed-array-byte-offset/CHANGELOG.md +0 -61
- package/node_modules/typed-array-byte-offset/LICENSE +0 -21
- package/node_modules/typed-array-byte-offset/README.md +0 -70
- package/node_modules/typed-array-byte-offset/index.d.ts +0 -14
- package/node_modules/typed-array-byte-offset/index.js +0 -79
- package/node_modules/typed-array-byte-offset/package.json +0 -116
- package/node_modules/typed-array-byte-offset/test/index.js +0 -78
- package/node_modules/typed-array-byte-offset/tsconfig.json +0 -10
- package/node_modules/typed-array-length/.github/FUNDING.yml +0 -12
- package/node_modules/typed-array-length/.nycrc +0 -13
- package/node_modules/typed-array-length/CHANGELOG.md +0 -119
- package/node_modules/typed-array-length/LICENSE +0 -21
- package/node_modules/typed-array-length/README.md +0 -64
- package/node_modules/typed-array-length/eslint.config.mjs +0 -12
- package/node_modules/typed-array-length/index.d.ts +0 -13
- package/node_modules/typed-array-length/index.js +0 -80
- package/node_modules/typed-array-length/package.json +0 -111
- package/node_modules/typed-array-length/test/index.js +0 -74
- package/node_modules/typed-array-length/tsconfig.json +0 -10
- package/node_modules/unbox-primitive/.editorconfig +0 -20
- package/node_modules/unbox-primitive/.eslintrc +0 -5
- package/node_modules/unbox-primitive/.github/FUNDING.yml +0 -12
- package/node_modules/unbox-primitive/.nycrc +0 -13
- package/node_modules/unbox-primitive/CHANGELOG.md +0 -79
- package/node_modules/unbox-primitive/LICENSE +0 -21
- package/node_modules/unbox-primitive/README.md +0 -47
- package/node_modules/unbox-primitive/index.d.ts +0 -13
- package/node_modules/unbox-primitive/index.js +0 -42
- package/node_modules/unbox-primitive/package.json +0 -84
- package/node_modules/unbox-primitive/test/index.js +0 -59
- package/node_modules/unbox-primitive/tsconfig.json +0 -6
- package/node_modules/wcwidth/.npmignore +0 -1
- package/node_modules/wcwidth/LICENSE +0 -30
- package/node_modules/wcwidth/Readme.md +0 -33
- package/node_modules/wcwidth/combining.js +0 -50
- package/node_modules/wcwidth/docs/index.md +0 -65
- package/node_modules/wcwidth/index.js +0 -99
- package/node_modules/wcwidth/package.json +0 -42
- package/node_modules/wcwidth/test/index.js +0 -64
- package/node_modules/which-boxed-primitive/.editorconfig +0 -20
- package/node_modules/which-boxed-primitive/.eslintrc +0 -5
- package/node_modules/which-boxed-primitive/.github/FUNDING.yml +0 -12
- package/node_modules/which-boxed-primitive/.nycrc +0 -13
- package/node_modules/which-boxed-primitive/CHANGELOG.md +0 -82
- package/node_modules/which-boxed-primitive/LICENSE +0 -21
- package/node_modules/which-boxed-primitive/README.md +0 -73
- package/node_modules/which-boxed-primitive/index.d.ts +0 -11
- package/node_modules/which-boxed-primitive/index.js +0 -31
- package/node_modules/which-boxed-primitive/package.json +0 -83
- package/node_modules/which-boxed-primitive/test/index.js +0 -46
- package/node_modules/which-boxed-primitive/tsconfig.json +0 -9
- package/node_modules/which-builtin-type/.eslintrc +0 -14
- package/node_modules/which-builtin-type/.nycrc +0 -9
- package/node_modules/which-builtin-type/CHANGELOG.md +0 -113
- package/node_modules/which-builtin-type/LICENSE +0 -21
- package/node_modules/which-builtin-type/README.md +0 -67
- package/node_modules/which-builtin-type/index.d.ts +0 -21
- package/node_modules/which-builtin-type/index.js +0 -132
- package/node_modules/which-builtin-type/package.json +0 -111
- package/node_modules/which-builtin-type/test/index.js +0 -184
- package/node_modules/which-builtin-type/tsconfig.json +0 -9
- package/node_modules/which-collection/.eslintrc +0 -5
- package/node_modules/which-collection/.github/FUNDING.yml +0 -12
- package/node_modules/which-collection/.nycrc +0 -13
- package/node_modules/which-collection/CHANGELOG.md +0 -63
- package/node_modules/which-collection/LICENSE +0 -21
- package/node_modules/which-collection/README.md +0 -65
- package/node_modules/which-collection/index.d.ts +0 -13
- package/node_modules/which-collection/index.js +0 -25
- package/node_modules/which-collection/package.json +0 -85
- package/node_modules/which-collection/test/index.js +0 -59
- package/node_modules/which-collection/tsconfig.json +0 -49
- package/node_modules/which-module/LICENSE +0 -13
- package/node_modules/which-module/README.md +0 -58
- package/node_modules/which-module/index.js +0 -9
- package/node_modules/which-module/package.json +0 -41
- package/node_modules/which-typed-array/.editorconfig +0 -20
- package/node_modules/which-typed-array/.github/FUNDING.yml +0 -12
- package/node_modules/which-typed-array/.nycrc +0 -13
- package/node_modules/which-typed-array/CHANGELOG.md +0 -287
- package/node_modules/which-typed-array/LICENSE +0 -22
- package/node_modules/which-typed-array/README.md +0 -70
- package/node_modules/which-typed-array/eslint.config.mjs +0 -12
- package/node_modules/which-typed-array/index.d.ts +0 -35
- package/node_modules/which-typed-array/index.js +0 -135
- package/node_modules/which-typed-array/package.json +0 -130
- package/node_modules/which-typed-array/test/index.js +0 -105
- package/node_modules/which-typed-array/tsconfig.json +0 -9
- package/node_modules/wrap-ansi/index.js +0 -216
- package/node_modules/wrap-ansi/license +0 -9
- package/node_modules/wrap-ansi/package.json +0 -62
- package/node_modules/wrap-ansi/readme.md +0 -91
- package/node_modules/y18n/LICENSE +0 -13
- package/node_modules/y18n/README.md +0 -127
- package/node_modules/y18n/build/index.cjs +0 -203
- package/node_modules/y18n/build/lib/cjs.js +0 -6
- package/node_modules/y18n/build/lib/index.js +0 -174
- package/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
- package/node_modules/y18n/index.mjs +0 -8
- package/node_modules/y18n/package.json +0 -70
- package/node_modules/yargs/LICENSE +0 -21
- package/node_modules/yargs/README.md +0 -204
- package/node_modules/yargs/browser.mjs +0 -7
- package/node_modules/yargs/build/index.cjs +0 -1
- package/node_modules/yargs/build/lib/argsert.js +0 -62
- package/node_modules/yargs/build/lib/command.js +0 -449
- package/node_modules/yargs/build/lib/completion-templates.js +0 -48
- package/node_modules/yargs/build/lib/completion.js +0 -243
- package/node_modules/yargs/build/lib/middleware.js +0 -88
- package/node_modules/yargs/build/lib/parse-command.js +0 -32
- package/node_modules/yargs/build/lib/typings/common-types.js +0 -9
- package/node_modules/yargs/build/lib/typings/yargs-parser-types.js +0 -1
- package/node_modules/yargs/build/lib/usage.js +0 -584
- package/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
- package/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
- package/node_modules/yargs/build/lib/utils/levenshtein.js +0 -34
- package/node_modules/yargs/build/lib/utils/maybe-async-result.js +0 -17
- package/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
- package/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
- package/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
- package/node_modules/yargs/build/lib/utils/which-module.js +0 -10
- package/node_modules/yargs/build/lib/validation.js +0 -305
- package/node_modules/yargs/build/lib/yargs-factory.js +0 -1512
- package/node_modules/yargs/build/lib/yerror.js +0 -9
- package/node_modules/yargs/helpers/helpers.mjs +0 -10
- package/node_modules/yargs/helpers/index.js +0 -14
- package/node_modules/yargs/helpers/package.json +0 -3
- package/node_modules/yargs/index.cjs +0 -53
- package/node_modules/yargs/index.mjs +0 -8
- package/node_modules/yargs/lib/platform-shims/browser.mjs +0 -95
- package/node_modules/yargs/lib/platform-shims/esm.mjs +0 -73
- package/node_modules/yargs/locales/be.json +0 -46
- package/node_modules/yargs/locales/cs.json +0 -51
- package/node_modules/yargs/locales/de.json +0 -46
- package/node_modules/yargs/locales/en.json +0 -55
- package/node_modules/yargs/locales/es.json +0 -46
- package/node_modules/yargs/locales/fi.json +0 -49
- package/node_modules/yargs/locales/fr.json +0 -53
- package/node_modules/yargs/locales/hi.json +0 -49
- package/node_modules/yargs/locales/hu.json +0 -46
- package/node_modules/yargs/locales/id.json +0 -50
- package/node_modules/yargs/locales/it.json +0 -46
- package/node_modules/yargs/locales/ja.json +0 -51
- package/node_modules/yargs/locales/ko.json +0 -49
- package/node_modules/yargs/locales/nb.json +0 -44
- package/node_modules/yargs/locales/nl.json +0 -49
- package/node_modules/yargs/locales/nn.json +0 -44
- package/node_modules/yargs/locales/pirate.json +0 -13
- package/node_modules/yargs/locales/pl.json +0 -49
- package/node_modules/yargs/locales/pt.json +0 -45
- package/node_modules/yargs/locales/pt_BR.json +0 -48
- package/node_modules/yargs/locales/ru.json +0 -51
- package/node_modules/yargs/locales/th.json +0 -46
- package/node_modules/yargs/locales/tr.json +0 -48
- package/node_modules/yargs/locales/uk_UA.json +0 -51
- package/node_modules/yargs/locales/uz.json +0 -52
- package/node_modules/yargs/locales/zh_CN.json +0 -48
- package/node_modules/yargs/locales/zh_TW.json +0 -51
- package/node_modules/yargs/package.json +0 -125
- package/node_modules/yargs/yargs +0 -5
- package/node_modules/yargs/yargs.cjs +0 -15
- package/node_modules/yargs/yargs.mjs +0 -10
- package/node_modules/yargs-parser/LICENSE.txt +0 -14
- package/node_modules/yargs-parser/README.md +0 -518
- package/node_modules/yargs-parser/browser.js +0 -29
- package/node_modules/yargs-parser/build/index.cjs +0 -1050
- package/node_modules/yargs-parser/build/lib/index.js +0 -62
- package/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
- package/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
- package/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
- package/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1045
- package/node_modules/yargs-parser/package.json +0 -92
- package/references/coursework-and-grades.md +0 -45
- package/references/deadlines-and-alerts.md +0 -25
- package/references/downloads.md +0 -42
- package/references/forums.md +0 -57
- package/references/maintenance.md +0 -31
- package/references/output-and-errors.md +0 -31
- package/references/profile-and-courses.md +0 -27
package/dist/worker/recovery.js
CHANGED
|
@@ -445,10 +445,10 @@ var require_node2 = __commonJS({
|
|
|
445
445
|
})();
|
|
446
446
|
var __assign = exports && exports.__assign || function() {
|
|
447
447
|
__assign = Object.assign || function(t) {
|
|
448
|
-
for (var
|
|
449
|
-
|
|
450
|
-
for (var p in
|
|
451
|
-
t[p] =
|
|
448
|
+
for (var s2, i = 1, n2 = arguments.length; i < n2; i++) {
|
|
449
|
+
s2 = arguments[i];
|
|
450
|
+
for (var p in s2) if (Object.prototype.hasOwnProperty.call(s2, p))
|
|
451
|
+
t[p] = s2[p];
|
|
452
452
|
}
|
|
453
453
|
return t;
|
|
454
454
|
};
|
|
@@ -1318,19 +1318,19 @@ var require_decode = __commonJS({
|
|
|
1318
1318
|
};
|
|
1319
1319
|
EntityDecoder2.prototype.stateNamedEntity = function(str, offset) {
|
|
1320
1320
|
var decodeTree = this.decodeTree;
|
|
1321
|
-
var
|
|
1322
|
-
var valueLength = (
|
|
1321
|
+
var current2 = decodeTree[this.treeIndex];
|
|
1322
|
+
var valueLength = (current2 & BinTrieFlags.VALUE_LENGTH) >> 14;
|
|
1323
1323
|
for (; offset < str.length; offset++, this.excess++) {
|
|
1324
1324
|
var char = str.charCodeAt(offset);
|
|
1325
|
-
this.treeIndex = determineBranch(decodeTree,
|
|
1325
|
+
this.treeIndex = determineBranch(decodeTree, current2, this.treeIndex + Math.max(1, valueLength), char);
|
|
1326
1326
|
if (this.treeIndex < 0) {
|
|
1327
1327
|
return this.result === 0 || // If we are parsing an attribute
|
|
1328
1328
|
this.decodeMode === DecodingMode.Attribute && // We shouldn't have consumed any characters after the entity,
|
|
1329
1329
|
(valueLength === 0 || // And there should be no invalid characters.
|
|
1330
1330
|
isEntityInAttributeInvalidEnd(char)) ? 0 : this.emitNotTerminatedNamedEntity();
|
|
1331
1331
|
}
|
|
1332
|
-
|
|
1333
|
-
valueLength = (
|
|
1332
|
+
current2 = decodeTree[this.treeIndex];
|
|
1333
|
+
valueLength = (current2 & BinTrieFlags.VALUE_LENGTH) >> 14;
|
|
1334
1334
|
if (valueLength !== 0) {
|
|
1335
1335
|
if (char === CharCodes.SEMI) {
|
|
1336
1336
|
return this.emitNamedEntityData(this.treeIndex, valueLength, this.consumed + this.excess);
|
|
@@ -1414,9 +1414,9 @@ var require_decode = __commonJS({
|
|
|
1414
1414
|
return result;
|
|
1415
1415
|
};
|
|
1416
1416
|
}
|
|
1417
|
-
function determineBranch(decodeTree,
|
|
1418
|
-
var branchCount = (
|
|
1419
|
-
var jumpOffset =
|
|
1417
|
+
function determineBranch(decodeTree, current2, nodeIdx, char) {
|
|
1418
|
+
var branchCount = (current2 & BinTrieFlags.BRANCH_LENGTH) >> 7;
|
|
1419
|
+
var jumpOffset = current2 & BinTrieFlags.JUMP_TABLE;
|
|
1420
1420
|
if (branchCount === 0) {
|
|
1421
1421
|
return jumpOffset !== 0 && char === jumpOffset ? nodeIdx : -1;
|
|
1422
1422
|
}
|
|
@@ -1856,10 +1856,10 @@ var require_lib4 = __commonJS({
|
|
|
1856
1856
|
"use strict";
|
|
1857
1857
|
var __assign = exports && exports.__assign || function() {
|
|
1858
1858
|
__assign = Object.assign || function(t) {
|
|
1859
|
-
for (var
|
|
1860
|
-
|
|
1861
|
-
for (var p in
|
|
1862
|
-
t[p] =
|
|
1859
|
+
for (var s2, i = 1, n2 = arguments.length; i < n2; i++) {
|
|
1860
|
+
s2 = arguments[i];
|
|
1861
|
+
for (var p in s2) if (Object.prototype.hasOwnProperty.call(s2, p))
|
|
1862
|
+
t[p] = s2[p];
|
|
1863
1863
|
}
|
|
1864
1864
|
return t;
|
|
1865
1865
|
};
|
|
@@ -2287,16 +2287,16 @@ var require_querying = __commonJS({
|
|
|
2287
2287
|
exports.existsOne = existsOne;
|
|
2288
2288
|
exports.findAll = findAll;
|
|
2289
2289
|
var domhandler_1 = require_lib2();
|
|
2290
|
-
function filter(test, node2, recurse,
|
|
2290
|
+
function filter(test, node2, recurse, limit2) {
|
|
2291
2291
|
if (recurse === void 0) {
|
|
2292
2292
|
recurse = true;
|
|
2293
2293
|
}
|
|
2294
|
-
if (
|
|
2295
|
-
|
|
2294
|
+
if (limit2 === void 0) {
|
|
2295
|
+
limit2 = Infinity;
|
|
2296
2296
|
}
|
|
2297
|
-
return find(test, Array.isArray(node2) ? node2 : [node2], recurse,
|
|
2297
|
+
return find(test, Array.isArray(node2) ? node2 : [node2], recurse, limit2);
|
|
2298
2298
|
}
|
|
2299
|
-
function find(test, nodes, recurse,
|
|
2299
|
+
function find(test, nodes, recurse, limit2) {
|
|
2300
2300
|
var result = [];
|
|
2301
2301
|
var nodeStack = [Array.isArray(nodes) ? nodes : [nodes]];
|
|
2302
2302
|
var indexStack = [0];
|
|
@@ -2312,7 +2312,7 @@ var require_querying = __commonJS({
|
|
|
2312
2312
|
var elem = nodeStack[0][indexStack[0]++];
|
|
2313
2313
|
if (test(elem)) {
|
|
2314
2314
|
result.push(elem);
|
|
2315
|
-
if (--
|
|
2315
|
+
if (--limit2 <= 0)
|
|
2316
2316
|
return result;
|
|
2317
2317
|
}
|
|
2318
2318
|
if (recurse && (0, domhandler_1.hasChildren)(elem) && elem.children.length > 0) {
|
|
@@ -2445,47 +2445,47 @@ var require_legacy = __commonJS({
|
|
|
2445
2445
|
var test = compileTest(options);
|
|
2446
2446
|
return test ? test(node2) : true;
|
|
2447
2447
|
}
|
|
2448
|
-
function getElements(options, nodes, recurse,
|
|
2449
|
-
if (
|
|
2450
|
-
|
|
2448
|
+
function getElements(options, nodes, recurse, limit2) {
|
|
2449
|
+
if (limit2 === void 0) {
|
|
2450
|
+
limit2 = Infinity;
|
|
2451
2451
|
}
|
|
2452
2452
|
var test = compileTest(options);
|
|
2453
|
-
return test ? (0, querying_js_1.filter)(test, nodes, recurse,
|
|
2453
|
+
return test ? (0, querying_js_1.filter)(test, nodes, recurse, limit2) : [];
|
|
2454
2454
|
}
|
|
2455
|
-
function getElementById(
|
|
2455
|
+
function getElementById(id2, nodes, recurse) {
|
|
2456
2456
|
if (recurse === void 0) {
|
|
2457
2457
|
recurse = true;
|
|
2458
2458
|
}
|
|
2459
2459
|
if (!Array.isArray(nodes))
|
|
2460
2460
|
nodes = [nodes];
|
|
2461
|
-
return (0, querying_js_1.findOne)(getAttribCheck("id",
|
|
2461
|
+
return (0, querying_js_1.findOne)(getAttribCheck("id", id2), nodes, recurse);
|
|
2462
2462
|
}
|
|
2463
|
-
function getElementsByTagName(tagName, nodes, recurse,
|
|
2463
|
+
function getElementsByTagName(tagName, nodes, recurse, limit2) {
|
|
2464
2464
|
if (recurse === void 0) {
|
|
2465
2465
|
recurse = true;
|
|
2466
2466
|
}
|
|
2467
|
-
if (
|
|
2468
|
-
|
|
2467
|
+
if (limit2 === void 0) {
|
|
2468
|
+
limit2 = Infinity;
|
|
2469
2469
|
}
|
|
2470
|
-
return (0, querying_js_1.filter)(Checks["tag_name"](tagName), nodes, recurse,
|
|
2470
|
+
return (0, querying_js_1.filter)(Checks["tag_name"](tagName), nodes, recurse, limit2);
|
|
2471
2471
|
}
|
|
2472
|
-
function getElementsByClassName(className, nodes, recurse,
|
|
2472
|
+
function getElementsByClassName(className, nodes, recurse, limit2) {
|
|
2473
2473
|
if (recurse === void 0) {
|
|
2474
2474
|
recurse = true;
|
|
2475
2475
|
}
|
|
2476
|
-
if (
|
|
2477
|
-
|
|
2476
|
+
if (limit2 === void 0) {
|
|
2477
|
+
limit2 = Infinity;
|
|
2478
2478
|
}
|
|
2479
|
-
return (0, querying_js_1.filter)(getAttribCheck("class", className), nodes, recurse,
|
|
2479
|
+
return (0, querying_js_1.filter)(getAttribCheck("class", className), nodes, recurse, limit2);
|
|
2480
2480
|
}
|
|
2481
|
-
function getElementsByTagType(type, nodes, recurse,
|
|
2481
|
+
function getElementsByTagType(type, nodes, recurse, limit2) {
|
|
2482
2482
|
if (recurse === void 0) {
|
|
2483
2483
|
recurse = true;
|
|
2484
2484
|
}
|
|
2485
|
-
if (
|
|
2486
|
-
|
|
2485
|
+
if (limit2 === void 0) {
|
|
2486
|
+
limit2 = Infinity;
|
|
2487
2487
|
}
|
|
2488
|
-
return (0, querying_js_1.filter)(Checks["tag_type"](type), nodes, recurse,
|
|
2488
|
+
return (0, querying_js_1.filter)(Checks["tag_type"](type), nodes, recurse, limit2);
|
|
2489
2489
|
}
|
|
2490
2490
|
}
|
|
2491
2491
|
});
|
|
@@ -2531,15 +2531,15 @@ var require_helpers = __commonJS({
|
|
|
2531
2531
|
if (nodeA === nodeB) {
|
|
2532
2532
|
return 0;
|
|
2533
2533
|
}
|
|
2534
|
-
var
|
|
2535
|
-
while (
|
|
2536
|
-
aParents.unshift(
|
|
2537
|
-
|
|
2534
|
+
var current2 = (0, domhandler_1.hasChildren)(nodeA) ? nodeA : nodeA.parent;
|
|
2535
|
+
while (current2) {
|
|
2536
|
+
aParents.unshift(current2);
|
|
2537
|
+
current2 = current2.parent;
|
|
2538
2538
|
}
|
|
2539
|
-
|
|
2540
|
-
while (
|
|
2541
|
-
bParents.unshift(
|
|
2542
|
-
|
|
2539
|
+
current2 = (0, domhandler_1.hasChildren)(nodeB) ? nodeB : nodeB.parent;
|
|
2540
|
+
while (current2) {
|
|
2541
|
+
bParents.unshift(current2);
|
|
2542
|
+
current2 = current2.parent;
|
|
2543
2543
|
}
|
|
2544
2544
|
var maxIdx = Math.min(aParents.length, bParents.length);
|
|
2545
2545
|
var idx = 0;
|
|
@@ -3677,12 +3677,12 @@ var require_compile = __commonJS({
|
|
|
3677
3677
|
function generate(parsed) {
|
|
3678
3678
|
var a = parsed[0];
|
|
3679
3679
|
var b = parsed[1] - 1;
|
|
3680
|
-
var
|
|
3680
|
+
var n2 = 0;
|
|
3681
3681
|
if (a < 0) {
|
|
3682
3682
|
var aPos_1 = -a;
|
|
3683
3683
|
var minValue_1 = (b % aPos_1 + aPos_1) % aPos_1;
|
|
3684
3684
|
return function() {
|
|
3685
|
-
var val = minValue_1 + aPos_1 *
|
|
3685
|
+
var val = minValue_1 + aPos_1 * n2++;
|
|
3686
3686
|
return val > b ? null : val;
|
|
3687
3687
|
};
|
|
3688
3688
|
}
|
|
@@ -3695,14 +3695,14 @@ var require_compile = __commonJS({
|
|
|
3695
3695
|
) : (
|
|
3696
3696
|
// Return `b` exactly once
|
|
3697
3697
|
function() {
|
|
3698
|
-
return
|
|
3698
|
+
return n2++ === 0 ? b : null;
|
|
3699
3699
|
}
|
|
3700
3700
|
);
|
|
3701
3701
|
if (b < 0) {
|
|
3702
3702
|
b += a * Math.ceil(-b / a);
|
|
3703
3703
|
}
|
|
3704
3704
|
return function() {
|
|
3705
|
-
return a *
|
|
3705
|
+
return a * n2++ + b;
|
|
3706
3706
|
};
|
|
3707
3707
|
}
|
|
3708
3708
|
exports.generate = generate;
|
|
@@ -4091,8 +4091,8 @@ var require_subselects = __commonJS({
|
|
|
4091
4091
|
var adapter = options.adapter;
|
|
4092
4092
|
var opts = copyOptions(options);
|
|
4093
4093
|
opts.relativeSelector = true;
|
|
4094
|
-
var context = subselect.some(function(
|
|
4095
|
-
return
|
|
4094
|
+
var context = subselect.some(function(s2) {
|
|
4095
|
+
return s2.some(sort_js_1.isTraversal);
|
|
4096
4096
|
}) ? (
|
|
4097
4097
|
// Used as a placeholder. Will be replaced with the actual element.
|
|
4098
4098
|
[exports.PLACEHOLDER_ELEMENT]
|
|
@@ -4234,9 +4234,9 @@ var require_general = __commonJS({
|
|
|
4234
4234
|
case css_what_1.SelectorType.Descendant: {
|
|
4235
4235
|
if (options.cacheResults === false || typeof WeakSet === "undefined") {
|
|
4236
4236
|
return function descendant(elem) {
|
|
4237
|
-
var
|
|
4238
|
-
while (
|
|
4239
|
-
if (next(
|
|
4237
|
+
var current2 = elem;
|
|
4238
|
+
while (current2 = getElementParent(current2, adapter)) {
|
|
4239
|
+
if (next(current2)) {
|
|
4240
4240
|
return true;
|
|
4241
4241
|
}
|
|
4242
4242
|
}
|
|
@@ -4245,13 +4245,13 @@ var require_general = __commonJS({
|
|
|
4245
4245
|
}
|
|
4246
4246
|
var isFalseCache_1 = /* @__PURE__ */ new WeakSet();
|
|
4247
4247
|
return function cachedDescendant(elem) {
|
|
4248
|
-
var
|
|
4249
|
-
while (
|
|
4250
|
-
if (!isFalseCache_1.has(
|
|
4251
|
-
if (adapter.isTag(
|
|
4248
|
+
var current2 = elem;
|
|
4249
|
+
while (current2 = getElementParent(current2, adapter)) {
|
|
4250
|
+
if (!isFalseCache_1.has(current2)) {
|
|
4251
|
+
if (adapter.isTag(current2) && next(current2)) {
|
|
4252
4252
|
return true;
|
|
4253
4253
|
}
|
|
4254
|
-
isFalseCache_1.add(
|
|
4254
|
+
isFalseCache_1.add(current2);
|
|
4255
4255
|
}
|
|
4256
4256
|
}
|
|
4257
4257
|
return false;
|
|
@@ -4259,11 +4259,11 @@ var require_general = __commonJS({
|
|
|
4259
4259
|
}
|
|
4260
4260
|
case "_flexibleDescendant": {
|
|
4261
4261
|
return function flexibleDescendant(elem) {
|
|
4262
|
-
var
|
|
4262
|
+
var current2 = elem;
|
|
4263
4263
|
do {
|
|
4264
|
-
if (next(
|
|
4264
|
+
if (next(current2))
|
|
4265
4265
|
return true;
|
|
4266
|
-
} while (
|
|
4266
|
+
} while (current2 = getElementParent(current2, adapter));
|
|
4267
4267
|
return false;
|
|
4268
4268
|
};
|
|
4269
4269
|
}
|
|
@@ -5269,7 +5269,7 @@ var require_html = __commonJS({
|
|
|
5269
5269
|
* @param {string} id the id of the element to select
|
|
5270
5270
|
* @returns {HTMLElement | null} the element with the given id or null if not found
|
|
5271
5271
|
*/
|
|
5272
|
-
getElementById(
|
|
5272
|
+
getElementById(id2) {
|
|
5273
5273
|
const stack = [];
|
|
5274
5274
|
let currentNodeReference = this;
|
|
5275
5275
|
let index = 0;
|
|
@@ -5284,7 +5284,7 @@ var require_html = __commonJS({
|
|
|
5284
5284
|
continue;
|
|
5285
5285
|
}
|
|
5286
5286
|
if (child.nodeType === type_1.default.ELEMENT_NODE) {
|
|
5287
|
-
if (child._id ===
|
|
5287
|
+
if (child._id === id2) {
|
|
5288
5288
|
return child;
|
|
5289
5289
|
}
|
|
5290
5290
|
if (child.childNodes.length > 0) {
|
|
@@ -6131,11 +6131,11 @@ function createOAuthRouter(options) {
|
|
|
6131
6131
|
return false;
|
|
6132
6132
|
}
|
|
6133
6133
|
async function prune() {
|
|
6134
|
-
const
|
|
6134
|
+
const current2 = now();
|
|
6135
6135
|
for (const prefix of [CODE_PREFIX, ACCESS_PREFIX, REFRESH_PREFIX, CONSUMED_REFRESH_PREFIX]) {
|
|
6136
6136
|
const entries = await storage.list({ prefix });
|
|
6137
6137
|
for (const [key, value] of entries) {
|
|
6138
|
-
if (value.expiresAt <=
|
|
6138
|
+
if (value.expiresAt <= current2) await storage.delete(key);
|
|
6139
6139
|
}
|
|
6140
6140
|
}
|
|
6141
6141
|
}
|
|
@@ -6194,8 +6194,8 @@ function createOAuthRouter(options) {
|
|
|
6194
6194
|
const clients = await storage.list({ prefix: CLIENT_PREFIX });
|
|
6195
6195
|
const pending = [];
|
|
6196
6196
|
for (const client2 of clients.values()) {
|
|
6197
|
-
const
|
|
6198
|
-
if (
|
|
6197
|
+
const current2 = await readClient(client2.clientId);
|
|
6198
|
+
if (current2 && current2.approvedAt === void 0) pending.push(current2);
|
|
6199
6199
|
}
|
|
6200
6200
|
if (pending.length >= MAX_REGISTERED_CLIENTS) {
|
|
6201
6201
|
pending.sort((left, right) => left.createdAt - right.createdAt);
|
|
@@ -6416,8 +6416,8 @@ function createOAuthRouter(options) {
|
|
|
6416
6416
|
async listClients() {
|
|
6417
6417
|
const result = [];
|
|
6418
6418
|
for (const client of (await storage.list({ prefix: CLIENT_PREFIX })).values()) {
|
|
6419
|
-
const
|
|
6420
|
-
if (
|
|
6419
|
+
const current2 = await readClient(client.clientId);
|
|
6420
|
+
if (current2) result.push({ clientId: current2.clientId, clientName: current2.clientName, approved: current2.approvedAt !== void 0 });
|
|
6421
6421
|
}
|
|
6422
6422
|
return result;
|
|
6423
6423
|
},
|
|
@@ -6600,9 +6600,9 @@ var AuthBroker = class {
|
|
|
6600
6600
|
}
|
|
6601
6601
|
}
|
|
6602
6602
|
if (url2.pathname === INTERNAL_VERIFY_PATH && request.method === "POST") {
|
|
6603
|
-
const
|
|
6604
|
-
const token = typeof
|
|
6605
|
-
const resource = typeof
|
|
6603
|
+
const input3 = await safeJson(request);
|
|
6604
|
+
const token = typeof input3?.token === "string" ? input3.token : "";
|
|
6605
|
+
const resource = typeof input3?.resource === "string" ? input3.resource : "";
|
|
6606
6606
|
const grant = await router.verifyAccessToken(token, resource);
|
|
6607
6607
|
return grant ? Response.json(grant) : new Response(null, { status: 401 });
|
|
6608
6608
|
}
|
|
@@ -7385,8 +7385,8 @@ var Cached = class {
|
|
|
7385
7385
|
function cached(getter) {
|
|
7386
7386
|
return new Cached(getter);
|
|
7387
7387
|
}
|
|
7388
|
-
function nullish(
|
|
7389
|
-
return
|
|
7388
|
+
function nullish(input3) {
|
|
7389
|
+
return input3 === null || input3 === void 0;
|
|
7390
7390
|
}
|
|
7391
7391
|
function cleanRegex(source) {
|
|
7392
7392
|
const start = source.startsWith("^") ? 1 : 0;
|
|
@@ -7523,8 +7523,8 @@ function randomString(length = 10) {
|
|
|
7523
7523
|
function esc(str) {
|
|
7524
7524
|
return JSON.stringify(str);
|
|
7525
7525
|
}
|
|
7526
|
-
function slugify(
|
|
7527
|
-
return
|
|
7526
|
+
function slugify(input3) {
|
|
7527
|
+
return input3.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
|
|
7528
7528
|
}
|
|
7529
7529
|
var captureStackTrace = "captureStackTrace" in Error ? Error.captureStackTrace : (..._args) => {
|
|
7530
7530
|
};
|
|
@@ -7880,12 +7880,12 @@ function finalizeIssue(iss, ctx, config2) {
|
|
|
7880
7880
|
}
|
|
7881
7881
|
return full;
|
|
7882
7882
|
}
|
|
7883
|
-
function getSizableOrigin(
|
|
7884
|
-
if (
|
|
7883
|
+
function getSizableOrigin(input3) {
|
|
7884
|
+
if (input3 instanceof Set)
|
|
7885
7885
|
return "set";
|
|
7886
|
-
if (
|
|
7886
|
+
if (input3 instanceof Map)
|
|
7887
7887
|
return "map";
|
|
7888
|
-
if (
|
|
7888
|
+
if (input3 instanceof File)
|
|
7889
7889
|
return "file";
|
|
7890
7890
|
return "unknown";
|
|
7891
7891
|
}
|
|
@@ -7903,10 +7903,10 @@ function codePointLength(str) {
|
|
|
7903
7903
|
}
|
|
7904
7904
|
return count;
|
|
7905
7905
|
}
|
|
7906
|
-
function getLengthableOrigin(
|
|
7907
|
-
if (Array.isArray(
|
|
7906
|
+
function getLengthableOrigin(input3) {
|
|
7907
|
+
if (Array.isArray(input3))
|
|
7908
7908
|
return "array";
|
|
7909
|
-
if (typeof
|
|
7909
|
+
if (typeof input3 === "string")
|
|
7910
7910
|
return "string";
|
|
7911
7911
|
return "unknown";
|
|
7912
7912
|
}
|
|
@@ -7932,12 +7932,12 @@ function parsedType(data) {
|
|
|
7932
7932
|
return t;
|
|
7933
7933
|
}
|
|
7934
7934
|
function issue(...args) {
|
|
7935
|
-
const [iss,
|
|
7935
|
+
const [iss, input3, inst] = args;
|
|
7936
7936
|
if (typeof iss === "string") {
|
|
7937
7937
|
return {
|
|
7938
7938
|
message: iss,
|
|
7939
7939
|
code: "custom",
|
|
7940
|
-
input:
|
|
7940
|
+
input: input3,
|
|
7941
7941
|
inst
|
|
7942
7942
|
};
|
|
7943
7943
|
}
|
|
@@ -8835,23 +8835,23 @@ var $ZodCheckNumberFormat = /* @__PURE__ */ $constructor("$ZodCheckNumberFormat"
|
|
|
8835
8835
|
const origin = isInt ? "int" : "number";
|
|
8836
8836
|
const [minimum, maximum] = NUMBER_FORMAT_RANGES[def.format];
|
|
8837
8837
|
inst._zod.check = (payload) => {
|
|
8838
|
-
const
|
|
8838
|
+
const input3 = payload.value;
|
|
8839
8839
|
if (isInt) {
|
|
8840
|
-
if (!Number.isInteger(
|
|
8840
|
+
if (!Number.isInteger(input3)) {
|
|
8841
8841
|
payload.issues.push({
|
|
8842
8842
|
expected: origin,
|
|
8843
8843
|
format: def.format,
|
|
8844
8844
|
code: "invalid_type",
|
|
8845
8845
|
continue: false,
|
|
8846
|
-
input:
|
|
8846
|
+
input: input3,
|
|
8847
8847
|
inst
|
|
8848
8848
|
});
|
|
8849
8849
|
return;
|
|
8850
8850
|
}
|
|
8851
|
-
if (!Number.isSafeInteger(
|
|
8852
|
-
if (
|
|
8851
|
+
if (!Number.isSafeInteger(input3)) {
|
|
8852
|
+
if (input3 > 0) {
|
|
8853
8853
|
payload.issues.push({
|
|
8854
|
-
input:
|
|
8854
|
+
input: input3,
|
|
8855
8855
|
code: "too_big",
|
|
8856
8856
|
maximum: Number.MAX_SAFE_INTEGER,
|
|
8857
8857
|
note: "Integers must be within the safe integer range.",
|
|
@@ -8862,7 +8862,7 @@ var $ZodCheckNumberFormat = /* @__PURE__ */ $constructor("$ZodCheckNumberFormat"
|
|
|
8862
8862
|
});
|
|
8863
8863
|
} else {
|
|
8864
8864
|
payload.issues.push({
|
|
8865
|
-
input:
|
|
8865
|
+
input: input3,
|
|
8866
8866
|
code: "too_small",
|
|
8867
8867
|
minimum: Number.MIN_SAFE_INTEGER,
|
|
8868
8868
|
note: "Integers must be within the safe integer range.",
|
|
@@ -8875,10 +8875,10 @@ var $ZodCheckNumberFormat = /* @__PURE__ */ $constructor("$ZodCheckNumberFormat"
|
|
|
8875
8875
|
return;
|
|
8876
8876
|
}
|
|
8877
8877
|
}
|
|
8878
|
-
if (
|
|
8878
|
+
if (input3 < minimum) {
|
|
8879
8879
|
payload.issues.push({
|
|
8880
8880
|
origin: "number",
|
|
8881
|
-
input:
|
|
8881
|
+
input: input3,
|
|
8882
8882
|
code: "too_small",
|
|
8883
8883
|
minimum,
|
|
8884
8884
|
inclusive: true,
|
|
@@ -8886,10 +8886,10 @@ var $ZodCheckNumberFormat = /* @__PURE__ */ $constructor("$ZodCheckNumberFormat"
|
|
|
8886
8886
|
continue: !def.abort
|
|
8887
8887
|
});
|
|
8888
8888
|
}
|
|
8889
|
-
if (
|
|
8889
|
+
if (input3 > maximum) {
|
|
8890
8890
|
payload.issues.push({
|
|
8891
8891
|
origin: "number",
|
|
8892
|
-
input:
|
|
8892
|
+
input: input3,
|
|
8893
8893
|
code: "too_big",
|
|
8894
8894
|
maximum,
|
|
8895
8895
|
inclusive: true,
|
|
@@ -8903,11 +8903,11 @@ var $ZodCheckBigIntFormat = /* @__PURE__ */ $constructor("$ZodCheckBigIntFormat"
|
|
|
8903
8903
|
$ZodCheck.init(inst, def);
|
|
8904
8904
|
const [minimum, maximum] = BIGINT_FORMAT_RANGES[def.format];
|
|
8905
8905
|
inst._zod.check = (payload) => {
|
|
8906
|
-
const
|
|
8907
|
-
if (
|
|
8906
|
+
const input3 = payload.value;
|
|
8907
|
+
if (input3 < minimum) {
|
|
8908
8908
|
payload.issues.push({
|
|
8909
8909
|
origin: "bigint",
|
|
8910
|
-
input:
|
|
8910
|
+
input: input3,
|
|
8911
8911
|
code: "too_small",
|
|
8912
8912
|
minimum,
|
|
8913
8913
|
inclusive: true,
|
|
@@ -8915,10 +8915,10 @@ var $ZodCheckBigIntFormat = /* @__PURE__ */ $constructor("$ZodCheckBigIntFormat"
|
|
|
8915
8915
|
continue: !def.abort
|
|
8916
8916
|
});
|
|
8917
8917
|
}
|
|
8918
|
-
if (
|
|
8918
|
+
if (input3 > maximum) {
|
|
8919
8919
|
payload.issues.push({
|
|
8920
8920
|
origin: "bigint",
|
|
8921
|
-
input:
|
|
8921
|
+
input: input3,
|
|
8922
8922
|
code: "too_big",
|
|
8923
8923
|
maximum,
|
|
8924
8924
|
inclusive: true,
|
|
@@ -8933,16 +8933,16 @@ var $ZodCheckMaxSize = /* @__PURE__ */ $constructor("$ZodCheckMaxSize", (inst, d
|
|
|
8933
8933
|
$ZodCheck.init(inst, def);
|
|
8934
8934
|
(_a3 = inst._zod.def).when ?? (_a3.when = _whenHasSize);
|
|
8935
8935
|
inst._zod.check = (payload) => {
|
|
8936
|
-
const
|
|
8937
|
-
const size =
|
|
8936
|
+
const input3 = payload.value;
|
|
8937
|
+
const size = input3.size;
|
|
8938
8938
|
if (size <= def.maximum)
|
|
8939
8939
|
return;
|
|
8940
8940
|
payload.issues.push({
|
|
8941
|
-
origin: getSizableOrigin(
|
|
8941
|
+
origin: getSizableOrigin(input3),
|
|
8942
8942
|
code: "too_big",
|
|
8943
8943
|
maximum: def.maximum,
|
|
8944
8944
|
inclusive: true,
|
|
8945
|
-
input:
|
|
8945
|
+
input: input3,
|
|
8946
8946
|
inst,
|
|
8947
8947
|
continue: !def.abort
|
|
8948
8948
|
});
|
|
@@ -8953,16 +8953,16 @@ var $ZodCheckMinSize = /* @__PURE__ */ $constructor("$ZodCheckMinSize", (inst, d
|
|
|
8953
8953
|
$ZodCheck.init(inst, def);
|
|
8954
8954
|
(_a3 = inst._zod.def).when ?? (_a3.when = _whenHasSize);
|
|
8955
8955
|
inst._zod.check = (payload) => {
|
|
8956
|
-
const
|
|
8957
|
-
const size =
|
|
8956
|
+
const input3 = payload.value;
|
|
8957
|
+
const size = input3.size;
|
|
8958
8958
|
if (size >= def.minimum)
|
|
8959
8959
|
return;
|
|
8960
8960
|
payload.issues.push({
|
|
8961
|
-
origin: getSizableOrigin(
|
|
8961
|
+
origin: getSizableOrigin(input3),
|
|
8962
8962
|
code: "too_small",
|
|
8963
8963
|
minimum: def.minimum,
|
|
8964
8964
|
inclusive: true,
|
|
8965
|
-
input:
|
|
8965
|
+
input: input3,
|
|
8966
8966
|
inst,
|
|
8967
8967
|
continue: !def.abort
|
|
8968
8968
|
});
|
|
@@ -8973,13 +8973,13 @@ var $ZodCheckSizeEquals = /* @__PURE__ */ $constructor("$ZodCheckSizeEquals", (i
|
|
|
8973
8973
|
$ZodCheck.init(inst, def);
|
|
8974
8974
|
(_a3 = inst._zod.def).when ?? (_a3.when = _whenHasSize);
|
|
8975
8975
|
inst._zod.check = (payload) => {
|
|
8976
|
-
const
|
|
8977
|
-
const size =
|
|
8976
|
+
const input3 = payload.value;
|
|
8977
|
+
const size = input3.size;
|
|
8978
8978
|
if (size === def.size)
|
|
8979
8979
|
return;
|
|
8980
8980
|
const tooBig = size > def.size;
|
|
8981
8981
|
payload.issues.push({
|
|
8982
|
-
origin: getSizableOrigin(
|
|
8982
|
+
origin: getSizableOrigin(input3),
|
|
8983
8983
|
...tooBig ? { code: "too_big", maximum: def.size } : { code: "too_small", minimum: def.size },
|
|
8984
8984
|
inclusive: true,
|
|
8985
8985
|
exact: true,
|
|
@@ -8994,18 +8994,18 @@ var $ZodCheckMaxLength = /* @__PURE__ */ $constructor("$ZodCheckMaxLength", (ins
|
|
|
8994
8994
|
$ZodCheck.init(inst, def);
|
|
8995
8995
|
(_a3 = inst._zod.def).when ?? (_a3.when = _whenHasLength);
|
|
8996
8996
|
inst._zod.check = (payload) => {
|
|
8997
|
-
const
|
|
8998
|
-
const units =
|
|
8999
|
-
const length = typeof
|
|
8997
|
+
const input3 = payload.value;
|
|
8998
|
+
const units = input3.length;
|
|
8999
|
+
const length = typeof input3 === "string" && units > def.maximum ? codePointLength(input3) : units;
|
|
9000
9000
|
if (length <= def.maximum)
|
|
9001
9001
|
return;
|
|
9002
|
-
const origin = getLengthableOrigin(
|
|
9002
|
+
const origin = getLengthableOrigin(input3);
|
|
9003
9003
|
payload.issues.push({
|
|
9004
9004
|
origin,
|
|
9005
9005
|
code: "too_big",
|
|
9006
9006
|
maximum: def.maximum,
|
|
9007
9007
|
inclusive: true,
|
|
9008
|
-
input:
|
|
9008
|
+
input: input3,
|
|
9009
9009
|
inst,
|
|
9010
9010
|
continue: !def.abort
|
|
9011
9011
|
});
|
|
@@ -9016,18 +9016,18 @@ var $ZodCheckMinLength = /* @__PURE__ */ $constructor("$ZodCheckMinLength", (ins
|
|
|
9016
9016
|
$ZodCheck.init(inst, def);
|
|
9017
9017
|
(_a3 = inst._zod.def).when ?? (_a3.when = _whenHasLength);
|
|
9018
9018
|
inst._zod.check = (payload) => {
|
|
9019
|
-
const
|
|
9020
|
-
const units =
|
|
9021
|
-
const length = typeof
|
|
9019
|
+
const input3 = payload.value;
|
|
9020
|
+
const units = input3.length;
|
|
9021
|
+
const length = typeof input3 === "string" && units >= def.minimum && units < def.minimum * 2 ? codePointLength(input3) : units;
|
|
9022
9022
|
if (length >= def.minimum)
|
|
9023
9023
|
return;
|
|
9024
|
-
const origin = getLengthableOrigin(
|
|
9024
|
+
const origin = getLengthableOrigin(input3);
|
|
9025
9025
|
payload.issues.push({
|
|
9026
9026
|
origin,
|
|
9027
9027
|
code: "too_small",
|
|
9028
9028
|
minimum: def.minimum,
|
|
9029
9029
|
inclusive: true,
|
|
9030
|
-
input:
|
|
9030
|
+
input: input3,
|
|
9031
9031
|
inst,
|
|
9032
9032
|
continue: !def.abort
|
|
9033
9033
|
});
|
|
@@ -9038,12 +9038,12 @@ var $ZodCheckLengthEquals = /* @__PURE__ */ $constructor("$ZodCheckLengthEquals"
|
|
|
9038
9038
|
$ZodCheck.init(inst, def);
|
|
9039
9039
|
(_a3 = inst._zod.def).when ?? (_a3.when = _whenHasLength);
|
|
9040
9040
|
inst._zod.check = (payload) => {
|
|
9041
|
-
const
|
|
9042
|
-
const units =
|
|
9043
|
-
const length = typeof
|
|
9041
|
+
const input3 = payload.value;
|
|
9042
|
+
const units = input3.length;
|
|
9043
|
+
const length = typeof input3 === "string" && units >= def.length && units <= def.length * 2 ? codePointLength(input3) : units;
|
|
9044
9044
|
if (length === def.length)
|
|
9045
9045
|
return;
|
|
9046
|
-
const origin = getLengthableOrigin(
|
|
9046
|
+
const origin = getLengthableOrigin(input3);
|
|
9047
9047
|
const tooBig = length > def.length;
|
|
9048
9048
|
payload.issues.push({
|
|
9049
9049
|
origin,
|
|
@@ -9698,10 +9698,10 @@ function isLuhnAlgo(digits) {
|
|
|
9698
9698
|
}
|
|
9699
9699
|
return sum % 10 === 0;
|
|
9700
9700
|
}
|
|
9701
|
-
function isValidCreditCard(
|
|
9702
|
-
if (!creditCard.test(
|
|
9701
|
+
function isValidCreditCard(input3) {
|
|
9702
|
+
if (!creditCard.test(input3))
|
|
9703
9703
|
return false;
|
|
9704
|
-
return isLuhnAlgo(
|
|
9704
|
+
return isLuhnAlgo(input3.replace(CC_SANITIZE, ""));
|
|
9705
9705
|
}
|
|
9706
9706
|
var $ZodCreditCard = /* @__PURE__ */ $constructor("$ZodCreditCard", (inst, def) => {
|
|
9707
9707
|
def.pattern ?? (def.pattern = creditCard);
|
|
@@ -9731,10 +9731,10 @@ function isIso7064Mod97(iban3) {
|
|
|
9731
9731
|
}
|
|
9732
9732
|
return remainder === 1;
|
|
9733
9733
|
}
|
|
9734
|
-
function isValidIBAN(
|
|
9735
|
-
if (!iban.test(
|
|
9734
|
+
function isValidIBAN(input3) {
|
|
9735
|
+
if (!iban.test(input3))
|
|
9736
9736
|
return false;
|
|
9737
|
-
return isIso7064Mod97(
|
|
9737
|
+
return isIso7064Mod97(input3);
|
|
9738
9738
|
}
|
|
9739
9739
|
var $ZodIBAN = /* @__PURE__ */ $constructor("$ZodIBAN", (inst, def) => {
|
|
9740
9740
|
def.pattern ?? (def.pattern = iban);
|
|
@@ -9808,15 +9808,15 @@ var $ZodNumber = /* @__PURE__ */ $constructor("$ZodNumber", (inst, def) => {
|
|
|
9808
9808
|
payload.value = Number(payload.value);
|
|
9809
9809
|
} catch (_) {
|
|
9810
9810
|
}
|
|
9811
|
-
const
|
|
9812
|
-
if (typeof
|
|
9811
|
+
const input3 = payload.value;
|
|
9812
|
+
if (typeof input3 === "number" && !Number.isNaN(input3) && Number.isFinite(input3)) {
|
|
9813
9813
|
return payload;
|
|
9814
9814
|
}
|
|
9815
|
-
const received = typeof
|
|
9815
|
+
const received = typeof input3 === "number" ? Number.isNaN(input3) ? "NaN" : !Number.isFinite(input3) ? String(input3) : void 0 : void 0;
|
|
9816
9816
|
payload.issues.push({
|
|
9817
9817
|
expected: "number",
|
|
9818
9818
|
code: "invalid_type",
|
|
9819
|
-
input:
|
|
9819
|
+
input: input3,
|
|
9820
9820
|
inst,
|
|
9821
9821
|
...received ? { received } : {}
|
|
9822
9822
|
});
|
|
@@ -9836,13 +9836,13 @@ var $ZodBoolean = /* @__PURE__ */ $constructor("$ZodBoolean", (inst, def) => {
|
|
|
9836
9836
|
payload.value = Boolean(payload.value);
|
|
9837
9837
|
} catch (_) {
|
|
9838
9838
|
}
|
|
9839
|
-
const
|
|
9840
|
-
if (typeof
|
|
9839
|
+
const input3 = payload.value;
|
|
9840
|
+
if (typeof input3 === "boolean")
|
|
9841
9841
|
return payload;
|
|
9842
9842
|
payload.issues.push({
|
|
9843
9843
|
expected: "boolean",
|
|
9844
9844
|
code: "invalid_type",
|
|
9845
|
-
input:
|
|
9845
|
+
input: input3,
|
|
9846
9846
|
inst
|
|
9847
9847
|
});
|
|
9848
9848
|
return payload;
|
|
@@ -9875,13 +9875,13 @@ var $ZodBigIntFormat = /* @__PURE__ */ $constructor("$ZodBigIntFormat", (inst, d
|
|
|
9875
9875
|
var $ZodSymbol = /* @__PURE__ */ $constructor("$ZodSymbol", (inst, def) => {
|
|
9876
9876
|
$ZodType.init(inst, def);
|
|
9877
9877
|
inst._zod.parse = (payload, _ctx) => {
|
|
9878
|
-
const
|
|
9879
|
-
if (typeof
|
|
9878
|
+
const input3 = payload.value;
|
|
9879
|
+
if (typeof input3 === "symbol")
|
|
9880
9880
|
return payload;
|
|
9881
9881
|
payload.issues.push({
|
|
9882
9882
|
expected: "symbol",
|
|
9883
9883
|
code: "invalid_type",
|
|
9884
|
-
input:
|
|
9884
|
+
input: input3,
|
|
9885
9885
|
inst
|
|
9886
9886
|
});
|
|
9887
9887
|
return payload;
|
|
@@ -9892,13 +9892,13 @@ var $ZodUndefined = /* @__PURE__ */ $constructor("$ZodUndefined", (inst, def) =>
|
|
|
9892
9892
|
inst._zod.pattern = _undefined;
|
|
9893
9893
|
inst._zod.values = /* @__PURE__ */ new Set([void 0]);
|
|
9894
9894
|
inst._zod.parse = (payload, _ctx) => {
|
|
9895
|
-
const
|
|
9896
|
-
if (typeof
|
|
9895
|
+
const input3 = payload.value;
|
|
9896
|
+
if (typeof input3 === "undefined")
|
|
9897
9897
|
return payload;
|
|
9898
9898
|
payload.issues.push({
|
|
9899
9899
|
expected: "undefined",
|
|
9900
9900
|
code: "invalid_type",
|
|
9901
|
-
input:
|
|
9901
|
+
input: input3,
|
|
9902
9902
|
inst
|
|
9903
9903
|
});
|
|
9904
9904
|
return payload;
|
|
@@ -9909,13 +9909,13 @@ var $ZodNull = /* @__PURE__ */ $constructor("$ZodNull", (inst, def) => {
|
|
|
9909
9909
|
inst._zod.pattern = _null;
|
|
9910
9910
|
inst._zod.values = /* @__PURE__ */ new Set([null]);
|
|
9911
9911
|
inst._zod.parse = (payload, _ctx) => {
|
|
9912
|
-
const
|
|
9913
|
-
if (
|
|
9912
|
+
const input3 = payload.value;
|
|
9913
|
+
if (input3 === null)
|
|
9914
9914
|
return payload;
|
|
9915
9915
|
payload.issues.push({
|
|
9916
9916
|
expected: "null",
|
|
9917
9917
|
code: "invalid_type",
|
|
9918
|
-
input:
|
|
9918
|
+
input: input3,
|
|
9919
9919
|
inst
|
|
9920
9920
|
});
|
|
9921
9921
|
return payload;
|
|
@@ -9944,13 +9944,13 @@ var $ZodNever = /* @__PURE__ */ $constructor("$ZodNever", (inst, def) => {
|
|
|
9944
9944
|
var $ZodVoid = /* @__PURE__ */ $constructor("$ZodVoid", (inst, def) => {
|
|
9945
9945
|
$ZodType.init(inst, def);
|
|
9946
9946
|
inst._zod.parse = (payload, _ctx) => {
|
|
9947
|
-
const
|
|
9948
|
-
if (typeof
|
|
9947
|
+
const input3 = payload.value;
|
|
9948
|
+
if (typeof input3 === "undefined")
|
|
9949
9949
|
return payload;
|
|
9950
9950
|
payload.issues.push({
|
|
9951
9951
|
expected: "void",
|
|
9952
9952
|
code: "invalid_type",
|
|
9953
|
-
input:
|
|
9953
|
+
input: input3,
|
|
9954
9954
|
inst
|
|
9955
9955
|
});
|
|
9956
9956
|
return payload;
|
|
@@ -9965,15 +9965,15 @@ var $ZodDate = /* @__PURE__ */ $constructor("$ZodDate", (inst, def) => {
|
|
|
9965
9965
|
} catch (_err) {
|
|
9966
9966
|
}
|
|
9967
9967
|
}
|
|
9968
|
-
const
|
|
9969
|
-
const isDate =
|
|
9970
|
-
const isValidDate = isDate && !Number.isNaN(
|
|
9968
|
+
const input3 = payload.value;
|
|
9969
|
+
const isDate = input3 instanceof Date;
|
|
9970
|
+
const isValidDate = isDate && !Number.isNaN(input3.getTime());
|
|
9971
9971
|
if (isValidDate)
|
|
9972
9972
|
return payload;
|
|
9973
9973
|
payload.issues.push({
|
|
9974
9974
|
expected: "date",
|
|
9975
9975
|
code: "invalid_type",
|
|
9976
|
-
input:
|
|
9976
|
+
input: input3,
|
|
9977
9977
|
...isDate ? { received: "Invalid Date" } : {},
|
|
9978
9978
|
inst
|
|
9979
9979
|
});
|
|
@@ -9991,21 +9991,21 @@ var $ZodArray = /* @__PURE__ */ $constructor("$ZodArray", (inst, def) => {
|
|
|
9991
9991
|
const memo2 = globalConfig.memoizer;
|
|
9992
9992
|
memo2?.attach(inst);
|
|
9993
9993
|
inst._zod.parse = (payload, ctx) => {
|
|
9994
|
-
const
|
|
9995
|
-
if (!Array.isArray(
|
|
9994
|
+
const input3 = payload.value;
|
|
9995
|
+
if (!Array.isArray(input3)) {
|
|
9996
9996
|
payload.issues.push({
|
|
9997
9997
|
expected: "array",
|
|
9998
9998
|
code: "invalid_type",
|
|
9999
|
-
input:
|
|
9999
|
+
input: input3,
|
|
10000
10000
|
inst
|
|
10001
10001
|
});
|
|
10002
10002
|
return payload;
|
|
10003
10003
|
}
|
|
10004
|
-
payload.value = memo2 ? memo2.alloc(inst, payload, Array(
|
|
10004
|
+
payload.value = memo2 ? memo2.alloc(inst, payload, Array(input3.length), ctx) : Array(input3.length);
|
|
10005
10005
|
const proms = [];
|
|
10006
10006
|
const abortEarly = ctx?.abortEarly;
|
|
10007
|
-
for (let i = 0; i <
|
|
10008
|
-
const item =
|
|
10007
|
+
for (let i = 0; i < input3.length; i++) {
|
|
10008
|
+
const item = input3[i];
|
|
10009
10009
|
const result = def.element._zod.run({
|
|
10010
10010
|
value: item,
|
|
10011
10011
|
issues: []
|
|
@@ -10024,8 +10024,8 @@ var $ZodArray = /* @__PURE__ */ $constructor("$ZodArray", (inst, def) => {
|
|
|
10024
10024
|
return payload;
|
|
10025
10025
|
};
|
|
10026
10026
|
});
|
|
10027
|
-
function handlePropertyResult(result, final, key,
|
|
10028
|
-
const isPresent = key in
|
|
10027
|
+
function handlePropertyResult(result, final, key, input3, optin, optout) {
|
|
10028
|
+
const isPresent = key in input3;
|
|
10029
10029
|
const isOptionalOut = optout === "optional";
|
|
10030
10030
|
if (!isPresent && isOptionalOut && optin === "optional") {
|
|
10031
10031
|
return;
|
|
@@ -10077,7 +10077,7 @@ function normalizeDef(def) {
|
|
|
10077
10077
|
optionalKeys: new Set(okeys)
|
|
10078
10078
|
};
|
|
10079
10079
|
}
|
|
10080
|
-
function handleCatchall(proms,
|
|
10080
|
+
function handleCatchall(proms, input3, payload, ctx, def, inst, abortEarly) {
|
|
10081
10081
|
const unrecognized = [];
|
|
10082
10082
|
const keySet = def.keySet;
|
|
10083
10083
|
const _catchall = def.catchall._zod;
|
|
@@ -10085,7 +10085,7 @@ function handleCatchall(proms, input2, payload, ctx, def, inst, abortEarly) {
|
|
|
10085
10085
|
const optin = _catchall.optin;
|
|
10086
10086
|
const optout = _catchall.optout;
|
|
10087
10087
|
let seen = 0;
|
|
10088
|
-
for (const key in
|
|
10088
|
+
for (const key in input3) {
|
|
10089
10089
|
if (abortEarly && payload.issues.length !== seen) {
|
|
10090
10090
|
if (aborted(payload, seen))
|
|
10091
10091
|
break;
|
|
@@ -10102,18 +10102,18 @@ function handleCatchall(proms, input2, payload, ctx, def, inst, abortEarly) {
|
|
|
10102
10102
|
unrecognized.push(key);
|
|
10103
10103
|
continue;
|
|
10104
10104
|
}
|
|
10105
|
-
const r = _catchall.run({ value:
|
|
10105
|
+
const r = _catchall.run({ value: input3[key], issues: [] }, ctx);
|
|
10106
10106
|
if (r instanceof Promise) {
|
|
10107
|
-
proms.push(r.then((r2) => handlePropertyResult(r2, payload, key,
|
|
10107
|
+
proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input3, optin, optout)));
|
|
10108
10108
|
} else {
|
|
10109
|
-
handlePropertyResult(r, payload, key,
|
|
10109
|
+
handlePropertyResult(r, payload, key, input3, optin, optout);
|
|
10110
10110
|
}
|
|
10111
10111
|
}
|
|
10112
10112
|
if (unrecognized.length) {
|
|
10113
10113
|
payload.issues.push({
|
|
10114
10114
|
code: "unrecognized_keys",
|
|
10115
10115
|
keys: unrecognized,
|
|
10116
|
-
input:
|
|
10116
|
+
input: input3,
|
|
10117
10117
|
inst,
|
|
10118
10118
|
// Describes the shape of the input, not the validity of the parsed value, so it never aborts. The parse still fails; the schema's own checks just get to run first, and an enclosing intersection can reconcile the key against a sibling operand.
|
|
10119
10119
|
continue: true
|
|
@@ -10164,12 +10164,12 @@ var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
|
|
|
10164
10164
|
memo2?.attach(inst);
|
|
10165
10165
|
inst._zod.parse = (payload, ctx) => {
|
|
10166
10166
|
value ?? (value = _normalized.value);
|
|
10167
|
-
const
|
|
10168
|
-
if (!isObject2(
|
|
10167
|
+
const input3 = payload.value;
|
|
10168
|
+
if (!isObject2(input3)) {
|
|
10169
10169
|
payload.issues.push({
|
|
10170
10170
|
expected: "object",
|
|
10171
10171
|
code: "invalid_type",
|
|
10172
|
-
input:
|
|
10172
|
+
input: input3,
|
|
10173
10173
|
inst
|
|
10174
10174
|
});
|
|
10175
10175
|
return payload;
|
|
@@ -10190,17 +10190,17 @@ var $ZodObject = /* @__PURE__ */ $constructor("$ZodObject", (inst, def) => {
|
|
|
10190
10190
|
const el = shape[key];
|
|
10191
10191
|
const optin = el._zod.optin;
|
|
10192
10192
|
const optout = el._zod.optout;
|
|
10193
|
-
const r = el._zod.run({ value:
|
|
10193
|
+
const r = el._zod.run({ value: input3[key], issues: [] }, ctx);
|
|
10194
10194
|
if (r instanceof Promise) {
|
|
10195
|
-
proms.push(r.then((r2) => handlePropertyResult(r2, payload, key,
|
|
10195
|
+
proms.push(r.then((r2) => handlePropertyResult(r2, payload, key, input3, optin, optout)));
|
|
10196
10196
|
} else {
|
|
10197
|
-
handlePropertyResult(r, payload, key,
|
|
10197
|
+
handlePropertyResult(r, payload, key, input3, optin, optout);
|
|
10198
10198
|
}
|
|
10199
10199
|
}
|
|
10200
10200
|
if (!catchall) {
|
|
10201
10201
|
return proms.length ? Promise.all(proms).then(() => payload) : payload;
|
|
10202
10202
|
}
|
|
10203
|
-
return handleCatchall(proms,
|
|
10203
|
+
return handleCatchall(proms, input3, payload, ctx, _normalized.value, inst, abortEarly === true);
|
|
10204
10204
|
};
|
|
10205
10205
|
});
|
|
10206
10206
|
var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) => {
|
|
@@ -10213,15 +10213,15 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
10213
10213
|
const syms = normalized.symbolKeys;
|
|
10214
10214
|
const doc = new Doc(["payload", "ctx"], { shape, inst, memo: memo2, syms });
|
|
10215
10215
|
const parseStr = (k) => `shape[${k}]._zod.run({ value: input[${k}], issues: [] }, ctx)`;
|
|
10216
|
-
const prefixStr = (
|
|
10217
|
-
let ${
|
|
10218
|
-
for (let i = 0; i < ${
|
|
10219
|
-
const iss = ${
|
|
10216
|
+
const prefixStr = (id2, k) => `
|
|
10217
|
+
let ${id2}_ab = false;
|
|
10218
|
+
for (let i = 0; i < ${id2}.issues.length; i++) {
|
|
10219
|
+
const iss = ${id2}.issues[i];
|
|
10220
10220
|
iss.path = iss.path ? [${k}, ...iss.path] : [${k}];
|
|
10221
10221
|
payload.issues.push(iss);
|
|
10222
|
-
if (iss.continue !== true) ${
|
|
10222
|
+
if (iss.continue !== true) ${id2}_ab = true;
|
|
10223
10223
|
}
|
|
10224
|
-
if (${
|
|
10224
|
+
if (${id2}_ab && ctx && ctx.abortEarly) {
|
|
10225
10225
|
payload.value = newResult;
|
|
10226
10226
|
return payload;
|
|
10227
10227
|
}`;
|
|
@@ -10235,34 +10235,34 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
10235
10235
|
for (const key of normalized.allKeys) {
|
|
10236
10236
|
if (key === "__proto__")
|
|
10237
10237
|
continue;
|
|
10238
|
-
const
|
|
10238
|
+
const id2 = ids[key];
|
|
10239
10239
|
const k = typeof key === "symbol" ? `syms[${syms.indexOf(key)}]` : esc(key);
|
|
10240
10240
|
const isPresent = `${k} in input`;
|
|
10241
10241
|
const schema2 = shape[key];
|
|
10242
10242
|
const optin = schema2?._zod?.optin;
|
|
10243
10243
|
const isOptionalIn = optin !== void 0;
|
|
10244
10244
|
const isOptionalOut = schema2?._zod?.optout === "optional";
|
|
10245
|
-
doc.write(`const ${
|
|
10245
|
+
doc.write(`const ${id2} = ${parseStr(k)};`);
|
|
10246
10246
|
if (isOptionalIn && isOptionalOut) {
|
|
10247
|
-
const assign = optin === "optional" ? `${
|
|
10247
|
+
const assign = optin === "optional" ? `${id2}_present` : `${id2}.value !== undefined || ${id2}_present`;
|
|
10248
10248
|
doc.write(`
|
|
10249
|
-
const ${
|
|
10250
|
-
if (!${
|
|
10251
|
-
if (${
|
|
10249
|
+
const ${id2}_present = ${isPresent};
|
|
10250
|
+
if (!${id2}.issues.length || ${id2}_present) {
|
|
10251
|
+
if (${id2}.issues.length) {${prefixStr(id2, k)}
|
|
10252
10252
|
}
|
|
10253
10253
|
|
|
10254
10254
|
if (${assign}) {
|
|
10255
|
-
newResult[${k}] = ${
|
|
10255
|
+
newResult[${k}] = ${id2}.value;
|
|
10256
10256
|
}
|
|
10257
10257
|
}
|
|
10258
10258
|
|
|
10259
10259
|
`);
|
|
10260
10260
|
} else if (!isOptionalIn) {
|
|
10261
10261
|
doc.write(`
|
|
10262
|
-
const ${
|
|
10263
|
-
if (${
|
|
10262
|
+
const ${id2}_present = ${isPresent};
|
|
10263
|
+
if (${id2}.issues.length) {${prefixStr(id2, k)}
|
|
10264
10264
|
}
|
|
10265
|
-
if (!${
|
|
10265
|
+
if (!${id2}_present && !${id2}.issues.length) {
|
|
10266
10266
|
payload.issues.push({
|
|
10267
10267
|
code: "invalid_type",
|
|
10268
10268
|
expected: "nonoptional",
|
|
@@ -10275,22 +10275,22 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
10275
10275
|
}
|
|
10276
10276
|
}
|
|
10277
10277
|
|
|
10278
|
-
if (${
|
|
10279
|
-
newResult[${k}] = ${
|
|
10278
|
+
if (${id2}_present) {
|
|
10279
|
+
newResult[${k}] = ${id2}.value;
|
|
10280
10280
|
}
|
|
10281
10281
|
|
|
10282
10282
|
`);
|
|
10283
10283
|
} else {
|
|
10284
10284
|
doc.write(`
|
|
10285
|
-
if (${
|
|
10285
|
+
if (${id2}.issues.length) {${prefixStr(id2, k)}
|
|
10286
10286
|
}
|
|
10287
10287
|
`);
|
|
10288
10288
|
if (optin === "defaulted") {
|
|
10289
|
-
doc.write(`newResult[${k}] = ${
|
|
10289
|
+
doc.write(`newResult[${k}] = ${id2}.value;`);
|
|
10290
10290
|
} else {
|
|
10291
10291
|
doc.write(`
|
|
10292
|
-
if (${
|
|
10293
|
-
newResult[${k}] = ${
|
|
10292
|
+
if (${id2}.value !== undefined || ${isPresent}) {
|
|
10293
|
+
newResult[${k}] = ${id2}.value;
|
|
10294
10294
|
}
|
|
10295
10295
|
`);
|
|
10296
10296
|
}
|
|
@@ -10309,12 +10309,12 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
10309
10309
|
let value;
|
|
10310
10310
|
inst._zod.parse = (payload, ctx) => {
|
|
10311
10311
|
value ?? (value = _normalized.value);
|
|
10312
|
-
const
|
|
10313
|
-
if (!isObject2(
|
|
10312
|
+
const input3 = payload.value;
|
|
10313
|
+
if (!isObject2(input3)) {
|
|
10314
10314
|
payload.issues.push({
|
|
10315
10315
|
expected: "object",
|
|
10316
10316
|
code: "invalid_type",
|
|
10317
|
-
input:
|
|
10317
|
+
input: input3,
|
|
10318
10318
|
inst
|
|
10319
10319
|
});
|
|
10320
10320
|
return payload;
|
|
@@ -10325,7 +10325,7 @@ var $ZodObjectJIT = /* @__PURE__ */ $constructor("$ZodObjectJIT", (inst, def) =>
|
|
|
10325
10325
|
payload = fastpass(payload, ctx);
|
|
10326
10326
|
if (!catchall)
|
|
10327
10327
|
return payload;
|
|
10328
|
-
return handleCatchall([],
|
|
10328
|
+
return handleCatchall([], input3, payload, ctx, value, inst, ctx?.abortEarly === true);
|
|
10329
10329
|
}
|
|
10330
10330
|
return superParse(payload, ctx);
|
|
10331
10331
|
};
|
|
@@ -10517,17 +10517,17 @@ var $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUnio
|
|
|
10517
10517
|
});
|
|
10518
10518
|
const disc = cached(() => discriminatorMap(def));
|
|
10519
10519
|
inst._zod.parse = (payload, ctx) => {
|
|
10520
|
-
const
|
|
10521
|
-
if (!isObject(
|
|
10520
|
+
const input3 = payload.value;
|
|
10521
|
+
if (!isObject(input3)) {
|
|
10522
10522
|
payload.issues.push({
|
|
10523
10523
|
code: "invalid_type",
|
|
10524
10524
|
expected: "object",
|
|
10525
|
-
input:
|
|
10525
|
+
input: input3,
|
|
10526
10526
|
inst
|
|
10527
10527
|
});
|
|
10528
10528
|
return payload;
|
|
10529
10529
|
}
|
|
10530
|
-
const value =
|
|
10530
|
+
const value = input3?.[def.discriminator];
|
|
10531
10531
|
const opt = disc.value.get(value);
|
|
10532
10532
|
if (opt && (value !== void 0 || ctx.direction !== "backward")) {
|
|
10533
10533
|
return opt._zod.run(payload, ctx);
|
|
@@ -10541,7 +10541,7 @@ var $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUnio
|
|
|
10541
10541
|
note: "No matching discriminator",
|
|
10542
10542
|
discriminator: def.discriminator,
|
|
10543
10543
|
options: Array.from(disc.value.keys()).filter((value2) => disc.value.get(value2) !== null),
|
|
10544
|
-
input:
|
|
10544
|
+
input: input3,
|
|
10545
10545
|
path: [def.discriminator],
|
|
10546
10546
|
inst
|
|
10547
10547
|
});
|
|
@@ -10551,9 +10551,9 @@ var $ZodDiscriminatedUnion = /* @__PURE__ */ $constructor("$ZodDiscriminatedUnio
|
|
|
10551
10551
|
var $ZodIntersection = /* @__PURE__ */ $constructor("$ZodIntersection", (inst, def) => {
|
|
10552
10552
|
$ZodType.init(inst, def);
|
|
10553
10553
|
inst._zod.parse = (payload, ctx) => {
|
|
10554
|
-
const
|
|
10555
|
-
const left = def.left._zod.run({ value:
|
|
10556
|
-
const right = def.right._zod.run({ value:
|
|
10554
|
+
const input3 = payload.value;
|
|
10555
|
+
const left = def.left._zod.run({ value: input3, issues: [] }, ctx);
|
|
10556
|
+
const right = def.right._zod.run({ value: input3, issues: [] }, ctx);
|
|
10557
10557
|
const async = left instanceof Promise || right instanceof Promise;
|
|
10558
10558
|
if (async) {
|
|
10559
10559
|
return Promise.all([left, right]).then(([left2, right2]) => {
|
|
@@ -10668,10 +10668,10 @@ var $ZodTuple = /* @__PURE__ */ $constructor("$ZodTuple", (inst, def) => {
|
|
|
10668
10668
|
const memo2 = globalConfig.memoizer;
|
|
10669
10669
|
memo2?.attach(inst);
|
|
10670
10670
|
inst._zod.parse = (payload, ctx) => {
|
|
10671
|
-
const
|
|
10672
|
-
if (!Array.isArray(
|
|
10671
|
+
const input3 = payload.value;
|
|
10672
|
+
if (!Array.isArray(input3)) {
|
|
10673
10673
|
payload.issues.push({
|
|
10674
|
-
input:
|
|
10674
|
+
input: input3,
|
|
10675
10675
|
inst,
|
|
10676
10676
|
expected: "tuple",
|
|
10677
10677
|
code: "invalid_type"
|
|
@@ -10683,23 +10683,23 @@ var $ZodTuple = /* @__PURE__ */ $constructor("$ZodTuple", (inst, def) => {
|
|
|
10683
10683
|
const optinStart = getTupleOptStart(items, "optin");
|
|
10684
10684
|
const optoutStart = getTupleOptStart(items, "optout");
|
|
10685
10685
|
if (!def.rest) {
|
|
10686
|
-
if (
|
|
10686
|
+
if (input3.length < optinStart) {
|
|
10687
10687
|
payload.issues.push({
|
|
10688
10688
|
code: "too_small",
|
|
10689
10689
|
minimum: optinStart,
|
|
10690
10690
|
inclusive: true,
|
|
10691
|
-
input:
|
|
10691
|
+
input: input3,
|
|
10692
10692
|
inst,
|
|
10693
10693
|
origin: "array"
|
|
10694
10694
|
});
|
|
10695
10695
|
return payload;
|
|
10696
10696
|
}
|
|
10697
|
-
if (
|
|
10697
|
+
if (input3.length > items.length) {
|
|
10698
10698
|
payload.issues.push({
|
|
10699
10699
|
code: "too_big",
|
|
10700
10700
|
maximum: items.length,
|
|
10701
10701
|
inclusive: true,
|
|
10702
|
-
input:
|
|
10702
|
+
input: input3,
|
|
10703
10703
|
inst,
|
|
10704
10704
|
origin: "array"
|
|
10705
10705
|
});
|
|
@@ -10709,7 +10709,7 @@ var $ZodTuple = /* @__PURE__ */ $constructor("$ZodTuple", (inst, def) => {
|
|
|
10709
10709
|
const abortEarly = def.rest ? ctx?.abortEarly : void 0;
|
|
10710
10710
|
let itemAborted = false;
|
|
10711
10711
|
for (let i = 0; i < items.length; i++) {
|
|
10712
|
-
const r = items[i]._zod.run({ value:
|
|
10712
|
+
const r = items[i]._zod.run({ value: input3[i], issues: [] }, ctx);
|
|
10713
10713
|
if (r instanceof Promise) {
|
|
10714
10714
|
proms.push(r.then((rr) => {
|
|
10715
10715
|
itemResults[i] = rr;
|
|
@@ -10722,7 +10722,7 @@ var $ZodTuple = /* @__PURE__ */ $constructor("$ZodTuple", (inst, def) => {
|
|
|
10722
10722
|
}
|
|
10723
10723
|
if (def.rest && !itemAborted) {
|
|
10724
10724
|
let i = items.length - 1;
|
|
10725
|
-
const rest =
|
|
10725
|
+
const rest = input3.slice(items.length);
|
|
10726
10726
|
let seen = payload.issues.length;
|
|
10727
10727
|
for (const el of rest) {
|
|
10728
10728
|
if (abortEarly && payload.issues.length !== seen) {
|
|
@@ -10740,9 +10740,9 @@ var $ZodTuple = /* @__PURE__ */ $constructor("$ZodTuple", (inst, def) => {
|
|
|
10740
10740
|
}
|
|
10741
10741
|
}
|
|
10742
10742
|
if (proms.length) {
|
|
10743
|
-
return Promise.all(proms).then(() => handleTupleResults(itemResults, payload, items,
|
|
10743
|
+
return Promise.all(proms).then(() => handleTupleResults(itemResults, payload, items, input3, optoutStart));
|
|
10744
10744
|
}
|
|
10745
|
-
return handleTupleResults(itemResults, payload, items,
|
|
10745
|
+
return handleTupleResults(itemResults, payload, items, input3, optoutStart);
|
|
10746
10746
|
};
|
|
10747
10747
|
});
|
|
10748
10748
|
function getTupleOptStart(items, key) {
|
|
@@ -10759,10 +10759,10 @@ function handleTupleResult(result, final, index) {
|
|
|
10759
10759
|
}
|
|
10760
10760
|
final.value[index] = result.value;
|
|
10761
10761
|
}
|
|
10762
|
-
function handleTupleResults(itemResults, final, items,
|
|
10762
|
+
function handleTupleResults(itemResults, final, items, input3, optoutStart) {
|
|
10763
10763
|
for (let i = 0; i < items.length; i++) {
|
|
10764
10764
|
const r = itemResults[i];
|
|
10765
|
-
const isPresent = i <
|
|
10765
|
+
const isPresent = i < input3.length;
|
|
10766
10766
|
if (!isPresent && i >= optoutStart && items[i]._zod.optin === "optional") {
|
|
10767
10767
|
final.value.length = i;
|
|
10768
10768
|
break;
|
|
@@ -10776,7 +10776,7 @@ function handleTupleResults(itemResults, final, items, input2, optoutStart) {
|
|
|
10776
10776
|
}
|
|
10777
10777
|
final.value[i] = r.value;
|
|
10778
10778
|
}
|
|
10779
|
-
for (let i = final.value.length - 1; i >=
|
|
10779
|
+
for (let i = final.value.length - 1; i >= input3.length; i--) {
|
|
10780
10780
|
if (items[i]._zod.optout === "optional" && final.value[i] === void 0) {
|
|
10781
10781
|
final.value.length = i;
|
|
10782
10782
|
} else {
|
|
@@ -10790,12 +10790,12 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
10790
10790
|
const memo2 = globalConfig.memoizer;
|
|
10791
10791
|
memo2?.attach(inst);
|
|
10792
10792
|
inst._zod.parse = (payload, ctx) => {
|
|
10793
|
-
const
|
|
10794
|
-
if (!isPlainObject(
|
|
10793
|
+
const input3 = payload.value;
|
|
10794
|
+
if (!isPlainObject(input3)) {
|
|
10795
10795
|
payload.issues.push({
|
|
10796
10796
|
expected: "record",
|
|
10797
10797
|
code: "invalid_type",
|
|
10798
|
-
input:
|
|
10798
|
+
input: input3,
|
|
10799
10799
|
inst
|
|
10800
10800
|
});
|
|
10801
10801
|
return payload;
|
|
@@ -10828,7 +10828,7 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
10828
10828
|
const outKey = keyResult.value;
|
|
10829
10829
|
if (outKey === "__proto__")
|
|
10830
10830
|
continue;
|
|
10831
|
-
const result = def.valueType._zod.run({ value:
|
|
10831
|
+
const result = def.valueType._zod.run({ value: input3[key], issues: [] }, ctx);
|
|
10832
10832
|
if (result instanceof Promise) {
|
|
10833
10833
|
proms.push(result.then((result2) => {
|
|
10834
10834
|
if (result2.issues.length) {
|
|
@@ -10845,12 +10845,12 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
10845
10845
|
}
|
|
10846
10846
|
}
|
|
10847
10847
|
let unrecognized;
|
|
10848
|
-
for (const key in
|
|
10848
|
+
for (const key in input3) {
|
|
10849
10849
|
if (!recordKeys.has(key)) {
|
|
10850
10850
|
if (def.mode === "loose") {
|
|
10851
10851
|
if (key === "__proto__")
|
|
10852
10852
|
continue;
|
|
10853
|
-
payload.value[key] =
|
|
10853
|
+
payload.value[key] = input3[key];
|
|
10854
10854
|
} else {
|
|
10855
10855
|
unrecognized = unrecognized ?? [];
|
|
10856
10856
|
unrecognized.push(key);
|
|
@@ -10860,7 +10860,7 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
10860
10860
|
if (unrecognized && unrecognized.length > 0) {
|
|
10861
10861
|
payload.issues.push({
|
|
10862
10862
|
code: "unrecognized_keys",
|
|
10863
|
-
input:
|
|
10863
|
+
input: input3,
|
|
10864
10864
|
inst,
|
|
10865
10865
|
keys: unrecognized,
|
|
10866
10866
|
continue: true
|
|
@@ -10869,10 +10869,10 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
10869
10869
|
} else {
|
|
10870
10870
|
payload.value = memo2 ? memo2.alloc(inst, payload, {}, ctx) : {};
|
|
10871
10871
|
let unrecognized;
|
|
10872
|
-
for (const key of Reflect.ownKeys(
|
|
10872
|
+
for (const key of Reflect.ownKeys(input3)) {
|
|
10873
10873
|
if (key === "__proto__")
|
|
10874
10874
|
continue;
|
|
10875
|
-
if (!Object.prototype.propertyIsEnumerable.call(
|
|
10875
|
+
if (!Object.prototype.propertyIsEnumerable.call(input3, key))
|
|
10876
10876
|
continue;
|
|
10877
10877
|
let keyResult = def.keyType._zod.run({ value: key, issues: [] }, ctx);
|
|
10878
10878
|
if (keyResult instanceof Promise) {
|
|
@@ -10890,7 +10890,7 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
10890
10890
|
}
|
|
10891
10891
|
if (keyResult.issues.length) {
|
|
10892
10892
|
if (def.mode === "loose") {
|
|
10893
|
-
payload.value[key] =
|
|
10893
|
+
payload.value[key] = input3[key];
|
|
10894
10894
|
} else if (values) {
|
|
10895
10895
|
unrecognized = unrecognized ?? [];
|
|
10896
10896
|
unrecognized.push(key);
|
|
@@ -10909,7 +10909,7 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
10909
10909
|
const outKey = keyResult.value;
|
|
10910
10910
|
if (outKey === "__proto__")
|
|
10911
10911
|
continue;
|
|
10912
|
-
const result = def.valueType._zod.run({ value:
|
|
10912
|
+
const result = def.valueType._zod.run({ value: input3[key], issues: [] }, ctx);
|
|
10913
10913
|
if (result instanceof Promise) {
|
|
10914
10914
|
proms.push(result.then((result2) => {
|
|
10915
10915
|
if (result2.issues.length) {
|
|
@@ -10927,7 +10927,7 @@ var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
|
10927
10927
|
if (unrecognized && unrecognized.length > 0) {
|
|
10928
10928
|
payload.issues.push({
|
|
10929
10929
|
code: "unrecognized_keys",
|
|
10930
|
-
input:
|
|
10930
|
+
input: input3,
|
|
10931
10931
|
inst,
|
|
10932
10932
|
keys: unrecognized,
|
|
10933
10933
|
continue: true
|
|
@@ -10945,12 +10945,12 @@ var $ZodMap = /* @__PURE__ */ $constructor("$ZodMap", (inst, def) => {
|
|
|
10945
10945
|
const memo2 = globalConfig.memoizer;
|
|
10946
10946
|
memo2?.attach(inst);
|
|
10947
10947
|
inst._zod.parse = (payload, ctx) => {
|
|
10948
|
-
const
|
|
10949
|
-
if (!(
|
|
10948
|
+
const input3 = payload.value;
|
|
10949
|
+
if (!(input3 instanceof Map)) {
|
|
10950
10950
|
payload.issues.push({
|
|
10951
10951
|
expected: "map",
|
|
10952
10952
|
code: "invalid_type",
|
|
10953
|
-
input:
|
|
10953
|
+
input: input3,
|
|
10954
10954
|
inst
|
|
10955
10955
|
});
|
|
10956
10956
|
return payload;
|
|
@@ -10959,7 +10959,7 @@ var $ZodMap = /* @__PURE__ */ $constructor("$ZodMap", (inst, def) => {
|
|
|
10959
10959
|
payload.value = memo2 ? memo2.alloc(inst, payload, /* @__PURE__ */ new Map(), ctx) : /* @__PURE__ */ new Map();
|
|
10960
10960
|
const abortEarly = ctx?.abortEarly;
|
|
10961
10961
|
let seen = payload.issues.length;
|
|
10962
|
-
for (const [key, value] of
|
|
10962
|
+
for (const [key, value] of input3) {
|
|
10963
10963
|
if (abortEarly && payload.issues.length !== seen) {
|
|
10964
10964
|
if (aborted(payload, seen))
|
|
10965
10965
|
break;
|
|
@@ -10969,10 +10969,10 @@ var $ZodMap = /* @__PURE__ */ $constructor("$ZodMap", (inst, def) => {
|
|
|
10969
10969
|
const valueResult = def.valueType._zod.run({ value, issues: [] }, ctx);
|
|
10970
10970
|
if (keyResult instanceof Promise || valueResult instanceof Promise) {
|
|
10971
10971
|
proms.push(Promise.all([keyResult, valueResult]).then(([keyResult2, valueResult2]) => {
|
|
10972
|
-
handleMapResult(keyResult2, valueResult2, payload, key,
|
|
10972
|
+
handleMapResult(keyResult2, valueResult2, payload, key, input3, inst, ctx);
|
|
10973
10973
|
}));
|
|
10974
10974
|
} else {
|
|
10975
|
-
handleMapResult(keyResult, valueResult, payload, key,
|
|
10975
|
+
handleMapResult(keyResult, valueResult, payload, key, input3, inst, ctx);
|
|
10976
10976
|
}
|
|
10977
10977
|
}
|
|
10978
10978
|
if (proms.length)
|
|
@@ -10980,7 +10980,7 @@ var $ZodMap = /* @__PURE__ */ $constructor("$ZodMap", (inst, def) => {
|
|
|
10980
10980
|
return payload;
|
|
10981
10981
|
};
|
|
10982
10982
|
});
|
|
10983
|
-
function handleMapResult(keyResult, valueResult, final, key,
|
|
10983
|
+
function handleMapResult(keyResult, valueResult, final, key, input3, inst, ctx) {
|
|
10984
10984
|
if (keyResult.issues.length) {
|
|
10985
10985
|
if (propertyKeyTypes.has(typeof key)) {
|
|
10986
10986
|
final.issues.push(...prefixIssues(key, keyResult.issues));
|
|
@@ -10988,7 +10988,7 @@ function handleMapResult(keyResult, valueResult, final, key, input2, inst, ctx)
|
|
|
10988
10988
|
final.issues.push({
|
|
10989
10989
|
code: "invalid_key",
|
|
10990
10990
|
origin: "map",
|
|
10991
|
-
input:
|
|
10991
|
+
input: input3,
|
|
10992
10992
|
inst,
|
|
10993
10993
|
issues: keyResult.issues.map((iss) => finalizeIssue(iss, ctx, config()))
|
|
10994
10994
|
});
|
|
@@ -11001,7 +11001,7 @@ function handleMapResult(keyResult, valueResult, final, key, input2, inst, ctx)
|
|
|
11001
11001
|
final.issues.push({
|
|
11002
11002
|
origin: "map",
|
|
11003
11003
|
code: "invalid_element",
|
|
11004
|
-
input:
|
|
11004
|
+
input: input3,
|
|
11005
11005
|
inst,
|
|
11006
11006
|
key,
|
|
11007
11007
|
issues: valueResult.issues.map((iss) => finalizeIssue(iss, ctx, config()))
|
|
@@ -11015,10 +11015,10 @@ var $ZodSet = /* @__PURE__ */ $constructor("$ZodSet", (inst, def) => {
|
|
|
11015
11015
|
const memo2 = globalConfig.memoizer;
|
|
11016
11016
|
memo2?.attach(inst);
|
|
11017
11017
|
inst._zod.parse = (payload, ctx) => {
|
|
11018
|
-
const
|
|
11019
|
-
if (!(
|
|
11018
|
+
const input3 = payload.value;
|
|
11019
|
+
if (!(input3 instanceof Set)) {
|
|
11020
11020
|
payload.issues.push({
|
|
11021
|
-
input:
|
|
11021
|
+
input: input3,
|
|
11022
11022
|
inst,
|
|
11023
11023
|
expected: "set",
|
|
11024
11024
|
code: "invalid_type"
|
|
@@ -11029,7 +11029,7 @@ var $ZodSet = /* @__PURE__ */ $constructor("$ZodSet", (inst, def) => {
|
|
|
11029
11029
|
payload.value = memo2 ? memo2.alloc(inst, payload, /* @__PURE__ */ new Set(), ctx) : /* @__PURE__ */ new Set();
|
|
11030
11030
|
const abortEarly = ctx?.abortEarly;
|
|
11031
11031
|
let seen = payload.issues.length;
|
|
11032
|
-
for (const item of
|
|
11032
|
+
for (const item of input3) {
|
|
11033
11033
|
if (abortEarly && payload.issues.length !== seen) {
|
|
11034
11034
|
if (aborted(payload, seen))
|
|
11035
11035
|
break;
|
|
@@ -11062,14 +11062,14 @@ var $ZodEnum = /* @__PURE__ */ $constructor("$ZodEnum", (inst, def) => {
|
|
|
11062
11062
|
return new RegExp(patternValues.length ? `^(${patternValues.map((o) => escapeRegex(o.toString())).join("|")})$` : "^[^\\s\\S]$");
|
|
11063
11063
|
});
|
|
11064
11064
|
inst._zod.parse = (payload, _ctx) => {
|
|
11065
|
-
const
|
|
11066
|
-
if (valuesSet.has(
|
|
11065
|
+
const input3 = payload.value;
|
|
11066
|
+
if (valuesSet.has(input3)) {
|
|
11067
11067
|
return payload;
|
|
11068
11068
|
}
|
|
11069
11069
|
payload.issues.push({
|
|
11070
11070
|
code: "invalid_value",
|
|
11071
11071
|
values,
|
|
11072
|
-
input:
|
|
11072
|
+
input: input3,
|
|
11073
11073
|
inst
|
|
11074
11074
|
});
|
|
11075
11075
|
return payload;
|
|
@@ -11084,14 +11084,14 @@ var $ZodLiteral = /* @__PURE__ */ $constructor("$ZodLiteral", (inst, def) => {
|
|
|
11084
11084
|
return new RegExp(vals.length ? `^(${vals.map((o) => typeof o === "string" ? escapeRegex(o) : o ? escapeRegex(o.toString()) : String(o)).join("|")})$` : "^[^\\s\\S]$");
|
|
11085
11085
|
});
|
|
11086
11086
|
inst._zod.parse = (payload, _ctx) => {
|
|
11087
|
-
const
|
|
11088
|
-
if (values.has(
|
|
11087
|
+
const input3 = payload.value;
|
|
11088
|
+
if (values.has(input3)) {
|
|
11089
11089
|
return payload;
|
|
11090
11090
|
}
|
|
11091
11091
|
payload.issues.push({
|
|
11092
11092
|
code: "invalid_value",
|
|
11093
11093
|
values: def.values,
|
|
11094
|
-
input:
|
|
11094
|
+
input: input3,
|
|
11095
11095
|
inst
|
|
11096
11096
|
});
|
|
11097
11097
|
return payload;
|
|
@@ -11100,13 +11100,13 @@ var $ZodLiteral = /* @__PURE__ */ $constructor("$ZodLiteral", (inst, def) => {
|
|
|
11100
11100
|
var $ZodFile = /* @__PURE__ */ $constructor("$ZodFile", (inst, def) => {
|
|
11101
11101
|
$ZodType.init(inst, def);
|
|
11102
11102
|
inst._zod.parse = (payload, _ctx) => {
|
|
11103
|
-
const
|
|
11104
|
-
if (
|
|
11103
|
+
const input3 = payload.value;
|
|
11104
|
+
if (input3 instanceof File)
|
|
11105
11105
|
return payload;
|
|
11106
11106
|
payload.issues.push({
|
|
11107
11107
|
expected: "file",
|
|
11108
11108
|
code: "invalid_type",
|
|
11109
|
-
input:
|
|
11109
|
+
input: input3,
|
|
11110
11110
|
inst
|
|
11111
11111
|
});
|
|
11112
11112
|
return payload;
|
|
@@ -11462,7 +11462,7 @@ function partPattern(schema2) {
|
|
|
11462
11462
|
if (def.options) {
|
|
11463
11463
|
const sources = def.options.map(partPattern);
|
|
11464
11464
|
if (sources.every(Boolean))
|
|
11465
|
-
return `^(${sources.map((
|
|
11465
|
+
return `^(${sources.map((s2) => cleanRegex(s2)).join("|")})$`;
|
|
11466
11466
|
}
|
|
11467
11467
|
return leafPattern(schema2);
|
|
11468
11468
|
}
|
|
@@ -11614,20 +11614,20 @@ var $ZodCustom = /* @__PURE__ */ $constructor("$ZodCustom", (inst, def) => {
|
|
|
11614
11614
|
return payload;
|
|
11615
11615
|
};
|
|
11616
11616
|
inst._zod.check = (payload) => {
|
|
11617
|
-
const
|
|
11618
|
-
const r = def.fn(
|
|
11617
|
+
const input3 = payload.value;
|
|
11618
|
+
const r = def.fn(input3);
|
|
11619
11619
|
if (r instanceof Promise) {
|
|
11620
|
-
return r.then((r2) => handleRefineResult(r2, payload,
|
|
11620
|
+
return r.then((r2) => handleRefineResult(r2, payload, input3, inst));
|
|
11621
11621
|
}
|
|
11622
|
-
handleRefineResult(r, payload,
|
|
11622
|
+
handleRefineResult(r, payload, input3, inst);
|
|
11623
11623
|
return;
|
|
11624
11624
|
};
|
|
11625
11625
|
});
|
|
11626
|
-
function handleRefineResult(result, payload,
|
|
11626
|
+
function handleRefineResult(result, payload, input3, inst) {
|
|
11627
11627
|
if (!result) {
|
|
11628
11628
|
const _iss = {
|
|
11629
11629
|
code: "custom",
|
|
11630
|
-
input:
|
|
11630
|
+
input: input3,
|
|
11631
11631
|
inst,
|
|
11632
11632
|
// incorporates params.error into issue reporting
|
|
11633
11633
|
path: [...inst._zod.def.path ?? []],
|
|
@@ -11653,10 +11653,10 @@ var $ZodProperties = /* @__PURE__ */ $constructor("$ZodProperties", (inst, def)
|
|
|
11653
11653
|
let entries;
|
|
11654
11654
|
const runShape = (payload, ctx) => {
|
|
11655
11655
|
entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
|
|
11656
|
-
const
|
|
11656
|
+
const input3 = payload.value;
|
|
11657
11657
|
let proms;
|
|
11658
11658
|
for (const [key, schema2] of entries) {
|
|
11659
|
-
const result = schema2._zod.run({ value:
|
|
11659
|
+
const result = schema2._zod.run({ value: input3[key], issues: [] }, ctx);
|
|
11660
11660
|
if (result instanceof Promise) {
|
|
11661
11661
|
proms ?? (proms = []);
|
|
11662
11662
|
proms.push(result.then((result2) => handlePropertiesResult(result2, payload, key)));
|
|
@@ -11669,15 +11669,15 @@ var $ZodProperties = /* @__PURE__ */ $constructor("$ZodProperties", (inst, def)
|
|
|
11669
11669
|
return void 0;
|
|
11670
11670
|
};
|
|
11671
11671
|
inst._zod.parse = (payload, ctx) => {
|
|
11672
|
-
const
|
|
11673
|
-
if (
|
|
11674
|
-
payload.issues.push({ expected: "object", code: "invalid_type", input:
|
|
11672
|
+
const input3 = payload.value;
|
|
11673
|
+
if (input3 === null || typeof input3 !== "object" && typeof input3 !== "function") {
|
|
11674
|
+
payload.issues.push({ expected: "object", code: "invalid_type", input: input3, inst });
|
|
11675
11675
|
return payload;
|
|
11676
11676
|
}
|
|
11677
11677
|
if (ctx.direction === "backward")
|
|
11678
11678
|
ctx = { ...ctx, direction: "forward" };
|
|
11679
11679
|
if (memo2)
|
|
11680
|
-
memo2.alloc(inst, payload,
|
|
11680
|
+
memo2.alloc(inst, payload, input3, ctx);
|
|
11681
11681
|
const result = runShape(payload, ctx);
|
|
11682
11682
|
return result instanceof Promise ? result.then(() => payload) : payload;
|
|
11683
11683
|
};
|
|
@@ -11915,8 +11915,8 @@ var memo = {
|
|
|
11915
11915
|
else
|
|
11916
11916
|
rechecked = true;
|
|
11917
11917
|
}
|
|
11918
|
-
const
|
|
11919
|
-
if (!isRef(
|
|
11918
|
+
const input3 = payload.value;
|
|
11919
|
+
if (!isRef(input3))
|
|
11920
11920
|
return base(payload, ctx);
|
|
11921
11921
|
let state = ctx[STATE];
|
|
11922
11922
|
if (!state) {
|
|
@@ -11931,7 +11931,7 @@ var memo = {
|
|
|
11931
11931
|
lastCtx = ctx;
|
|
11932
11932
|
lastBucket = bucket;
|
|
11933
11933
|
}
|
|
11934
|
-
const hit = bucket.get(
|
|
11934
|
+
const hit = bucket.get(input3);
|
|
11935
11935
|
if (hit) {
|
|
11936
11936
|
payload.value = hit.value;
|
|
11937
11937
|
if (hit.issues) {
|
|
@@ -13425,9 +13425,9 @@ var error12 = () => {
|
|
|
13425
13425
|
nan: "NaN"
|
|
13426
13426
|
// All other type names omitted - they fall back to raw values via ?? operator
|
|
13427
13427
|
};
|
|
13428
|
-
function getTypeName(type,
|
|
13429
|
-
if (type === "number" && typeof
|
|
13430
|
-
return String(
|
|
13428
|
+
function getTypeName(type, input3) {
|
|
13429
|
+
if (type === "number" && typeof input3 === "number" && !Number.isFinite(input3)) {
|
|
13430
|
+
return String(input3);
|
|
13431
13431
|
}
|
|
13432
13432
|
return TypeDictionary[type] ?? type;
|
|
13433
13433
|
}
|
|
@@ -21832,23 +21832,23 @@ function _overwrite(tx) {
|
|
|
21832
21832
|
}
|
|
21833
21833
|
// @__NO_SIDE_EFFECTS__
|
|
21834
21834
|
function _normalize(form) {
|
|
21835
|
-
return /* @__PURE__ */ _overwrite((
|
|
21835
|
+
return /* @__PURE__ */ _overwrite((input3) => input3.normalize(form));
|
|
21836
21836
|
}
|
|
21837
21837
|
// @__NO_SIDE_EFFECTS__
|
|
21838
21838
|
function _trim() {
|
|
21839
|
-
return /* @__PURE__ */ _overwrite((
|
|
21839
|
+
return /* @__PURE__ */ _overwrite((input3) => input3.trim());
|
|
21840
21840
|
}
|
|
21841
21841
|
// @__NO_SIDE_EFFECTS__
|
|
21842
21842
|
function _toLowerCase() {
|
|
21843
|
-
return /* @__PURE__ */ _overwrite((
|
|
21843
|
+
return /* @__PURE__ */ _overwrite((input3) => input3.toLowerCase());
|
|
21844
21844
|
}
|
|
21845
21845
|
// @__NO_SIDE_EFFECTS__
|
|
21846
21846
|
function _toUpperCase() {
|
|
21847
|
-
return /* @__PURE__ */ _overwrite((
|
|
21847
|
+
return /* @__PURE__ */ _overwrite((input3) => input3.toUpperCase());
|
|
21848
21848
|
}
|
|
21849
21849
|
// @__NO_SIDE_EFFECTS__
|
|
21850
21850
|
function _slugify() {
|
|
21851
|
-
return /* @__PURE__ */ _overwrite((
|
|
21851
|
+
return /* @__PURE__ */ _overwrite((input3) => slugify(input3));
|
|
21852
21852
|
}
|
|
21853
21853
|
// @__NO_SIDE_EFFECTS__
|
|
21854
21854
|
function _array(Class2, element, params) {
|
|
@@ -22154,8 +22154,8 @@ function _stringbool(Classes, _params) {
|
|
|
22154
22154
|
type: "pipe",
|
|
22155
22155
|
in: stringSchema,
|
|
22156
22156
|
out: booleanSchema,
|
|
22157
|
-
transform: ((
|
|
22158
|
-
let data =
|
|
22157
|
+
transform: ((input3, payload) => {
|
|
22158
|
+
let data = input3;
|
|
22159
22159
|
if (params.case !== "sensitive")
|
|
22160
22160
|
data = data.toLowerCase();
|
|
22161
22161
|
if (truthySet.has(data)) {
|
|
@@ -22174,8 +22174,8 @@ function _stringbool(Classes, _params) {
|
|
|
22174
22174
|
return {};
|
|
22175
22175
|
}
|
|
22176
22176
|
}),
|
|
22177
|
-
reverseTransform: ((
|
|
22178
|
-
if (
|
|
22177
|
+
reverseTransform: ((input3, _payload) => {
|
|
22178
|
+
if (input3 === true) {
|
|
22179
22179
|
return truthyArray[0] || "true";
|
|
22180
22180
|
} else {
|
|
22181
22181
|
return falsyArray[0] || "false";
|
|
@@ -22317,26 +22317,26 @@ function extractDefs(ctx, schema2) {
|
|
|
22317
22317
|
return;
|
|
22318
22318
|
const idToSchema = /* @__PURE__ */ new Map();
|
|
22319
22319
|
for (const entry of ctx.seen.entries()) {
|
|
22320
|
-
const
|
|
22321
|
-
if (
|
|
22322
|
-
const existing = idToSchema.get(
|
|
22320
|
+
const id2 = ctx.metadataRegistry.get(entry[0])?.id;
|
|
22321
|
+
if (id2) {
|
|
22322
|
+
const existing = idToSchema.get(id2);
|
|
22323
22323
|
if (existing && existing !== entry[0]) {
|
|
22324
|
-
throw new Error(`Duplicate schema id "${
|
|
22324
|
+
throw new Error(`Duplicate schema id "${id2}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);
|
|
22325
22325
|
}
|
|
22326
|
-
idToSchema.set(
|
|
22326
|
+
idToSchema.set(id2, entry[0]);
|
|
22327
22327
|
}
|
|
22328
22328
|
}
|
|
22329
22329
|
const makeURI = (entry) => {
|
|
22330
22330
|
const defsSegment = ctx.target === "draft-2020-12" ? "$defs" : "definitions";
|
|
22331
22331
|
if (ctx.external) {
|
|
22332
22332
|
const externalId = ctx.external.registry.get(entry[0])?.id;
|
|
22333
|
-
const uriGenerator = ctx.external.uri ?? ((
|
|
22333
|
+
const uriGenerator = ctx.external.uri ?? ((id3) => id3);
|
|
22334
22334
|
if (externalId) {
|
|
22335
22335
|
return { ref: uriGenerator(externalId) };
|
|
22336
22336
|
}
|
|
22337
|
-
const
|
|
22338
|
-
entry[1].defId =
|
|
22339
|
-
return { defId:
|
|
22337
|
+
const id2 = entry[1].defId ?? entry[1].schema.id ?? `schema${ctx.counter++}`;
|
|
22338
|
+
entry[1].defId = id2;
|
|
22339
|
+
return { defId: id2, ref: `${uriGenerator("__shared")}#/${defsSegment}/${encodeJSONPointerSegment(id2)}` };
|
|
22340
22340
|
}
|
|
22341
22341
|
const uriPrefix = `#`;
|
|
22342
22342
|
const defUriPrefix = `${uriPrefix}/${defsSegment}/`;
|
|
@@ -22351,7 +22351,7 @@ function extractDefs(ctx, schema2) {
|
|
|
22351
22351
|
return;
|
|
22352
22352
|
}
|
|
22353
22353
|
const seen = entry[1];
|
|
22354
|
-
const { ref, defId } = makeURI(entry);
|
|
22354
|
+
const { ref: ref2, defId } = makeURI(entry);
|
|
22355
22355
|
seen.def = { ...seen.schema };
|
|
22356
22356
|
if (defId)
|
|
22357
22357
|
seen.defId = defId;
|
|
@@ -22359,7 +22359,7 @@ function extractDefs(ctx, schema2) {
|
|
|
22359
22359
|
for (const key in schema3) {
|
|
22360
22360
|
delete schema3[key];
|
|
22361
22361
|
}
|
|
22362
|
-
schema3.$ref =
|
|
22362
|
+
schema3.$ref = ref2;
|
|
22363
22363
|
};
|
|
22364
22364
|
if (ctx.cycles === "throw") {
|
|
22365
22365
|
for (const entry of ctx.seen.entries()) {
|
|
@@ -22384,8 +22384,8 @@ Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.
|
|
|
22384
22384
|
continue;
|
|
22385
22385
|
}
|
|
22386
22386
|
}
|
|
22387
|
-
const
|
|
22388
|
-
if (
|
|
22387
|
+
const id2 = ctx.metadataRegistry.get(entry[0])?.id;
|
|
22388
|
+
if (id2) {
|
|
22389
22389
|
extractToDef(entry);
|
|
22390
22390
|
continue;
|
|
22391
22391
|
}
|
|
@@ -22520,11 +22520,11 @@ function finalize(ctx, schema2) {
|
|
|
22520
22520
|
return;
|
|
22521
22521
|
const schema3 = seen.def ?? seen.schema;
|
|
22522
22522
|
const _cached = { ...schema3 };
|
|
22523
|
-
const
|
|
22523
|
+
const ref2 = seen.ref;
|
|
22524
22524
|
seen.ref = null;
|
|
22525
|
-
if (
|
|
22526
|
-
flattenRef(
|
|
22527
|
-
const refSeen = ctx.seen.get(
|
|
22525
|
+
if (ref2) {
|
|
22526
|
+
flattenRef(ref2);
|
|
22527
|
+
const refSeen = ctx.seen.get(ref2);
|
|
22528
22528
|
const refSchema = refSeen.schema;
|
|
22529
22529
|
if (refSchema.$ref && (ctx.target === "draft-07" || ctx.target === "draft-04" || ctx.target === "openapi-3.0")) {
|
|
22530
22530
|
schema3.allOf = schema3.allOf ?? [];
|
|
@@ -22533,7 +22533,7 @@ function finalize(ctx, schema2) {
|
|
|
22533
22533
|
assignProps(schema3, refSchema);
|
|
22534
22534
|
}
|
|
22535
22535
|
assignProps(schema3, _cached);
|
|
22536
|
-
const isParentRef = zodSchema._zod.parent ===
|
|
22536
|
+
const isParentRef = zodSchema._zod.parent === ref2;
|
|
22537
22537
|
if (isParentRef) {
|
|
22538
22538
|
for (const key in schema3) {
|
|
22539
22539
|
if (key === "$ref" || key === "allOf")
|
|
@@ -22554,7 +22554,7 @@ function finalize(ctx, schema2) {
|
|
|
22554
22554
|
}
|
|
22555
22555
|
}
|
|
22556
22556
|
const parent = zodSchema._zod.parent;
|
|
22557
|
-
if (parent && parent !==
|
|
22557
|
+
if (parent && parent !== ref2) {
|
|
22558
22558
|
flattenRef(parent);
|
|
22559
22559
|
const parentSeen = ctx.seen.get(parent);
|
|
22560
22560
|
if (parentSeen?.schema.$ref) {
|
|
@@ -22618,10 +22618,10 @@ function finalize(ctx, schema2) {
|
|
|
22618
22618
|
} else {
|
|
22619
22619
|
}
|
|
22620
22620
|
if (ctx.external?.uri) {
|
|
22621
|
-
const
|
|
22622
|
-
if (!
|
|
22621
|
+
const id2 = ctx.external.registry.get(schema2)?.id;
|
|
22622
|
+
if (!id2)
|
|
22623
22623
|
throw new Error("Schema is missing an `id` property");
|
|
22624
|
-
result.$id = ctx.external.uri(
|
|
22624
|
+
result.$id = ctx.external.uri(id2);
|
|
22625
22625
|
}
|
|
22626
22626
|
assignProps(result, root.defId ? root.schema : root.def ?? root.schema);
|
|
22627
22627
|
const rootMetaId = ctx.metadataRegistry.get(schema2)?.id;
|
|
@@ -22799,8 +22799,8 @@ var contributors = {
|
|
|
22799
22799
|
function aggregateChecks(schema2) {
|
|
22800
22800
|
const agg = {};
|
|
22801
22801
|
const def = schema2._zod.def;
|
|
22802
|
-
const
|
|
22803
|
-
for (const ch of
|
|
22802
|
+
const list2 = schema2._zod.traits.has("$ZodCheck") ? [schema2, ...def.checks ?? []] : def.checks ?? [];
|
|
22803
|
+
for (const ch of list2)
|
|
22804
22804
|
contributors[ch._zod.def.check]?.(agg, ch._zod.def);
|
|
22805
22805
|
const bag = schema2._zod.bag;
|
|
22806
22806
|
if (bag.minimum !== void 0)
|
|
@@ -23254,7 +23254,7 @@ function stringifyKeyNames(bySchema, json2, visited) {
|
|
|
23254
23254
|
const values = json2.enum ?? (json2.const !== void 0 ? [json2.const] : void 0);
|
|
23255
23255
|
if (!numericType && !values?.some((v) => typeof v === "number"))
|
|
23256
23256
|
return json2;
|
|
23257
|
-
const { minimum, maximum, exclusiveMinimum, exclusiveMaximum, multipleOf, format, id, ...rest } = json2;
|
|
23257
|
+
const { minimum, maximum, exclusiveMinimum, exclusiveMaximum, multipleOf, format, id: id2, ...rest } = json2;
|
|
23258
23258
|
if (rest.enum)
|
|
23259
23259
|
rest.enum = rest.enum.map((v) => typeof v === "number" ? String(v) : v);
|
|
23260
23260
|
else if (typeof rest.const === "number")
|
|
@@ -23476,9 +23476,9 @@ var allProcessors = {
|
|
|
23476
23476
|
optional: optionalProcessor,
|
|
23477
23477
|
lazy: lazyProcessor
|
|
23478
23478
|
};
|
|
23479
|
-
function toJSONSchema(
|
|
23480
|
-
if ("_idmap" in
|
|
23481
|
-
const registry2 =
|
|
23479
|
+
function toJSONSchema(input3, params) {
|
|
23480
|
+
if ("_idmap" in input3) {
|
|
23481
|
+
const registry2 = input3;
|
|
23482
23482
|
const ctx2 = initializeContext({ ...params, processors: allProcessors });
|
|
23483
23483
|
const defs = {};
|
|
23484
23484
|
for (const entry of registry2._idmap.entries()) {
|
|
@@ -23506,9 +23506,9 @@ function toJSONSchema(input2, params) {
|
|
|
23506
23506
|
return { schemas };
|
|
23507
23507
|
}
|
|
23508
23508
|
const ctx = initializeContext({ ...params, processors: allProcessors });
|
|
23509
|
-
processSchema(
|
|
23510
|
-
extractDefs(ctx,
|
|
23511
|
-
return finalize(ctx,
|
|
23509
|
+
processSchema(input3, ctx);
|
|
23510
|
+
extractDefs(ctx, input3);
|
|
23511
|
+
return finalize(ctx, input3);
|
|
23512
23512
|
}
|
|
23513
23513
|
|
|
23514
23514
|
// node_modules/zod/v4/core/json-schema-generator.js
|
|
@@ -24654,17 +24654,17 @@ var ZodArray = /* @__PURE__ */ $constructor("ZodArray", (inst, def) => {
|
|
|
24654
24654
|
inst._zod.processJSONSchema = (ctx, json2, params) => arrayProcessor(inst, ctx, json2, params);
|
|
24655
24655
|
inst.element = def.element;
|
|
24656
24656
|
}, {
|
|
24657
|
-
min(
|
|
24658
|
-
return this.check(_minLength(
|
|
24657
|
+
min(n2, params) {
|
|
24658
|
+
return this.check(_minLength(n2, params));
|
|
24659
24659
|
},
|
|
24660
24660
|
nonempty(params) {
|
|
24661
24661
|
return this.check(_minLength(1, params));
|
|
24662
24662
|
},
|
|
24663
|
-
max(
|
|
24664
|
-
return this.check(_maxLength(
|
|
24663
|
+
max(n2, params) {
|
|
24664
|
+
return this.check(_maxLength(n2, params));
|
|
24665
24665
|
},
|
|
24666
|
-
length(
|
|
24667
|
-
return this.check(_length(
|
|
24666
|
+
length(n2, params) {
|
|
24667
|
+
return this.check(_length(n2, params));
|
|
24668
24668
|
},
|
|
24669
24669
|
unwrap() {
|
|
24670
24670
|
return this.element;
|
|
@@ -25485,11 +25485,11 @@ function applyMinItems(items, minItems) {
|
|
|
25485
25485
|
function decodeJSONPointerSegment(segment) {
|
|
25486
25486
|
return segment.replace(/~1/g, "/").replace(/~0/g, "~");
|
|
25487
25487
|
}
|
|
25488
|
-
function resolveRef(
|
|
25489
|
-
if (!
|
|
25488
|
+
function resolveRef(ref2, ctx) {
|
|
25489
|
+
if (!ref2.startsWith("#")) {
|
|
25490
25490
|
throw new Error("External $ref is not supported, only local refs (#/...) are allowed");
|
|
25491
25491
|
}
|
|
25492
|
-
const path =
|
|
25492
|
+
const path = ref2.slice(1).split("/").filter(Boolean);
|
|
25493
25493
|
if (path.length === 0) {
|
|
25494
25494
|
return ctx.rootSchema;
|
|
25495
25495
|
}
|
|
@@ -25497,11 +25497,11 @@ function resolveRef(ref, ctx) {
|
|
|
25497
25497
|
if (path[0] === defsKey) {
|
|
25498
25498
|
const key = path[1] === void 0 ? void 0 : decodeJSONPointerSegment(path[1]);
|
|
25499
25499
|
if (!key || !ctx.defs[key]) {
|
|
25500
|
-
throw new Error(`Reference not found: ${
|
|
25500
|
+
throw new Error(`Reference not found: ${ref2}`);
|
|
25501
25501
|
}
|
|
25502
25502
|
return ctx.defs[key];
|
|
25503
25503
|
}
|
|
25504
|
-
throw new Error(`Reference not found: ${
|
|
25504
|
+
throw new Error(`Reference not found: ${ref2}`);
|
|
25505
25505
|
}
|
|
25506
25506
|
function checkObjectGuards(objectSchema, guards) {
|
|
25507
25507
|
const guard = z.transform((value) => value).check((payload) => {
|
|
@@ -25629,8 +25629,8 @@ function containsRef(value) {
|
|
|
25629
25629
|
return Object.values(sub).some(containsRef);
|
|
25630
25630
|
});
|
|
25631
25631
|
}
|
|
25632
|
-
function plural(
|
|
25633
|
-
return
|
|
25632
|
+
function plural(n2) {
|
|
25633
|
+
return n2 === 1 ? "element" : "elements";
|
|
25634
25634
|
}
|
|
25635
25635
|
function checkArrayGuards(arraySchema, guards) {
|
|
25636
25636
|
const guard = z.transform((value) => value).check((payload) => {
|
|
@@ -26025,12 +26025,12 @@ function convertSchema(schema2, ctx) {
|
|
|
26025
26025
|
let baseSchema = convertBaseSchema(schema2, ctx);
|
|
26026
26026
|
const hasExplicitType = schema2.type || schema2.enum !== void 0 || schema2.const !== void 0;
|
|
26027
26027
|
if (schema2.anyOf && Array.isArray(schema2.anyOf)) {
|
|
26028
|
-
const options = schema2.anyOf.map((
|
|
26028
|
+
const options = schema2.anyOf.map((s2) => convertSchema(s2, ctx));
|
|
26029
26029
|
const anyOfUnion = z.union(options);
|
|
26030
26030
|
baseSchema = hasExplicitType ? z.intersection(baseSchema, anyOfUnion) : anyOfUnion;
|
|
26031
26031
|
}
|
|
26032
26032
|
if (schema2.oneOf && Array.isArray(schema2.oneOf)) {
|
|
26033
|
-
const options = schema2.oneOf.map((
|
|
26033
|
+
const options = schema2.oneOf.map((s2) => convertSchema(s2, ctx));
|
|
26034
26034
|
const oneOfUnion = z.xor(options);
|
|
26035
26035
|
baseSchema = hasExplicitType ? z.intersection(baseSchema, oneOfUnion) : oneOfUnion;
|
|
26036
26036
|
}
|
|
@@ -26130,24 +26130,24 @@ function visit(schema2, fnOrHandlers) {
|
|
|
26130
26130
|
return h ? h(node2, rewritten) : node2;
|
|
26131
26131
|
};
|
|
26132
26132
|
const cache = /* @__PURE__ */ new Map();
|
|
26133
|
-
function run(
|
|
26134
|
-
const cached2 = cache.get(
|
|
26133
|
+
function run(s2) {
|
|
26134
|
+
const cached2 = cache.get(s2);
|
|
26135
26135
|
if (cached2 === RESOLVING) {
|
|
26136
26136
|
return new $ZodLazy({
|
|
26137
26137
|
type: "lazy",
|
|
26138
|
-
getter: () => cache.get(
|
|
26138
|
+
getter: () => cache.get(s2)
|
|
26139
26139
|
});
|
|
26140
26140
|
}
|
|
26141
26141
|
if (cached2 !== void 0)
|
|
26142
26142
|
return cached2;
|
|
26143
|
-
cache.set(
|
|
26144
|
-
const inner = mapInner(
|
|
26145
|
-
const mapped = fn(inner, inner !==
|
|
26146
|
-
cache.set(
|
|
26143
|
+
cache.set(s2, RESOLVING);
|
|
26144
|
+
const inner = mapInner(s2);
|
|
26145
|
+
const mapped = fn(inner, inner !== s2);
|
|
26146
|
+
cache.set(s2, mapped);
|
|
26147
26147
|
return mapped;
|
|
26148
26148
|
}
|
|
26149
|
-
function mapInner(
|
|
26150
|
-
const def =
|
|
26149
|
+
function mapInner(s2) {
|
|
26150
|
+
const def = s2._zod.def;
|
|
26151
26151
|
const kind = def.type;
|
|
26152
26152
|
switch (kind) {
|
|
26153
26153
|
case "object": {
|
|
@@ -26167,11 +26167,11 @@ function visit(schema2, fnOrHandlers) {
|
|
|
26167
26167
|
if (newCatchall !== def.catchall)
|
|
26168
26168
|
changed = true;
|
|
26169
26169
|
}
|
|
26170
|
-
return changed ? clone(
|
|
26170
|
+
return changed ? clone(s2, { ...def, shape: newShape, catchall: newCatchall }) : s2;
|
|
26171
26171
|
}
|
|
26172
26172
|
case "array": {
|
|
26173
26173
|
const mapped = run(def.element);
|
|
26174
|
-
return mapped === def.element ?
|
|
26174
|
+
return mapped === def.element ? s2 : clone(s2, { ...def, element: mapped });
|
|
26175
26175
|
}
|
|
26176
26176
|
case "tuple": {
|
|
26177
26177
|
const oldItems = def.items;
|
|
@@ -26189,17 +26189,17 @@ function visit(schema2, fnOrHandlers) {
|
|
|
26189
26189
|
if (newRest !== def.rest)
|
|
26190
26190
|
changed = true;
|
|
26191
26191
|
}
|
|
26192
|
-
return changed ? clone(
|
|
26192
|
+
return changed ? clone(s2, { ...def, items: newItems, rest: newRest }) : s2;
|
|
26193
26193
|
}
|
|
26194
26194
|
case "record":
|
|
26195
26195
|
case "map": {
|
|
26196
26196
|
const newKey = run(def.keyType);
|
|
26197
26197
|
const newVal = run(def.valueType);
|
|
26198
|
-
return newKey === def.keyType && newVal === def.valueType ?
|
|
26198
|
+
return newKey === def.keyType && newVal === def.valueType ? s2 : clone(s2, { ...def, keyType: newKey, valueType: newVal });
|
|
26199
26199
|
}
|
|
26200
26200
|
case "set": {
|
|
26201
26201
|
const newVal = run(def.valueType);
|
|
26202
|
-
return newVal === def.valueType ?
|
|
26202
|
+
return newVal === def.valueType ? s2 : clone(s2, { ...def, valueType: newVal });
|
|
26203
26203
|
}
|
|
26204
26204
|
case "union": {
|
|
26205
26205
|
const oldOptions = def.options;
|
|
@@ -26211,12 +26211,12 @@ function visit(schema2, fnOrHandlers) {
|
|
|
26211
26211
|
changed = true;
|
|
26212
26212
|
newOptions.push(mapped);
|
|
26213
26213
|
}
|
|
26214
|
-
return changed ? clone(
|
|
26214
|
+
return changed ? clone(s2, { ...def, options: newOptions }) : s2;
|
|
26215
26215
|
}
|
|
26216
26216
|
case "intersection": {
|
|
26217
26217
|
const newLeft = run(def.left);
|
|
26218
26218
|
const newRight = run(def.right);
|
|
26219
|
-
return newLeft === def.left && newRight === def.right ?
|
|
26219
|
+
return newLeft === def.left && newRight === def.right ? s2 : clone(s2, { ...def, left: newLeft, right: newRight });
|
|
26220
26220
|
}
|
|
26221
26221
|
case "optional":
|
|
26222
26222
|
case "nullable":
|
|
@@ -26228,22 +26228,22 @@ function visit(schema2, fnOrHandlers) {
|
|
|
26228
26228
|
case "promise":
|
|
26229
26229
|
case "success": {
|
|
26230
26230
|
const newInner = run(def.innerType);
|
|
26231
|
-
return newInner === def.innerType ?
|
|
26231
|
+
return newInner === def.innerType ? s2 : clone(s2, { ...def, innerType: newInner });
|
|
26232
26232
|
}
|
|
26233
26233
|
case "pipe": {
|
|
26234
26234
|
const newIn = run(def.in);
|
|
26235
26235
|
const newOut = run(def.out);
|
|
26236
|
-
return newIn === def.in && newOut === def.out ?
|
|
26236
|
+
return newIn === def.in && newOut === def.out ? s2 : clone(s2, { ...def, in: newIn, out: newOut });
|
|
26237
26237
|
}
|
|
26238
26238
|
case "function": {
|
|
26239
26239
|
const newInput = run(def.input);
|
|
26240
26240
|
const newOutput = run(def.output);
|
|
26241
|
-
return newInput === def.input && newOutput === def.output ?
|
|
26241
|
+
return newInput === def.input && newOutput === def.output ? s2 : clone(s2, { ...def, input: newInput, output: newOutput });
|
|
26242
26242
|
}
|
|
26243
26243
|
case "lazy": {
|
|
26244
26244
|
const original = def.getter;
|
|
26245
26245
|
const { _cachedInner, ...rest } = def;
|
|
26246
|
-
return clone(
|
|
26246
|
+
return clone(s2, { ...rest, getter: () => run(original()) });
|
|
26247
26247
|
}
|
|
26248
26248
|
case "properties": {
|
|
26249
26249
|
const oldShape = def.shape;
|
|
@@ -26255,7 +26255,7 @@ function visit(schema2, fnOrHandlers) {
|
|
|
26255
26255
|
changed = true;
|
|
26256
26256
|
newShape[k] = mapped;
|
|
26257
26257
|
}
|
|
26258
|
-
return changed ? clone(
|
|
26258
|
+
return changed ? clone(s2, { ...def, shape: newShape }) : s2;
|
|
26259
26259
|
}
|
|
26260
26260
|
// A leaf by choice: `parts` are regex fragments, not data positions.
|
|
26261
26261
|
case "template_literal":
|
|
@@ -26279,10 +26279,10 @@ function visit(schema2, fnOrHandlers) {
|
|
|
26279
26279
|
case "file":
|
|
26280
26280
|
case "transform":
|
|
26281
26281
|
case "custom":
|
|
26282
|
-
return
|
|
26282
|
+
return s2;
|
|
26283
26283
|
default: {
|
|
26284
26284
|
kind;
|
|
26285
|
-
return
|
|
26285
|
+
return s2;
|
|
26286
26286
|
}
|
|
26287
26287
|
}
|
|
26288
26288
|
}
|
|
@@ -26292,11 +26292,11 @@ function visit(schema2, fnOrHandlers) {
|
|
|
26292
26292
|
// node_modules/zod/v4/classic/deep-partial.js
|
|
26293
26293
|
function deepPartial(schema2) {
|
|
26294
26294
|
return visit(schema2, {
|
|
26295
|
-
object: (
|
|
26295
|
+
object: (s2) => s2.partial(),
|
|
26296
26296
|
// Every partialed option now admits `undefined`, which the constructor rejects as a duplicate.
|
|
26297
|
-
union: (
|
|
26298
|
-
const def =
|
|
26299
|
-
return def.discriminator === void 0 ?
|
|
26297
|
+
union: (s2) => {
|
|
26298
|
+
const def = s2._zod.def;
|
|
26299
|
+
return def.discriminator === void 0 ? s2 : union(def.options);
|
|
26300
26300
|
}
|
|
26301
26301
|
});
|
|
26302
26302
|
}
|
|
@@ -26316,18 +26316,18 @@ function inSide(def) {
|
|
|
26316
26316
|
}
|
|
26317
26317
|
function input(schema2) {
|
|
26318
26318
|
return visit(schema2, {
|
|
26319
|
-
pipe: (
|
|
26319
|
+
pipe: (s2) => inSide(s2._zod.def),
|
|
26320
26320
|
// A default value belongs to the output side, so a rewritten inner type leaves it stranded. `.default()` widens the declared input type with `undefined`, and `optional` is what carries that across.
|
|
26321
|
-
default: (
|
|
26321
|
+
default: (s2, rewritten) => rewritten ? optional(s2._zod.def.innerType) : s2,
|
|
26322
26322
|
// A catch value is output-side too, but `.catch()` leaves the declared input type alone, so the inner schema stands on its own.
|
|
26323
|
-
catch: (
|
|
26323
|
+
catch: (s2, rewritten) => rewritten ? s2._zod.def.innerType : s2
|
|
26324
26324
|
});
|
|
26325
26325
|
}
|
|
26326
26326
|
function output(schema2) {
|
|
26327
26327
|
return visit(schema2, {
|
|
26328
|
-
pipe: (
|
|
26328
|
+
pipe: (s2) => outSide(s2._zod.def),
|
|
26329
26329
|
// A prefault value is fed through the schema, which makes it input-side, so a rewritten inner type leaves it stranded.
|
|
26330
|
-
prefault: (
|
|
26330
|
+
prefault: (s2, rewritten) => rewritten ? s2._zod.def.innerType : s2
|
|
26331
26331
|
});
|
|
26332
26332
|
}
|
|
26333
26333
|
|
|
@@ -26400,8 +26400,8 @@ var RequestMetadataMismatchError = class extends Error {
|
|
|
26400
26400
|
this.actual = actual;
|
|
26401
26401
|
}
|
|
26402
26402
|
};
|
|
26403
|
-
function parseJsonRpcRequest(
|
|
26404
|
-
return JsonRpcRequestSchema.parse(
|
|
26403
|
+
function parseJsonRpcRequest(input3) {
|
|
26404
|
+
return JsonRpcRequestSchema.parse(input3);
|
|
26405
26405
|
}
|
|
26406
26406
|
function resolveProtocolVersion(request, context = {}) {
|
|
26407
26407
|
const meta3 = isRecord2(request.params?._meta) ? request.params._meta : void 0;
|
|
@@ -26438,11 +26438,11 @@ function isSupportedProtocolVersion(value) {
|
|
|
26438
26438
|
function usesLegacyInitialize(version2) {
|
|
26439
26439
|
return version2 !== MODERN_PROTOCOL_VERSION;
|
|
26440
26440
|
}
|
|
26441
|
-
function jsonRpcSuccess(
|
|
26442
|
-
return { jsonrpc: "2.0", id, result };
|
|
26441
|
+
function jsonRpcSuccess(id2, result) {
|
|
26442
|
+
return { jsonrpc: "2.0", id: id2, result };
|
|
26443
26443
|
}
|
|
26444
|
-
function jsonRpcFailure(
|
|
26445
|
-
return { jsonrpc: "2.0", id, error: error62 };
|
|
26444
|
+
function jsonRpcFailure(id2, error62) {
|
|
26445
|
+
return { jsonrpc: "2.0", id: id2, error: error62 };
|
|
26446
26446
|
}
|
|
26447
26447
|
function isRecord2(value) {
|
|
26448
26448
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -26452,7 +26452,7 @@ function stringValue(value) {
|
|
|
26452
26452
|
}
|
|
26453
26453
|
|
|
26454
26454
|
// src/version.ts
|
|
26455
|
-
var VERSION = "0.
|
|
26455
|
+
var VERSION = "0.8.0";
|
|
26456
26456
|
|
|
26457
26457
|
// src/worker/http.ts
|
|
26458
26458
|
var HEALTH_PATH = "/healthz";
|
|
@@ -26790,7 +26790,7 @@ function isRecord3(value) {
|
|
|
26790
26790
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
26791
26791
|
}
|
|
26792
26792
|
async function boundedRequest(request) {
|
|
26793
|
-
const
|
|
26793
|
+
const limit2 = 64 * 1024;
|
|
26794
26794
|
const reader = request.body.getReader();
|
|
26795
26795
|
const chunks2 = [];
|
|
26796
26796
|
let length = 0;
|
|
@@ -26800,7 +26800,7 @@ async function boundedRequest(request) {
|
|
|
26800
26800
|
const chunk = await reader.read();
|
|
26801
26801
|
if (chunk.done) break;
|
|
26802
26802
|
length += chunk.value.byteLength;
|
|
26803
|
-
if (length >
|
|
26803
|
+
if (length > limit2) return problemResponse(413, "REQUEST_TOO_LARGE", "Content Too Large", "Request bodies are limited to 64 KiB.");
|
|
26804
26804
|
chunks2.push(chunk.value);
|
|
26805
26805
|
}
|
|
26806
26806
|
const body = new Uint8Array(length);
|
|
@@ -26824,13 +26824,13 @@ async function boundedRequest(request) {
|
|
|
26824
26824
|
// src/worker/crypto.ts
|
|
26825
26825
|
async function createEncryptionKeyring(currentSecret, previousSecret) {
|
|
26826
26826
|
if (!currentSecret) throw new Error("SESSION_ENCRYPTION_KEY is required.");
|
|
26827
|
-
const
|
|
26828
|
-
const keys = /* @__PURE__ */ new Map([[
|
|
26827
|
+
const current2 = await deriveEncryptionKey(currentSecret);
|
|
26828
|
+
const keys = /* @__PURE__ */ new Map([[current2.id, current2.key]]);
|
|
26829
26829
|
if (previousSecret) {
|
|
26830
26830
|
const previous = await deriveEncryptionKey(previousSecret);
|
|
26831
26831
|
keys.set(previous.id, previous.key);
|
|
26832
26832
|
}
|
|
26833
|
-
return { current, keys };
|
|
26833
|
+
return { current: current2, keys };
|
|
26834
26834
|
}
|
|
26835
26835
|
async function encryptValue(value, keyring) {
|
|
26836
26836
|
const iv = crypto.getRandomValues(new Uint8Array(12));
|
|
@@ -26864,8 +26864,8 @@ async function decryptValue(encrypted, keyring) {
|
|
|
26864
26864
|
async function deriveEncryptionKey(secret) {
|
|
26865
26865
|
const digest = new Uint8Array(await crypto.subtle.digest("SHA-256", new TextEncoder().encode(secret)));
|
|
26866
26866
|
const key = await crypto.subtle.importKey("raw", digest, { name: "AES-GCM" }, false, ["encrypt", "decrypt"]);
|
|
26867
|
-
const
|
|
26868
|
-
return { id, key };
|
|
26867
|
+
const id2 = Array.from(digest.slice(0, 8), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
26868
|
+
return { id: id2, key };
|
|
26869
26869
|
}
|
|
26870
26870
|
function parseEnvelope(value) {
|
|
26871
26871
|
let parsed;
|
|
@@ -26895,12 +26895,97 @@ function isRecord4(value) {
|
|
|
26895
26895
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
26896
26896
|
}
|
|
26897
26897
|
|
|
26898
|
+
// src/resolve.ts
|
|
26899
|
+
var ReferenceError2 = class extends Error {
|
|
26900
|
+
constructor(code, message, candidates) {
|
|
26901
|
+
super(message);
|
|
26902
|
+
this.code = code;
|
|
26903
|
+
this.candidates = candidates;
|
|
26904
|
+
this.name = "ReferenceError";
|
|
26905
|
+
}
|
|
26906
|
+
code;
|
|
26907
|
+
candidates;
|
|
26908
|
+
hint = "Run `moodle units` to see this site's names, or refine the reference.";
|
|
26909
|
+
};
|
|
26910
|
+
var normalize = (value) => value.normalize("NFKC").toLocaleLowerCase().trim().replace(/\s+/gu, " ");
|
|
26911
|
+
var tokensMatch = (text, query) => normalize(query).split(" ").every((token) => /^\d+$/u.test(token) ? (normalize(text).match(/\b\d+\b/gu) ?? []).some((n2) => n2 === token) : normalize(text).includes(token));
|
|
26912
|
+
function resolveUnit(value, courses) {
|
|
26913
|
+
if (typeof value === "number") {
|
|
26914
|
+
const byId = courses.find((c) => c.id === value);
|
|
26915
|
+
if (byId) return byId;
|
|
26916
|
+
throw unitError("not_found", value, courses);
|
|
26917
|
+
}
|
|
26918
|
+
const raw = normalize(String(value));
|
|
26919
|
+
const exact = courses.filter((c) => [c.shortname, c.fullname].some((name) => normalize(name) === raw));
|
|
26920
|
+
const matches = exact.length ? exact : courses.filter((c) => [c.shortname, c.fullname].some((name) => normalize(name).includes(raw)));
|
|
26921
|
+
if (raw && matches.length === 1) return matches[0];
|
|
26922
|
+
let id2 = /^\d+$/u.test(raw) ? Number(raw) : void 0;
|
|
26923
|
+
try {
|
|
26924
|
+
const url2 = new URL(String(value));
|
|
26925
|
+
if (url2.pathname.endsWith("/course/view.php")) id2 = Number(url2.searchParams.get("id"));
|
|
26926
|
+
} catch {
|
|
26927
|
+
}
|
|
26928
|
+
const course = courses.find((c) => c.id === id2);
|
|
26929
|
+
if (course) return course;
|
|
26930
|
+
if (raw && matches.length > 1) throw unitError("ambiguous", value, matches);
|
|
26931
|
+
throw unitError("not_found", value, courses);
|
|
26932
|
+
}
|
|
26933
|
+
function unitError(code, ref2, courses) {
|
|
26934
|
+
const candidates = courses.map((c) => ({ id: c.id, name: c.fullname || c.shortname, code: c.shortname || void 0 }));
|
|
26935
|
+
return new ReferenceError2(code, `${code === "ambiguous" ? "Several units match" : "No unit matches"} '${ref2}'. Your units: ${courses.map((c) => c.shortname || c.fullname).join(", ")}.`, candidates);
|
|
26936
|
+
}
|
|
26937
|
+
function resolveSection(ref2, sections) {
|
|
26938
|
+
const raw = normalize(String(ref2));
|
|
26939
|
+
const numbers = raw.match(/\b\d+\b/gu) ?? [];
|
|
26940
|
+
const matches = sections.filter((s2) => numbers.length === 1 ? (s2.name.match(/\b\d+\b/gu) ?? []).some((n2) => Number(n2) === Number(numbers[0])) : normalize(s2.name).includes(raw));
|
|
26941
|
+
if (matches.length === 1) return { section: matches[0] };
|
|
26942
|
+
if (matches.length > 1) throw new ReferenceError2("ambiguous", `Several sections match '${ref2}'.`, matches.map((s2) => ({ id: s2.id, name: s2.name })));
|
|
26943
|
+
if (/^\d+$/u.test(raw)) {
|
|
26944
|
+
const positional = sections.filter((s2) => s2.section === Number(raw));
|
|
26945
|
+
if (positional.length === 1) return { section: positional[0], positional: true };
|
|
26946
|
+
}
|
|
26947
|
+
throw new ReferenceError2("not_found", `No section matches '${ref2}'.`, sections.map((s2) => ({ id: s2.id, name: s2.name })));
|
|
26948
|
+
}
|
|
26949
|
+
function currentSection(sections) {
|
|
26950
|
+
const marked = sections.filter((s2) => s2.current);
|
|
26951
|
+
if (marked.length > 1) return void 0;
|
|
26952
|
+
if (marked.length === 1) return { section: marked[0] };
|
|
26953
|
+
const unfinished = sections.find((s2) => s2.activities.some((a) => a.completion === 0));
|
|
26954
|
+
return unfinished ? { section: unfinished, estimated: true } : void 0;
|
|
26955
|
+
}
|
|
26956
|
+
function searchSections(course, sections, query) {
|
|
26957
|
+
const rows = [];
|
|
26958
|
+
for (const s2 of sections) {
|
|
26959
|
+
const context = { unit_id: course.id, unit_code: course.shortname || course.fullname, section_id: s2.id, section: s2.name };
|
|
26960
|
+
if (tokensMatch(s2.name, query)) rows.push({ ...context, id: s2.id, name: s2.name, type: "section", score: normalize(s2.name) === normalize(query) ? 100 : 70 });
|
|
26961
|
+
for (const a of s2.activities) {
|
|
26962
|
+
if (!tokensMatch(`${a.name} ${s2.name}`, query)) continue;
|
|
26963
|
+
const chrome = ["label", "cms"].includes(a.modname);
|
|
26964
|
+
const score = chrome ? 1 : normalize(a.name) === normalize(query) ? 100 : tokensMatch(a.name, query) ? 80 : 60;
|
|
26965
|
+
rows.push({ ...context, id: a.id, name: a.name, type: a.modname, score, activity: a });
|
|
26966
|
+
}
|
|
26967
|
+
}
|
|
26968
|
+
const useful = rows.filter((r) => r.score > 1);
|
|
26969
|
+
return (useful.length ? useful : rows).sort((a, b) => b.score - a.score || a.id - b.id);
|
|
26970
|
+
}
|
|
26971
|
+
function splitUnitPhrase(phrase, courses) {
|
|
26972
|
+
const words = phrase.trim().split(/\s+/u);
|
|
26973
|
+
for (let count = words.length; count > 0; count--) {
|
|
26974
|
+
try {
|
|
26975
|
+
return { course: resolveUnit(words.slice(0, count).join(" "), courses), query: words.slice(count).join(" ") };
|
|
26976
|
+
} catch (error62) {
|
|
26977
|
+
if (!(error62 instanceof ReferenceError2) || error62.code === "ambiguous") throw error62;
|
|
26978
|
+
}
|
|
26979
|
+
}
|
|
26980
|
+
return void 0;
|
|
26981
|
+
}
|
|
26982
|
+
|
|
26898
26983
|
// src/session-fetch.ts
|
|
26899
26984
|
var MAX_REDIRECTS = 5;
|
|
26900
26985
|
var REQUEST_TIMEOUT_MS = 3e4;
|
|
26901
26986
|
var REDIRECT_STATUSES = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);
|
|
26902
|
-
async function fetchWithSession(
|
|
26903
|
-
let url2 = new URL(
|
|
26987
|
+
async function fetchWithSession(input3, init, moodleOrigin, cookie, fetchImpl = (url2, options) => fetch(url2, options)) {
|
|
26988
|
+
let url2 = new URL(input3);
|
|
26904
26989
|
const initialOrigin = url2.origin;
|
|
26905
26990
|
const trustedOrigin = new URL(moodleOrigin).origin;
|
|
26906
26991
|
let method = (init.method ?? "GET").toUpperCase();
|
|
@@ -26965,6 +27050,7 @@ var FUNC_GET_COURSE_CONTENTS = "core_course_get_contents";
|
|
|
26965
27050
|
var FUNC_GET_COURSE_FORMAT_STATE = "core_courseformat_get_state";
|
|
26966
27051
|
var FUNC_GET_COURSE_MODULE = "core_course_get_course_module";
|
|
26967
27052
|
var FUNC_GET_ACTION_EVENTS = "core_calendar_get_action_events_by_timesort";
|
|
27053
|
+
var FUNC_GET_ACTION_EVENTS_BY_COURSE = "core_calendar_get_action_events_by_course";
|
|
26968
27054
|
var FUNC_GET_POPUP_NOTIFICATIONS = "message_popup_get_popup_notifications";
|
|
26969
27055
|
var FUNC_GET_CONVERSATION_COUNTS = "core_message_get_conversation_counts";
|
|
26970
27056
|
var FUNC_GET_UNREAD_CONVERSATION_COUNTS = "core_message_get_unread_conversation_counts";
|
|
@@ -27059,7 +27145,8 @@ function parseUserInfo(value) {
|
|
|
27059
27145
|
fullname: stringValue2(data.fullname),
|
|
27060
27146
|
sitename: stringValue2(data.sitename),
|
|
27061
27147
|
siteurl: stringValue2(data.siteurl),
|
|
27062
|
-
lang: stringValue2(data.lang)
|
|
27148
|
+
lang: stringValue2(data.lang),
|
|
27149
|
+
...data.timezone ? { timezone: String(data.timezone) } : {}
|
|
27063
27150
|
};
|
|
27064
27151
|
}
|
|
27065
27152
|
function parseCourse(value, nowSeconds = Math.floor(Date.now() / 1e3)) {
|
|
@@ -27073,7 +27160,7 @@ function parseCourse(value, nowSeconds = Math.floor(Date.now() / 1e3)) {
|
|
|
27073
27160
|
startdate: numberValue(data.startdate)
|
|
27074
27161
|
};
|
|
27075
27162
|
const enddate = numberValue(data.enddate);
|
|
27076
|
-
if (enddate >
|
|
27163
|
+
if (enddate > 0) {
|
|
27077
27164
|
course.enddate = enddate;
|
|
27078
27165
|
}
|
|
27079
27166
|
return course;
|
|
@@ -27089,7 +27176,9 @@ function parseActivity(value) {
|
|
|
27089
27176
|
modname: stringValue2(data.modname),
|
|
27090
27177
|
url: stringValue2(data.url),
|
|
27091
27178
|
visible: booleanValue(data.visible, true),
|
|
27092
|
-
description: stringValue2(data.description)
|
|
27179
|
+
description: stringValue2(data.description),
|
|
27180
|
+
...data.completiondata && typeof data.completiondata === "object" ? { completion: numberValue(asRecord(data.completiondata).state) } : {},
|
|
27181
|
+
...Array.isArray(data.contents) ? { file_entries: data.contents.filter((f) => asRecord(f).fileurl).map((f) => ({ name: stringValue2(asRecord(f).filename), url: stringValue2(asRecord(f).fileurl), requires_authentication: true })) } : {}
|
|
27093
27182
|
};
|
|
27094
27183
|
}
|
|
27095
27184
|
function parseSection(value) {
|
|
@@ -27100,6 +27189,7 @@ function parseSection(value) {
|
|
|
27100
27189
|
section: numberValue(data.section),
|
|
27101
27190
|
visible: booleanValue(data.visible, true),
|
|
27102
27191
|
summary: stringValue2(data.summary),
|
|
27192
|
+
...data.current !== void 0 ? { current: booleanValue(data.current) } : {},
|
|
27103
27193
|
activities: asArray(data.modules).map((item) => parseActivity(item))
|
|
27104
27194
|
};
|
|
27105
27195
|
}
|
|
@@ -27112,34 +27202,36 @@ function parseCourseFormatState(value, baseUrl) {
|
|
|
27112
27202
|
const activitiesBySection = /* @__PURE__ */ new Map();
|
|
27113
27203
|
for (const item of asArray(state.cm)) {
|
|
27114
27204
|
const data = asRecord(item);
|
|
27115
|
-
const
|
|
27205
|
+
const id2 = numberValue(data.id);
|
|
27116
27206
|
const sectionId = stringValue2(data.sectionid);
|
|
27117
27207
|
const module = stringValue2(data.module) || stringValue2(data.plugin).replace(/^mod_/u, "") || stringValue2(data.modname).toLowerCase();
|
|
27118
27208
|
const activity = {
|
|
27119
|
-
id,
|
|
27209
|
+
id: id2,
|
|
27120
27210
|
name: htmlText(data.name, baseUrl),
|
|
27121
27211
|
modname: module.toLowerCase(),
|
|
27122
27212
|
url: stringValue2(data.url) ? resolveUrl(baseUrl, stringValue2(data.url)) : "",
|
|
27123
27213
|
visible: booleanValue(data.visible, true) && booleanValue(data.uservisible, true) && !booleanValue(data.stealth),
|
|
27124
|
-
description: htmlText(data.content ?? data.description, baseUrl)
|
|
27214
|
+
description: htmlText(data.content ?? data.description, baseUrl),
|
|
27215
|
+
...data.completionstate !== void 0 && data.completionstate !== null ? { completion: numberValue(data.completionstate) } : {}
|
|
27125
27216
|
};
|
|
27126
|
-
activities.set(String(
|
|
27217
|
+
activities.set(String(id2), activity);
|
|
27127
27218
|
const sectionActivities = activitiesBySection.get(sectionId) ?? [];
|
|
27128
27219
|
sectionActivities.push(activity);
|
|
27129
27220
|
activitiesBySection.set(sectionId, sectionActivities);
|
|
27130
27221
|
}
|
|
27131
27222
|
return asArray(state.section).map((item) => {
|
|
27132
27223
|
const data = asRecord(item);
|
|
27133
|
-
const
|
|
27224
|
+
const id2 = numberValue(data.id);
|
|
27134
27225
|
const hasActivityList = Array.isArray(data.cmlist);
|
|
27135
27226
|
const listedActivities = asArray(data.cmlist).map((activityId) => activities.get(stringValue2(activityId))).filter((activity) => activity !== void 0);
|
|
27136
27227
|
return {
|
|
27137
|
-
id,
|
|
27228
|
+
id: id2,
|
|
27138
27229
|
name: htmlText(data.title || data.rawtitle, baseUrl),
|
|
27139
27230
|
section: numberValue(data.section ?? data.number),
|
|
27140
27231
|
visible: booleanValue(data.visible, true),
|
|
27141
27232
|
summary: htmlText(data.summary, baseUrl),
|
|
27142
|
-
|
|
27233
|
+
...data.current !== void 0 ? { current: booleanValue(data.current) } : {},
|
|
27234
|
+
activities: hasActivityList ? listedActivities : activitiesBySection.get(String(id2)) ?? []
|
|
27143
27235
|
};
|
|
27144
27236
|
});
|
|
27145
27237
|
}
|
|
@@ -27185,16 +27277,16 @@ function parseAlertNotification(value) {
|
|
|
27185
27277
|
}
|
|
27186
27278
|
function parseAlertSummary(notificationsData, countsData, unreadCountsData) {
|
|
27187
27279
|
const notificationsRecord = asRecord(notificationsData);
|
|
27188
|
-
const
|
|
27280
|
+
const counts2 = asRecord(countsData);
|
|
27189
27281
|
const unreadCounts = asRecord(unreadCountsData);
|
|
27190
|
-
const types = asRecord(
|
|
27282
|
+
const types = asRecord(counts2.types);
|
|
27191
27283
|
const unreadTypes = asRecord(unreadCounts.types);
|
|
27192
27284
|
const notifications = asArray(notificationsRecord.notifications).map((item) => parseAlertNotification(item));
|
|
27193
27285
|
return {
|
|
27194
27286
|
notifications,
|
|
27195
27287
|
notification_count: notifications.length,
|
|
27196
27288
|
unread_notification_count: notifications.filter((notification) => !notification.read).length,
|
|
27197
|
-
starred_message_count: numberValue(
|
|
27289
|
+
starred_message_count: numberValue(counts2.favourites),
|
|
27198
27290
|
direct_message_count: numberValue(types["1"]),
|
|
27199
27291
|
group_message_count: numberValue(types["2"]),
|
|
27200
27292
|
self_message_count: numberValue(types["3"]),
|
|
@@ -27334,6 +27426,7 @@ function parsePageContext(html, baseUrl) {
|
|
|
27334
27426
|
fullname: cleanNodeText(root.querySelector(".userfullname")),
|
|
27335
27427
|
sitename: extractSitename(root),
|
|
27336
27428
|
siteurl: baseUrl,
|
|
27429
|
+
...config2.timezone ? { timezone: stringValue3(config2.timezone) } : {},
|
|
27337
27430
|
lang: stringValue3(config2.language) || root.querySelector("html")?.getAttribute("lang") || ""
|
|
27338
27431
|
}
|
|
27339
27432
|
};
|
|
@@ -27357,12 +27450,12 @@ function parseCourseContentsHtml(html, baseUrl) {
|
|
|
27357
27450
|
const activities = [];
|
|
27358
27451
|
const seenActivities = /* @__PURE__ */ new Set();
|
|
27359
27452
|
for (const activityElement of sectionElement.querySelectorAll('li[data-for="cmitem"]')) {
|
|
27360
|
-
const
|
|
27361
|
-
if (
|
|
27453
|
+
const id2 = safeInt(activityElement.getAttribute("data-id"));
|
|
27454
|
+
if (id2 && seenActivities.has(id2)) {
|
|
27362
27455
|
continue;
|
|
27363
27456
|
}
|
|
27364
|
-
if (
|
|
27365
|
-
seenActivities.add(
|
|
27457
|
+
if (id2) {
|
|
27458
|
+
seenActivities.add(id2);
|
|
27366
27459
|
}
|
|
27367
27460
|
const classes = (activityElement.getAttribute("class") ?? "").split(/\s+/).filter(Boolean);
|
|
27368
27461
|
const modname = classes.find((item) => item.startsWith("modtype_"))?.slice("modtype_".length) ?? "";
|
|
@@ -27378,7 +27471,7 @@ function parseCourseContentsHtml(html, baseUrl) {
|
|
|
27378
27471
|
}
|
|
27379
27472
|
const href = activityElement.querySelector(".activityname a, a.aalink, a[href]")?.getAttribute("href") ?? "";
|
|
27380
27473
|
activities.push({
|
|
27381
|
-
id,
|
|
27474
|
+
id: id2,
|
|
27382
27475
|
name: name2,
|
|
27383
27476
|
modname,
|
|
27384
27477
|
url: href ? resolveUrl(baseUrl, href) : "",
|
|
@@ -27403,10 +27496,10 @@ function parseCourseSectionNumbers(html, courseId) {
|
|
|
27403
27496
|
const hrefs = root.querySelectorAll('a[href*="/course/view.php"]').map((link) => link.getAttribute("href") ?? "");
|
|
27404
27497
|
for (const href of hrefs) {
|
|
27405
27498
|
const url2 = parseMaybeUrl(href.replace(/&/gu, "&"), "https://moodle.invalid");
|
|
27406
|
-
const
|
|
27407
|
-
const
|
|
27408
|
-
if (
|
|
27409
|
-
const section = Number(
|
|
27499
|
+
const id2 = url2?.searchParams.get("id");
|
|
27500
|
+
const sectionValue = url2?.searchParams.get("section");
|
|
27501
|
+
if (id2 === String(courseId) && sectionValue && /^\d+$/.test(sectionValue)) {
|
|
27502
|
+
const section = Number(sectionValue);
|
|
27410
27503
|
if (!sections.includes(section)) {
|
|
27411
27504
|
sections.push(section);
|
|
27412
27505
|
}
|
|
@@ -27543,8 +27636,10 @@ function parseQuizHtml(html, quizId, baseUrl) {
|
|
|
27543
27636
|
function parseResourceHtml(html, resourceId, baseUrl) {
|
|
27544
27637
|
const root = (0, import_node_html_parser2.parse)(html);
|
|
27545
27638
|
const link = root.querySelector(".resourceworkaround a[href], .resourcecontent a[href], a.resourceworkaround[href]");
|
|
27546
|
-
const
|
|
27547
|
-
const
|
|
27639
|
+
const embed = root.querySelector(".resourcecontent iframe[src], .resourcecontent object[data], .resourcecontent embed[src]");
|
|
27640
|
+
const rawUrl = link?.getAttribute("href") || embed?.getAttribute("src") || embed?.getAttribute("data") || "";
|
|
27641
|
+
const targetUrl = rawUrl ? resolveUrl(baseUrl, rawUrl) : "";
|
|
27642
|
+
const targetName = cleanNodeText(link) || (targetUrl ? decodeURIComponent(new URL(targetUrl).pathname.split("/").at(-1) || "file") : "");
|
|
27548
27643
|
return {
|
|
27549
27644
|
id: resourceId,
|
|
27550
27645
|
name: pageTitle(html),
|
|
@@ -27903,7 +27998,11 @@ var ForumModule = class {
|
|
|
27903
27998
|
loadCourses;
|
|
27904
27999
|
loadCourseContents;
|
|
27905
28000
|
forumDiscussionCache = /* @__PURE__ */ new Map();
|
|
28001
|
+
groupResolved = /* @__PURE__ */ new Set();
|
|
27906
28002
|
forumDiscussionRefsCache = /* @__PURE__ */ new Map();
|
|
28003
|
+
// The forum view page answers both "what type is this forum" and "which
|
|
28004
|
+
// discussions does it list"; load it once per forum.
|
|
28005
|
+
forumViewCache = /* @__PURE__ */ new Map();
|
|
27907
28006
|
constructor(options) {
|
|
27908
28007
|
this.baseUrl = options.baseUrl.replace(/\/$/, "");
|
|
27909
28008
|
this.callMoodle = options.call;
|
|
@@ -27911,9 +28010,13 @@ var ForumModule = class {
|
|
|
27911
28010
|
this.loadCourses = options.getCourses;
|
|
27912
28011
|
this.loadCourseContents = options.getCourseContents;
|
|
27913
28012
|
}
|
|
27914
|
-
|
|
28013
|
+
// The posts service does not name the discussion's group; that costs a page load,
|
|
28014
|
+
// so callers that never show groups (announcements, thread pages) opt out.
|
|
28015
|
+
async getForumDiscussion(discussionId, options = {}) {
|
|
28016
|
+
const wantGroup = options.group !== false;
|
|
27915
28017
|
const cached2 = this.forumDiscussionCache.get(discussionId);
|
|
27916
28018
|
if (cached2) {
|
|
28019
|
+
if (wantGroup && cached2.group_id <= 0 && !this.groupResolved.has(discussionId)) await this.resolveGroup(cached2);
|
|
27917
28020
|
return cached2;
|
|
27918
28021
|
}
|
|
27919
28022
|
try {
|
|
@@ -27924,14 +28027,7 @@ var ForumModule = class {
|
|
|
27924
28027
|
includeinlineattachments: true
|
|
27925
28028
|
});
|
|
27926
28029
|
const discussion2 = parseForumDiscussion(data, discussionId, this.baseUrl);
|
|
27927
|
-
if (discussion2.group_id <= 0)
|
|
27928
|
-
const html2 = await this.loadPage(FORUM_DISCUSS_PATH, { d: discussionId }).catch(() => "");
|
|
27929
|
-
if (html2) {
|
|
27930
|
-
const [groupId, groupName] = parseForumDiscussionGroupHtml(html2);
|
|
27931
|
-
discussion2.group_id = groupId;
|
|
27932
|
-
discussion2.group_name = groupName;
|
|
27933
|
-
}
|
|
27934
|
-
}
|
|
28030
|
+
if (wantGroup && discussion2.group_id <= 0) await this.resolveGroup(discussion2);
|
|
27935
28031
|
this.forumDiscussionCache.set(discussionId, discussion2);
|
|
27936
28032
|
return discussion2;
|
|
27937
28033
|
} catch (error62) {
|
|
@@ -27941,9 +28037,18 @@ var ForumModule = class {
|
|
|
27941
28037
|
}
|
|
27942
28038
|
const html = await this.loadPage(FORUM_DISCUSS_PATH, { d: discussionId });
|
|
27943
28039
|
const discussion = parseForumDiscussionHtml(html, this.baseUrl, discussionId);
|
|
28040
|
+
this.groupResolved.add(discussionId);
|
|
27944
28041
|
this.forumDiscussionCache.set(discussionId, discussion);
|
|
27945
28042
|
return discussion;
|
|
27946
28043
|
}
|
|
28044
|
+
async resolveGroup(discussion) {
|
|
28045
|
+
this.groupResolved.add(discussion.id);
|
|
28046
|
+
const html = await this.loadPage(FORUM_DISCUSS_PATH, { d: discussion.id }).catch(() => "");
|
|
28047
|
+
if (!html) return;
|
|
28048
|
+
const [groupId, groupName] = parseForumDiscussionGroupHtml(html);
|
|
28049
|
+
discussion.group_id = groupId;
|
|
28050
|
+
discussion.group_name = groupName;
|
|
28051
|
+
}
|
|
27947
28052
|
async getForumViewCmid(discussionId) {
|
|
27948
28053
|
const html = await this.loadPage(FORUM_DISCUSS_PATH, { d: discussionId });
|
|
27949
28054
|
return parseForumViewCmidFromDiscussionHtml(html);
|
|
@@ -27953,23 +28058,32 @@ var ForumModule = class {
|
|
|
27953
28058
|
if (cached2) {
|
|
27954
28059
|
return cached2;
|
|
27955
28060
|
}
|
|
27956
|
-
const html = await this.
|
|
28061
|
+
const html = await this.forumViewHtml(forumCmid);
|
|
27957
28062
|
const groups = parseForumGroupsHtml(html);
|
|
27958
28063
|
const refs = groups.length ? [] : parseForumDiscussionRefsHtml(html, this.baseUrl);
|
|
27959
|
-
const seenIds = new Set(refs.map((
|
|
28064
|
+
const seenIds = new Set(refs.map((ref2) => ref2.id));
|
|
27960
28065
|
for (const [groupId, groupName] of groups) {
|
|
27961
28066
|
const groupHtml = await this.loadPage(FORUM_VIEW_PATH, { id: forumCmid, group: groupId });
|
|
27962
|
-
for (const
|
|
27963
|
-
if (seenIds.has(
|
|
28067
|
+
for (const ref2 of parseForumDiscussionRefsHtml(groupHtml, this.baseUrl)) {
|
|
28068
|
+
if (seenIds.has(ref2.id)) {
|
|
27964
28069
|
continue;
|
|
27965
28070
|
}
|
|
27966
|
-
seenIds.add(
|
|
27967
|
-
refs.push({ ...
|
|
28071
|
+
seenIds.add(ref2.id);
|
|
28072
|
+
refs.push({ ...ref2, group_id: groupId, group_name: groupName });
|
|
27968
28073
|
}
|
|
27969
28074
|
}
|
|
27970
28075
|
this.forumDiscussionRefsCache.set(forumCmid, refs);
|
|
27971
28076
|
return refs;
|
|
27972
28077
|
}
|
|
28078
|
+
forumViewHtml(forumCmid) {
|
|
28079
|
+
const pending = this.forumViewCache.get(forumCmid) ?? this.loadPage(FORUM_VIEW_PATH, { id: forumCmid });
|
|
28080
|
+
this.forumViewCache.set(forumCmid, pending);
|
|
28081
|
+
pending.catch(() => this.forumViewCache.delete(forumCmid));
|
|
28082
|
+
return pending;
|
|
28083
|
+
}
|
|
28084
|
+
async isNewsForum(forumCmid) {
|
|
28085
|
+
return /\bforumtype-news\b|data-forumtype=["']news["']/u.test(await this.forumViewHtml(forumCmid));
|
|
28086
|
+
}
|
|
27973
28087
|
async getCourseForums(courseId, courseName = "") {
|
|
27974
28088
|
if (!this.loadCourseContents) {
|
|
27975
28089
|
throw new Error("getCourseContents loader is required to list course forums");
|
|
@@ -27993,9 +28107,11 @@ var ForumModule = class {
|
|
|
27993
28107
|
if (!this.loadCourses) {
|
|
27994
28108
|
throw new Error("getCourses loader is required to list all forums");
|
|
27995
28109
|
}
|
|
28110
|
+
const courses = await this.loadCourses();
|
|
27996
28111
|
const forums = [];
|
|
27997
|
-
for (
|
|
27998
|
-
|
|
28112
|
+
for (let index = 0; index < courses.length; index += 4) {
|
|
28113
|
+
const batch = await Promise.all(courses.slice(index, index + 4).map((course) => this.getCourseForums(course.id, course.fullname || course.shortname)));
|
|
28114
|
+
forums.push(...batch.flat());
|
|
27999
28115
|
}
|
|
28000
28116
|
return forums;
|
|
28001
28117
|
}
|
|
@@ -28025,11 +28141,12 @@ async function searchForumContent(source, query, options = {}) {
|
|
|
28025
28141
|
return [];
|
|
28026
28142
|
}
|
|
28027
28143
|
const includePostText = options.includePostText ?? true;
|
|
28144
|
+
const titlesOnly = options.titlesOnly ?? false;
|
|
28028
28145
|
const unreadOnly = options.unreadOnly ?? false;
|
|
28029
28146
|
const sortBy = options.sortBy ?? "relevance";
|
|
28030
28147
|
let forumRefs = await source.getForums(options.courseId);
|
|
28031
28148
|
if (options.forumCmid !== void 0) {
|
|
28032
|
-
forumRefs = forumRefs.filter((
|
|
28149
|
+
forumRefs = forumRefs.filter((ref2) => ref2.id === options.forumCmid);
|
|
28033
28150
|
if (!forumRefs.length) {
|
|
28034
28151
|
forumRefs = [
|
|
28035
28152
|
{
|
|
@@ -28046,30 +28163,38 @@ async function searchForumContent(source, query, options = {}) {
|
|
|
28046
28163
|
}
|
|
28047
28164
|
const hits = [];
|
|
28048
28165
|
const seen = /* @__PURE__ */ new Set();
|
|
28049
|
-
|
|
28050
|
-
|
|
28051
|
-
|
|
28052
|
-
|
|
28053
|
-
|
|
28054
|
-
|
|
28166
|
+
const needsPosts = !titlesOnly || unreadOnly || sortBy === "recent";
|
|
28167
|
+
const listings = await inParallel(forumRefs, 3, async (forumRef) => {
|
|
28168
|
+
const refs = await source.getForumDiscussionRefs(forumRef.id);
|
|
28169
|
+
return options.maxDiscussionsPerForum !== void 0 ? refs.slice(0, options.maxDiscussionsPerForum) : refs;
|
|
28170
|
+
});
|
|
28171
|
+
const discussions = /* @__PURE__ */ new Map();
|
|
28172
|
+
if (needsPosts) {
|
|
28173
|
+
const refs = listings.flat();
|
|
28174
|
+
const loaded = await inParallel(refs, 4, (ref2) => source.getForumDiscussion(ref2.id));
|
|
28175
|
+
for (const [index, ref2] of refs.entries()) discussions.set(ref2.id, loaded[index]);
|
|
28176
|
+
}
|
|
28177
|
+
for (const [forumIndex, forumRef] of forumRefs.entries()) {
|
|
28178
|
+
const refs = listings[forumIndex];
|
|
28179
|
+
for (const ref2 of refs) {
|
|
28055
28180
|
let discussion = null;
|
|
28056
28181
|
let latestPost = null;
|
|
28057
28182
|
let discussionHasUnread = false;
|
|
28058
28183
|
const matchingPostHits = [];
|
|
28059
|
-
if (
|
|
28060
|
-
discussion = await source.getForumDiscussion(
|
|
28184
|
+
if (needsPosts) {
|
|
28185
|
+
discussion = discussions.get(ref2.id) ?? await source.getForumDiscussion(ref2.id);
|
|
28061
28186
|
if (discussion.posts.length) {
|
|
28062
28187
|
latestPost = discussion.posts.reduce((latest, post) => (post.time_created || 0) > (latest.time_created || 0) ? post : latest);
|
|
28063
28188
|
discussionHasUnread = discussion.posts.some((post) => post.unread);
|
|
28064
28189
|
}
|
|
28065
28190
|
}
|
|
28066
|
-
if (
|
|
28191
|
+
if (titlesOnly) {
|
|
28067
28192
|
addSubjectHit({
|
|
28068
28193
|
hits,
|
|
28069
28194
|
seen,
|
|
28070
|
-
score: matchScore(
|
|
28195
|
+
score: matchScore(ref2.subject, cleanedQuery),
|
|
28071
28196
|
query: cleanedQuery,
|
|
28072
|
-
ref,
|
|
28197
|
+
ref: ref2,
|
|
28073
28198
|
forumRef,
|
|
28074
28199
|
discussionHasUnread,
|
|
28075
28200
|
unreadOnly,
|
|
@@ -28077,7 +28202,7 @@ async function searchForumContent(source, query, options = {}) {
|
|
|
28077
28202
|
});
|
|
28078
28203
|
continue;
|
|
28079
28204
|
}
|
|
28080
|
-
discussion ??= await source.getForumDiscussion(
|
|
28205
|
+
discussion ??= await source.getForumDiscussion(ref2.id);
|
|
28081
28206
|
for (const post of discussion.posts) {
|
|
28082
28207
|
const postSubjectScore = matchScore(post.subject, cleanedQuery);
|
|
28083
28208
|
const postBodyScore = matchScore(post.message_text, cleanedQuery);
|
|
@@ -28096,17 +28221,17 @@ async function searchForumContent(source, query, options = {}) {
|
|
|
28096
28221
|
course_name: forumRef.course_name,
|
|
28097
28222
|
forum_id: forumRef.id,
|
|
28098
28223
|
forum_name: forumRef.name,
|
|
28099
|
-
group_id: discussion.group_id ||
|
|
28100
|
-
group_name: discussion.group_name ||
|
|
28101
|
-
discussion_id:
|
|
28102
|
-
discussion_subject: discussion.subject ||
|
|
28224
|
+
group_id: discussion.group_id || ref2.group_id,
|
|
28225
|
+
group_name: discussion.group_name || ref2.group_name,
|
|
28226
|
+
discussion_id: ref2.id,
|
|
28227
|
+
discussion_subject: discussion.subject || ref2.subject,
|
|
28103
28228
|
post_id: post.id,
|
|
28104
28229
|
author_name: post.author.fullname,
|
|
28105
28230
|
matched_in: matchedIn,
|
|
28106
28231
|
snippet: snippetForText(matchedText, cleanedQuery),
|
|
28107
28232
|
unread: post.unread,
|
|
28108
28233
|
time_created: post.time_created,
|
|
28109
|
-
url: post.url ||
|
|
28234
|
+
url: post.url || ref2.url
|
|
28110
28235
|
}
|
|
28111
28236
|
]);
|
|
28112
28237
|
}
|
|
@@ -28124,9 +28249,9 @@ async function searchForumContent(source, query, options = {}) {
|
|
|
28124
28249
|
addSubjectHit({
|
|
28125
28250
|
hits,
|
|
28126
28251
|
seen,
|
|
28127
|
-
score: matchScore(
|
|
28252
|
+
score: matchScore(ref2.subject, cleanedQuery),
|
|
28128
28253
|
query: cleanedQuery,
|
|
28129
|
-
ref,
|
|
28254
|
+
ref: ref2,
|
|
28130
28255
|
forumRef,
|
|
28131
28256
|
discussionHasUnread,
|
|
28132
28257
|
unreadOnly,
|
|
@@ -28135,7 +28260,12 @@ async function searchForumContent(source, query, options = {}) {
|
|
|
28135
28260
|
}
|
|
28136
28261
|
}
|
|
28137
28262
|
hits.sort(sortBy === "recent" ? sortRecent : sortRelevant);
|
|
28138
|
-
return hits.slice(0, options.limit ?? 20).map(([, hit]) => hit);
|
|
28263
|
+
return hits.slice(0, options.limit ?? 20).map(([, hit]) => includePostText ? hit : { ...hit, snippet: "" });
|
|
28264
|
+
}
|
|
28265
|
+
async function inParallel(items, size, run) {
|
|
28266
|
+
const results = [];
|
|
28267
|
+
for (let index = 0; index < items.length; index += size) results.push(...await Promise.all(items.slice(index, index + size).map(run)));
|
|
28268
|
+
return results;
|
|
28139
28269
|
}
|
|
28140
28270
|
function normalizeQuery(value) {
|
|
28141
28271
|
const normalized = value.toLowerCase().split(/\s+/).filter(Boolean).join(" ");
|
|
@@ -28277,6 +28407,9 @@ var AjaxEnvelopeSchema = external_exports.array(
|
|
|
28277
28407
|
);
|
|
28278
28408
|
var MoodleClientCore = class {
|
|
28279
28409
|
baseUrl;
|
|
28410
|
+
coursesCache;
|
|
28411
|
+
contentsCache = /* @__PURE__ */ new Map();
|
|
28412
|
+
unavailable;
|
|
28280
28413
|
fetchImpl;
|
|
28281
28414
|
cookie;
|
|
28282
28415
|
sesskey;
|
|
@@ -28291,11 +28424,12 @@ var MoodleClientCore = class {
|
|
|
28291
28424
|
constructor(baseUrl, options) {
|
|
28292
28425
|
this.baseUrl = baseUrl.replace(/\/$/, "");
|
|
28293
28426
|
const resolvedOptions = typeof options === "string" ? { cookie: { name: "MoodleSession", value: options } } : options;
|
|
28294
|
-
this.fetchImpl = resolvedOptions.fetchImpl ?? ((
|
|
28427
|
+
this.fetchImpl = resolvedOptions.fetchImpl ?? ((input3, init) => fetch(input3, init));
|
|
28295
28428
|
this.cookie = resolvedOptions.cookie;
|
|
28296
28429
|
this.sesskey = resolvedOptions.pageContext?.sesskey ?? resolvedOptions.sesskey ?? null;
|
|
28297
28430
|
this.userid = resolvedOptions.pageContext?.user_info.userid ?? resolvedOptions.userid ?? null;
|
|
28298
28431
|
this.userInfo = resolvedOptions.pageContext?.user_info ?? resolvedOptions.userInfo ?? (this.userid ? placeholderUserInfo(this.baseUrl, this.userid) : null);
|
|
28432
|
+
this.unavailable = new Set(resolvedOptions.unavailable ?? []);
|
|
28299
28433
|
this.clearSessionCache = resolvedOptions.clearSessionCache;
|
|
28300
28434
|
this.writeSessionCache = resolvedOptions.writeSessionCache;
|
|
28301
28435
|
this.errors = resolvedOptions.errorAdapter ?? DEFAULT_ERROR_ADAPTER;
|
|
@@ -28314,6 +28448,7 @@ var MoodleClientCore = class {
|
|
|
28314
28448
|
async getSiteInfo() {
|
|
28315
28449
|
await this.ensureSession();
|
|
28316
28450
|
try {
|
|
28451
|
+
if (this.unavailable.has(FUNC_GET_SITE_INFO) && this.userInfo?.fullname) return this.userInfo;
|
|
28317
28452
|
const data = await this.call(FUNC_GET_SITE_INFO);
|
|
28318
28453
|
if (isRecord6(data) && "userid" in data) {
|
|
28319
28454
|
const info = parseUserInfo(data);
|
|
@@ -28340,7 +28475,21 @@ var MoodleClientCore = class {
|
|
|
28340
28475
|
await this.writeCache();
|
|
28341
28476
|
return context.user_info;
|
|
28342
28477
|
}
|
|
28478
|
+
// Resolution, forum listing and every screen ask for the unit list, and sites that
|
|
28479
|
+
// disable the enrolment service pay three requests for each answer. A short memo
|
|
28480
|
+
// keeps one command to one round trip without pinning a server to stale enrolments.
|
|
28343
28481
|
async getCourses() {
|
|
28482
|
+
if (!this.coursesCache || Date.now() - this.coursesCache.at > 6e4) {
|
|
28483
|
+
this.coursesCache = { at: Date.now(), courses: this.fetchCourses() };
|
|
28484
|
+
}
|
|
28485
|
+
try {
|
|
28486
|
+
return await this.coursesCache.courses;
|
|
28487
|
+
} catch (error62) {
|
|
28488
|
+
this.coursesCache = void 0;
|
|
28489
|
+
throw error62;
|
|
28490
|
+
}
|
|
28491
|
+
}
|
|
28492
|
+
async fetchCourses() {
|
|
28344
28493
|
await this.ensureSession();
|
|
28345
28494
|
try {
|
|
28346
28495
|
const data = await this.call(FUNC_GET_COURSES, { userid: this.userid });
|
|
@@ -28353,21 +28502,21 @@ var MoodleClientCore = class {
|
|
|
28353
28502
|
}
|
|
28354
28503
|
}
|
|
28355
28504
|
async resolveCourseReference(value) {
|
|
28356
|
-
|
|
28357
|
-
if (/^\d+$/.test(raw)) {
|
|
28358
|
-
return Number(raw);
|
|
28359
|
-
}
|
|
28360
|
-
const courses = await this.getCourses();
|
|
28361
|
-
const matches = courses.filter((course) => queryMatches(course.fullname, raw) || queryMatches(course.shortname, raw));
|
|
28362
|
-
if (matches.length === 1) {
|
|
28363
|
-
return matches[0].id;
|
|
28364
|
-
}
|
|
28365
|
-
if (!matches.length) {
|
|
28366
|
-
throw this.errors.notFound(`Could not find a course matching '${raw}'. Run 'moodle courses' to inspect course IDs.`);
|
|
28367
|
-
}
|
|
28368
|
-
throw this.errors.notFound(`Course '${raw}' is ambiguous. Matches: ${matches.slice(0, 5).map((course) => `${course.id}:${course.fullname || course.shortname}`).join(", ")}`);
|
|
28505
|
+
return resolveUnit(value, await this.getCourses()).id;
|
|
28369
28506
|
}
|
|
28507
|
+
// One command asks for the same unit's sections from several places (resolution,
|
|
28508
|
+
// forum listing, screens); fetch once per client and let a failure retry next time.
|
|
28370
28509
|
async getCourseContents(courseId) {
|
|
28510
|
+
const pending = this.contentsCache.get(courseId) ?? this.fetchCourseContents(courseId);
|
|
28511
|
+
this.contentsCache.set(courseId, pending);
|
|
28512
|
+
try {
|
|
28513
|
+
return await pending;
|
|
28514
|
+
} catch (error62) {
|
|
28515
|
+
if (this.contentsCache.get(courseId) === pending) this.contentsCache.delete(courseId);
|
|
28516
|
+
throw error62;
|
|
28517
|
+
}
|
|
28518
|
+
}
|
|
28519
|
+
async fetchCourseContents(courseId) {
|
|
28371
28520
|
await this.ensureSession();
|
|
28372
28521
|
try {
|
|
28373
28522
|
return parseCourseContents(await this.call(FUNC_GET_COURSE_CONTENTS, { courseid: courseId }));
|
|
@@ -28393,13 +28542,13 @@ var MoodleClientCore = class {
|
|
|
28393
28542
|
async getActivities(courseId) {
|
|
28394
28543
|
return (await this.getCourseContents(courseId)).flatMap((section) => section.activities);
|
|
28395
28544
|
}
|
|
28396
|
-
async getActivity(
|
|
28545
|
+
async getActivity(id2) {
|
|
28397
28546
|
await this.ensureSession();
|
|
28398
28547
|
let activity = null;
|
|
28399
28548
|
let courseId;
|
|
28400
28549
|
let type = "";
|
|
28401
28550
|
try {
|
|
28402
|
-
const data = await this.call(FUNC_GET_COURSE_MODULE, { cmid:
|
|
28551
|
+
const data = await this.call(FUNC_GET_COURSE_MODULE, { cmid: id2 });
|
|
28403
28552
|
const module = isRecord6(data) && isRecord6(data.cm) ? data.cm : data;
|
|
28404
28553
|
type = isRecord6(module) && typeof module.modname === "string" ? module.modname : "";
|
|
28405
28554
|
courseId = isRecord6(module) && typeof module.course === "number" ? module.course : void 0;
|
|
@@ -28407,48 +28556,74 @@ var MoodleClientCore = class {
|
|
|
28407
28556
|
if (!this.errors.isApi(error62) || error62.moodleErrorCode !== "servicenotavailable") {
|
|
28408
28557
|
throw error62;
|
|
28409
28558
|
}
|
|
28410
|
-
activity = await this.findActivity(
|
|
28559
|
+
activity = await this.findActivity(id2);
|
|
28411
28560
|
type = activity.modname;
|
|
28412
28561
|
}
|
|
28413
28562
|
const loaders = {
|
|
28414
|
-
assign: () => this.getAssignment(
|
|
28415
|
-
quiz: () => this.getQuiz(
|
|
28416
|
-
resource: () => this.getResource(
|
|
28417
|
-
url: () => this.getLink(
|
|
28418
|
-
page: () => this.getPage(
|
|
28419
|
-
folder: () => this.getFolder(
|
|
28563
|
+
assign: () => this.getAssignment(id2),
|
|
28564
|
+
quiz: () => this.getQuiz(id2),
|
|
28565
|
+
resource: () => this.getResource(id2),
|
|
28566
|
+
url: () => this.getLink(id2),
|
|
28567
|
+
page: () => this.getPage(id2),
|
|
28568
|
+
folder: () => this.getFolder(id2)
|
|
28420
28569
|
};
|
|
28421
28570
|
const load = loaders[type];
|
|
28422
28571
|
if (!load) {
|
|
28423
|
-
activity ??= await this.findActivity(
|
|
28572
|
+
activity ??= await this.findActivity(id2, courseId);
|
|
28424
28573
|
return { ...activity, type: type || activity.modname || "unknown" };
|
|
28425
28574
|
}
|
|
28426
28575
|
return { ...await load(), type: type === "url" ? "link" : type };
|
|
28427
28576
|
}
|
|
28428
|
-
async getTodo(
|
|
28577
|
+
async getTodo(limit2 = 20, days, courseId) {
|
|
28429
28578
|
await this.ensureSession();
|
|
28430
28579
|
const now = Math.floor(Date.now() / 1e3);
|
|
28431
|
-
const
|
|
28432
|
-
|
|
28433
|
-
|
|
28434
|
-
|
|
28435
|
-
|
|
28436
|
-
|
|
28437
|
-
|
|
28438
|
-
|
|
28439
|
-
|
|
28580
|
+
const items = [];
|
|
28581
|
+
let aftereventid = 0;
|
|
28582
|
+
const seen = /* @__PURE__ */ new Set();
|
|
28583
|
+
const byCourse = courseId !== void 0 && !this.unavailable.has(FUNC_GET_ACTION_EVENTS_BY_COURSE);
|
|
28584
|
+
while (items.length < limit2) {
|
|
28585
|
+
const batchSize = Math.min(50, limit2 - items.length);
|
|
28586
|
+
const window = { timesortfrom: now, timesortto: days ? now + days * 86400 : 0, aftereventid, limitnum: batchSize };
|
|
28587
|
+
let data;
|
|
28588
|
+
if (byCourse) {
|
|
28589
|
+
try {
|
|
28590
|
+
data = await this.call(FUNC_GET_ACTION_EVENTS_BY_COURSE, { courseid: courseId, ...window });
|
|
28591
|
+
} catch (error62) {
|
|
28592
|
+
if (!this.errors.isApi(error62) || error62.moodleErrorCode !== "servicenotavailable") throw error62;
|
|
28593
|
+
return (await this.getTodo(limit2, days)).filter((item) => item.course_id === courseId);
|
|
28594
|
+
}
|
|
28595
|
+
} else {
|
|
28596
|
+
data = await this.call(FUNC_GET_ACTION_EVENTS, { ...window, limittononsuspendedevents: true });
|
|
28597
|
+
}
|
|
28598
|
+
const events = isRecord6(data) && Array.isArray(data.events) ? data.events : [];
|
|
28599
|
+
for (const item of parseTodoItems(events)) if (!seen.has(item.id)) {
|
|
28600
|
+
seen.add(item.id);
|
|
28601
|
+
items.push(item);
|
|
28602
|
+
}
|
|
28603
|
+
if (events.length < batchSize) break;
|
|
28604
|
+
const last = events.at(-1);
|
|
28605
|
+
const next = isRecord6(last) && typeof last.id === "number" ? last.id : void 0;
|
|
28606
|
+
if (!next || next === aftereventid) throw this.errors.api("Moodle repeated a calendar page; refine the date window.");
|
|
28607
|
+
aftereventid = next;
|
|
28608
|
+
}
|
|
28609
|
+
return courseId === void 0 ? items : items.filter((item) => item.course_id === courseId);
|
|
28440
28610
|
}
|
|
28441
|
-
async getAlerts(
|
|
28611
|
+
async getAlerts(limit2 = 20) {
|
|
28442
28612
|
await this.ensureSession();
|
|
28443
|
-
const [notifications,
|
|
28444
|
-
{ methodname: FUNC_GET_POPUP_NOTIFICATIONS, args: { useridto: this.userid, limit, offset: 0 } },
|
|
28613
|
+
const [notifications, counts2, unread] = await this.callBatchValues([
|
|
28614
|
+
{ methodname: FUNC_GET_POPUP_NOTIFICATIONS, args: { useridto: this.userid, limit: limit2, offset: 0 } },
|
|
28445
28615
|
{ methodname: FUNC_GET_CONVERSATION_COUNTS, args: { userid: this.userid } },
|
|
28446
28616
|
{ methodname: FUNC_GET_UNREAD_CONVERSATION_COUNTS, args: { userid: this.userid } }
|
|
28447
28617
|
]);
|
|
28448
|
-
return parseAlertSummary(notifications,
|
|
28618
|
+
return parseAlertSummary(notifications, counts2, unread);
|
|
28449
28619
|
}
|
|
28450
28620
|
async getOverview(todoLimit = 5, todoDays, alertsLimit = 5) {
|
|
28451
28621
|
await this.ensureSession();
|
|
28622
|
+
if (todoLimit > 50) {
|
|
28623
|
+
const snapshot = await this.getOverview(50, todoDays, alertsLimit);
|
|
28624
|
+
if (snapshot.todo.length === 50) snapshot.todo = await this.getTodo(todoLimit, todoDays);
|
|
28625
|
+
return snapshot;
|
|
28626
|
+
}
|
|
28452
28627
|
const now = Math.floor(Date.now() / 1e3);
|
|
28453
28628
|
const results = await this.callBatch([
|
|
28454
28629
|
{ methodname: FUNC_GET_COURSES, args: { userid: this.userid } },
|
|
@@ -28466,16 +28641,16 @@ var MoodleClientCore = class {
|
|
|
28466
28641
|
{ methodname: FUNC_GET_CONVERSATION_COUNTS, args: { userid: this.userid } },
|
|
28467
28642
|
{ methodname: FUNC_GET_UNREAD_CONVERSATION_COUNTS, args: { userid: this.userid } }
|
|
28468
28643
|
]);
|
|
28469
|
-
const [coursesData, todoData, notifications,
|
|
28644
|
+
const [coursesData, todoData, notifications, counts2, unread] = results;
|
|
28470
28645
|
const userPromise = this.userInfo?.fullname ? Promise.resolve(this.userInfo) : this.getSiteInfo();
|
|
28471
28646
|
const coursesPromise = coursesData?.ok ? Promise.resolve(parseCourses(coursesData.data)) : this.getCourses();
|
|
28472
28647
|
const todoPromise = todoData?.ok ? Promise.resolve(parseTodoPayload(todoData.data)) : todoData ? Promise.reject(todoData.error) : this.getTodo(todoLimit, todoDays);
|
|
28473
|
-
const alertResults = [notifications,
|
|
28648
|
+
const alertResults = [notifications, counts2, unread];
|
|
28474
28649
|
const alertFailureIndex = alertResults.findIndex((result) => result !== void 0 && !result.ok);
|
|
28475
28650
|
const alertFailure = alertFailureIndex >= 0 ? alertResults[alertFailureIndex] : void 0;
|
|
28476
28651
|
const alertsPromise = alertFailure && !alertFailure.ok ? Promise.reject(alertFailure.error) : alertResults.every((result) => result?.ok) ? Promise.resolve(parseAlertSummary(
|
|
28477
28652
|
notifications && notifications.ok ? notifications.data : void 0,
|
|
28478
|
-
|
|
28653
|
+
counts2 && counts2.ok ? counts2.data : void 0,
|
|
28479
28654
|
unread && unread.ok ? unread.data : void 0
|
|
28480
28655
|
)) : this.getAlerts(alertsLimit);
|
|
28481
28656
|
const settled = await Promise.allSettled([userPromise, coursesPromise, todoPromise, alertsPromise]);
|
|
@@ -28553,29 +28728,75 @@ var MoodleClientCore = class {
|
|
|
28553
28728
|
items: []
|
|
28554
28729
|
};
|
|
28555
28730
|
}
|
|
28556
|
-
async getAssignment(
|
|
28557
|
-
return parseAssignmentHtml(await this.get(ASSIGN_VIEW_PATH, { id }),
|
|
28558
|
-
}
|
|
28559
|
-
async getQuiz(
|
|
28560
|
-
return parseQuizHtml(await this.get(QUIZ_VIEW_PATH, { id }),
|
|
28561
|
-
}
|
|
28562
|
-
async getResource(
|
|
28563
|
-
|
|
28731
|
+
async getAssignment(id2) {
|
|
28732
|
+
return parseAssignmentHtml(await this.get(ASSIGN_VIEW_PATH, { id: id2 }), id2, this.baseUrl);
|
|
28733
|
+
}
|
|
28734
|
+
async getQuiz(id2) {
|
|
28735
|
+
return parseQuizHtml(await this.get(QUIZ_VIEW_PATH, { id: id2 }), id2, this.baseUrl);
|
|
28736
|
+
}
|
|
28737
|
+
async getResource(id2) {
|
|
28738
|
+
const url2 = `${this.baseUrl}${RESOURCE_VIEW_PATH}?id=${id2}`;
|
|
28739
|
+
const response = await this.requestAbsolute(url2);
|
|
28740
|
+
const type = response.headers.get("content-type") ?? "";
|
|
28741
|
+
if (type && !/html/iu.test(type)) {
|
|
28742
|
+
const finalUrl = response.url || url2;
|
|
28743
|
+
const disposition = response.headers.get("content-disposition") ?? "";
|
|
28744
|
+
const encodedName = disposition.match(/filename\*\s*=\s*UTF-8''([^;]+)/iu)?.[1];
|
|
28745
|
+
const plainName = disposition.match(/filename\s*=\s*"([^"\r\n]+)"/iu)?.[1] || disposition.match(/filename\s*=\s*([^;\r\n]+)/iu)?.[1];
|
|
28746
|
+
let filename = plainName || new URL(finalUrl).pathname.split("/").at(-1) || `resource-${id2}`;
|
|
28747
|
+
try {
|
|
28748
|
+
filename = decodeURIComponent(encodedName || filename);
|
|
28749
|
+
} catch {
|
|
28750
|
+
}
|
|
28751
|
+
filename = filename.split(/[\\/]/u).at(-1) || `resource-${id2}`;
|
|
28752
|
+
await response.body?.cancel();
|
|
28753
|
+
return { id: id2, name: filename, course_id: 0, course_name: "", section_name: "", target_name: filename, target_url: url2, file_entries: [{ name: filename, url: url2, requires_authentication: true }], url: url2 };
|
|
28754
|
+
}
|
|
28755
|
+
const resource = parseResourceHtml(await response.text(), id2, this.baseUrl);
|
|
28756
|
+
if (!resource.name) {
|
|
28757
|
+
const activity = await this.findActivity(id2);
|
|
28758
|
+
resource.name = activity.name;
|
|
28759
|
+
if (!resource.file_entries.length && activity.file_entries?.length) resource.file_entries = activity.file_entries;
|
|
28760
|
+
}
|
|
28761
|
+
return resource;
|
|
28564
28762
|
}
|
|
28565
|
-
async getLink(
|
|
28566
|
-
return parseLinkHtml(await this.get(URL_VIEW_PATH, { id }),
|
|
28763
|
+
async getLink(id2) {
|
|
28764
|
+
return parseLinkHtml(await this.get(URL_VIEW_PATH, { id: id2 }), id2, this.baseUrl);
|
|
28567
28765
|
}
|
|
28568
|
-
async getPage(
|
|
28569
|
-
return parsePageHtml(await this.get(PAGE_VIEW_PATH, { id }),
|
|
28766
|
+
async getPage(id2) {
|
|
28767
|
+
return parsePageHtml(await this.get(PAGE_VIEW_PATH, { id: id2 }), id2, this.baseUrl);
|
|
28570
28768
|
}
|
|
28571
|
-
async getFolder(
|
|
28572
|
-
return parseFolderHtml(await this.get(FOLDER_VIEW_PATH, { id }),
|
|
28769
|
+
async getFolder(id2) {
|
|
28770
|
+
return parseFolderHtml(await this.get(FOLDER_VIEW_PATH, { id: id2 }), id2, this.baseUrl);
|
|
28573
28771
|
}
|
|
28574
28772
|
async requestAbsolute(url2, init = {}) {
|
|
28575
28773
|
return this.requestAbsoluteInternal(url2, init, true);
|
|
28576
28774
|
}
|
|
28577
|
-
async
|
|
28578
|
-
|
|
28775
|
+
async getNewsForums(courseId) {
|
|
28776
|
+
const units = courseId === void 0 ? await this.getCourses() : (await this.getCourses()).filter((c) => c.id === courseId);
|
|
28777
|
+
const forums = [];
|
|
28778
|
+
if (!units.length) return forums;
|
|
28779
|
+
try {
|
|
28780
|
+
await this.ensureSession();
|
|
28781
|
+
const data = await this.call("mod_forum_get_forums_by_courses", { courseids: units.map((c) => c.id) });
|
|
28782
|
+
for (const f of Array.isArray(data) ? data : []) {
|
|
28783
|
+
if (!isRecord6(f) || f.type !== "news" || typeof f.cmid !== "number") continue;
|
|
28784
|
+
const c = units.find((c2) => c2.id === f.course);
|
|
28785
|
+
forums.push({ id: f.cmid, name: String(f.name || ""), course_id: Number(f.course), course_name: c?.fullname || "", url: `${this.baseUrl}/mod/forum/view.php?id=${f.cmid}` });
|
|
28786
|
+
}
|
|
28787
|
+
return forums;
|
|
28788
|
+
} catch (error62) {
|
|
28789
|
+
if (!this.errors.isApi(error62) || error62.moodleErrorCode !== "servicenotavailable") throw error62;
|
|
28790
|
+
}
|
|
28791
|
+
const candidates = await this.getForums(courseId);
|
|
28792
|
+
const flags = [];
|
|
28793
|
+
for (let index = 0; index < candidates.length; index += 4) {
|
|
28794
|
+
flags.push(...await Promise.all(candidates.slice(index, index + 4).map((forum) => this.forum.isNewsForum(forum.id))));
|
|
28795
|
+
}
|
|
28796
|
+
return candidates.filter((_, index) => flags[index]);
|
|
28797
|
+
}
|
|
28798
|
+
async getForumDiscussion(discussionId, options = {}) {
|
|
28799
|
+
return this.forum.getForumDiscussion(discussionId, options);
|
|
28579
28800
|
}
|
|
28580
28801
|
async getForumViewCmid(discussionId) {
|
|
28581
28802
|
return this.forum.getForumViewCmid(discussionId);
|
|
@@ -28614,7 +28835,22 @@ var MoodleClientCore = class {
|
|
|
28614
28835
|
}
|
|
28615
28836
|
return completeResults.map((result) => result.ok ? result.data : void 0);
|
|
28616
28837
|
}
|
|
28838
|
+
// Moodle stops a batch at its first failing function, so a service the site has
|
|
28839
|
+
// disabled would void every call queued behind it. Known-disabled functions are
|
|
28840
|
+
// answered locally and only the rest travel.
|
|
28617
28841
|
async callBatchInternal(requests, allowRetry) {
|
|
28842
|
+
const live = requests.map((request, index) => ({ request, index })).filter(({ request }) => !this.unavailable.has(request.methodname));
|
|
28843
|
+
if (live.length < requests.length) {
|
|
28844
|
+
const results2 = Array(requests.length).fill(void 0);
|
|
28845
|
+
for (const [index, request] of requests.entries()) {
|
|
28846
|
+
if (!live.some((entry) => entry.index === index)) results2[index] = { ok: false, error: this.errors.api(`${request.methodname} is disabled on this site.`, "servicenotavailable") };
|
|
28847
|
+
}
|
|
28848
|
+
if (live.length) {
|
|
28849
|
+
const sent = await this.callBatchInternal(live.map(({ request }) => request), allowRetry);
|
|
28850
|
+
for (const [position, { index }] of live.entries()) results2[index] = sent[position];
|
|
28851
|
+
}
|
|
28852
|
+
return results2;
|
|
28853
|
+
}
|
|
28618
28854
|
const payload = requests.map((request, index) => ({ index, methodname: request.methodname, args: request.args ?? {} }));
|
|
28619
28855
|
const response = await fetchWithSession(`${this.baseUrl}${AJAX_SERVICE_PATH}?sesskey=${encodeURIComponent(this.sesskey ?? "")}&info=${requests.map((request) => request.methodname).join(",")}`, {
|
|
28620
28856
|
method: "POST",
|
|
@@ -28642,6 +28878,14 @@ var MoodleClientCore = class {
|
|
|
28642
28878
|
error: this.errors.api(item.exception?.message ?? "Unknown API error", item.exception?.errorcode)
|
|
28643
28879
|
} : { ok: true, data: item.data ?? item };
|
|
28644
28880
|
}
|
|
28881
|
+
let learned = false;
|
|
28882
|
+
for (const [position, item] of envelope.entries()) {
|
|
28883
|
+
const name = requests[item.index ?? position]?.methodname;
|
|
28884
|
+
if (!name || !item.error || item.exception?.errorcode !== "servicenotavailable" || this.unavailable.has(name)) continue;
|
|
28885
|
+
this.unavailable.add(name);
|
|
28886
|
+
learned = true;
|
|
28887
|
+
}
|
|
28888
|
+
if (learned) await this.writeCache();
|
|
28645
28889
|
if (allowRetry && !this.retryingLogin && this.onLoginRequired && results.some((result) => result !== void 0 && !result.ok && this.errors.isLoginRequired(result.error))) {
|
|
28646
28890
|
await this.reauthenticate();
|
|
28647
28891
|
return this.callBatchInternal(requests, false);
|
|
@@ -28696,7 +28940,7 @@ var MoodleClientCore = class {
|
|
|
28696
28940
|
}
|
|
28697
28941
|
courses.push(...data.courses);
|
|
28698
28942
|
const nextOffset = typeof data.nextoffset === "number" ? data.nextoffset : offset;
|
|
28699
|
-
if (nextOffset <= offset) {
|
|
28943
|
+
if (nextOffset <= offset || data.courses.length < 100) {
|
|
28700
28944
|
break;
|
|
28701
28945
|
}
|
|
28702
28946
|
offset = nextOffset;
|
|
@@ -28715,18 +28959,18 @@ var MoodleClientCore = class {
|
|
|
28715
28959
|
const stateFallbacks = [];
|
|
28716
28960
|
for (const courseIds of chunks(unresolved, ACTIVITY_SEARCH_BATCH_SIZE)) {
|
|
28717
28961
|
const results = await this.callBatch(
|
|
28718
|
-
courseIds.map((
|
|
28962
|
+
courseIds.map((id2) => ({ methodname: FUNC_GET_COURSE_CONTENTS, args: { courseid: id2 } }))
|
|
28719
28963
|
);
|
|
28720
|
-
for (const [index,
|
|
28964
|
+
for (const [index, id2] of courseIds.entries()) {
|
|
28721
28965
|
const result = results[index];
|
|
28722
28966
|
if (!result?.ok) {
|
|
28723
28967
|
if (!result) {
|
|
28724
|
-
stateFallbacks.push(
|
|
28968
|
+
stateFallbacks.push(id2);
|
|
28725
28969
|
} else if (this.errors.isLoginRequired(result.error)) {
|
|
28726
28970
|
throw result.error;
|
|
28727
28971
|
} else {
|
|
28728
28972
|
lastError = result.error;
|
|
28729
|
-
if (result.error.moodleErrorCode === "servicenotavailable") stateFallbacks.push(
|
|
28973
|
+
if (result.error.moodleErrorCode === "servicenotavailable") stateFallbacks.push(id2);
|
|
28730
28974
|
}
|
|
28731
28975
|
continue;
|
|
28732
28976
|
}
|
|
@@ -28739,24 +28983,24 @@ var MoodleClientCore = class {
|
|
|
28739
28983
|
unresolved = stateFallbacks;
|
|
28740
28984
|
for (const courseIds of chunks(unresolved, ACTIVITY_SEARCH_BATCH_SIZE)) {
|
|
28741
28985
|
const results = await this.callBatch(
|
|
28742
|
-
courseIds.map((
|
|
28986
|
+
courseIds.map((id2) => ({ methodname: FUNC_GET_COURSE_FORMAT_STATE, args: { courseid: id2 } }))
|
|
28743
28987
|
);
|
|
28744
|
-
for (const [index,
|
|
28988
|
+
for (const [index, id2] of courseIds.entries()) {
|
|
28745
28989
|
const result = results[index];
|
|
28746
28990
|
if (!result?.ok) {
|
|
28747
28991
|
if (!result) {
|
|
28748
|
-
htmlFallbacks.push(
|
|
28992
|
+
htmlFallbacks.push(id2);
|
|
28749
28993
|
} else if (this.errors.isLoginRequired(result.error)) {
|
|
28750
28994
|
throw result.error;
|
|
28751
28995
|
} else {
|
|
28752
28996
|
lastError = result.error;
|
|
28753
|
-
if (result.error.moodleErrorCode === "servicenotavailable") htmlFallbacks.push(
|
|
28997
|
+
if (result.error.moodleErrorCode === "servicenotavailable") htmlFallbacks.push(id2);
|
|
28754
28998
|
}
|
|
28755
28999
|
continue;
|
|
28756
29000
|
}
|
|
28757
29001
|
const sections = parseCourseFormatState(result.data, this.baseUrl);
|
|
28758
29002
|
if (!sections.length) {
|
|
28759
|
-
htmlFallbacks.push(
|
|
29003
|
+
htmlFallbacks.push(id2);
|
|
28760
29004
|
continue;
|
|
28761
29005
|
}
|
|
28762
29006
|
searchedCourses += 1;
|
|
@@ -28764,11 +29008,11 @@ var MoodleClientCore = class {
|
|
|
28764
29008
|
if (activity) return activity;
|
|
28765
29009
|
}
|
|
28766
29010
|
}
|
|
28767
|
-
for (const
|
|
29011
|
+
for (const id2 of htmlFallbacks) {
|
|
28768
29012
|
try {
|
|
28769
29013
|
const activity = (await this.scrapeCourseContents(
|
|
28770
|
-
|
|
28771
|
-
await this.get(COURSE_PATH, { id })
|
|
29014
|
+
id2,
|
|
29015
|
+
await this.get(COURSE_PATH, { id: id2 })
|
|
28772
29016
|
)).flatMap((section) => section.activities).find((item) => item.id === activityId);
|
|
28773
29017
|
searchedCourses += 1;
|
|
28774
29018
|
if (activity) return activity;
|
|
@@ -28827,9 +29071,12 @@ var MoodleClientCore = class {
|
|
|
28827
29071
|
await this.writeSessionCache({
|
|
28828
29072
|
baseUrl: this.baseUrl,
|
|
28829
29073
|
cookieName: this.cookie.name,
|
|
29074
|
+
cookieSource: this.cookie.source,
|
|
28830
29075
|
cookieValue: this.cookie.value,
|
|
28831
29076
|
sesskey: this.sesskey,
|
|
28832
|
-
userid: this.userid
|
|
29077
|
+
userid: this.userid,
|
|
29078
|
+
...this.unavailable.size ? { unavailable: [...this.unavailable].sort() } : {},
|
|
29079
|
+
...this.userInfo?.fullname ? { user: this.userInfo } : {}
|
|
28833
29080
|
});
|
|
28834
29081
|
} catch {
|
|
28835
29082
|
return;
|
|
@@ -28850,11 +29097,6 @@ function placeholderUserInfo(baseUrl, userid) {
|
|
|
28850
29097
|
lang: ""
|
|
28851
29098
|
};
|
|
28852
29099
|
}
|
|
28853
|
-
function queryMatches(text, query) {
|
|
28854
|
-
const haystack = text.toLowerCase().split(/\s+/).join(" ");
|
|
28855
|
-
const needle = query.toLowerCase().split(/\s+/).join(" ");
|
|
28856
|
-
return needle ? haystack.includes(needle) || needle.split(" ").every((token) => haystack.includes(token)) : true;
|
|
28857
|
-
}
|
|
28858
29100
|
function parseTodoPayload(value) {
|
|
28859
29101
|
return parseTodoItems(isRecord6(value) && Array.isArray(value.events) ? value.events : []);
|
|
28860
29102
|
}
|
|
@@ -28904,7 +29146,10 @@ var MoodleGatewayError = class extends Error {
|
|
|
28904
29146
|
function createMoodleGateway(client) {
|
|
28905
29147
|
return {
|
|
28906
29148
|
getUser: () => client.getSiteInfo(),
|
|
28907
|
-
|
|
29149
|
+
listThreads: (id2) => client.getForumDiscussionRefs ? client.getForumDiscussionRefs(id2) : Promise.resolve([]),
|
|
29150
|
+
listNewsForums: (id2) => client.getNewsForums ? client.getNewsForums(id2) : Promise.resolve([]),
|
|
29151
|
+
getOverview: (input3) => client.getOverview(input3.todoLimit, input3.todoDays, input3.alertsLimit),
|
|
29152
|
+
...client.getTodo ? { getDue: (days, courseId) => client.getTodo(Number.MAX_SAFE_INTEGER, days, courseId) } : {},
|
|
28908
29153
|
listCourses: () => client.getCourses(),
|
|
28909
29154
|
async getCourse({ courseId }) {
|
|
28910
29155
|
const [courses, sections] = await Promise.all([
|
|
@@ -28917,18 +29162,19 @@ function createMoodleGateway(client) {
|
|
|
28917
29162
|
}
|
|
28918
29163
|
return { course, sections };
|
|
28919
29164
|
},
|
|
28920
|
-
async listActivities({ courseId, limit }) {
|
|
29165
|
+
async listActivities({ courseId, limit: limit2 }) {
|
|
28921
29166
|
const activities = await client.getActivities(courseId);
|
|
28922
|
-
return
|
|
29167
|
+
return limit2 === void 0 ? activities : activities.slice(0, limit2);
|
|
28923
29168
|
},
|
|
28924
29169
|
getActivity: ({ activityId }) => client.getActivity(activityId),
|
|
28925
29170
|
getGrades: ({ courseId }) => client.getCourseGrades(courseId),
|
|
28926
|
-
async listForums({ courseId, limit }) {
|
|
29171
|
+
async listForums({ courseId, limit: limit2 }) {
|
|
28927
29172
|
const forums = await client.getForums(courseId);
|
|
28928
|
-
return
|
|
29173
|
+
return limit2 === void 0 ? forums : forums.slice(0, limit2);
|
|
28929
29174
|
},
|
|
28930
|
-
searchForums: ({ forumId, ...
|
|
28931
|
-
|
|
29175
|
+
searchForums: ({ forumId, ...input3 }) => client.searchForumContent({ ...input3, forumCmid: forumId }),
|
|
29176
|
+
// Thread and news results never show groups, so the group page load is skipped.
|
|
29177
|
+
getThread: ({ discussionId }) => client.getForumDiscussion(discussionId, { group: false }),
|
|
28932
29178
|
async getFile({ source }) {
|
|
28933
29179
|
let target = await resolveFileTarget(client, source);
|
|
28934
29180
|
let response = await client.requestAbsolute(target.url);
|
|
@@ -29135,6 +29381,300 @@ function encodeBase64(content) {
|
|
|
29135
29381
|
return btoa(binary);
|
|
29136
29382
|
}
|
|
29137
29383
|
|
|
29384
|
+
// src/intent-contract.ts
|
|
29385
|
+
var s = external_exports.string().optional();
|
|
29386
|
+
var n = external_exports.number().optional();
|
|
29387
|
+
var id = external_exports.number().int();
|
|
29388
|
+
var ref = external_exports.union([external_exports.string().trim().min(1).max(2048), external_exports.number().int().positive()]);
|
|
29389
|
+
var limit = external_exports.number().int().min(1).max(200).default(20);
|
|
29390
|
+
var fields = (keys) => Object.fromEntries(keys.map((key) => [key, s]));
|
|
29391
|
+
var file2 = external_exports.object({ name: s, url: s, requires_authentication: external_exports.boolean().optional() });
|
|
29392
|
+
var activityFields = { id, name: s, type: s, unit_id: n, section_id: n, hidden: external_exports.boolean().optional(), due: s, due_at: n, files: external_exports.array(file2).optional() };
|
|
29393
|
+
var activityListSchema = external_exports.object({ ...activityFields, section: s, unit_code: s, description: s });
|
|
29394
|
+
var activitySchema = external_exports.object({ ...activityFields, ...fields(["url", "target_url", "section", "unit_code", "description", "submission_status", "grading_status", "grade", "due_pretty", "opens_pretty", "closes_pretty", "attempts_allowed", "availability", "time_remaining", "content_text"]), files: external_exports.array(file2).optional() });
|
|
29395
|
+
var sectionSchema = external_exports.object({ id, name: s, activity_count: id, hidden: external_exports.boolean().optional(), positional: external_exports.boolean().optional(), activities: external_exports.array(activityListSchema).optional() });
|
|
29396
|
+
var current = external_exports.object({ id, name: s, estimated: external_exports.boolean().optional() });
|
|
29397
|
+
var unitSchema = external_exports.object({ id, code: s, name: s, start: s, end: s, start_at: n, end_at: n, hidden: external_exports.boolean().optional(), current_section: current.optional() });
|
|
29398
|
+
var dueSchema = external_exports.object({ id, activity_id: n, name: s, type: s, unit_id: id, unit_code: s, event: s, due: s, due_at: id, actionable: external_exports.boolean().optional(), status: s });
|
|
29399
|
+
var counts = external_exports.object(Object.fromEntries(["notification_count", "unread_notification_count", "starred_message_count", "direct_message_count", "group_message_count", "self_message_count", "unread_starred_message_count", "unread_direct_message_count", "unread_group_message_count", "unread_self_message_count"].map((key) => [key, n])));
|
|
29400
|
+
var postSchema = external_exports.object({ id, parent_id: n, name: s, author: external_exports.object({ id, name: s }), time_created: id, created: s, message_text: s, links: external_exports.array(external_exports.object({ text: s, url: s })).optional() });
|
|
29401
|
+
var gradeSchema = external_exports.object({ unit_id: id, code: s, graded: id, total: id, total_grade: s, total_range: s, total_percentage: s, items: external_exports.array(external_exports.object({ name: s, type: s, grade: s, range: s, percentage: s, weight: s, contribution: s, feedback: s, status: s, due: s, due_at: n })).optional() });
|
|
29402
|
+
var searchSchema = external_exports.object({ unit_id: id, forum_id: id, discussion_id: id, name: s, post_id: id, snippet: s, time_created: n, created: s, url: s });
|
|
29403
|
+
var input2 = (shape) => external_exports.object(shape).strict();
|
|
29404
|
+
var list = (key, value) => external_exports.object({ [key]: external_exports.array(value).optional(), total: id });
|
|
29405
|
+
var intentContracts = {
|
|
29406
|
+
home: { when: "dashboard", command: "moodle", what: "Today, timezone, due items and unread counts.", instead: "due for longer deadline lists", refs: "days defaults to 14", then: "unit or item", cost: "small dashboard", input: input2({ days: external_exports.number().int().min(1).max(365).default(14) }), output: external_exports.object({ home: external_exports.object({ today: external_exports.string(), timezone: external_exports.string(), timezone_source: s, name: s, siteurl: s, units: external_exports.array(unitSchema).optional(), due: external_exports.array(dueSchema).optional(), total: id, unread: counts.optional(), errors: external_exports.array(external_exports.string()).optional() }) }) },
|
|
29407
|
+
due: { when: "deadlines", command: "moodle due [UNIT] --days 14", what: "Items due in a date window.", instead: "item for submission details", refs: "unit code, name, id or URL", then: "item with activity_id", cost: "up to 20 rows by default", input: input2({ unit: ref.optional(), days: external_exports.number().int().min(1).max(365).default(14), limit }), output: list("due", dueSchema) },
|
|
29408
|
+
units: { when: "unit names", command: "moodle units", what: "Enrolled units with ids, codes and names.", instead: "unit for sections", refs: "none", then: "unit with a name or id", cost: "small list", input: input2({ limit: limit.default(200) }), output: list("units", unitSchema) },
|
|
29409
|
+
unit: { when: "a unit or section", command: "moodle UNIT [SECTION]", what: "Section index and current section; section argument returns activities and files.", instead: "find for a named item", refs: "unit code, name, id or URL; section number or name", then: "item or file with activity id", cost: "index about 4 KB; section about 0.5 KB", input: input2({ unit: ref, section: ref.optional() }), output: external_exports.object({ unit: unitSchema, sections: external_exports.array(sectionSchema).optional(), total: id }) },
|
|
29410
|
+
find: { when: "find slides or a task", command: 'moodle find "QUERY" [UNIT]', what: "Ranked sections, activities and discussion subjects.", instead: "search_forums for post text; due for deadlines", refs: "query and optional unit code, name, id or URL", then: "item or file with id", cost: "up to 20 rows by default", input: input2({ query: external_exports.string().trim().min(1), unit: ref.optional(), types: external_exports.array(external_exports.string()).optional(), limit }), output: list("results", activityListSchema) },
|
|
29411
|
+
item: { when: "submission or item detail", command: 'moodle UNIT "TASK"', what: "Activity due dates, status, grades, files, or latest forum threads.", instead: "file for binary content", refs: "id, same-site URL, or UNIT TASK phrase", then: "file with id or files URL", cost: "one item", input: input2({ ref }), output: external_exports.object({ item: activitySchema, threads: external_exports.array(external_exports.object({ id, name: s })).optional(), total: n }) },
|
|
29412
|
+
grades: { when: "my grades", command: "moodle grades [UNIT]", what: "Grades across units or in one unit.", instead: "item for submission status", refs: "optional unit code, name, id or URL", then: "item for an ungraded task", cost: "graded_only narrows output", input: input2({ unit: ref.optional(), graded_only: external_exports.boolean().default(false) }), output: list("grades", gradeSchema) },
|
|
29413
|
+
news: { when: "announcements", command: "moodle news [UNIT]", what: "Latest announcement threads with first-post text.", instead: "search_forums for other discussions", refs: "optional unit code, name, id or URL", then: "thread with discussion id", cost: "up to 5 announcements by default", input: input2({ unit: ref.optional(), limit: limit.default(5) }), output: list("news", external_exports.object({ id, name: s, unit_id: id, unit_code: s, forum_id: id, post: postSchema.optional() })) },
|
|
29414
|
+
thread: { when: "discussion posts", command: "moodle threads show ID", what: "A discussion and a page of compact posts, with attachment links.", instead: "news for announcements", refs: "discussion_id; offset and limit", then: "increase offset while posts_total exceeds returned", cost: "up to 20 posts by default", input: input2({ discussion_id: external_exports.number().int().positive(), limit, offset: external_exports.number().int().nonnegative().default(0) }), output: external_exports.object({ thread: external_exports.object({ id, name: s, unit_id: id, forum_id: id, url: s, posts: external_exports.array(postSchema).optional(), posts_total: id, offset: id }) }) },
|
|
29415
|
+
search_forums: { when: "forum post text", command: 'moodle forums search "QUERY" --unit UNIT', what: "Matching posts with unit and forum name maps.", instead: "find for activity names", refs: "query, optional unit or courseId and forumId", then: "thread with discussion_id", cost: "bounded forum scan; total covers scanned scope", input: input2({ query: external_exports.string().trim().min(1), unit: ref.optional(), courseId: external_exports.number().int().positive().optional(), forumId: external_exports.number().int().positive().optional(), limit, includePostText: external_exports.boolean().default(true), titlesOnly: external_exports.boolean().default(false), unreadOnly: external_exports.boolean().default(false), sortBy: external_exports.enum(["relevance", "recent"]).default("relevance"), maxForums: limit.default(20), maxDiscussionsPerForum: limit.default(50) }), output: external_exports.object({ results: external_exports.array(searchSchema).optional(), total: id, forums: external_exports.record(external_exports.string(), external_exports.string()).optional(), units: external_exports.record(external_exports.string(), external_exports.string()).optional(), scope: external_exports.object({ max_forums: id, max_discussions_per_forum: id }) }) },
|
|
29416
|
+
file: { when: "download a file", command: 'moodle get "UNIT TASK" --to DIR', what: "One authenticated file as embedded content, at most 16 MiB.", instead: "item for file choices", refs: "resource id, same-site URL, or UNIT TASK phrase", then: "read the returned resource", cost: "binary content up to 16 MiB", input: input2({ ref }), output: external_exports.object({ file: external_exports.object({ name: external_exports.string(), mime_type: external_exports.string(), bytes: id, uri: external_exports.string() }) }) }
|
|
29417
|
+
};
|
|
29418
|
+
function intentDescription(name) {
|
|
29419
|
+
const c = intentContracts[name];
|
|
29420
|
+
return `${c.what} Use when: ${c.when}. Not for: ${c.instead}. Refs: ${c.refs}. Then: ${c.then}. Cost: ${c.cost}.`;
|
|
29421
|
+
}
|
|
29422
|
+
|
|
29423
|
+
// src/results.ts
|
|
29424
|
+
function stripEmpty(value) {
|
|
29425
|
+
if (Array.isArray(value)) {
|
|
29426
|
+
const items = value.map(stripEmpty).filter((v) => v !== void 0);
|
|
29427
|
+
return items.length ? items : void 0;
|
|
29428
|
+
}
|
|
29429
|
+
if (value && typeof value === "object") return Object.fromEntries(Object.entries(value).map(([k, v]) => [k, stripEmpty(v)]).filter(([, v]) => v !== void 0));
|
|
29430
|
+
return value === "" || value === void 0 ? void 0 : value;
|
|
29431
|
+
}
|
|
29432
|
+
function timezoneFor(value) {
|
|
29433
|
+
try {
|
|
29434
|
+
if (value && value !== "99") {
|
|
29435
|
+
new Intl.DateTimeFormat("en", { timeZone: value }).format();
|
|
29436
|
+
return { timezone: value, timezone_source: "site" };
|
|
29437
|
+
}
|
|
29438
|
+
} catch {
|
|
29439
|
+
}
|
|
29440
|
+
const host = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
29441
|
+
return host && host !== "UTC" ? { timezone: host, timezone_source: "local" } : { timezone: "UTC", timezone_source: "fallback" };
|
|
29442
|
+
}
|
|
29443
|
+
function isoTime(epoch, timezone = "UTC") {
|
|
29444
|
+
if (!epoch) return void 0;
|
|
29445
|
+
const date5 = new Date(epoch * 1e3);
|
|
29446
|
+
const parts = new Intl.DateTimeFormat("sv-SE", { timeZone: timezone, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", hourCycle: "h23", timeZoneName: "longOffset" }).formatToParts(date5);
|
|
29447
|
+
const get = (type) => parts.find((p) => p.type === type)?.value ?? "";
|
|
29448
|
+
return `${get("year")}-${get("month")}-${get("day")}T${get("hour")}:${get("minute")}:${get("second")}${get("timeZoneName").replace("GMT", "") || "+00:00"}`;
|
|
29449
|
+
}
|
|
29450
|
+
function unitRow(c, tz = "UTC") {
|
|
29451
|
+
return { id: c.id, code: c.shortname, name: c.fullname, start: isoTime(c.startdate, tz), start_at: c.startdate || void 0, end: isoTime(c.enddate, tz), end_at: c.enddate, hidden: c.visible === false ? true : void 0 };
|
|
29452
|
+
}
|
|
29453
|
+
function activityRow(a, section) {
|
|
29454
|
+
return { id: a.id, name: a.name, type: a.modname, section_id: section?.id, description: a.description, files: a.file_entries, hidden: a.visible === false ? true : void 0 };
|
|
29455
|
+
}
|
|
29456
|
+
function itemRow(a) {
|
|
29457
|
+
const { course_id, file_entries, ...detail } = a;
|
|
29458
|
+
return { ...detail, unit_id: course_id, files: file_entries };
|
|
29459
|
+
}
|
|
29460
|
+
function dueRow(t, courses, tz = "UTC") {
|
|
29461
|
+
let activityId;
|
|
29462
|
+
try {
|
|
29463
|
+
const url2 = new URL(t.url);
|
|
29464
|
+
const value = Number(url2.searchParams.get("id"));
|
|
29465
|
+
if (/\/mod\/[^/]+\/view.php$/u.test(url2.pathname) && value > 0) activityId = value;
|
|
29466
|
+
} catch {
|
|
29467
|
+
}
|
|
29468
|
+
return { id: t.id, activity_id: activityId, name: t.activity_name || t.name, type: t.modname, unit_id: t.course_id, unit_code: courses.find((c) => c.id === t.course_id)?.shortname, event: t.event_type, due: isoTime(t.due_at, tz), due_at: t.due_at, actionable: t.actionable };
|
|
29469
|
+
}
|
|
29470
|
+
function postRow(p, subject, tz = "UTC") {
|
|
29471
|
+
return { id: p.id, parent_id: p.parent_id || void 0, name: p.subject === subject || p.subject === `Re: ${subject}` ? void 0 : p.subject, author: { id: p.author.id, name: p.author.fullname }, time_created: p.time_created, created: isoTime(p.time_created, tz), message_text: p.message_text, links: p.links };
|
|
29472
|
+
}
|
|
29473
|
+
|
|
29474
|
+
// src/intents.ts
|
|
29475
|
+
async function inParallel2(items, size, run) {
|
|
29476
|
+
const results = [];
|
|
29477
|
+
for (let index = 0; index < items.length; index += size) results.push(...await Promise.all(items.slice(index, index + size).map(run)));
|
|
29478
|
+
return results;
|
|
29479
|
+
}
|
|
29480
|
+
function createIntentService(gateway, now = () => Date.now()) {
|
|
29481
|
+
let coursesPromise;
|
|
29482
|
+
let userPromise;
|
|
29483
|
+
const courses = () => coursesPromise ??= gateway.listCourses();
|
|
29484
|
+
const details = /* @__PURE__ */ new Map();
|
|
29485
|
+
const courseDetail = (courseId) => {
|
|
29486
|
+
const pending = details.get(courseId) ?? gateway.getCourse({ courseId });
|
|
29487
|
+
details.set(courseId, pending);
|
|
29488
|
+
return pending;
|
|
29489
|
+
};
|
|
29490
|
+
const user = () => userPromise ??= gateway.getUser();
|
|
29491
|
+
const timezone = async () => timezoneFor((await user()).timezone).timezone;
|
|
29492
|
+
const course = async (ref2) => {
|
|
29493
|
+
if (String(ref2).includes("://")) {
|
|
29494
|
+
const url2 = new URL(String(ref2));
|
|
29495
|
+
const site = new URL((await user()).siteurl);
|
|
29496
|
+
if (url2.origin !== site.origin) throw new ReferenceError2("not_found", "The URL belongs to a different Moodle site.", []);
|
|
29497
|
+
}
|
|
29498
|
+
return resolveUnit(ref2, await courses());
|
|
29499
|
+
};
|
|
29500
|
+
const selected = async (ref2) => ref2 === void 0 ? courses() : [await course(ref2)];
|
|
29501
|
+
const overview = async (days) => gateway.getOverview({ todoDays: days, todoLimit: Number.MAX_SAFE_INTEGER, alertsLimit: 1 });
|
|
29502
|
+
const unitDeadlines = async (unitId, days) => gateway.getDue ? gateway.getDue(days, unitId) : (await overview(days)).todo.filter((t) => t.course_id === unitId);
|
|
29503
|
+
const compactCurrent = (sections2) => {
|
|
29504
|
+
const result = currentSection(sections2);
|
|
29505
|
+
return result ? { id: result.section.id, name: result.section.name, estimated: result.estimated } : void 0;
|
|
29506
|
+
};
|
|
29507
|
+
async function find(query, ref2, types, threads = true) {
|
|
29508
|
+
const units = await selected(ref2);
|
|
29509
|
+
const rows = [];
|
|
29510
|
+
for (const [index, { sections: sections2 }] of (await inParallel2(units, 5, (c) => courseDetail(c.id))).entries()) {
|
|
29511
|
+
rows.push(...searchSections(units[index], sections2, query === "*" ? "" : query));
|
|
29512
|
+
}
|
|
29513
|
+
if (!rows.length && threads && (!types || types.includes("thread"))) {
|
|
29514
|
+
for (const c of units) {
|
|
29515
|
+
for (const forum of await gateway.listForums({ courseId: c.id })) {
|
|
29516
|
+
for (const thread of await gateway.listThreads?.(forum.id) ?? []) {
|
|
29517
|
+
if (tokensMatch(thread.subject, query)) rows.push({ id: thread.id, name: thread.subject, type: "thread", unit_id: c.id, unit_code: c.shortname || c.fullname, section_id: 0, section: "", score: 50 });
|
|
29518
|
+
}
|
|
29519
|
+
}
|
|
29520
|
+
}
|
|
29521
|
+
}
|
|
29522
|
+
const filtered = types?.length ? rows.filter((r) => types.includes(r.type ?? "")) : rows;
|
|
29523
|
+
const useful = filtered.filter((r) => r.score > 1);
|
|
29524
|
+
return (useful.length ? useful : filtered).sort((a, b) => b.score - a.score || a.id - b.id);
|
|
29525
|
+
}
|
|
29526
|
+
async function resolveItem(ref2) {
|
|
29527
|
+
const raw = String(ref2).trim();
|
|
29528
|
+
if (/^\d+$/u.test(raw)) return Number(raw);
|
|
29529
|
+
if (raw.includes("://")) {
|
|
29530
|
+
const url2 = new URL(raw);
|
|
29531
|
+
if (url2.origin !== new URL((await user()).siteurl).origin || !/\/mod\/[^/]+\/view.php$/u.test(url2.pathname)) throw new ReferenceError2("not_found", "Use an activity URL from the configured Moodle site.", []);
|
|
29532
|
+
const id2 = Number(url2.searchParams.get("id"));
|
|
29533
|
+
if (Number.isSafeInteger(id2) && id2 > 0) return id2;
|
|
29534
|
+
throw new ReferenceError2("not_found", "The activity URL has no valid id.", []);
|
|
29535
|
+
}
|
|
29536
|
+
const parsed = splitUnitPhrase(raw, await courses());
|
|
29537
|
+
const matches = (await find(parsed?.query || raw, parsed?.course.id, void 0, false)).filter((r) => r.type !== "section");
|
|
29538
|
+
if (matches.length === 1) return matches[0].id;
|
|
29539
|
+
throw new ReferenceError2(matches.length ? "ambiguous" : "not_found", `${matches.length ? "Several items match" : "No item matches"} '${raw}'.`, matches.map(({ id: id2, name, type, unit_code }) => ({ id: id2, name, type, code: unit_code })));
|
|
29540
|
+
}
|
|
29541
|
+
async function run(name, args = {}) {
|
|
29542
|
+
const input3 = intentContracts[name].input.parse(args);
|
|
29543
|
+
const ref2 = input3.unit;
|
|
29544
|
+
const limit2 = Number(input3.limit ?? 20);
|
|
29545
|
+
let result;
|
|
29546
|
+
switch (name) {
|
|
29547
|
+
case "units": {
|
|
29548
|
+
const rows = await courses();
|
|
29549
|
+
result = { units: rows.slice(0, limit2).map((c) => unitRow(c)), total: rows.length };
|
|
29550
|
+
break;
|
|
29551
|
+
}
|
|
29552
|
+
case "unit": {
|
|
29553
|
+
const c = await course(ref2);
|
|
29554
|
+
const { sections: sections2 } = await courseDetail(c.id);
|
|
29555
|
+
const tz = await timezone();
|
|
29556
|
+
const chosen = input3.section !== void 0 ? resolveSection(input3.section, sections2) : void 0;
|
|
29557
|
+
const rows = chosen ? [chosen.section] : sections2;
|
|
29558
|
+
result = { unit: { ...unitRow(c, tz), current_section: compactCurrent(sections2) }, sections: rows.map((s2) => ({ id: s2.id, name: s2.name, activity_count: s2.activities.length, hidden: s2.visible === false ? true : void 0, positional: chosen?.positional, activities: chosen ? s2.activities.filter((a) => a.modname !== "label").map((a) => activityRow(a, s2)) : void 0 })), total: rows.length };
|
|
29559
|
+
break;
|
|
29560
|
+
}
|
|
29561
|
+
case "find": {
|
|
29562
|
+
const rows = await find(String(input3.query), ref2, input3.types);
|
|
29563
|
+
result = { results: rows.slice(0, limit2).map(({ activity, ...row }) => ({ ...row, files: activity?.file_entries })), total: rows.length };
|
|
29564
|
+
break;
|
|
29565
|
+
}
|
|
29566
|
+
case "item": {
|
|
29567
|
+
const id2 = await resolveItem(input3.ref);
|
|
29568
|
+
const activity = await gateway.getActivity({ activityId: id2 });
|
|
29569
|
+
const threads = activity.type === "forum" ? await gateway.listThreads?.(id2) : void 0;
|
|
29570
|
+
let due = {};
|
|
29571
|
+
if (["assign", "quiz"].includes(activity.type)) {
|
|
29572
|
+
const unitId = activity.course_id;
|
|
29573
|
+
const todo = await (unitId ? unitDeadlines(unitId, 365) : overview(365).then((o) => o.todo)).catch(() => []);
|
|
29574
|
+
const dates = todo.filter((t) => dueRow(t, []).activity_id === id2);
|
|
29575
|
+
if (dates.length === 1) due = { due_at: dates[0].due_at, due: isoTime(dates[0].due_at, await timezone()) };
|
|
29576
|
+
}
|
|
29577
|
+
result = { item: { ...itemRow(activity), ...due }, threads: threads?.slice(0, 20).map((t) => ({ id: t.id, name: t.subject })), total: threads?.length };
|
|
29578
|
+
break;
|
|
29579
|
+
}
|
|
29580
|
+
case "home":
|
|
29581
|
+
case "due": {
|
|
29582
|
+
const data = name === "due" && gateway.getDue ? { user: await user(), courses: await courses(), todo: await gateway.getDue(Number(input3.days)), errors: [] } : await overview(Number(input3.days));
|
|
29583
|
+
const tz = timezoneFor(data.user?.timezone);
|
|
29584
|
+
const target = ref2 === void 0 ? void 0 : await course(ref2);
|
|
29585
|
+
const todos = data.todo.filter((t) => target === void 0 || t.course_id === target.id);
|
|
29586
|
+
const due = todos.slice(0, name === "home" ? 5 : limit2).map((t) => dueRow(t, data.courses, tz.timezone));
|
|
29587
|
+
if (name === "due") {
|
|
29588
|
+
if (data.errors.length) throw new Error("Moodle could not load the complete deadline list.");
|
|
29589
|
+
result = { due, total: todos.length };
|
|
29590
|
+
break;
|
|
29591
|
+
}
|
|
29592
|
+
const errors = [...data.errors];
|
|
29593
|
+
const units = await inParallel2(data.courses, 5, async (c) => {
|
|
29594
|
+
try {
|
|
29595
|
+
return { id: c.id, code: c.shortname, name: c.fullname, current_section: compactCurrent((await courseDetail(c.id)).sections) };
|
|
29596
|
+
} catch {
|
|
29597
|
+
errors.push(`Could not load sections for unit ${c.id}.`);
|
|
29598
|
+
return { id: c.id, code: c.shortname, name: c.fullname };
|
|
29599
|
+
}
|
|
29600
|
+
});
|
|
29601
|
+
const unread = Object.fromEntries(Object.entries(data.alerts ?? {}).filter(([, v]) => typeof v === "number" && v > 0));
|
|
29602
|
+
result = { home: { today: isoTime(now() / 1e3, tz.timezone).slice(0, 10), ...tz, name: data.user?.fullname, siteurl: data.user?.siteurl, units, due, total: todos.length, unread, errors } };
|
|
29603
|
+
break;
|
|
29604
|
+
}
|
|
29605
|
+
case "grades": {
|
|
29606
|
+
const units = await selected(ref2);
|
|
29607
|
+
const tz = await timezone();
|
|
29608
|
+
const graded = (grade) => Boolean(grade && !/^[\s–—-]+$/u.test(grade));
|
|
29609
|
+
const rows = await inParallel2(units, 5, async (c) => {
|
|
29610
|
+
const [g, todo] = await Promise.all([gateway.getGrades({ courseId: c.id }), unitDeadlines(c.id, 365)]);
|
|
29611
|
+
const items = g.items.filter((i) => !input3.graded_only || graded(i.grade)).map((i) => {
|
|
29612
|
+
const matches = todo.filter((t) => (t.activity_name || t.name) === i.name);
|
|
29613
|
+
const due = matches.length === 1 && !graded(i.grade) ? matches[0].due_at : void 0;
|
|
29614
|
+
return { ...i, type: i.item_type, due_at: due, due: isoTime(due, tz) };
|
|
29615
|
+
});
|
|
29616
|
+
return { unit_id: c.id, code: c.shortname || c.fullname, graded: g.items.filter((i) => graded(i.grade)).length, total: g.items.length, total_grade: g.total_grade, total_range: g.total_range, total_percentage: g.total_percentage, items };
|
|
29617
|
+
});
|
|
29618
|
+
result = { grades: rows, total: units.length };
|
|
29619
|
+
break;
|
|
29620
|
+
}
|
|
29621
|
+
case "news": {
|
|
29622
|
+
const units = await selected(ref2);
|
|
29623
|
+
const tz = await timezone();
|
|
29624
|
+
const byUnit = new Map(units.map((c) => [c.id, c]));
|
|
29625
|
+
const forums = (await gateway.listNewsForums?.(ref2 === void 0 ? void 0 : units[0].id) ?? []).filter((f) => byUnit.has(f.course_id));
|
|
29626
|
+
const listings = (await inParallel2(forums, 3, async (forum) => ({ c: byUnit.get(forum.course_id), forum, threads: await gateway.listThreads?.(forum.id) ?? [] }))).filter((l) => l.threads.length);
|
|
29627
|
+
const total = listings.reduce((sum, listing) => sum + listing.threads.length, 0);
|
|
29628
|
+
const load = async (listing, index) => {
|
|
29629
|
+
const t = listing.threads[index];
|
|
29630
|
+
const thread = await gateway.getThread({ discussionId: t.id });
|
|
29631
|
+
const first2 = [...thread.posts].sort((a, b) => a.time_created - b.time_created)[0];
|
|
29632
|
+
return { time: first2?.time_created ?? 0, row: { id: t.id, name: t.subject, unit_id: listing.c.id, unit_code: listing.c.shortname || listing.c.fullname, forum_id: listing.forum.id, post: first2 ? postRow(first2, t.subject, tz) : void 0 } };
|
|
29633
|
+
};
|
|
29634
|
+
const cursors = listings.map(() => 0);
|
|
29635
|
+
const heads = await inParallel2(listings, 5, (l) => load(l, 0));
|
|
29636
|
+
const rows = [];
|
|
29637
|
+
while (rows.length < limit2) {
|
|
29638
|
+
let best = -1;
|
|
29639
|
+
for (let i = 0; i < heads.length; i++) if (heads[i] && (best < 0 || heads[i].time > heads[best].time)) best = i;
|
|
29640
|
+
if (best < 0) break;
|
|
29641
|
+
rows.push(heads[best].row);
|
|
29642
|
+
cursors[best] += 1;
|
|
29643
|
+
heads[best] = cursors[best] < listings[best].threads.length ? await load(listings[best], cursors[best]) : void 0;
|
|
29644
|
+
}
|
|
29645
|
+
result = { news: rows, total };
|
|
29646
|
+
break;
|
|
29647
|
+
}
|
|
29648
|
+
case "thread": {
|
|
29649
|
+
const thread = await gateway.getThread({ discussionId: Number(input3.discussion_id) });
|
|
29650
|
+
const tz = await timezone();
|
|
29651
|
+
result = { thread: { id: thread.id, name: thread.subject, unit_id: thread.course_id, forum_id: thread.forum_id, url: thread.url, posts: thread.posts.slice(Number(input3.offset), Number(input3.offset) + limit2).map((p) => postRow(p, thread.subject, tz)), posts_total: thread.posts.length, offset: input3.offset } };
|
|
29652
|
+
break;
|
|
29653
|
+
}
|
|
29654
|
+
case "search_forums": {
|
|
29655
|
+
const unitId = ref2 === void 0 ? input3.courseId : (await course(ref2)).id;
|
|
29656
|
+
const rows = await gateway.searchForums({ query: String(input3.query), courseId: unitId, forumId: input3.forumId, includePostText: true, titlesOnly: Boolean(input3.titlesOnly), unreadOnly: Boolean(input3.unreadOnly), sortBy: input3.sortBy, maxForums: Number(input3.maxForums), maxDiscussionsPerForum: Number(input3.maxDiscussionsPerForum), limit: Number.MAX_SAFE_INTEGER });
|
|
29657
|
+
const page2 = rows.slice(0, limit2);
|
|
29658
|
+
const units = await courses();
|
|
29659
|
+
result = { results: page2.map((r) => ({ unit_id: r.course_id, forum_id: r.forum_id, discussion_id: r.discussion_id, name: r.discussion_subject, post_id: r.post_id, snippet: input3.includePostText ? r.snippet : void 0, url: r.url, time_created: r.time_created })), total: rows.length, forums: Object.fromEntries(page2.map((r) => [r.forum_id, r.forum_name])), units: Object.fromEntries(page2.map((r) => [r.course_id, units.find((c) => c.id === r.course_id)?.shortname || r.course_name])), scope: { max_forums: input3.maxForums, max_discussions_per_forum: input3.maxDiscussionsPerForum } };
|
|
29660
|
+
break;
|
|
29661
|
+
}
|
|
29662
|
+
case "file": {
|
|
29663
|
+
const source = await fileSource(input3.ref);
|
|
29664
|
+
const file3 = await gateway.getFile({ source });
|
|
29665
|
+
result = { file: { name: file3.name, mime_type: file3.mimeType, bytes: file3.bytes, uri: file3.uri } };
|
|
29666
|
+
break;
|
|
29667
|
+
}
|
|
29668
|
+
}
|
|
29669
|
+
return intentContracts[name].output.parse(stripEmpty(result));
|
|
29670
|
+
}
|
|
29671
|
+
async function fileSource(ref2) {
|
|
29672
|
+
return String(ref2).includes("://") ? ref2 : resolveItem(ref2);
|
|
29673
|
+
}
|
|
29674
|
+
const sections = async (unitId) => (await courseDetail(unitId)).sections;
|
|
29675
|
+
return { run, resolveItem, fileSource, find, sections };
|
|
29676
|
+
}
|
|
29677
|
+
|
|
29138
29678
|
// src/mcp/server.ts
|
|
29139
29679
|
var RESULT_META = { cacheScope: "private" };
|
|
29140
29680
|
var READ_ONLY_ANNOTATIONS = {
|
|
@@ -29143,252 +29683,37 @@ var READ_ONLY_ANNOTATIONS = {
|
|
|
29143
29683
|
idempotentHint: true,
|
|
29144
29684
|
openWorldHint: true
|
|
29145
29685
|
};
|
|
29146
|
-
var
|
|
29147
|
-
var
|
|
29148
|
-
var integer2 = external_exports.number().int();
|
|
29149
|
-
var userValue = external_exports.looseObject({
|
|
29150
|
-
userid: integer2,
|
|
29151
|
-
username: external_exports.string(),
|
|
29152
|
-
fullname: external_exports.string(),
|
|
29153
|
-
sitename: external_exports.string(),
|
|
29154
|
-
siteurl: external_exports.string(),
|
|
29155
|
-
lang: external_exports.string().optional()
|
|
29156
|
-
});
|
|
29157
|
-
var courseValue = external_exports.looseObject({
|
|
29158
|
-
id: integer2,
|
|
29159
|
-
shortname: external_exports.string(),
|
|
29160
|
-
fullname: external_exports.string(),
|
|
29161
|
-
category: external_exports.number().int(),
|
|
29162
|
-
visible: external_exports.boolean(),
|
|
29163
|
-
startdate: external_exports.number(),
|
|
29164
|
-
enddate: external_exports.number().optional()
|
|
29165
|
-
});
|
|
29166
|
-
var activityValue = external_exports.looseObject({
|
|
29167
|
-
id: integer2,
|
|
29168
|
-
name: external_exports.string(),
|
|
29169
|
-
modname: external_exports.string(),
|
|
29170
|
-
url: external_exports.string(),
|
|
29171
|
-
visible: external_exports.boolean(),
|
|
29172
|
-
description: external_exports.string()
|
|
29173
|
-
});
|
|
29174
|
-
var fileEntryValue = external_exports.looseObject({
|
|
29175
|
-
name: external_exports.string(),
|
|
29176
|
-
url: external_exports.string(),
|
|
29177
|
-
requires_authentication: external_exports.boolean()
|
|
29178
|
-
});
|
|
29179
|
-
var activityDetailValue = external_exports.looseObject({
|
|
29180
|
-
id: positiveId,
|
|
29181
|
-
name: external_exports.string(),
|
|
29182
|
-
type: external_exports.string(),
|
|
29183
|
-
url: external_exports.string().optional(),
|
|
29184
|
-
target_name: external_exports.string().optional(),
|
|
29185
|
-
target_url: external_exports.string().optional(),
|
|
29186
|
-
file_entries: external_exports.array(fileEntryValue).optional()
|
|
29187
|
-
});
|
|
29188
|
-
var sectionValue = external_exports.looseObject({
|
|
29189
|
-
id: external_exports.number().int(),
|
|
29190
|
-
name: external_exports.string(),
|
|
29191
|
-
section: external_exports.number().int(),
|
|
29192
|
-
visible: external_exports.boolean(),
|
|
29193
|
-
summary: external_exports.string(),
|
|
29194
|
-
activities: external_exports.array(activityValue)
|
|
29195
|
-
});
|
|
29196
|
-
var todoValue = external_exports.looseObject({
|
|
29197
|
-
id: external_exports.number().int(),
|
|
29198
|
-
name: external_exports.string(),
|
|
29199
|
-
course_id: external_exports.number().int(),
|
|
29200
|
-
course_name: external_exports.string(),
|
|
29201
|
-
due_at: external_exports.number(),
|
|
29202
|
-
url: external_exports.string()
|
|
29203
|
-
});
|
|
29204
|
-
var gradeItemValue = external_exports.looseObject({
|
|
29205
|
-
name: external_exports.string(),
|
|
29206
|
-
item_type: external_exports.string(),
|
|
29207
|
-
grade: external_exports.string(),
|
|
29208
|
-
range: external_exports.string(),
|
|
29209
|
-
percentage: external_exports.string(),
|
|
29210
|
-
feedback: external_exports.string(),
|
|
29211
|
-
url: external_exports.string()
|
|
29212
|
-
});
|
|
29213
|
-
var gradesValue = external_exports.looseObject({
|
|
29214
|
-
course_id: integer2,
|
|
29215
|
-
course_name: external_exports.string(),
|
|
29216
|
-
learner_name: external_exports.string(),
|
|
29217
|
-
total_grade: external_exports.string(),
|
|
29218
|
-
total_range: external_exports.string(),
|
|
29219
|
-
total_percentage: external_exports.string(),
|
|
29220
|
-
items: external_exports.array(gradeItemValue)
|
|
29221
|
-
});
|
|
29222
|
-
var forumValue = external_exports.looseObject({
|
|
29223
|
-
id: integer2,
|
|
29224
|
-
name: external_exports.string(),
|
|
29225
|
-
course_id: integer2,
|
|
29226
|
-
course_name: external_exports.string(),
|
|
29227
|
-
url: external_exports.string()
|
|
29228
|
-
});
|
|
29229
|
-
var forumSearchValue = external_exports.looseObject({
|
|
29230
|
-
course_id: integer2,
|
|
29231
|
-
course_name: external_exports.string(),
|
|
29232
|
-
forum_id: integer2,
|
|
29233
|
-
forum_name: external_exports.string(),
|
|
29234
|
-
discussion_id: integer2,
|
|
29235
|
-
discussion_subject: external_exports.string(),
|
|
29236
|
-
post_id: integer2,
|
|
29237
|
-
snippet: external_exports.string(),
|
|
29238
|
-
url: external_exports.string()
|
|
29239
|
-
});
|
|
29240
|
-
var forumPostValue = external_exports.looseObject({
|
|
29241
|
-
id: integer2,
|
|
29242
|
-
discussion_id: integer2,
|
|
29243
|
-
subject: external_exports.string(),
|
|
29244
|
-
message_text: external_exports.string(),
|
|
29245
|
-
author: external_exports.looseObject({ id: integer2, fullname: external_exports.string() }),
|
|
29246
|
-
url: external_exports.string()
|
|
29247
|
-
});
|
|
29248
|
-
var threadValue = external_exports.looseObject({
|
|
29249
|
-
id: integer2,
|
|
29250
|
-
subject: external_exports.string(),
|
|
29251
|
-
course_id: integer2,
|
|
29252
|
-
forum_id: integer2,
|
|
29253
|
-
group_id: external_exports.number().int(),
|
|
29254
|
-
group_name: external_exports.string(),
|
|
29255
|
-
url: external_exports.string(),
|
|
29256
|
-
posts: external_exports.array(forumPostValue)
|
|
29257
|
-
});
|
|
29258
|
-
var TOOL_REGISTRATIONS = [
|
|
29259
|
-
{
|
|
29260
|
-
name: "get_user",
|
|
29261
|
-
description: "Get the authenticated Moodle user and site.",
|
|
29262
|
-
input: emptyInput,
|
|
29263
|
-
output: external_exports.object({ user: userValue })
|
|
29264
|
-
},
|
|
29265
|
-
{
|
|
29266
|
-
name: "get_overview",
|
|
29267
|
-
description: "Get a bounded dashboard overview with courses, deadlines, and alerts.",
|
|
29268
|
-
input: external_exports.object({
|
|
29269
|
-
todoLimit: external_exports.number().int().min(1).max(100).optional().default(5),
|
|
29270
|
-
todoDays: external_exports.number().int().min(1).max(365).optional(),
|
|
29271
|
-
alertsLimit: external_exports.number().int().min(1).max(100).optional().default(5)
|
|
29272
|
-
}).strict(),
|
|
29273
|
-
output: external_exports.object({
|
|
29274
|
-
overview: external_exports.looseObject({
|
|
29275
|
-
user: userValue,
|
|
29276
|
-
courses: external_exports.array(courseValue),
|
|
29277
|
-
todo: external_exports.array(todoValue),
|
|
29278
|
-
errors: external_exports.array(external_exports.string())
|
|
29279
|
-
})
|
|
29280
|
-
})
|
|
29281
|
-
},
|
|
29282
|
-
{
|
|
29283
|
-
name: "list_courses",
|
|
29284
|
-
description: "List the authenticated user's Moodle courses.",
|
|
29285
|
-
input: external_exports.object({ limit: external_exports.number().int().min(1).max(200).optional().default(100) }).strict(),
|
|
29286
|
-
output: external_exports.object({ courses: external_exports.array(courseValue) })
|
|
29287
|
-
},
|
|
29288
|
-
{
|
|
29289
|
-
name: "get_course",
|
|
29290
|
-
description: "Get one Moodle course and its sections.",
|
|
29291
|
-
input: external_exports.object({ courseId: positiveId }).strict(),
|
|
29292
|
-
output: external_exports.object({
|
|
29293
|
-
course: external_exports.looseObject({
|
|
29294
|
-
course: courseValue,
|
|
29295
|
-
sections: external_exports.array(sectionValue)
|
|
29296
|
-
})
|
|
29297
|
-
})
|
|
29298
|
-
},
|
|
29299
|
-
{
|
|
29300
|
-
name: "list_activities",
|
|
29301
|
-
description: "List a bounded set of activities in a Moodle course.",
|
|
29302
|
-
input: external_exports.object({
|
|
29303
|
-
courseId: positiveId,
|
|
29304
|
-
limit: external_exports.number().int().min(1).max(200).optional().default(100)
|
|
29305
|
-
}).strict(),
|
|
29306
|
-
output: external_exports.object({ activities: external_exports.array(activityValue) })
|
|
29307
|
-
},
|
|
29308
|
-
{
|
|
29309
|
-
name: "get_activity",
|
|
29310
|
-
description: "Get the supported details for one Moodle activity.",
|
|
29311
|
-
input: external_exports.object({ activityId: positiveId }).strict(),
|
|
29312
|
-
output: external_exports.object({ activity: activityDetailValue })
|
|
29313
|
-
},
|
|
29314
|
-
{
|
|
29315
|
-
name: "get_grades",
|
|
29316
|
-
description: "Get the authenticated user's grades for one Moodle course.",
|
|
29317
|
-
input: external_exports.object({ courseId: positiveId }).strict(),
|
|
29318
|
-
output: external_exports.object({ grades: gradesValue })
|
|
29319
|
-
},
|
|
29320
|
-
{
|
|
29321
|
-
name: "list_forums",
|
|
29322
|
-
description: "List a bounded set of Moodle forums, optionally for one course.",
|
|
29323
|
-
input: external_exports.object({
|
|
29324
|
-
courseId: positiveId.optional(),
|
|
29325
|
-
limit: external_exports.number().int().min(1).max(100).optional().default(50)
|
|
29326
|
-
}).strict(),
|
|
29327
|
-
output: external_exports.object({ forums: external_exports.array(forumValue) })
|
|
29328
|
-
},
|
|
29329
|
-
{
|
|
29330
|
-
name: "search_forums",
|
|
29331
|
-
description: "Search a bounded set of Moodle forum discussions and posts.",
|
|
29332
|
-
input: external_exports.object({
|
|
29333
|
-
query: external_exports.string().trim().min(1).max(200),
|
|
29334
|
-
limit: external_exports.number().int().min(1).max(50).optional().default(20),
|
|
29335
|
-
courseId: positiveId.optional(),
|
|
29336
|
-
forumId: positiveId.optional(),
|
|
29337
|
-
includePostText: external_exports.boolean().optional().default(true),
|
|
29338
|
-
unreadOnly: external_exports.boolean().optional().default(false),
|
|
29339
|
-
sortBy: external_exports.enum(["relevance", "recent"]).optional().default("relevance"),
|
|
29340
|
-
maxForums: external_exports.number().int().min(1).max(50).optional(),
|
|
29341
|
-
maxDiscussionsPerForum: external_exports.number().int().min(1).max(100).optional()
|
|
29342
|
-
}).strict(),
|
|
29343
|
-
output: external_exports.object({ results: external_exports.array(forumSearchValue) })
|
|
29344
|
-
},
|
|
29345
|
-
{
|
|
29346
|
-
name: "get_thread",
|
|
29347
|
-
description: "Get one Moodle forum discussion and its posts.",
|
|
29348
|
-
input: external_exports.object({ discussionId: positiveId }).strict(),
|
|
29349
|
-
output: external_exports.object({ thread: threadValue })
|
|
29350
|
-
},
|
|
29351
|
-
{
|
|
29352
|
-
name: "get_file",
|
|
29353
|
-
description: "Fetch one authenticated Moodle file and return its content directly (maximum 16 MiB).",
|
|
29354
|
-
input: external_exports.object({
|
|
29355
|
-
source: external_exports.union([positiveId, external_exports.string().trim().min(1).max(2048)])
|
|
29356
|
-
}).strict(),
|
|
29357
|
-
output: external_exports.object({
|
|
29358
|
-
file: external_exports.object({
|
|
29359
|
-
name: external_exports.string(),
|
|
29360
|
-
mime_type: external_exports.string(),
|
|
29361
|
-
bytes: external_exports.number().int().nonnegative(),
|
|
29362
|
-
uri: external_exports.string()
|
|
29363
|
-
})
|
|
29364
|
-
})
|
|
29365
|
-
}
|
|
29366
|
-
];
|
|
29367
|
-
var TOOL_CATALOG = TOOL_REGISTRATIONS.map(({ name, description, input: input2, output: output2 }) => ({
|
|
29686
|
+
var aliases = { get_overview: "home", list_courses: "units", get_course: "unit", get_activity: "item", get_grades: "grades", get_thread: "thread", get_file: "file" };
|
|
29687
|
+
var TOOL_CATALOG = Object.entries(intentContracts).map(([name, contract]) => ({
|
|
29368
29688
|
name,
|
|
29369
|
-
description,
|
|
29370
|
-
inputSchema: external_exports.toJSONSchema(
|
|
29371
|
-
outputSchema: external_exports.toJSONSchema(output2),
|
|
29689
|
+
description: intentDescription(name),
|
|
29690
|
+
inputSchema: compactSchema(external_exports.toJSONSchema(contract.input, { io: "input" })),
|
|
29372
29691
|
annotations: READ_ONLY_ANNOTATIONS
|
|
29373
29692
|
}));
|
|
29693
|
+
var TOOL_OUTPUT_SCHEMAS = Object.fromEntries(Object.entries(intentContracts).map(([name, contract]) => [name, compactSchema(external_exports.toJSONSchema(contract.output))]));
|
|
29694
|
+
function compactSchema(value) {
|
|
29695
|
+
if (Array.isArray(value)) return value.map(compactSchema);
|
|
29696
|
+
if (value && typeof value === "object") return Object.fromEntries(Object.entries(value).filter(([key, item]) => key !== "$schema" && !(key === "minimum" && item === Number.MIN_SAFE_INTEGER) && !(key === "maximum" && item === Number.MAX_SAFE_INTEGER)).map(([key, item]) => [key, compactSchema(item)]));
|
|
29697
|
+
return value;
|
|
29698
|
+
}
|
|
29374
29699
|
function createMoodleMcpServer(gateway, options = {}) {
|
|
29375
29700
|
const serverInfo = {
|
|
29376
29701
|
name: options.name ?? "moodle",
|
|
29377
29702
|
version: options.version ?? VERSION
|
|
29378
29703
|
};
|
|
29379
29704
|
return {
|
|
29380
|
-
async handle(
|
|
29381
|
-
let
|
|
29705
|
+
async handle(input3, context = {}) {
|
|
29706
|
+
let id2 = null;
|
|
29382
29707
|
try {
|
|
29383
|
-
const request = parseJsonRpcRequest(
|
|
29384
|
-
|
|
29708
|
+
const request = parseJsonRpcRequest(input3);
|
|
29709
|
+
id2 = request.id ?? null;
|
|
29385
29710
|
const protocolVersion = resolveProtocolVersion(request, context);
|
|
29386
29711
|
assertRequestMetadata(request, protocolVersion, context);
|
|
29387
29712
|
if (request.id === void 0) {
|
|
29388
29713
|
return null;
|
|
29389
29714
|
}
|
|
29390
29715
|
if (request.method === "server/discover" && protocolVersion === MODERN_PROTOCOL_VERSION) {
|
|
29391
|
-
return jsonRpcSuccess(
|
|
29716
|
+
return jsonRpcSuccess(id2, {
|
|
29392
29717
|
supportedVersions: [...SUPPORTED_PROTOCOL_VERSIONS],
|
|
29393
29718
|
protocolVersion,
|
|
29394
29719
|
capabilities: { tools: { listChanged: false } },
|
|
@@ -29398,7 +29723,7 @@ function createMoodleMcpServer(gateway, options = {}) {
|
|
|
29398
29723
|
});
|
|
29399
29724
|
}
|
|
29400
29725
|
if (request.method === "initialize" && usesLegacyInitialize(protocolVersion)) {
|
|
29401
|
-
return jsonRpcSuccess(
|
|
29726
|
+
return jsonRpcSuccess(id2, {
|
|
29402
29727
|
protocolVersion,
|
|
29403
29728
|
capabilities: { tools: { listChanged: false } },
|
|
29404
29729
|
serverInfo,
|
|
@@ -29406,29 +29731,29 @@ function createMoodleMcpServer(gateway, options = {}) {
|
|
|
29406
29731
|
});
|
|
29407
29732
|
}
|
|
29408
29733
|
if (request.method === "ping") {
|
|
29409
|
-
return jsonRpcSuccess(
|
|
29734
|
+
return jsonRpcSuccess(id2, {});
|
|
29410
29735
|
}
|
|
29411
29736
|
if (request.method === "tools/list") {
|
|
29412
|
-
return jsonRpcSuccess(
|
|
29737
|
+
return jsonRpcSuccess(id2, {
|
|
29413
29738
|
tools: TOOL_CATALOG,
|
|
29414
29739
|
resultType: "complete",
|
|
29415
29740
|
_meta: RESULT_META
|
|
29416
29741
|
});
|
|
29417
29742
|
}
|
|
29418
29743
|
if (request.method === "tools/call") {
|
|
29419
|
-
return jsonRpcSuccess(
|
|
29744
|
+
return jsonRpcSuccess(id2, await callTool(gateway, request.params));
|
|
29420
29745
|
}
|
|
29421
|
-
return jsonRpcFailure(
|
|
29746
|
+
return jsonRpcFailure(id2, { code: -32601, message: `Method not found: ${request.method}` });
|
|
29422
29747
|
} catch (error62) {
|
|
29423
29748
|
if (error62 instanceof McpCallError) {
|
|
29424
|
-
return jsonRpcFailure(
|
|
29749
|
+
return jsonRpcFailure(id2, {
|
|
29425
29750
|
code: -32602,
|
|
29426
29751
|
message: error62.message,
|
|
29427
29752
|
data: { type: error62.type, ...error62.details === void 0 ? {} : { issues: error62.details } }
|
|
29428
29753
|
});
|
|
29429
29754
|
}
|
|
29430
29755
|
if (error62 instanceof UnsupportedProtocolVersionError) {
|
|
29431
|
-
return jsonRpcFailure(
|
|
29756
|
+
return jsonRpcFailure(id2, {
|
|
29432
29757
|
code: -32022,
|
|
29433
29758
|
message: "Unsupported protocol version",
|
|
29434
29759
|
data: {
|
|
@@ -29438,7 +29763,7 @@ function createMoodleMcpServer(gateway, options = {}) {
|
|
|
29438
29763
|
});
|
|
29439
29764
|
}
|
|
29440
29765
|
if (error62 instanceof RequestMetadataMismatchError) {
|
|
29441
|
-
return jsonRpcFailure(
|
|
29766
|
+
return jsonRpcFailure(id2, {
|
|
29442
29767
|
code: -32602,
|
|
29443
29768
|
message: error62.message,
|
|
29444
29769
|
data: {
|
|
@@ -29450,131 +29775,77 @@ function createMoodleMcpServer(gateway, options = {}) {
|
|
|
29450
29775
|
});
|
|
29451
29776
|
}
|
|
29452
29777
|
if (error62 instanceof ZodError) {
|
|
29453
|
-
return jsonRpcFailure(
|
|
29778
|
+
return jsonRpcFailure(id2, {
|
|
29454
29779
|
code: -32600,
|
|
29455
29780
|
message: "Invalid JSON-RPC request.",
|
|
29456
29781
|
data: { type: "INVALID_REQUEST", issues: error62.issues }
|
|
29457
29782
|
});
|
|
29458
29783
|
}
|
|
29459
29784
|
const message = "The MCP request could not be completed.";
|
|
29460
|
-
return jsonRpcFailure(
|
|
29785
|
+
return jsonRpcFailure(id2, { code: -32603, message });
|
|
29461
29786
|
}
|
|
29462
29787
|
}
|
|
29463
29788
|
};
|
|
29464
29789
|
}
|
|
29465
29790
|
async function callTool(gateway, params) {
|
|
29466
|
-
const
|
|
29467
|
-
const
|
|
29468
|
-
if (!
|
|
29469
|
-
|
|
29791
|
+
const requested = typeof params?.name === "string" ? params.name : "";
|
|
29792
|
+
const name = Object.hasOwn(aliases, requested) ? aliases[requested] : requested;
|
|
29793
|
+
if (!Object.hasOwn(intentContracts, name) && !["get_user", "list_activities", "list_forums"].includes(name)) throw new McpCallError("TOOL_NOT_FOUND", `Unknown Moodle tool: ${requested || "<missing>"}`);
|
|
29794
|
+
const raw = params?.arguments ?? {};
|
|
29795
|
+
if (!isRecord7(raw)) throw new McpCallError("INVALID_TOOL_ARGUMENTS", "Tool arguments must be an object.");
|
|
29796
|
+
const args = { ...raw };
|
|
29797
|
+
if (Object.hasOwn(aliases, requested)) {
|
|
29798
|
+
const renames = { courseId: "unit", activityId: "ref", discussionId: "discussion_id", source: "ref", todoDays: "days", gradedOnly: "graded_only" };
|
|
29799
|
+
for (const [old, key] of Object.entries(renames)) if (old in args) {
|
|
29800
|
+
args[key] = args[old];
|
|
29801
|
+
delete args[old];
|
|
29802
|
+
}
|
|
29803
|
+
delete args.alertsLimit;
|
|
29804
|
+
delete args.todoLimit;
|
|
29805
|
+
}
|
|
29806
|
+
const contract = intentContracts[name];
|
|
29807
|
+
if (contract) {
|
|
29808
|
+
const checked = contract.input.safeParse(args);
|
|
29809
|
+
if (!checked.success) throw new McpCallError("INVALID_TOOL_ARGUMENTS", `Invalid arguments for ${requested}.`, checked.error.issues);
|
|
29470
29810
|
}
|
|
29471
|
-
let input2;
|
|
29472
29811
|
try {
|
|
29473
|
-
|
|
29474
|
-
|
|
29475
|
-
|
|
29476
|
-
|
|
29812
|
+
const service = createIntentService(gateway);
|
|
29813
|
+
let structuredContent;
|
|
29814
|
+
let payload;
|
|
29815
|
+
if (name === "file") {
|
|
29816
|
+
const input3 = intentContracts.file.input.parse(args);
|
|
29817
|
+
payload = await gateway.getFile({ source: await service.fileSource(input3.ref) });
|
|
29818
|
+
const file3 = payload;
|
|
29819
|
+
structuredContent = intentContracts.file.output.parse({ file: { name: file3.name, mime_type: file3.mimeType, bytes: file3.bytes, uri: file3.uri } });
|
|
29820
|
+
} else if (name === "get_user") {
|
|
29821
|
+
external_exports.object({}).strict().parse(args);
|
|
29822
|
+
const u = await gateway.getUser();
|
|
29823
|
+
structuredContent = stripEmpty({ user: { id: u.userid, name: u.fullname, siteurl: u.siteurl, timezone: u.timezone } });
|
|
29824
|
+
} else if (name === "list_activities") {
|
|
29825
|
+
const input3 = external_exports.object({ courseId: external_exports.number().int().positive(), sectionId: external_exports.number().int().optional(), includeLabels: external_exports.boolean().default(false), limit: external_exports.number().int().min(1).max(200).default(200) }).strict().parse(args);
|
|
29826
|
+
const { sections } = await gateway.getCourse({ courseId: input3.courseId });
|
|
29827
|
+
const rows = sections.filter((s2) => input3.sectionId === void 0 || s2.id === input3.sectionId).flatMap((s2) => s2.activities.filter((a) => input3.includeLabels || a.modname !== "label").map((a) => activityRow(a, s2)));
|
|
29828
|
+
structuredContent = stripEmpty({ activities: rows.slice(0, input3.limit).map((r) => activitySchema.parse(stripEmpty(r))), total: rows.length });
|
|
29829
|
+
} else if (name === "list_forums") {
|
|
29830
|
+
const input3 = external_exports.object({ courseId: external_exports.number().int().positive().optional(), limit: external_exports.number().int().min(1).max(200).default(50) }).strict().parse(args);
|
|
29831
|
+
const rows = await gateway.listForums({ courseId: input3.courseId });
|
|
29832
|
+
structuredContent = stripEmpty({ forums: rows.slice(0, input3.limit).map((f) => ({ id: f.id, name: f.name, unit_id: f.course_id })), total: rows.length });
|
|
29833
|
+
} else {
|
|
29834
|
+
structuredContent = await service.run(name, args);
|
|
29477
29835
|
}
|
|
29478
|
-
|
|
29479
|
-
}
|
|
29480
|
-
try {
|
|
29481
|
-
const payload = await runGatewayTool(gateway, name, input2);
|
|
29482
|
-
const structuredContent = registration.output.parse(wrapToolOutput(name, payload));
|
|
29483
|
-
return {
|
|
29484
|
-
content: toolContent(name, payload),
|
|
29485
|
-
structuredContent,
|
|
29486
|
-
resultType: "complete",
|
|
29487
|
-
_meta: RESULT_META
|
|
29488
|
-
};
|
|
29836
|
+
return { content: toolContent(name === "file" ? "get_file" : name, payload, structuredContent), structuredContent, resultType: "complete", _meta: RESULT_META };
|
|
29489
29837
|
} catch (error62) {
|
|
29490
|
-
if (error62 instanceof
|
|
29491
|
-
|
|
29838
|
+
if (error62 instanceof ZodError && !contract) throw new McpCallError("INVALID_TOOL_ARGUMENTS", `Invalid arguments for ${requested}.`, error62.issues);
|
|
29839
|
+
if (error62 instanceof ZodError) {
|
|
29840
|
+
const mapped2 = { type: "MOODLE_RESULT_INVALID", message: `Moodle returned ${name} data in an unexpected shape.`, hint: "Retry once; if it persists, run the same command locally with --verbose and report the tool name.", issues: error62.issues.slice(0, 5).map((issue2) => ({ path: issue2.path.join("."), message: issue2.message })) };
|
|
29841
|
+
return { content: [{ type: "text", text: JSON.stringify({ error: mapped2 }) }], structuredContent: { error: mapped2 }, isError: true, resultType: "complete", _meta: RESULT_META };
|
|
29492
29842
|
}
|
|
29493
|
-
const mapped = mapMoodleError(error62);
|
|
29494
|
-
return {
|
|
29495
|
-
content: [{ type: "text", text: mapped.message }],
|
|
29496
|
-
structuredContent: { error: mapped },
|
|
29497
|
-
isError: true,
|
|
29498
|
-
resultType: "complete",
|
|
29499
|
-
_meta: RESULT_META
|
|
29500
|
-
};
|
|
29843
|
+
const mapped = error62 instanceof ReferenceError2 ? { type: error62.code, code: error62.code, message: error62.message, hint: error62.hint, candidates: error62.candidates } : mapMoodleError(error62);
|
|
29844
|
+
return { content: [{ type: "text", text: JSON.stringify({ error: mapped }) }], structuredContent: { error: mapped }, isError: true, resultType: "complete", _meta: RESULT_META };
|
|
29501
29845
|
}
|
|
29502
29846
|
}
|
|
29503
|
-
|
|
29504
|
-
|
|
29505
|
-
case "get_user":
|
|
29506
|
-
return gateway.getUser();
|
|
29507
|
-
case "get_overview":
|
|
29508
|
-
return gateway.getOverview({
|
|
29509
|
-
todoLimit: numberValue3(input2.todoLimit),
|
|
29510
|
-
todoDays: optionalNumber(input2.todoDays),
|
|
29511
|
-
alertsLimit: numberValue3(input2.alertsLimit)
|
|
29512
|
-
});
|
|
29513
|
-
case "list_courses":
|
|
29514
|
-
return (await gateway.listCourses()).slice(0, numberValue3(input2.limit));
|
|
29515
|
-
case "get_course":
|
|
29516
|
-
return gateway.getCourse({ courseId: numberValue3(input2.courseId) });
|
|
29517
|
-
case "list_activities":
|
|
29518
|
-
return gateway.listActivities({
|
|
29519
|
-
courseId: numberValue3(input2.courseId),
|
|
29520
|
-
limit: numberValue3(input2.limit)
|
|
29521
|
-
});
|
|
29522
|
-
case "get_activity":
|
|
29523
|
-
return gateway.getActivity({ activityId: numberValue3(input2.activityId) });
|
|
29524
|
-
case "get_grades":
|
|
29525
|
-
return gateway.getGrades({ courseId: numberValue3(input2.courseId) });
|
|
29526
|
-
case "list_forums":
|
|
29527
|
-
return gateway.listForums({
|
|
29528
|
-
courseId: optionalNumber(input2.courseId),
|
|
29529
|
-
limit: numberValue3(input2.limit)
|
|
29530
|
-
});
|
|
29531
|
-
case "search_forums":
|
|
29532
|
-
return gateway.searchForums({
|
|
29533
|
-
query: stringValue4(input2.query),
|
|
29534
|
-
limit: numberValue3(input2.limit),
|
|
29535
|
-
courseId: optionalNumber(input2.courseId),
|
|
29536
|
-
forumId: optionalNumber(input2.forumId),
|
|
29537
|
-
includePostText: booleanValue2(input2.includePostText),
|
|
29538
|
-
unreadOnly: booleanValue2(input2.unreadOnly),
|
|
29539
|
-
sortBy: enumValue(input2.sortBy, ["relevance", "recent"]),
|
|
29540
|
-
maxForums: optionalNumber(input2.maxForums),
|
|
29541
|
-
maxDiscussionsPerForum: optionalNumber(input2.maxDiscussionsPerForum)
|
|
29542
|
-
});
|
|
29543
|
-
case "get_thread":
|
|
29544
|
-
return gateway.getThread({ discussionId: numberValue3(input2.discussionId) });
|
|
29545
|
-
case "get_file":
|
|
29546
|
-
return gateway.getFile({ source: fileSource(input2.source) });
|
|
29547
|
-
default:
|
|
29548
|
-
throw new McpCallError("TOOL_NOT_FOUND", `Unknown Moodle tool: ${name}`);
|
|
29549
|
-
}
|
|
29550
|
-
}
|
|
29551
|
-
function wrapToolOutput(name, payload) {
|
|
29552
|
-
const keys = {
|
|
29553
|
-
get_user: "user",
|
|
29554
|
-
get_overview: "overview",
|
|
29555
|
-
list_courses: "courses",
|
|
29556
|
-
get_course: "course",
|
|
29557
|
-
list_activities: "activities",
|
|
29558
|
-
get_activity: "activity",
|
|
29559
|
-
get_grades: "grades",
|
|
29560
|
-
list_forums: "forums",
|
|
29561
|
-
search_forums: "results",
|
|
29562
|
-
get_thread: "thread"
|
|
29563
|
-
};
|
|
29564
|
-
if (name === "get_file" && isMoodleFile(payload)) {
|
|
29565
|
-
return {
|
|
29566
|
-
file: {
|
|
29567
|
-
name: payload.name,
|
|
29568
|
-
mime_type: payload.mimeType,
|
|
29569
|
-
bytes: payload.bytes,
|
|
29570
|
-
uri: payload.uri
|
|
29571
|
-
}
|
|
29572
|
-
};
|
|
29573
|
-
}
|
|
29574
|
-
return { [keys[name] ?? "result"]: payload };
|
|
29575
|
-
}
|
|
29576
|
-
function toolContent(name, payload) {
|
|
29577
|
-
const text = { type: "text", text: summarizeToolOutput(name, payload) };
|
|
29847
|
+
function toolContent(name, payload, structuredContent) {
|
|
29848
|
+
const text = { type: "text", text: JSON.stringify(structuredContent) };
|
|
29578
29849
|
if (name !== "get_file" || !isMoodleFile(payload)) return [text];
|
|
29579
29850
|
return [
|
|
29580
29851
|
text,
|
|
@@ -29588,42 +29859,6 @@ function toolContent(name, payload) {
|
|
|
29588
29859
|
}
|
|
29589
29860
|
];
|
|
29590
29861
|
}
|
|
29591
|
-
function summarizeToolOutput(name, payload) {
|
|
29592
|
-
if (Array.isArray(payload)) {
|
|
29593
|
-
const labels = {
|
|
29594
|
-
list_courses: ["Moodle course", "Moodle courses"],
|
|
29595
|
-
list_activities: ["activity", "activities"],
|
|
29596
|
-
list_forums: ["forum", "forums"],
|
|
29597
|
-
search_forums: ["forum result", "forum results"]
|
|
29598
|
-
};
|
|
29599
|
-
const [singular, plural2] = labels[name] ?? ["result", "results"];
|
|
29600
|
-
return `Found ${payload.length} ${payload.length === 1 ? singular : plural2}.`;
|
|
29601
|
-
}
|
|
29602
|
-
if (name === "get_user" && isRecord7(payload)) {
|
|
29603
|
-
return `Authenticated as ${stringValue4(payload.fullname)}.`;
|
|
29604
|
-
}
|
|
29605
|
-
if (name === "get_overview" && isRecord7(payload)) {
|
|
29606
|
-
const courses = Array.isArray(payload.courses) ? payload.courses.length : 0;
|
|
29607
|
-
const todo = Array.isArray(payload.todo) ? payload.todo.length : 0;
|
|
29608
|
-
return `Overview includes ${courses} courses and ${todo} upcoming items.`;
|
|
29609
|
-
}
|
|
29610
|
-
if (name === "get_course" && isRecord7(payload) && isRecord7(payload.course)) {
|
|
29611
|
-
return `Loaded course ${stringValue4(payload.course.fullname) || numberValue3(payload.course.id)}.`;
|
|
29612
|
-
}
|
|
29613
|
-
if (name === "get_activity" && isRecord7(payload)) {
|
|
29614
|
-
return `Loaded activity ${stringValue4(payload.name) || numberValue3(payload.id)}.`;
|
|
29615
|
-
}
|
|
29616
|
-
if (name === "get_grades" && isRecord7(payload)) {
|
|
29617
|
-
return `Loaded grades for ${stringValue4(payload.course_name) || numberValue3(payload.course_id)}.`;
|
|
29618
|
-
}
|
|
29619
|
-
if (name === "get_thread" && isRecord7(payload)) {
|
|
29620
|
-
return `Loaded forum thread ${stringValue4(payload.subject) || numberValue3(payload.id)}.`;
|
|
29621
|
-
}
|
|
29622
|
-
if (name === "get_file" && isMoodleFile(payload)) {
|
|
29623
|
-
return `Loaded Moodle file ${payload.name} (${payload.bytes} bytes).`;
|
|
29624
|
-
}
|
|
29625
|
-
return "Moodle request completed.";
|
|
29626
|
-
}
|
|
29627
29862
|
function mapMoodleError(error62) {
|
|
29628
29863
|
const record2 = isRecord7(error62) ? error62 : {};
|
|
29629
29864
|
const code = typeof record2.code === "string" ? record2.code : "";
|
|
@@ -29636,7 +29871,7 @@ function mapMoodleError(error62) {
|
|
|
29636
29871
|
const type = code.startsWith("MOODLE_") ? code : typeByCode[code] ?? "MOODLE_UPSTREAM_ERROR";
|
|
29637
29872
|
const message = type === "MOODLE_AUTH_REQUIRED" ? "The Moodle session has expired. Sign in again." : type === "MOODLE_NOT_FOUND" || type === "MOODLE_COURSE_NOT_FOUND" ? "The requested Moodle item was not found." : type === "MOODLE_INVALID_REQUEST" ? "The Moodle request is invalid." : "Moodle could not complete the request.";
|
|
29638
29873
|
const moodleCode = typeof record2.moodleErrorCode === "string" && /^[a-z][a-z0-9_]{0,63}$/u.test(record2.moodleErrorCode) ? record2.moodleErrorCode : void 0;
|
|
29639
|
-
return { type, message, ...moodleCode ? { moodleCode } : {} };
|
|
29874
|
+
return { type, message, hint: type === "MOODLE_AUTH_REQUIRED" ? "Run moodle mcp login for a remote server, or moodle auth login locally; then retry." : "Run moodle doctor, or refine the request using units and find.", ...type === "MOODLE_AUTH_REQUIRED" ? { recovery: { action: "moodle mcp login", where: "machine running moodle-cli", then: "retry this tool" } } : {}, ...moodleCode ? { moodleCode } : {} };
|
|
29640
29875
|
}
|
|
29641
29876
|
var McpCallError = class extends Error {
|
|
29642
29877
|
type;
|
|
@@ -29648,24 +29883,6 @@ var McpCallError = class extends Error {
|
|
|
29648
29883
|
this.details = details;
|
|
29649
29884
|
}
|
|
29650
29885
|
};
|
|
29651
|
-
function numberValue3(value) {
|
|
29652
|
-
return typeof value === "number" ? value : 0;
|
|
29653
|
-
}
|
|
29654
|
-
function optionalNumber(value) {
|
|
29655
|
-
return typeof value === "number" ? value : void 0;
|
|
29656
|
-
}
|
|
29657
|
-
function stringValue4(value) {
|
|
29658
|
-
return typeof value === "string" ? value : "";
|
|
29659
|
-
}
|
|
29660
|
-
function fileSource(value) {
|
|
29661
|
-
return typeof value === "number" || typeof value === "string" ? value : "";
|
|
29662
|
-
}
|
|
29663
|
-
function booleanValue2(value) {
|
|
29664
|
-
return value === true;
|
|
29665
|
-
}
|
|
29666
|
-
function enumValue(value, values) {
|
|
29667
|
-
return typeof value === "string" && values.includes(value) ? value : values[0];
|
|
29668
|
-
}
|
|
29669
29886
|
function isRecord7(value) {
|
|
29670
29887
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
29671
29888
|
}
|
|
@@ -29683,7 +29900,7 @@ var FetchMoodleSessionUpstream = class {
|
|
|
29683
29900
|
fetchImpl;
|
|
29684
29901
|
constructor(origin, fetchImpl) {
|
|
29685
29902
|
this.origin = new URL(origin).origin;
|
|
29686
|
-
this.fetchImpl = fetchImpl ?? ((
|
|
29903
|
+
this.fetchImpl = fetchImpl ?? ((input3, init) => fetch(input3, init));
|
|
29687
29904
|
}
|
|
29688
29905
|
async validate(candidate) {
|
|
29689
29906
|
if (new URL(candidate.moodleOrigin).origin !== this.origin) return { valid: false, code: "SESSION_INVALID" };
|
|
@@ -29858,21 +30075,21 @@ var SessionBroker = class {
|
|
|
29858
30075
|
if (!request.headers.get("content-type")?.toLowerCase().startsWith("application/json")) {
|
|
29859
30076
|
return problemResponse(415, "UNSUPPORTED_MEDIA_TYPE", "Unsupported Media Type", "Session updates must use application/json.");
|
|
29860
30077
|
}
|
|
29861
|
-
let
|
|
30078
|
+
let input3;
|
|
29862
30079
|
try {
|
|
29863
|
-
|
|
30080
|
+
input3 = await request.json();
|
|
29864
30081
|
} catch {
|
|
29865
30082
|
return problemResponse(400, "INVALID_JSON", "Bad Request", "The request body is not valid JSON.");
|
|
29866
30083
|
}
|
|
29867
|
-
if (!isSessionCandidate(
|
|
30084
|
+
if (!isSessionCandidate(input3)) {
|
|
29868
30085
|
return problemResponse(400, "SESSION_CANDIDATE_INVALID", "Bad Request", "The session candidate is invalid.");
|
|
29869
30086
|
}
|
|
29870
|
-
if (normalizeOrigin(
|
|
30087
|
+
if (normalizeOrigin(input3.moodleOrigin) !== normalizeOrigin(this.env.MOODLE_ORIGIN)) {
|
|
29871
30088
|
return problemResponse(403, "MOODLE_ORIGIN_MISMATCH", "Forbidden", "The session candidate belongs to a different Moodle origin.");
|
|
29872
30089
|
}
|
|
29873
30090
|
let validation;
|
|
29874
30091
|
try {
|
|
29875
|
-
validation = await this.dependencies.upstream.validate(
|
|
30092
|
+
validation = await this.dependencies.upstream.validate(input3);
|
|
29876
30093
|
} catch {
|
|
29877
30094
|
return problemResponse(503, "MOODLE_UNREACHABLE", "Service Unavailable", "Moodle could not be reached to validate the session candidate.");
|
|
29878
30095
|
}
|
|
@@ -29885,13 +30102,13 @@ var SessionBroker = class {
|
|
|
29885
30102
|
return problemResponse(422, "SESSION_IDENTITY_UNKNOWN", "Unprocessable Content", "Moodle did not provide a valid account identity.");
|
|
29886
30103
|
}
|
|
29887
30104
|
const result = await this.transaction(async (storage) => {
|
|
29888
|
-
const
|
|
29889
|
-
const currentRevision =
|
|
29890
|
-
if (currentRevision !==
|
|
29891
|
-
if (
|
|
30105
|
+
const current2 = await this.readSession(storage);
|
|
30106
|
+
const currentRevision = current2?.revision ?? null;
|
|
30107
|
+
if (currentRevision !== input3.expectedRevision) return null;
|
|
30108
|
+
if (current2 && current2.moodle_user_id !== validation.moodleUserId) return "identity_mismatch";
|
|
29892
30109
|
const session = {
|
|
29893
|
-
cookie_value: validation.rotatedCookie ??
|
|
29894
|
-
cookie_name:
|
|
30110
|
+
cookie_value: validation.rotatedCookie ?? input3.cookieValue,
|
|
30111
|
+
cookie_name: input3.cookieName,
|
|
29895
30112
|
revision: (currentRevision ?? 0) + 1,
|
|
29896
30113
|
sesskey: validation.sesskey,
|
|
29897
30114
|
moodle_user_id: validation.moodleUserId,
|
|
@@ -29931,37 +30148,37 @@ var SessionBroker = class {
|
|
|
29931
30148
|
return Response.json({ status: "kept_alive", revision: result.revision, nextAlarmAt: result.next_alarm_at });
|
|
29932
30149
|
}
|
|
29933
30150
|
async touchSession() {
|
|
29934
|
-
const
|
|
29935
|
-
if (!
|
|
29936
|
-
const cookie =
|
|
30151
|
+
const current2 = await this.loadSession();
|
|
30152
|
+
if (!current2) return "missing";
|
|
30153
|
+
const cookie = current2.cookie_value;
|
|
29937
30154
|
let touched;
|
|
29938
30155
|
try {
|
|
29939
30156
|
touched = await this.dependencies.upstream.touch({
|
|
29940
30157
|
moodleOrigin: this.env.MOODLE_ORIGIN,
|
|
29941
|
-
cookieName:
|
|
30158
|
+
cookieName: current2.cookie_name,
|
|
29942
30159
|
cookieValue: cookie,
|
|
29943
|
-
sesskey:
|
|
30160
|
+
sesskey: current2.sesskey
|
|
29944
30161
|
});
|
|
29945
30162
|
} catch {
|
|
29946
|
-
await this.recordFailure(
|
|
30163
|
+
await this.recordFailure(current2, "MOODLE_UNREACHABLE");
|
|
29947
30164
|
return "unreachable";
|
|
29948
30165
|
}
|
|
29949
30166
|
if (touched.alive === null) {
|
|
29950
|
-
await this.recordFailure(
|
|
30167
|
+
await this.recordFailure(current2, "MOODLE_UNREACHABLE");
|
|
29951
30168
|
return "unreachable";
|
|
29952
30169
|
}
|
|
29953
30170
|
if (!touched.alive) {
|
|
29954
|
-
const expired = { ...
|
|
29955
|
-
if (await this.putIfCurrent(
|
|
30171
|
+
const expired = { ...current2, last_error_code: "SESSION_EXPIRED", expires_at: this.now(), next_alarm_at: null };
|
|
30172
|
+
if (await this.putIfCurrent(current2, expired)) await this.state.storage.deleteAlarm?.();
|
|
29956
30173
|
return "expired";
|
|
29957
30174
|
}
|
|
29958
30175
|
const now = this.now();
|
|
29959
30176
|
const nextAlarmAt = nextTouchAt(now, touched.remainingSeconds);
|
|
29960
30177
|
const nextCookie = touched.rotatedCookie ?? cookie;
|
|
29961
30178
|
const updated = {
|
|
29962
|
-
...
|
|
30179
|
+
...current2,
|
|
29963
30180
|
cookie_value: nextCookie,
|
|
29964
|
-
revision: touched.rotatedCookie ?
|
|
30181
|
+
revision: touched.rotatedCookie ? current2.revision + 1 : current2.revision,
|
|
29965
30182
|
last_verified_at: now,
|
|
29966
30183
|
last_touch_at: now,
|
|
29967
30184
|
last_error_code: null,
|
|
@@ -29969,27 +30186,27 @@ var SessionBroker = class {
|
|
|
29969
30186
|
expires_at: expiresAt(now, touched.remainingSeconds),
|
|
29970
30187
|
failure_count: 0
|
|
29971
30188
|
};
|
|
29972
|
-
if (await this.putIfCurrent(
|
|
30189
|
+
if (await this.putIfCurrent(current2, updated)) {
|
|
29973
30190
|
await this.state.storage.setAlarm(nextAlarmAt);
|
|
29974
30191
|
return updated;
|
|
29975
30192
|
}
|
|
29976
30193
|
return await this.loadSession() ?? "missing";
|
|
29977
30194
|
}
|
|
29978
|
-
async recordFailure(
|
|
29979
|
-
const failureCount =
|
|
30195
|
+
async recordFailure(current2, code) {
|
|
30196
|
+
const failureCount = current2.failure_count + 1;
|
|
29980
30197
|
const nextAlarmAt = this.now() + Math.min(MIN_TOUCH_DELAY_MS * 2 ** (failureCount - 1), MAX_BACKOFF_MS);
|
|
29981
30198
|
const updated = {
|
|
29982
|
-
...
|
|
30199
|
+
...current2,
|
|
29983
30200
|
last_error_code: code,
|
|
29984
30201
|
next_alarm_at: nextAlarmAt,
|
|
29985
30202
|
failure_count: failureCount
|
|
29986
30203
|
};
|
|
29987
|
-
if (await this.putIfCurrent(
|
|
30204
|
+
if (await this.putIfCurrent(current2, updated)) await this.state.storage.setAlarm(nextAlarmAt);
|
|
29988
30205
|
}
|
|
29989
30206
|
putIfCurrent(expected, updated) {
|
|
29990
30207
|
return this.transaction(async (storage) => {
|
|
29991
|
-
const
|
|
29992
|
-
if (
|
|
30208
|
+
const current2 = await this.readSession(storage);
|
|
30209
|
+
if (current2?.revision !== expected.revision || current2.cookie_value !== expected.cookie_value) return false;
|
|
29993
30210
|
await this.writeSession(storage, updated);
|
|
29994
30211
|
return true;
|
|
29995
30212
|
});
|