@contrail/cli 3.4.2 → 3.4.4-alpha.03728c1
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 +1 -1
- package/bin/dev +0 -0
- package/bin/run +0 -0
- package/dist/__mocks__/@contrail/sdk.d.ts +123 -123
- package/dist/__mocks__/@contrail/sdk.js +716 -716
- package/dist/api/app-extension-deployments.d.ts +2 -2
- package/dist/api/app-extension-deployments.js +11 -11
- package/dist/api/app-extension-packages.d.ts +2 -2
- package/dist/api/app-extension-packages.js +11 -11
- package/dist/api/apps.d.ts +10 -10
- package/dist/api/apps.js +63 -63
- package/dist/api/event-workflow-action-definition.d.ts +3 -3
- package/dist/api/event-workflow-action-definition.js +18 -18
- package/dist/api/event-workflow-template-definition.d.ts +7 -7
- package/dist/api/event-workflow-template-definition.js +26 -26
- package/dist/api/event-workflow-templates.d.ts +8 -8
- package/dist/api/event-workflow-templates.js +32 -32
- package/dist/api/schedules.d.ts +7 -7
- package/dist/api/schedules.js +32 -32
- package/dist/api/types.d.ts +11 -11
- package/dist/api/types.js +79 -79
- package/dist/api/users.d.ts +2 -2
- package/dist/api/users.js +18 -18
- package/dist/api/webhooks.d.ts +4 -4
- package/dist/api/webhooks.js +16 -16
- package/dist/auth/login.d.ts +3 -3
- package/dist/auth/login.js +221 -221
- package/dist/auth/login.spec.d.ts +1 -1
- package/dist/auth/login.spec.js +10 -10
- package/dist/baseFlags.d.ts +10 -10
- package/dist/baseFlags.js +25 -25
- package/dist/basecommand.d.ts +15 -15
- package/dist/basecommand.js +83 -83
- package/dist/commands/app/create.d.ts +10 -10
- package/dist/commands/app/create.js +96 -96
- package/dist/commands/app/delete.d.ts +11 -11
- package/dist/commands/app/delete.js +40 -40
- package/dist/commands/app/extension/deploy.d.ts +18 -18
- package/dist/commands/app/extension/deploy.js +127 -127
- package/dist/commands/app/extension/deployment/list.d.ts +14 -14
- package/dist/commands/app/extension/deployment/list.js +82 -82
- package/dist/commands/app/getApiKey.d.ts +11 -11
- package/dist/commands/app/getApiKey.js +49 -49
- package/dist/commands/app/init.d.ts +10 -10
- package/dist/commands/app/init.js +67 -67
- package/dist/commands/app/install.d.ts +13 -13
- package/dist/commands/app/install.js +135 -135
- package/dist/commands/app/publish.d.ts +14 -14
- package/dist/commands/app/publish.js +69 -69
- package/dist/commands/app/uninstall.d.ts +12 -12
- package/dist/commands/app/uninstall.js +68 -68
- package/dist/commands/app/upgrade.d.ts +14 -14
- package/dist/commands/app/upgrade.js +108 -108
- package/dist/commands/app/version/major.d.ts +11 -11
- package/dist/commands/app/version/major.js +39 -39
- package/dist/commands/app/version/minor.d.ts +11 -11
- package/dist/commands/app/version/minor.js +39 -39
- package/dist/commands/app/version/patch.d.ts +11 -11
- package/dist/commands/app/version/patch.js +39 -39
- package/dist/commands/config/create.d.ts +12 -12
- package/dist/commands/config/create.js +27 -27
- package/dist/commands/config/describe.d.ts +14 -14
- package/dist/commands/config/describe.js +46 -46
- package/dist/commands/config/list.d.ts +11 -11
- package/dist/commands/config/list.js +38 -38
- package/dist/commands/config/set.d.ts +16 -16
- package/dist/commands/config/set.js +46 -46
- package/dist/commands/config/use.d.ts +14 -14
- package/dist/commands/config/use.js +47 -47
- package/dist/commands/file/upload.d.ts +15 -15
- package/dist/commands/file/upload.js +69 -69
- package/dist/commands/groups/export.d.ts +14 -14
- package/dist/commands/groups/export.js +103 -103
- package/dist/commands/groups/import.d.ts +14 -14
- package/dist/commands/groups/import.js +190 -190
- package/dist/commands/instance/export.d.ts +12 -12
- package/dist/commands/instance/export.js +36 -36
- package/dist/commands/instance/import.d.ts +11 -11
- package/dist/commands/instance/import.js +34 -34
- package/dist/commands/load/colors.d.ts +14 -14
- package/dist/commands/load/colors.js +53 -53
- package/dist/commands/load/custom-entity.d.ts +14 -14
- package/dist/commands/load/custom-entity.js +55 -55
- package/dist/commands/load/line-sheet.d.ts +14 -14
- package/dist/commands/load/line-sheet.js +55 -55
- package/dist/commands/load/upload-and-load.d.ts +14 -14
- package/dist/commands/load/upload-and-load.js +46 -46
- package/dist/commands/projects/export.d.ts +13 -13
- package/dist/commands/projects/export.js +35 -35
- package/dist/commands/projects/list.d.ts +10 -10
- package/dist/commands/projects/list.js +36 -36
- package/dist/commands/projects/load.d.ts +25 -25
- package/dist/commands/projects/load.js +198 -198
- package/dist/commands/types/exportOptionSetHierarchies.d.ts +11 -11
- package/dist/commands/types/exportOptionSetHierarchies.js +133 -133
- package/dist/commands/types/getAll.d.ts +21 -21
- package/dist/commands/types/getAll.js +180 -180
- package/dist/commands/types/getOptionSets.d.ts +16 -16
- package/dist/commands/types/getOptionSets.js +170 -170
- package/dist/commands/types/loadAll.d.ts +12 -12
- package/dist/commands/types/loadAll.js +55 -55
- package/dist/commands/types/mergeOptionSets.d.ts +13 -13
- package/dist/commands/types/mergeOptionSets.js +116 -116
- package/dist/commands/types/mergeTypeProperties.d.ts +15 -15
- package/dist/commands/types/mergeTypeProperties.js +95 -95
- package/dist/commands/types/parseOptionSetsHierarchyLocalFile.d.ts +14 -14
- package/dist/commands/types/parseOptionSetsHierarchyLocalFile.js +133 -133
- package/dist/commands/types/parseOptionSetsHierarchyValuesToKeysLocalFile.d.ts +14 -14
- package/dist/commands/types/parseOptionSetsHierarchyValuesToKeysLocalFile.js +102 -102
- package/dist/commands/types/parseOptionSetsLocalFiles.d.ts +39 -39
- package/dist/commands/types/parseOptionSetsLocalFiles.js +229 -229
- package/dist/commands/types/parseOptionSetsToFolderStructure.d.ts +13 -13
- package/dist/commands/types/parseOptionSetsToFolderStructure.js +68 -68
- package/dist/commands/types/parseTypesFromFiles.d.ts +14 -14
- package/dist/commands/types/parseTypesFromFiles.js +40 -40
- package/dist/commands/types/parseTypesFromLocalFiles.d.ts +14 -14
- package/dist/commands/types/parseTypesFromLocalFiles.js +37 -37
- package/dist/commands/types/parseTypesFromTemplateAndDataFromLocalFiles.d.ts +15 -15
- package/dist/commands/types/parseTypesFromTemplateAndDataFromLocalFiles.js +39 -39
- package/dist/commands/types/parseTypesFromTemplateFromLocalFiles.d.ts +14 -14
- package/dist/commands/types/parseTypesFromTemplateFromLocalFiles.js +38 -38
- package/dist/commands/types/uploadOptionSetHierarchies.d.ts +12 -12
- package/dist/commands/types/uploadOptionSetHierarchies.js +257 -257
- package/dist/commands/types/uploadOptionSets.d.ts +13 -13
- package/dist/commands/types/uploadOptionSets.js +155 -155
- package/dist/commands/types/uploadOptionSetsHierarchyLocalFile.d.ts +15 -15
- package/dist/commands/types/uploadOptionSetsHierarchyLocalFile.js +135 -135
- package/dist/commands/types/uploadRuleSets.d.ts +12 -12
- package/dist/commands/types/uploadRuleSets.js +197 -197
- package/dist/commands/types/uploadTypePolicies.d.ts +12 -12
- package/dist/commands/types/uploadTypePolicies.js +233 -233
- package/dist/commands/types/uploadTypePropertyPolicies.d.ts +13 -13
- package/dist/commands/types/uploadTypePropertyPolicies.js +286 -286
- package/dist/commands/types/uploadTypes.d.ts +13 -13
- package/dist/commands/types/uploadTypes.js +35 -35
- package/dist/commands/types/uploadUsageInfo.d.ts +15 -12
- package/dist/commands/types/uploadUsageInfo.js +179 -172
- package/dist/commands/types/uploadUsageInfo.spec.d.ts +1 -0
- package/dist/commands/types/uploadUsageInfo.spec.js +249 -0
- package/dist/commands/users/export.d.ts +14 -14
- package/dist/commands/users/export.js +76 -76
- package/dist/commands/users/import.d.ts +14 -14
- package/dist/commands/users/import.js +68 -68
- package/dist/commands/webhooks/create.d.ts +11 -11
- package/dist/commands/webhooks/create.js +25 -25
- package/dist/commands/webhooks/delete.d.ts +14 -14
- package/dist/commands/webhooks/delete.js +53 -53
- package/dist/commands/webhooks/getWebhookTrigger.d.ts +13 -13
- package/dist/commands/webhooks/getWebhookTrigger.js +40 -40
- package/dist/commands/webhooks/list.d.ts +12 -12
- package/dist/commands/webhooks/list.js +31 -31
- package/dist/commands/workflow-template-definitions/install.d.ts +10 -10
- package/dist/commands/workflow-template-definitions/install.js +19 -19
- package/dist/commands/workflow-template-definitions/list.d.ts +10 -10
- package/dist/commands/workflow-template-definitions/list.js +19 -19
- package/dist/commands/workflow-templates/delete.d.ts +10 -10
- package/dist/commands/workflow-templates/delete.js +19 -19
- package/dist/commands/workflow-templates/export.d.ts +14 -14
- package/dist/commands/workflow-templates/export.js +78 -78
- package/dist/commands/workflow-templates/list.d.ts +10 -10
- package/dist/commands/workflow-templates/list.js +19 -19
- package/dist/commands/workflow-templates/load.d.ts +13 -13
- package/dist/commands/workflow-templates/load.js +26 -26
- package/dist/common.d.ts +4 -4
- package/dist/common.js +18 -18
- package/dist/helpers/app/actions-deployer.d.ts +11 -11
- package/dist/helpers/app/actions-deployer.js +123 -123
- package/dist/helpers/app/app-config-validators.d.ts +22 -22
- package/dist/helpers/app/app-config-validators.js +100 -100
- package/dist/helpers/app/app-config-validators.spec.d.ts +1 -1
- package/dist/helpers/app/app-config-validators.spec.js +310 -310
- package/dist/helpers/app/app-deployer.d.ts +12 -12
- package/dist/helpers/app/app-deployer.js +278 -278
- package/dist/helpers/app/app-template-parsers.d.ts +14 -14
- package/dist/helpers/app/app-template-parsers.js +106 -106
- package/dist/helpers/app/extension-package-deployer.d.ts +7 -7
- package/dist/helpers/app/extension-package-deployer.js +175 -175
- package/dist/helpers/app/extensions-deployer.d.ts +9 -9
- package/dist/helpers/app/extensions-deployer.js +95 -95
- package/dist/helpers/app/load-app-config.d.ts +4 -4
- package/dist/helpers/app/load-app-config.js +22 -22
- package/dist/helpers/app/metadata-extractor.d.ts +1 -1
- package/dist/helpers/app/metadata-extractor.js +100 -100
- package/dist/helpers/app/setup-template.d.ts +8 -8
- package/dist/helpers/app/setup-template.js +48 -48
- package/dist/helpers/app/update-app-config.d.ts +2 -2
- package/dist/helpers/app/update-app-config.js +20 -20
- package/dist/helpers/app/upgrade-version.d.ts +16 -16
- package/dist/helpers/app/upgrade-version.js +37 -37
- package/dist/helpers/app/upgrade-version.spec.d.ts +1 -1
- package/dist/helpers/app/upgrade-version.spec.js +33 -33
- package/dist/helpers/colors/helpers.d.ts +12 -12
- package/dist/helpers/colors/helpers.js +84 -84
- package/dist/helpers/config/config.d.ts +16 -16
- package/dist/helpers/config/config.js +223 -223
- package/dist/helpers/file-helpers.d.ts +2 -2
- package/dist/helpers/file-helpers.js +36 -36
- package/dist/helpers/load/helpers.d.ts +20 -20
- package/dist/helpers/load/helpers.js +141 -141
- package/dist/helpers/load/helpers.spec.d.ts +1 -1
- package/dist/helpers/load/helpers.spec.js +62 -62
- package/dist/helpers/load/validators.d.ts +14 -14
- package/dist/helpers/load/validators.js +182 -182
- package/dist/helpers/load/validators.spec.d.ts +1 -1
- package/dist/helpers/load/validators.spec.js +450 -450
- package/dist/helpers/projects/helpers.d.ts +3 -3
- package/dist/helpers/projects/helpers.js +167 -167
- package/dist/helpers/types/csv-parser.d.ts +1 -1
- package/dist/helpers/types/csv-parser.js +59 -59
- package/dist/helpers/types/option-set-helper.d.ts +9 -9
- package/dist/helpers/types/option-set-helper.js +48 -48
- package/dist/helpers/types/option-set-helper.spec.d.ts +1 -1
- package/dist/helpers/types/option-set-helper.spec.js +64 -64
- package/dist/helpers/types/parseOptionSetsLocalFiles.spec.d.ts +1 -1
- package/dist/helpers/types/parseOptionSetsLocalFiles.spec.js +285 -285
- package/dist/helpers/types/type-extractor.d.ts +1 -1
- package/dist/helpers/types/type-extractor.js +36 -36
- package/dist/helpers/types/type-parser.d.ts +4 -4
- package/dist/helpers/types/type-parser.js +119 -119
- package/dist/helpers/types/type-uploader.d.ts +20 -20
- package/dist/helpers/types/type-uploader.js +336 -336
- package/dist/helpers/types/type-uploader.spec.d.ts +1 -1
- package/dist/helpers/types/type-uploader.spec.js +266 -266
- package/dist/helpers/types/uploadOptionSets.spec.d.ts +1 -1
- package/dist/helpers/types/uploadOptionSets.spec.js +19 -19
- package/dist/helpers/workflow-template-definitions/workflow-template-definition-deployer.d.ts +12 -12
- package/dist/helpers/workflow-template-definitions/workflow-template-definition-deployer.js +158 -158
- package/dist/helpers/workflow-templates/helper.d.ts +20 -20
- package/dist/helpers/workflow-templates/helper.js +285 -285
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -5
- package/dist/interfaces.d.ts +470 -445
- package/dist/interfaces.js +163 -163
- package/dist/logger.d.ts +3 -3
- package/dist/logger.js +33 -33
- package/node_modules/@contrail/entity-types/.github/pull_request_template.md +31 -0
- package/node_modules/@contrail/entity-types/.github/workflows/empty.yml +10 -0
- package/node_modules/@contrail/entity-types/.github/workflows/generate-entity-types-docs.yml +32 -0
- package/node_modules/@contrail/entity-types/.prettierrc.yaml +2 -0
- package/node_modules/@contrail/entity-types/README.md +13 -0
- package/node_modules/@contrail/entity-types/home-hero.svg +11 -0
- package/node_modules/@contrail/entity-types/lib/action-definition-config.d.ts +6 -0
- package/node_modules/@contrail/entity-types/lib/action-definition-config.js +2 -0
- package/node_modules/@contrail/entity-types/lib/app-access-grant.d.ts +15 -0
- package/node_modules/@contrail/entity-types/lib/app-access-grant.js +7 -0
- package/node_modules/@contrail/entity-types/lib/app-api-key.d.ts +15 -0
- package/node_modules/@contrail/entity-types/lib/app-api-key.js +2 -0
- package/node_modules/@contrail/entity-types/lib/app-code-package.d.ts +17 -0
- package/node_modules/@contrail/entity-types/lib/app-code-package.js +2 -0
- package/node_modules/@contrail/entity-types/lib/app-extension-definition.d.ts +53 -0
- package/node_modules/@contrail/entity-types/lib/app-extension-definition.js +18 -0
- package/node_modules/@contrail/entity-types/lib/app-extension.d.ts +24 -0
- package/node_modules/@contrail/entity-types/lib/app-extension.js +2 -0
- package/node_modules/@contrail/entity-types/lib/app-org.d.ts +20 -0
- package/node_modules/@contrail/entity-types/lib/app-org.js +11 -0
- package/node_modules/@contrail/entity-types/lib/app-version.d.ts +57 -0
- package/node_modules/@contrail/entity-types/lib/app-version.js +21 -0
- package/node_modules/@contrail/entity-types/lib/app.d.ts +25 -0
- package/node_modules/@contrail/entity-types/lib/app.js +2 -0
- package/node_modules/@contrail/entity-types/lib/asset.d.ts +16 -0
- package/node_modules/@contrail/entity-types/lib/asset.js +2 -0
- package/node_modules/@contrail/entity-types/lib/assortment-item.d.ts +27 -0
- package/node_modules/@contrail/entity-types/lib/assortment-item.js +2 -0
- package/node_modules/@contrail/entity-types/lib/assortment-publish-change.d.ts +48 -0
- package/node_modules/@contrail/entity-types/lib/assortment-publish-change.js +2 -0
- package/node_modules/@contrail/entity-types/lib/assortment-summary.d.ts +15 -0
- package/node_modules/@contrail/entity-types/lib/assortment-summary.js +2 -0
- package/node_modules/@contrail/entity-types/lib/assortment.d.ts +39 -0
- package/node_modules/@contrail/entity-types/lib/assortment.js +11 -0
- package/node_modules/@contrail/entity-types/lib/base-managed-entity.d.ts +8 -0
- package/node_modules/@contrail/entity-types/lib/base-managed-entity.js +2 -0
- package/node_modules/@contrail/entity-types/lib/batch-fetch-response.d.ts +11 -0
- package/node_modules/@contrail/entity-types/lib/batch-fetch-response.js +2 -0
- package/node_modules/@contrail/entity-types/lib/client.d.ts +107 -0
- package/node_modules/@contrail/entity-types/lib/client.js +114 -0
- package/node_modules/@contrail/entity-types/lib/color.d.ts +14 -0
- package/node_modules/@contrail/entity-types/lib/color.js +2 -0
- package/node_modules/@contrail/entity-types/lib/composite-plans-summary.d.ts +15 -0
- package/node_modules/@contrail/entity-types/lib/composite-plans-summary.js +2 -0
- package/node_modules/@contrail/entity-types/lib/content-custom-size.d.ts +14 -0
- package/node_modules/@contrail/entity-types/lib/content-custom-size.js +2 -0
- package/node_modules/@contrail/entity-types/lib/content.d.ts +25 -0
- package/node_modules/@contrail/entity-types/lib/content.js +2 -0
- package/node_modules/@contrail/entity-types/lib/contentholder-content.d.ts +5 -0
- package/node_modules/@contrail/entity-types/lib/contentholder-content.js +2 -0
- package/node_modules/@contrail/entity-types/lib/event-workflow-action-definition.d.ts +21 -0
- package/node_modules/@contrail/entity-types/lib/event-workflow-action-definition.js +2 -0
- package/node_modules/@contrail/entity-types/lib/event-workflow-process.d.ts +27 -0
- package/node_modules/@contrail/entity-types/lib/event-workflow-process.js +11 -0
- package/node_modules/@contrail/entity-types/lib/event-workflow-task.d.ts +30 -0
- package/node_modules/@contrail/entity-types/lib/event-workflow-task.js +2 -0
- package/node_modules/@contrail/entity-types/lib/file.d.ts +13 -0
- package/node_modules/@contrail/entity-types/lib/file.js +2 -0
- package/node_modules/@contrail/entity-types/lib/index.d.ts +40 -0
- package/node_modules/@contrail/entity-types/lib/index.js +56 -0
- package/node_modules/@contrail/entity-types/lib/item.d.ts +20 -0
- package/node_modules/@contrail/entity-types/lib/item.js +2 -0
- package/node_modules/@contrail/entity-types/lib/loader.d.ts +234 -0
- package/node_modules/@contrail/entity-types/lib/loader.js +134 -0
- package/node_modules/@contrail/entity-types/lib/log-level.d.ts +8 -0
- package/node_modules/@contrail/entity-types/lib/log-level.js +12 -0
- package/node_modules/@contrail/entity-types/lib/org-managed-entity.d.ts +5 -0
- package/node_modules/@contrail/entity-types/lib/org-managed-entity.js +2 -0
- package/node_modules/@contrail/entity-types/lib/org.d.ts +11 -0
- package/node_modules/@contrail/entity-types/lib/org.js +2 -0
- package/node_modules/@contrail/entity-types/lib/project-configuration.d.ts +39 -0
- package/node_modules/@contrail/entity-types/lib/project-configuration.js +9 -0
- package/node_modules/@contrail/entity-types/lib/project-item.d.ts +9 -0
- package/node_modules/@contrail/entity-types/lib/project-item.js +2 -0
- package/node_modules/@contrail/entity-types/lib/project.d.ts +4 -0
- package/node_modules/@contrail/entity-types/lib/project.js +2 -0
- package/node_modules/@contrail/entity-types/lib/property-type.d.ts +32 -0
- package/node_modules/@contrail/entity-types/lib/property-type.js +31 -0
- package/node_modules/@contrail/entity-types/lib/shared-links.d.ts +46 -0
- package/node_modules/@contrail/entity-types/lib/shared-links.js +11 -0
- package/node_modules/@contrail/entity-types/lib/subscription.d.ts +38 -0
- package/node_modules/@contrail/entity-types/lib/subscription.js +22 -0
- package/node_modules/@contrail/entity-types/lib/type-managed-entity.d.ts +8 -0
- package/node_modules/@contrail/entity-types/lib/type-managed-entity.js +2 -0
- package/node_modules/@contrail/entity-types/lib/user.d.ts +79 -0
- package/node_modules/@contrail/entity-types/lib/user.js +20 -0
- package/node_modules/@contrail/entity-types/lib/workspace-managed-entity.d.ts +5 -0
- package/node_modules/@contrail/entity-types/lib/workspace-managed-entity.js +2 -0
- package/node_modules/@contrail/entity-types/lib/workspace-principal.d.ts +24 -0
- package/node_modules/@contrail/entity-types/lib/workspace-principal.js +9 -0
- package/node_modules/@contrail/entity-types/lib/workspace.d.ts +32 -0
- package/node_modules/@contrail/entity-types/lib/workspace.js +9 -0
- package/node_modules/@contrail/entity-types/package.json +56 -0
- package/node_modules/@contrail/org-config-migration/.husky/pre-commit +10 -0
- package/node_modules/@contrail/org-config-migration/.lintstagedrc-check.json +3 -0
- package/node_modules/@contrail/org-config-migration/.lintstagedrc-format.json +3 -0
- package/node_modules/@contrail/org-config-migration/.prettierrc.yaml +2 -0
- package/node_modules/@contrail/org-config-migration/lib/index.d.ts +3 -0
- package/node_modules/@contrail/org-config-migration/lib/index.js +19 -0
- package/node_modules/@contrail/org-config-migration/lib/interfaces.d.ts +97 -0
- package/node_modules/@contrail/org-config-migration/lib/interfaces.js +2 -0
- package/node_modules/@contrail/org-config-migration/lib/services/index.d.ts +1 -0
- package/node_modules/@contrail/org-config-migration/lib/services/index.js +17 -0
- package/node_modules/@contrail/org-config-migration/lib/services/types.d.ts +17 -0
- package/node_modules/@contrail/org-config-migration/lib/services/types.js +155 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportAll.d.ts +2 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportAll.js +40 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportOptionSet.d.ts +2 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportOptionSet.js +20 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportOptionSetHierarchies.d.ts +3 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportOptionSetHierarchies.js +47 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportOverrides.d.ts +2 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportOverrides.js +8 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportRuleSets.d.ts +3 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportRuleSets.js +39 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportTypePolicies.d.ts +3 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportTypePolicies.js +56 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportTypePropertyPolicies.d.ts +3 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportTypePropertyPolicies.js +71 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportTypes.d.ts +2 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportTypes.js +85 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportUsageInfo.d.ts +2 -0
- package/node_modules/@contrail/org-config-migration/lib/types/exportUsageInfo.js +39 -0
- package/node_modules/@contrail/org-config-migration/lib/types/importAll.d.ts +2 -0
- package/node_modules/@contrail/org-config-migration/lib/types/importAll.js +451 -0
- package/node_modules/@contrail/org-config-migration/lib/types/index.d.ts +9 -0
- package/node_modules/@contrail/org-config-migration/lib/types/index.js +25 -0
- package/node_modules/@contrail/org-config-migration/lib/types/parseOptionSetHierarchy.d.ts +3 -0
- package/node_modules/@contrail/org-config-migration/lib/types/parseOptionSetHierarchy.js +210 -0
- package/node_modules/@contrail/org-config-migration/lib/users/export.d.ts +2 -0
- package/node_modules/@contrail/org-config-migration/lib/users/export.js +40 -0
- package/node_modules/@contrail/org-config-migration/lib/users/import.d.ts +2 -0
- package/node_modules/@contrail/org-config-migration/lib/users/import.js +41 -0
- package/node_modules/@contrail/org-config-migration/lib/users/index.d.ts +2 -0
- package/node_modules/@contrail/org-config-migration/lib/users/index.js +18 -0
- package/node_modules/@contrail/org-config-migration/node_modules/commander/CHANGELOG.md +361 -0
- package/node_modules/@contrail/org-config-migration/node_modules/commander/LICENSE +22 -0
- package/node_modules/@contrail/org-config-migration/node_modules/commander/Readme.md +791 -0
- package/node_modules/@contrail/org-config-migration/node_modules/commander/index.js +1881 -0
- package/node_modules/@contrail/org-config-migration/node_modules/commander/package.json +51 -0
- package/node_modules/@contrail/org-config-migration/node_modules/commander/typings/index.d.ts +410 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/.eslintrc +10 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/.gitattributes +3 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/.prettierrc.js +3 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/LICENSE.md +14 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/README.md +15 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/bin/json2csv.js +192 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/bin/utils/TablePrinter.js +117 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/bin/utils/parseNdjson.js +11 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/docs/cli-examples.md +73 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/docs/parser-examples.md +488 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVAsyncParser.js +35 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVBase.js +175 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVParser.js +72 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVStreamParser.js +150 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/JSON2CSVTransform.js +74 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/default.js +7 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/number.js +26 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/object.js +17 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/string.js +18 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/stringExcel.js +8 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/stringQuoteOnlyIfNecessary.js +21 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/formatters/symbol.js +7 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/json2csv.js +43 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/transforms/flatten.js +37 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/transforms/unwind.js +60 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/lib/utils.js +86 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/package.json +73 -0
- package/node_modules/@contrail/org-config-migration/node_modules/json2csv/rollup.config.js +44 -0
- package/node_modules/@contrail/org-config-migration/package.json +50 -0
- package/node_modules/@contrail/policies/README.md +0 -0
- package/node_modules/@contrail/policies/lib/index.d.ts +1 -0
- package/node_modules/@contrail/policies/lib/index.js +17 -0
- package/node_modules/@contrail/policies/lib/policies/index.d.ts +1 -0
- package/node_modules/@contrail/policies/lib/policies/index.js +17 -0
- package/node_modules/@contrail/policies/lib/policies/policies.d.ts +41 -0
- package/node_modules/@contrail/policies/lib/policies/policies.js +132 -0
- package/node_modules/@contrail/policies/package.json +40 -0
- package/node_modules/@contrail/sdk/.github/pull_request_template.md +31 -0
- package/node_modules/@contrail/sdk/.github/workflows/check-code-formatting.yml +34 -0
- package/node_modules/@contrail/sdk/.github/workflows/empty.yml +10 -0
- package/node_modules/@contrail/sdk/.github/workflows/generate-sdk-docs.yml +32 -0
- package/node_modules/@contrail/sdk/.github/workflows/sdk-lib.yml +27 -0
- package/node_modules/@contrail/sdk/.prettierrc.yaml +2 -0
- package/node_modules/@contrail/sdk/README.md +72 -0
- package/node_modules/@contrail/sdk/home-hero.svg +11 -0
- package/node_modules/@contrail/sdk/lib/assets/assets.d.ts +9 -0
- package/node_modules/@contrail/sdk/lib/assets/assets.js +54 -0
- package/node_modules/@contrail/sdk/lib/assets/index.d.ts +1 -0
- package/node_modules/@contrail/sdk/lib/assets/index.js +17 -0
- package/node_modules/@contrail/sdk/lib/auth/auth.d.ts +10 -0
- package/node_modules/@contrail/sdk/lib/auth/auth.js +6 -0
- package/node_modules/@contrail/sdk/lib/auth/index.d.ts +2 -0
- package/node_modules/@contrail/sdk/lib/auth/index.js +18 -0
- package/node_modules/@contrail/sdk/lib/auth/login.d.ts +10 -0
- package/node_modules/@contrail/sdk/lib/auth/login.js +170 -0
- package/node_modules/@contrail/sdk/lib/config/config.d.ts +45 -0
- package/node_modules/@contrail/sdk/lib/config/config.js +36 -0
- package/node_modules/@contrail/sdk/lib/config/index.d.ts +1 -0
- package/node_modules/@contrail/sdk/lib/config/index.js +17 -0
- package/node_modules/@contrail/sdk/lib/content/content.d.ts +12 -0
- package/node_modules/@contrail/sdk/lib/content/content.js +70 -0
- package/node_modules/@contrail/sdk/lib/content/index.d.ts +1 -0
- package/node_modules/@contrail/sdk/lib/content/index.js +17 -0
- package/node_modules/@contrail/sdk/lib/core/index.d.ts +1 -0
- package/node_modules/@contrail/sdk/lib/core/index.js +17 -0
- package/node_modules/@contrail/sdk/lib/core/request.d.ts +12 -0
- package/node_modules/@contrail/sdk/lib/core/request.js +145 -0
- package/node_modules/@contrail/sdk/lib/entities/entities.client.d.ts +101 -0
- package/node_modules/@contrail/sdk/lib/entities/entities.client.js +306 -0
- package/node_modules/@contrail/sdk/lib/entities/entity-reference-expander.d.ts +9 -0
- package/node_modules/@contrail/sdk/lib/entities/entity-reference-expander.js +86 -0
- package/node_modules/@contrail/sdk/lib/entities/entity-reference.d.ts +6 -0
- package/node_modules/@contrail/sdk/lib/entities/entity-reference.js +19 -0
- package/node_modules/@contrail/sdk/lib/entities/entity.resource.registry.d.ts +5 -0
- package/node_modules/@contrail/sdk/lib/entities/entity.resource.registry.js +57 -0
- package/node_modules/@contrail/sdk/lib/entities/index.d.ts +3 -0
- package/node_modules/@contrail/sdk/lib/entities/index.js +19 -0
- package/node_modules/@contrail/sdk/lib/files/file-type-helper.d.ts +3 -0
- package/node_modules/@contrail/sdk/lib/files/file-type-helper.js +24 -0
- package/node_modules/@contrail/sdk/lib/files/files.d.ts +9 -0
- package/node_modules/@contrail/sdk/lib/files/files.js +110 -0
- package/node_modules/@contrail/sdk/lib/files/index.d.ts +1 -0
- package/node_modules/@contrail/sdk/lib/files/index.js +17 -0
- package/node_modules/@contrail/sdk/lib/index.d.ts +10 -0
- package/node_modules/@contrail/sdk/lib/index.js +26 -0
- package/node_modules/@contrail/sdk/lib/notifications/index.d.ts +1 -0
- package/node_modules/@contrail/sdk/lib/notifications/index.js +17 -0
- package/node_modules/@contrail/sdk/lib/notifications/notifications-dispatcher.d.ts +16 -0
- package/node_modules/@contrail/sdk/lib/notifications/notifications-dispatcher.js +37 -0
- package/node_modules/@contrail/sdk/lib/policies/index.d.ts +1 -0
- package/node_modules/@contrail/sdk/lib/policies/index.js +17 -0
- package/node_modules/@contrail/sdk/lib/policies/policies-cache.d.ts +12 -0
- package/node_modules/@contrail/sdk/lib/policies/policies-cache.js +55 -0
- package/node_modules/@contrail/sdk/lib/policies/policies.client.d.ts +9 -0
- package/node_modules/@contrail/sdk/lib/policies/policies.client.js +74 -0
- package/node_modules/@contrail/sdk/lib/types/index.d.ts +2 -0
- package/node_modules/@contrail/sdk/lib/types/index.js +18 -0
- package/node_modules/@contrail/sdk/lib/types/sub-types-helper.d.ts +18 -0
- package/node_modules/@contrail/sdk/lib/types/sub-types-helper.js +98 -0
- package/node_modules/@contrail/sdk/lib/types/types-cache.d.ts +19 -0
- package/node_modules/@contrail/sdk/lib/types/types-cache.js +73 -0
- package/node_modules/@contrail/sdk/lib/types/types.client.d.ts +42 -0
- package/node_modules/@contrail/sdk/lib/types/types.client.js +217 -0
- package/node_modules/@contrail/sdk/package.json +61 -0
- package/node_modules/@contrail/types/README.md +1 -0
- package/node_modules/@contrail/types/lib/copy/copy-helper.d.ts +16 -0
- package/node_modules/@contrail/types/lib/copy/copy-helper.js +103 -0
- package/node_modules/@contrail/types/lib/copy/index.d.ts +1 -0
- package/node_modules/@contrail/types/lib/copy/index.js +17 -0
- package/node_modules/@contrail/types/lib/formatter/formatDate.d.ts +3 -0
- package/node_modules/@contrail/types/lib/formatter/formatDate.js +77 -0
- package/node_modules/@contrail/types/lib/formatter/formatDateCache.d.ts +6 -0
- package/node_modules/@contrail/types/lib/formatter/formatDateCache.js +19 -0
- package/node_modules/@contrail/types/lib/formatter/formatNumber.d.ts +3 -0
- package/node_modules/@contrail/types/lib/formatter/formatNumber.js +40 -0
- package/node_modules/@contrail/types/lib/formatter/formatNumberCache.d.ts +6 -0
- package/node_modules/@contrail/types/lib/formatter/formatNumberCache.js +19 -0
- package/node_modules/@contrail/types/lib/formatter/formatSizeRange.d.ts +1 -0
- package/node_modules/@contrail/types/lib/formatter/formatSizeRange.js +25 -0
- package/node_modules/@contrail/types/lib/formatter/index.d.ts +1 -0
- package/node_modules/@contrail/types/lib/formatter/index.js +17 -0
- package/node_modules/@contrail/types/lib/formatter/property-value-formatter.d.ts +37 -0
- package/node_modules/@contrail/types/lib/formatter/property-value-formatter.js +332 -0
- package/node_modules/@contrail/types/lib/index.d.ts +11 -0
- package/node_modules/@contrail/types/lib/index.js +27 -0
- package/node_modules/@contrail/types/lib/mocks/type-mocks.d.ts +3 -0
- package/node_modules/@contrail/types/lib/mocks/type-mocks.js +5466 -0
- package/node_modules/@contrail/types/lib/relations/relation.d.ts +6 -0
- package/node_modules/@contrail/types/lib/relations/relation.js +2 -0
- package/node_modules/@contrail/types/lib/type-interfaces/index.d.ts +1 -0
- package/node_modules/@contrail/types/lib/type-interfaces/index.js +17 -0
- package/node_modules/@contrail/types/lib/type-interfaces/type-interface.d.ts +4 -0
- package/node_modules/@contrail/types/lib/type-interfaces/type-interface.js +2 -0
- package/node_modules/@contrail/types/lib/type-option-set-hierarchies/index.d.ts +2 -0
- package/node_modules/@contrail/types/lib/type-option-set-hierarchies/index.js +18 -0
- package/node_modules/@contrail/types/lib/type-option-set-hierarchies/option-set-hierarchy-helper.d.ts +10 -0
- package/node_modules/@contrail/types/lib/type-option-set-hierarchies/option-set-hierarchy-helper.js +37 -0
- package/node_modules/@contrail/types/lib/type-option-set-hierarchies/option-set-hierarchy.d.ts +20 -0
- package/node_modules/@contrail/types/lib/type-option-set-hierarchies/option-set-hierarchy.js +2 -0
- package/node_modules/@contrail/types/lib/type-policies/index.d.ts +1 -0
- package/node_modules/@contrail/types/lib/type-policies/index.js +17 -0
- package/node_modules/@contrail/types/lib/type-policies/type-policy.d.ts +9 -0
- package/node_modules/@contrail/types/lib/type-policies/type-policy.js +2 -0
- package/node_modules/@contrail/types/lib/type-properties/index.d.ts +3 -0
- package/node_modules/@contrail/types/lib/type-properties/index.js +19 -0
- package/node_modules/@contrail/types/lib/type-properties/property-types.d.ts +35 -0
- package/node_modules/@contrail/types/lib/type-properties/property-types.js +66 -0
- package/node_modules/@contrail/types/lib/type-properties/size-range/size-range.d.ts +12 -0
- package/node_modules/@contrail/types/lib/type-properties/size-range/size-range.js +2 -0
- package/node_modules/@contrail/types/lib/type-properties/type-property.d.ts +103 -0
- package/node_modules/@contrail/types/lib/type-properties/type-property.js +39 -0
- package/node_modules/@contrail/types/lib/type-property-policies/index.d.ts +1 -0
- package/node_modules/@contrail/types/lib/type-property-policies/index.js +17 -0
- package/node_modules/@contrail/types/lib/type-property-policies/type-property-policy.d.ts +9 -0
- package/node_modules/@contrail/types/lib/type-property-policies/type-property-policy.js +2 -0
- package/node_modules/@contrail/types/lib/type-roots/index.d.ts +1 -0
- package/node_modules/@contrail/types/lib/type-roots/index.js +17 -0
- package/node_modules/@contrail/types/lib/type-roots/type-root.d.ts +7 -0
- package/node_modules/@contrail/types/lib/type-roots/type-root.js +2 -0
- package/node_modules/@contrail/types/lib/type-rule-sets/index.d.ts +1 -0
- package/node_modules/@contrail/types/lib/type-rule-sets/index.js +17 -0
- package/node_modules/@contrail/types/lib/type-rule-sets/type-rules.d.ts +18 -0
- package/node_modules/@contrail/types/lib/type-rule-sets/type-rules.js +2 -0
- package/node_modules/@contrail/types/lib/types/index.d.ts +1 -0
- package/node_modules/@contrail/types/lib/types/index.js +17 -0
- package/node_modules/@contrail/types/lib/types/type.d.ts +28 -0
- package/node_modules/@contrail/types/lib/types/type.js +2 -0
- package/node_modules/@contrail/types/lib/types-processor/index.d.ts +3 -0
- package/node_modules/@contrail/types/lib/types-processor/index.js +19 -0
- package/node_modules/@contrail/types/lib/types-processor/interfaces.d.ts +32 -0
- package/node_modules/@contrail/types/lib/types-processor/interfaces.js +2 -0
- package/node_modules/@contrail/types/lib/types-processor/parse-optionSet.d.ts +3 -0
- package/node_modules/@contrail/types/lib/types-processor/parse-optionSet.js +57 -0
- package/node_modules/@contrail/types/lib/types-processor/process-orchestrator.d.ts +13 -0
- package/node_modules/@contrail/types/lib/types-processor/process-orchestrator.js +300 -0
- package/node_modules/@contrail/types/lib/types-processor/type-creation-helper.d.ts +10 -0
- package/node_modules/@contrail/types/lib/types-processor/type-creation-helper.js +147 -0
- package/node_modules/@contrail/types/package.json +46 -0
- package/node_modules/@contrail/util/CHANGELOG.md +17 -0
- package/node_modules/@contrail/util/README.md +1 -0
- package/node_modules/@contrail/util/lib/app-util/app-util.d.ts +25 -0
- package/node_modules/@contrail/util/lib/app-util/app-util.js +72 -0
- package/node_modules/@contrail/util/lib/compression-util/compression.d.ts +2 -0
- package/node_modules/@contrail/util/lib/compression-util/compression.js +25 -0
- package/node_modules/@contrail/util/lib/compression-util/index.d.ts +1 -0
- package/node_modules/@contrail/util/lib/compression-util/index.js +17 -0
- package/node_modules/@contrail/util/lib/date-util/date-util.d.ts +4 -0
- package/node_modules/@contrail/util/lib/date-util/date-util.js +8 -0
- package/node_modules/@contrail/util/lib/date-util/getIsoDatePart/getIsoDatePart.d.ts +1 -0
- package/node_modules/@contrail/util/lib/date-util/getIsoDatePart/getIsoDatePart.js +16 -0
- package/node_modules/@contrail/util/lib/index.d.ts +11 -0
- package/node_modules/@contrail/util/lib/index.js +27 -0
- package/node_modules/@contrail/util/lib/map-util/map-util.d.ts +3 -0
- package/node_modules/@contrail/util/lib/map-util/map-util.js +18 -0
- package/node_modules/@contrail/util/lib/object-util/applyChangesIfEqual/applyChangesIfEqual.d.ts +4 -0
- package/node_modules/@contrail/util/lib/object-util/applyChangesIfEqual/applyChangesIfEqual.js +83 -0
- package/node_modules/@contrail/util/lib/object-util/cloneDeep/cloneDeep.d.ts +9 -0
- package/node_modules/@contrail/util/lib/object-util/cloneDeep/cloneDeep.js +8 -0
- package/node_modules/@contrail/util/lib/object-util/cloneDeepPreserveDates/cloneDeepPreserveDates.d.ts +6 -0
- package/node_modules/@contrail/util/lib/object-util/cloneDeepPreserveDates/cloneDeepPreserveDates.js +37 -0
- package/node_modules/@contrail/util/lib/object-util/compareDeep/compareDeep.d.ts +7 -0
- package/node_modules/@contrail/util/lib/object-util/compareDeep/compareDeep.js +96 -0
- package/node_modules/@contrail/util/lib/object-util/compareDeep/mockData.d.ts +88 -0
- package/node_modules/@contrail/util/lib/object-util/compareDeep/mockData.js +91 -0
- package/node_modules/@contrail/util/lib/object-util/flattenObject/flattenObject.d.ts +4 -0
- package/node_modules/@contrail/util/lib/object-util/flattenObject/flattenObject.js +60 -0
- package/node_modules/@contrail/util/lib/object-util/isObject/isObject.d.ts +1 -0
- package/node_modules/@contrail/util/lib/object-util/isObject/isObject.js +6 -0
- package/node_modules/@contrail/util/lib/object-util/mergeDeep/mergeDeep.d.ts +1 -0
- package/node_modules/@contrail/util/lib/object-util/mergeDeep/mergeDeep.js +25 -0
- package/node_modules/@contrail/util/lib/object-util/object-util.d.ts +26 -0
- package/node_modules/@contrail/util/lib/object-util/object-util.js +91 -0
- package/node_modules/@contrail/util/lib/object-util/retainOnlyProperties/retainOnlyProperties.d.ts +8 -0
- package/node_modules/@contrail/util/lib/object-util/retainOnlyProperties/retainOnlyProperties.js +30 -0
- package/node_modules/@contrail/util/lib/order-util/order-util.d.ts +3 -0
- package/node_modules/@contrail/util/lib/order-util/order-util.js +13 -0
- package/node_modules/@contrail/util/lib/performance-util/example-usage.d.ts +1 -0
- package/node_modules/@contrail/util/lib/performance-util/example-usage.js +298 -0
- package/node_modules/@contrail/util/lib/performance-util/performance-util.d.ts +35 -0
- package/node_modules/@contrail/util/lib/performance-util/performance-util.js +257 -0
- package/node_modules/@contrail/util/lib/promise-util/promise-util.d.ts +4 -0
- package/node_modules/@contrail/util/lib/promise-util/promise-util.js +34 -0
- package/node_modules/@contrail/util/lib/retry-util/retry-util.d.ts +6 -0
- package/node_modules/@contrail/util/lib/retry-util/retry-util.js +41 -0
- package/node_modules/@contrail/util/lib/string-util/string-util.d.ts +10 -0
- package/node_modules/@contrail/util/lib/string-util/string-util.js +85 -0
- package/node_modules/@contrail/util/lib/timer-util/timer-util.d.ts +32 -0
- package/node_modules/@contrail/util/lib/timer-util/timer-util.js +119 -0
- package/node_modules/@contrail/util/package.json +46 -0
- package/node_modules/@streamparser/json/.eslintrc.js +16 -0
- package/node_modules/@streamparser/json/.github/workflows/on-push.yaml +33 -0
- package/node_modules/@streamparser/json/.github/workflows/on-release.yaml +19 -0
- package/node_modules/@streamparser/json/LICENSE +21 -0
- package/node_modules/@streamparser/json/README.md +329 -0
- package/node_modules/@streamparser/json/build.deno.js +57 -0
- package/node_modules/@streamparser/json/build.mjs.js +35 -0
- package/node_modules/@streamparser/json/dist/cjs/index.d.ts +5 -0
- package/node_modules/@streamparser/json/dist/cjs/index.js +12 -0
- package/node_modules/@streamparser/json/dist/cjs/jsonparser.d.ts +18 -0
- package/node_modules/@streamparser/json/dist/cjs/jsonparser.js +46 -0
- package/node_modules/@streamparser/json/dist/cjs/tokenizer.d.ts +45 -0
- package/node_modules/@streamparser/json/dist/cjs/tokenizer.js +517 -0
- package/node_modules/@streamparser/json/dist/cjs/tokenparser.d.ts +55 -0
- package/node_modules/@streamparser/json/dist/cjs/tokenparser.js +269 -0
- package/node_modules/@streamparser/json/dist/cjs/utils/bufferedString.d.ts +29 -0
- package/node_modules/@streamparser/json/dist/cjs/utils/bufferedString.js +63 -0
- package/node_modules/@streamparser/json/dist/cjs/utils/constants.d.ts +14 -0
- package/node_modules/@streamparser/json/dist/cjs/utils/constants.js +18 -0
- package/node_modules/@streamparser/json/dist/cjs/utils/types.d.ts +7 -0
- package/node_modules/@streamparser/json/dist/cjs/utils/types.js +2 -0
- package/node_modules/@streamparser/json/dist/cjs/utils/utf-8.d.ts +105 -0
- package/node_modules/@streamparser/json/dist/cjs/utils/utf-8.js +116 -0
- package/node_modules/@streamparser/json/dist/deno/README.md +329 -0
- package/node_modules/@streamparser/json/dist/deno/index.ts +5 -0
- package/node_modules/@streamparser/json/dist/deno/jsonparser.ts +65 -0
- package/node_modules/@streamparser/json/dist/deno/tokenizer.ts +678 -0
- package/node_modules/@streamparser/json/dist/deno/tokenparser.ts +390 -0
- package/node_modules/@streamparser/json/dist/deno/utils/bufferedString.ts +75 -0
- package/node_modules/@streamparser/json/dist/deno/utils/constants.ts +14 -0
- package/node_modules/@streamparser/json/dist/deno/utils/types.ts +5 -0
- package/node_modules/@streamparser/json/dist/deno/utils/utf-8.ts +113 -0
- package/node_modules/@streamparser/json/dist/mjs/index.d.ts +5 -0
- package/node_modules/@streamparser/json/dist/mjs/jsonparser.d.ts +18 -0
- package/node_modules/@streamparser/json/dist/mjs/tokenizer.d.ts +45 -0
- package/node_modules/@streamparser/json/dist/mjs/tokenparser.d.ts +55 -0
- package/node_modules/@streamparser/json/dist/mjs/utils/bufferedString.d.ts +29 -0
- package/node_modules/@streamparser/json/dist/mjs/utils/constants.d.ts +14 -0
- package/node_modules/@streamparser/json/dist/mjs/utils/types.d.ts +7 -0
- package/node_modules/@streamparser/json/dist/mjs/utils/utf-8.d.ts +105 -0
- package/node_modules/@streamparser/json/dist/umd/index.d.ts +5 -0
- package/node_modules/@streamparser/json/dist/umd/index.js +1111 -0
- package/node_modules/@streamparser/json/dist/umd/jsonparser.d.ts +18 -0
- package/node_modules/@streamparser/json/dist/umd/tokenizer.d.ts +45 -0
- package/node_modules/@streamparser/json/dist/umd/tokenparser.d.ts +55 -0
- package/node_modules/@streamparser/json/dist/umd/utils/bufferedString.d.ts +29 -0
- package/node_modules/@streamparser/json/dist/umd/utils/constants.d.ts +14 -0
- package/node_modules/@streamparser/json/dist/umd/utils/types.d.ts +7 -0
- package/node_modules/@streamparser/json/dist/umd/utils/utf-8.d.ts +105 -0
- package/node_modules/@streamparser/json/package.json +45 -0
- package/node_modules/@streamparser/json/performance/index.deno.ts +61 -0
- package/node_modules/@streamparser/json/performance/index.node.mjs +62 -0
- package/node_modules/@streamparser/json/performance/package-lock.json +32 -0
- package/node_modules/@streamparser/json/performance/package.json +17 -0
- package/node_modules/@streamparser/json/rollup.config.js +22 -0
- package/node_modules/@streamparser/json/samplejson/basic-no-numbers.json +353 -0
- package/node_modules/@streamparser/json/samplejson/basic.json +353 -0
- package/node_modules/@streamparser/json/src/index.ts +5 -0
- package/node_modules/@streamparser/json/src/jsonparser.ts +65 -0
- package/node_modules/@streamparser/json/src/tokenizer.ts +678 -0
- package/node_modules/@streamparser/json/src/tokenparser.ts +390 -0
- package/node_modules/@streamparser/json/src/utils/bufferedString.ts +75 -0
- package/node_modules/@streamparser/json/src/utils/constants.ts +14 -0
- package/node_modules/@streamparser/json/src/utils/types.ts +5 -0
- package/node_modules/@streamparser/json/src/utils/utf-8.ts +113 -0
- package/node_modules/@streamparser/json/test/callbacks.ts +89 -0
- package/node_modules/@streamparser/json/test/end.ts +127 -0
- package/node_modules/@streamparser/json/test/inputs.ts +89 -0
- package/node_modules/@streamparser/json/test/keepStack.ts +45 -0
- package/node_modules/@streamparser/json/test/offset.ts +89 -0
- package/node_modules/@streamparser/json/test/performance.ts +151 -0
- package/node_modules/@streamparser/json/test/selectors.ts +87 -0
- package/node_modules/@streamparser/json/test/separator.ts +106 -0
- package/node_modules/@streamparser/json/test/types/arrays.ts +108 -0
- package/node_modules/@streamparser/json/test/types/booleans.ts +75 -0
- package/node_modules/@streamparser/json/test/types/null.ts +67 -0
- package/node_modules/@streamparser/json/test/types/numbers.ts +117 -0
- package/node_modules/@streamparser/json/test/types/objects.ts +134 -0
- package/node_modules/@streamparser/json/test/types/strings.ts +233 -0
- package/node_modules/@streamparser/json/tsconfig.json +18 -0
- package/node_modules/amazon-cognito-identity-js/.eslintignore +1 -0
- package/node_modules/amazon-cognito-identity-js/.eslintrc.yaml +30 -0
- package/node_modules/amazon-cognito-identity-js/CHANGELOG.md +1756 -0
- package/node_modules/amazon-cognito-identity-js/LICENSE.txt +73 -0
- package/node_modules/amazon-cognito-identity-js/NOTICE.txt +63 -0
- package/node_modules/amazon-cognito-identity-js/README.md +1121 -0
- package/node_modules/amazon-cognito-identity-js/RNAWSCognito.podspec +23 -0
- package/node_modules/amazon-cognito-identity-js/__mocks__/mocks.js +73 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/AuthenticationDetails.test.js +32 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/AuthenticationHelper.test.js +893 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/BigInteger.test.js +17 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/Client.test.js +108 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/CognitoAccessToken.test.js +16 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/CognitoIdToken.test.js +8 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/CognitoJwtToken.test.js +40 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/CognitoRefreshToken.test.js +13 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/CognitoUser.test.js +1660 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/CognitoUserAttribute.test.js +57 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/CognitoUserPool.test.js +92 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/CognitoUserSession.test.js +78 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/CookieStorage.test.js +72 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/DateHelper.test.js +12 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/StorageHelper.test.js +65 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/StorageHelperRN.test.js +120 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/UserAgent.test.js +42 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/UserAgentDefault.test.js +9 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/constants.js +122 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/cryptoSecureRandomInt.test.js +59 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/index.test.js +23 -0
- package/node_modules/amazon-cognito-identity-js/__tests__/util.js +24 -0
- package/node_modules/amazon-cognito-identity-js/android/.gradle/5.4/fileChanges/last-build.bin +0 -0
- package/node_modules/amazon-cognito-identity-js/android/.gradle/5.4/fileHashes/fileHashes.lock +0 -0
- package/node_modules/amazon-cognito-identity-js/android/.gradle/5.4/gc.properties +0 -0
- package/node_modules/amazon-cognito-identity-js/android/.gradle/vcs-1/gc.properties +0 -0
- package/node_modules/amazon-cognito-identity-js/android/.project +17 -0
- package/node_modules/amazon-cognito-identity-js/android/.settings/org.eclipse.buildship.core.prefs +13 -0
- package/node_modules/amazon-cognito-identity-js/android/build.gradle +38 -0
- package/node_modules/amazon-cognito-identity-js/android/src/main/AndroidManifest.xml +4 -0
- package/node_modules/amazon-cognito-identity-js/android/src/main/java/com/amazonaws/RNAWSCognitoModule.java +88 -0
- package/node_modules/amazon-cognito-identity-js/android/src/main/java/com/amazonaws/RNAWSCognitoPackage.java +27 -0
- package/node_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.js +8036 -0
- package/node_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.min.js +40 -0
- package/node_modules/amazon-cognito-identity-js/dist/amazon-cognito-identity.min.js.gz +0 -0
- package/node_modules/amazon-cognito-identity-js/enhance-rn.js +50 -0
- package/node_modules/amazon-cognito-identity-js/es/AuthenticationDetails.js +66 -0
- package/node_modules/amazon-cognito-identity-js/es/AuthenticationHelper.js +343 -0
- package/node_modules/amazon-cognito-identity-js/es/BigInteger.js +758 -0
- package/node_modules/amazon-cognito-identity-js/es/Client.js +215 -0
- package/node_modules/amazon-cognito-identity-js/es/CognitoAccessToken.js +24 -0
- package/node_modules/amazon-cognito-identity-js/es/CognitoIdToken.js +24 -0
- package/node_modules/amazon-cognito-identity-js/es/CognitoJwtToken.js +55 -0
- package/node_modules/amazon-cognito-identity-js/es/CognitoRefreshToken.js +27 -0
- package/node_modules/amazon-cognito-identity-js/es/CognitoUser.js +1807 -0
- package/node_modules/amazon-cognito-identity-js/es/CognitoUserAttribute.js +73 -0
- package/node_modules/amazon-cognito-identity-js/es/CognitoUserPool.js +174 -0
- package/node_modules/amazon-cognito-identity-js/es/CognitoUserSession.js +79 -0
- package/node_modules/amazon-cognito-identity-js/es/CookieStorage.js +112 -0
- package/node_modules/amazon-cognito-identity-js/es/DateHelper.js +41 -0
- package/node_modules/amazon-cognito-identity-js/es/Platform/index.js +34 -0
- package/node_modules/amazon-cognito-identity-js/es/Platform/version.js +2 -0
- package/node_modules/amazon-cognito-identity-js/es/StorageHelper-rn.js +102 -0
- package/node_modules/amazon-cognito-identity-js/es/StorageHelper.js +78 -0
- package/node_modules/amazon-cognito-identity-js/es/UserAgent.js +19 -0
- package/node_modules/amazon-cognito-identity-js/es/index.js +18 -0
- package/node_modules/amazon-cognito-identity-js/es/utils/WordArray.js +46 -0
- package/node_modules/amazon-cognito-identity-js/es/utils/cryptoSecureRandomInt.js +46 -0
- package/node_modules/amazon-cognito-identity-js/es/utils/cryptoSecureRandomInt.native.js +9 -0
- package/node_modules/amazon-cognito-identity-js/es/utils/cryptoSecureRandomInt.web.js +34 -0
- package/node_modules/amazon-cognito-identity-js/es/utils/getRandomBase64.native.js +5 -0
- package/node_modules/amazon-cognito-identity-js/es/utils/getRandomValues.native.js +58 -0
- package/node_modules/amazon-cognito-identity-js/index.d.ts +426 -0
- package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/JKBigDecimal.h +40 -0
- package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/JKBigDecimal.m +224 -0
- package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/JKBigInteger.h +58 -0
- package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/JKBigInteger.m +419 -0
- package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LICENSE.txt +18 -0
- package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath/tommath.c +6925 -0
- package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath/tommath.h +584 -0
- package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath/tommath_class.h +999 -0
- package/node_modules/amazon-cognito-identity-js/ios/JKBigInteger/LibTomMath/tommath_superclass.h +76 -0
- package/node_modules/amazon-cognito-identity-js/ios/RNAWSCognito.h +9 -0
- package/node_modules/amazon-cognito-identity-js/ios/RNAWSCognito.m +59 -0
- package/node_modules/amazon-cognito-identity-js/ios/RNAWSCognito.xcodeproj/project.pbxproj +295 -0
- package/node_modules/amazon-cognito-identity-js/ios/RNAWSCognito.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/node_modules/amazon-cognito-identity-js/jest.config.js +41 -0
- package/node_modules/amazon-cognito-identity-js/lib/AuthenticationDetails.js +70 -0
- package/node_modules/amazon-cognito-identity-js/lib/AuthenticationHelper.js +348 -0
- package/node_modules/amazon-cognito-identity-js/lib/BigInteger.js +760 -0
- package/node_modules/amazon-cognito-identity-js/lib/Client.js +220 -0
- package/node_modules/amazon-cognito-identity-js/lib/CognitoAccessToken.js +23 -0
- package/node_modules/amazon-cognito-identity-js/lib/CognitoIdToken.js +23 -0
- package/node_modules/amazon-cognito-identity-js/lib/CognitoJwtToken.js +57 -0
- package/node_modules/amazon-cognito-identity-js/lib/CognitoRefreshToken.js +31 -0
- package/node_modules/amazon-cognito-identity-js/lib/CognitoUser.js +1813 -0
- package/node_modules/amazon-cognito-identity-js/lib/CognitoUserAttribute.js +77 -0
- package/node_modules/amazon-cognito-identity-js/lib/CognitoUserPool.js +179 -0
- package/node_modules/amazon-cognito-identity-js/lib/CognitoUserSession.js +83 -0
- package/node_modules/amazon-cognito-identity-js/lib/CookieStorage.js +117 -0
- package/node_modules/amazon-cognito-identity-js/lib/DateHelper.js +45 -0
- package/node_modules/amazon-cognito-identity-js/lib/Platform/index.js +42 -0
- package/node_modules/amazon-cognito-identity-js/lib/Platform/version.js +7 -0
- package/node_modules/amazon-cognito-identity-js/lib/StorageHelper-rn.js +107 -0
- package/node_modules/amazon-cognito-identity-js/lib/StorageHelper.js +82 -0
- package/node_modules/amazon-cognito-identity-js/lib/UserAgent.js +25 -0
- package/node_modules/amazon-cognito-identity-js/lib/index.js +31 -0
- package/node_modules/amazon-cognito-identity-js/lib/utils/WordArray.js +50 -0
- package/node_modules/amazon-cognito-identity-js/lib/utils/cryptoSecureRandomInt.js +50 -0
- package/node_modules/amazon-cognito-identity-js/lib/utils/cryptoSecureRandomInt.native.js +13 -0
- package/node_modules/amazon-cognito-identity-js/lib/utils/cryptoSecureRandomInt.web.js +38 -0
- package/node_modules/amazon-cognito-identity-js/lib/utils/getRandomBase64.native.js +10 -0
- package/node_modules/amazon-cognito-identity-js/lib/utils/getRandomValues.native.js +63 -0
- package/node_modules/amazon-cognito-identity-js/package.json +94 -0
- package/node_modules/amazon-cognito-identity-js/src/AuthenticationDetails.js +65 -0
- package/node_modules/amazon-cognito-identity-js/src/AuthenticationHelper.js +416 -0
- package/node_modules/amazon-cognito-identity-js/src/BigInteger.js +809 -0
- package/node_modules/amazon-cognito-identity-js/src/Client.js +224 -0
- package/node_modules/amazon-cognito-identity-js/src/CognitoAccessToken.js +17 -0
- package/node_modules/amazon-cognito-identity-js/src/CognitoIdToken.js +17 -0
- package/node_modules/amazon-cognito-identity-js/src/CognitoJwtToken.js +52 -0
- package/node_modules/amazon-cognito-identity-js/src/CognitoRefreshToken.js +23 -0
- package/node_modules/amazon-cognito-identity-js/src/CognitoUser.js +2205 -0
- package/node_modules/amazon-cognito-identity-js/src/CognitoUserAttribute.js +68 -0
- package/node_modules/amazon-cognito-identity-js/src/CognitoUserPool.js +194 -0
- package/node_modules/amazon-cognito-identity-js/src/CognitoUserSession.js +82 -0
- package/node_modules/amazon-cognito-identity-js/src/CookieStorage.js +117 -0
- package/node_modules/amazon-cognito-identity-js/src/DateHelper.js +56 -0
- package/node_modules/amazon-cognito-identity-js/src/Platform/index.js +38 -0
- package/node_modules/amazon-cognito-identity-js/src/Platform/version.js +2 -0
- package/node_modules/amazon-cognito-identity-js/src/StorageHelper-rn.js +99 -0
- package/node_modules/amazon-cognito-identity-js/src/StorageHelper.js +75 -0
- package/node_modules/amazon-cognito-identity-js/src/UserAgent.js +26 -0
- package/node_modules/amazon-cognito-identity-js/src/index.js +18 -0
- package/node_modules/amazon-cognito-identity-js/src/utils/WordArray.js +50 -0
- package/node_modules/amazon-cognito-identity-js/src/utils/cryptoSecureRandomInt.js +49 -0
- package/node_modules/amazon-cognito-identity-js/src/utils/cryptoSecureRandomInt.native.js +9 -0
- package/node_modules/amazon-cognito-identity-js/src/utils/cryptoSecureRandomInt.web.js +37 -0
- package/node_modules/amazon-cognito-identity-js/src/utils/getRandomBase64.native.js +12 -0
- package/node_modules/amazon-cognito-identity-js/src/utils/getRandomValues.native.js +61 -0
- package/node_modules/amazon-cognito-identity-js/webpack.config.js +58 -0
- package/node_modules/asynckit/LICENSE +21 -0
- package/node_modules/asynckit/README.md +233 -0
- package/node_modules/asynckit/bench.js +76 -0
- package/node_modules/asynckit/index.js +6 -0
- package/node_modules/asynckit/lib/abort.js +29 -0
- package/node_modules/asynckit/lib/async.js +34 -0
- package/node_modules/asynckit/lib/defer.js +26 -0
- package/node_modules/asynckit/lib/iterate.js +75 -0
- package/node_modules/asynckit/lib/readable_asynckit.js +91 -0
- package/node_modules/asynckit/lib/readable_parallel.js +25 -0
- package/node_modules/asynckit/lib/readable_serial.js +25 -0
- package/node_modules/asynckit/lib/readable_serial_ordered.js +29 -0
- package/node_modules/asynckit/lib/state.js +37 -0
- package/node_modules/asynckit/lib/streamify.js +141 -0
- package/node_modules/asynckit/lib/terminator.js +29 -0
- package/node_modules/asynckit/package.json +63 -0
- package/node_modules/asynckit/parallel.js +43 -0
- package/node_modules/asynckit/serial.js +17 -0
- package/node_modules/asynckit/serialOrdered.js +75 -0
- package/node_modules/asynckit/stream.js +21 -0
- package/node_modules/base64-js/LICENSE +21 -0
- package/node_modules/base64-js/README.md +34 -0
- package/node_modules/base64-js/base64js.min.js +1 -0
- package/node_modules/base64-js/index.d.ts +3 -0
- package/node_modules/base64-js/index.js +150 -0
- package/node_modules/base64-js/package.json +47 -0
- package/node_modules/buffer/.travis.yml +8 -0
- package/node_modules/buffer/AUTHORS.md +44 -0
- package/node_modules/buffer/LICENSE +21 -0
- package/node_modules/buffer/README.md +378 -0
- package/node_modules/buffer/bin/download-node-tests.js +106 -0
- package/node_modules/buffer/bin/test.js +41 -0
- package/node_modules/buffer/bin/update-authors.sh +21 -0
- package/node_modules/buffer/bin/zuul-es5.yml +14 -0
- package/node_modules/buffer/bin/zuul-es6.yml +6 -0
- package/node_modules/buffer/index.js +1789 -0
- package/node_modules/buffer/package.json +77 -0
- package/node_modules/buffer/test/_polyfill.js +150 -0
- package/node_modules/buffer/test/base64.js +47 -0
- package/node_modules/buffer/test/basic.js +85 -0
- package/node_modules/buffer/test/compare.js +59 -0
- package/node_modules/buffer/test/constructor.js +193 -0
- package/node_modules/buffer/test/from-string.js +132 -0
- package/node_modules/buffer/test/is-buffer.js +22 -0
- package/node_modules/buffer/test/methods.js +127 -0
- package/node_modules/buffer/test/node/test-buffer-alloc.js +1501 -0
- package/node_modules/buffer/test/node/test-buffer-arraybuffer.js +112 -0
- package/node_modules/buffer/test/node/test-buffer-ascii.js +28 -0
- package/node_modules/buffer/test/node/test-buffer-bad-overload.js +18 -0
- package/node_modules/buffer/test/node/test-buffer-badhex.js +46 -0
- package/node_modules/buffer/test/node/test-buffer-bytelength.js +90 -0
- package/node_modules/buffer/test/node/test-buffer-compare-offset.js +66 -0
- package/node_modules/buffer/test/node/test-buffer-concat.js +40 -0
- package/node_modules/buffer/test/node/test-buffer-fill.js +272 -0
- package/node_modules/buffer/test/node/test-buffer-includes.js +305 -0
- package/node_modules/buffer/test/node/test-buffer-indexof.js +523 -0
- package/node_modules/buffer/test/node/test-buffer-inheritance.js +42 -0
- package/node_modules/buffer/test/node/test-buffer-inspect.js +41 -0
- package/node_modules/buffer/test/node/test-buffer-iterator.js +65 -0
- package/node_modules/buffer/test/node/test-buffer-safe-unsafe.js +27 -0
- package/node_modules/buffer/test/node/test-buffer-slow.js +63 -0
- package/node_modules/buffer/test/node/test-buffer-swap.js +141 -0
- package/node_modules/buffer/test/node/test-buffer-zero-fill-cli.js +35 -0
- package/node_modules/buffer/test/node/test-buffer-zero-fill-reset.js +22 -0
- package/node_modules/buffer/test/node/test-buffer.js +1534 -0
- package/node_modules/buffer/test/slice.js +37 -0
- package/node_modules/buffer/test/static.js +17 -0
- package/node_modules/buffer/test/to-string.js +233 -0
- package/node_modules/buffer/test/write.js +131 -0
- package/node_modules/buffer/test/write_infinity.js +45 -0
- package/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
- package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/test/index.js +63 -0
- package/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
- package/node_modules/combined-stream/License +19 -0
- package/node_modules/combined-stream/Readme.md +138 -0
- package/node_modules/combined-stream/lib/combined_stream.js +208 -0
- package/node_modules/combined-stream/package.json +25 -0
- package/node_modules/crypto-js/CONTRIBUTING.md +28 -0
- package/node_modules/crypto-js/LICENSE +24 -0
- package/node_modules/crypto-js/README.md +275 -0
- package/node_modules/crypto-js/aes.js +234 -0
- package/node_modules/crypto-js/blowfish.js +471 -0
- package/node_modules/crypto-js/bower.json +39 -0
- package/node_modules/crypto-js/cipher-core.js +895 -0
- package/node_modules/crypto-js/core.js +807 -0
- package/node_modules/crypto-js/crypto-js.js +6657 -0
- package/node_modules/crypto-js/docs/QuickStartGuide.wiki +470 -0
- package/node_modules/crypto-js/enc-base64.js +136 -0
- package/node_modules/crypto-js/enc-base64url.js +148 -0
- package/node_modules/crypto-js/enc-hex.js +18 -0
- package/node_modules/crypto-js/enc-latin1.js +18 -0
- package/node_modules/crypto-js/enc-utf16.js +149 -0
- package/node_modules/crypto-js/enc-utf8.js +18 -0
- package/node_modules/crypto-js/evpkdf.js +134 -0
- package/node_modules/crypto-js/format-hex.js +66 -0
- package/node_modules/crypto-js/format-openssl.js +18 -0
- package/node_modules/crypto-js/hmac-md5.js +18 -0
- package/node_modules/crypto-js/hmac-ripemd160.js +18 -0
- package/node_modules/crypto-js/hmac-sha1.js +18 -0
- package/node_modules/crypto-js/hmac-sha224.js +18 -0
- package/node_modules/crypto-js/hmac-sha256.js +18 -0
- package/node_modules/crypto-js/hmac-sha3.js +18 -0
- package/node_modules/crypto-js/hmac-sha384.js +18 -0
- package/node_modules/crypto-js/hmac-sha512.js +18 -0
- package/node_modules/crypto-js/hmac.js +143 -0
- package/node_modules/crypto-js/index.js +18 -0
- package/node_modules/crypto-js/lib-typedarrays.js +76 -0
- package/node_modules/crypto-js/md5.js +268 -0
- package/node_modules/crypto-js/mode-cfb.js +80 -0
- package/node_modules/crypto-js/mode-ctr-gladman.js +116 -0
- package/node_modules/crypto-js/mode-ctr.js +58 -0
- package/node_modules/crypto-js/mode-ecb.js +40 -0
- package/node_modules/crypto-js/mode-ofb.js +54 -0
- package/node_modules/crypto-js/package.json +42 -0
- package/node_modules/crypto-js/pad-ansix923.js +49 -0
- package/node_modules/crypto-js/pad-iso10126.js +44 -0
- package/node_modules/crypto-js/pad-iso97971.js +40 -0
- package/node_modules/crypto-js/pad-nopadding.js +30 -0
- package/node_modules/crypto-js/pad-pkcs7.js +18 -0
- package/node_modules/crypto-js/pad-zeropadding.js +47 -0
- package/node_modules/crypto-js/pbkdf2.js +145 -0
- package/node_modules/crypto-js/rabbit-legacy.js +190 -0
- package/node_modules/crypto-js/rabbit.js +192 -0
- package/node_modules/crypto-js/rc4.js +139 -0
- package/node_modules/crypto-js/ripemd160.js +267 -0
- package/node_modules/crypto-js/sha1.js +150 -0
- package/node_modules/crypto-js/sha224.js +80 -0
- package/node_modules/crypto-js/sha256.js +199 -0
- package/node_modules/crypto-js/sha3.js +326 -0
- package/node_modules/crypto-js/sha384.js +83 -0
- package/node_modules/crypto-js/sha512.js +326 -0
- package/node_modules/crypto-js/tripledes.js +779 -0
- package/node_modules/crypto-js/x64-core.js +304 -0
- package/node_modules/delayed-stream/.npmignore +1 -0
- package/node_modules/delayed-stream/License +19 -0
- package/node_modules/delayed-stream/Makefile +7 -0
- package/node_modules/delayed-stream/Readme.md +141 -0
- package/node_modules/delayed-stream/lib/delayed_stream.js +107 -0
- package/node_modules/delayed-stream/package.json +27 -0
- package/node_modules/dunder-proto/.eslintrc +5 -0
- package/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/node_modules/dunder-proto/.nycrc +13 -0
- package/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/node_modules/dunder-proto/LICENSE +21 -0
- package/node_modules/dunder-proto/README.md +54 -0
- package/node_modules/dunder-proto/get.d.ts +5 -0
- package/node_modules/dunder-proto/get.js +30 -0
- package/node_modules/dunder-proto/package.json +76 -0
- package/node_modules/dunder-proto/set.d.ts +5 -0
- package/node_modules/dunder-proto/set.js +35 -0
- package/node_modules/dunder-proto/test/get.js +34 -0
- package/node_modules/dunder-proto/test/index.js +4 -0
- package/node_modules/dunder-proto/test/set.js +50 -0
- package/node_modules/dunder-proto/tsconfig.json +9 -0
- package/node_modules/es-define-property/.eslintrc +13 -0
- package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/node_modules/es-define-property/.nycrc +9 -0
- package/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/node_modules/es-define-property/LICENSE +21 -0
- package/node_modules/es-define-property/README.md +49 -0
- package/node_modules/es-define-property/index.d.ts +3 -0
- package/node_modules/es-define-property/index.js +14 -0
- package/node_modules/es-define-property/package.json +81 -0
- package/node_modules/es-define-property/test/index.js +56 -0
- package/node_modules/es-define-property/tsconfig.json +10 -0
- package/node_modules/es-errors/.eslintrc +5 -0
- package/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/node_modules/es-errors/CHANGELOG.md +40 -0
- package/node_modules/es-errors/LICENSE +21 -0
- package/node_modules/es-errors/README.md +55 -0
- package/node_modules/es-errors/eval.d.ts +3 -0
- package/node_modules/es-errors/eval.js +4 -0
- package/node_modules/es-errors/index.d.ts +3 -0
- package/node_modules/es-errors/index.js +4 -0
- package/node_modules/es-errors/package.json +80 -0
- package/node_modules/es-errors/range.d.ts +3 -0
- package/node_modules/es-errors/range.js +4 -0
- package/node_modules/es-errors/ref.d.ts +3 -0
- package/node_modules/es-errors/ref.js +4 -0
- package/node_modules/es-errors/syntax.d.ts +3 -0
- package/node_modules/es-errors/syntax.js +4 -0
- package/node_modules/es-errors/test/index.js +19 -0
- package/node_modules/es-errors/tsconfig.json +49 -0
- package/node_modules/es-errors/type.d.ts +3 -0
- package/node_modules/es-errors/type.js +4 -0
- package/node_modules/es-errors/uri.d.ts +3 -0
- package/node_modules/es-errors/uri.js +4 -0
- package/node_modules/es-object-atoms/.eslintrc +16 -0
- package/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/node_modules/es-object-atoms/CHANGELOG.md +37 -0
- package/node_modules/es-object-atoms/LICENSE +21 -0
- package/node_modules/es-object-atoms/README.md +63 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/node_modules/es-object-atoms/ToObject.js +10 -0
- package/node_modules/es-object-atoms/index.d.ts +3 -0
- package/node_modules/es-object-atoms/index.js +4 -0
- package/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/node_modules/es-object-atoms/isObject.js +6 -0
- package/node_modules/es-object-atoms/package.json +80 -0
- package/node_modules/es-object-atoms/test/index.js +38 -0
- package/node_modules/es-object-atoms/tsconfig.json +6 -0
- package/node_modules/es-set-tostringtag/.eslintrc +13 -0
- package/node_modules/es-set-tostringtag/.nycrc +9 -0
- package/node_modules/es-set-tostringtag/CHANGELOG.md +67 -0
- package/node_modules/es-set-tostringtag/LICENSE +21 -0
- package/node_modules/es-set-tostringtag/README.md +53 -0
- package/node_modules/es-set-tostringtag/index.d.ts +10 -0
- package/node_modules/es-set-tostringtag/index.js +35 -0
- package/node_modules/es-set-tostringtag/package.json +78 -0
- package/node_modules/es-set-tostringtag/test/index.js +85 -0
- package/node_modules/es-set-tostringtag/tsconfig.json +9 -0
- package/node_modules/es6-promisify/LICENSE +19 -0
- package/node_modules/es6-promisify/README.md +99 -0
- package/node_modules/es6-promisify/dist/promisify.js +76 -0
- package/node_modules/es6-promisify/package.json +41 -0
- package/node_modules/fast-base64-decode/index.d.ts +2 -0
- package/node_modules/fast-base64-decode/index.js +33 -0
- package/node_modules/fast-base64-decode/package.json +21 -0
- package/node_modules/fast-base64-decode/readme.md +21 -0
- package/node_modules/fflate/CHANGELOG.md +115 -0
- package/node_modules/fflate/LICENSE +21 -0
- package/node_modules/fflate/README.md +558 -0
- package/node_modules/fflate/esm/browser.d.ts +1501 -0
- package/node_modules/fflate/esm/browser.js +2665 -0
- package/node_modules/fflate/esm/index.d.mts +1501 -0
- package/node_modules/fflate/esm/index.mjs +2679 -0
- package/node_modules/fflate/lib/browser.cjs +2688 -0
- package/node_modules/fflate/lib/browser.d.cts +1501 -0
- package/node_modules/fflate/lib/index.cjs +2668 -0
- package/node_modules/fflate/lib/index.d.ts +1501 -0
- package/node_modules/fflate/lib/node-worker.cjs +32 -0
- package/node_modules/fflate/lib/node.cjs +2700 -0
- package/node_modules/fflate/lib/node.d.cts +1501 -0
- package/node_modules/fflate/lib/worker.cjs +20 -0
- package/node_modules/fflate/package.json +127 -0
- package/node_modules/fflate/umd/index.js +1 -0
- package/node_modules/form-data/CHANGELOG.md +601 -0
- package/node_modules/form-data/License +19 -0
- package/node_modules/form-data/README.md +355 -0
- package/node_modules/form-data/index.d.ts +62 -0
- package/node_modules/form-data/lib/browser.js +4 -0
- package/node_modules/form-data/lib/form_data.js +494 -0
- package/node_modules/form-data/lib/populate.js +10 -0
- package/node_modules/form-data/package.json +82 -0
- package/node_modules/function-bind/.eslintrc +21 -0
- package/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/node_modules/function-bind/.nycrc +13 -0
- package/node_modules/function-bind/CHANGELOG.md +136 -0
- package/node_modules/function-bind/LICENSE +20 -0
- package/node_modules/function-bind/README.md +46 -0
- package/node_modules/function-bind/implementation.js +84 -0
- package/node_modules/function-bind/index.js +5 -0
- package/node_modules/function-bind/package.json +87 -0
- package/node_modules/function-bind/test/.eslintrc +9 -0
- package/node_modules/function-bind/test/index.js +252 -0
- package/node_modules/get-intrinsic/.eslintrc +42 -0
- package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/node_modules/get-intrinsic/.nycrc +9 -0
- package/node_modules/get-intrinsic/CHANGELOG.md +186 -0
- package/node_modules/get-intrinsic/LICENSE +21 -0
- package/node_modules/get-intrinsic/README.md +71 -0
- package/node_modules/get-intrinsic/index.js +378 -0
- package/node_modules/get-intrinsic/package.json +97 -0
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/node_modules/get-proto/.eslintrc +10 -0
- package/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/node_modules/get-proto/.nycrc +9 -0
- package/node_modules/get-proto/CHANGELOG.md +21 -0
- package/node_modules/get-proto/LICENSE +21 -0
- package/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/node_modules/get-proto/README.md +50 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/node_modules/get-proto/index.d.ts +5 -0
- package/node_modules/get-proto/index.js +27 -0
- package/node_modules/get-proto/package.json +81 -0
- package/node_modules/get-proto/test/index.js +68 -0
- package/node_modules/get-proto/tsconfig.json +9 -0
- package/node_modules/gopd/.eslintrc +16 -0
- package/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/node_modules/gopd/CHANGELOG.md +45 -0
- package/node_modules/gopd/LICENSE +21 -0
- package/node_modules/gopd/README.md +40 -0
- package/node_modules/gopd/gOPD.d.ts +1 -0
- package/node_modules/gopd/gOPD.js +4 -0
- package/node_modules/gopd/index.d.ts +5 -0
- package/node_modules/gopd/index.js +15 -0
- package/node_modules/gopd/package.json +77 -0
- package/node_modules/gopd/test/index.js +36 -0
- package/node_modules/gopd/tsconfig.json +9 -0
- package/node_modules/has-symbols/.eslintrc +11 -0
- package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/node_modules/has-symbols/.nycrc +9 -0
- package/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/node_modules/has-symbols/LICENSE +21 -0
- package/node_modules/has-symbols/README.md +46 -0
- package/node_modules/has-symbols/index.d.ts +3 -0
- package/node_modules/has-symbols/index.js +14 -0
- package/node_modules/has-symbols/package.json +111 -0
- package/node_modules/has-symbols/shams.d.ts +3 -0
- package/node_modules/has-symbols/shams.js +45 -0
- package/node_modules/has-symbols/test/index.js +22 -0
- package/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/node_modules/has-symbols/test/tests.js +58 -0
- package/node_modules/has-symbols/tsconfig.json +10 -0
- package/node_modules/has-tostringtag/.eslintrc +5 -0
- package/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
- package/node_modules/has-tostringtag/.nycrc +13 -0
- package/node_modules/has-tostringtag/CHANGELOG.md +42 -0
- package/node_modules/has-tostringtag/LICENSE +21 -0
- package/node_modules/has-tostringtag/README.md +46 -0
- package/node_modules/has-tostringtag/index.d.ts +3 -0
- package/node_modules/has-tostringtag/index.js +8 -0
- package/node_modules/has-tostringtag/package.json +108 -0
- package/node_modules/has-tostringtag/shams.d.ts +3 -0
- package/node_modules/has-tostringtag/shams.js +8 -0
- package/node_modules/has-tostringtag/test/index.js +21 -0
- package/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
- package/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
- package/node_modules/has-tostringtag/test/tests.js +15 -0
- package/node_modules/has-tostringtag/tsconfig.json +49 -0
- package/node_modules/hasown/.eslintrc +5 -0
- package/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/node_modules/hasown/.nycrc +13 -0
- package/node_modules/hasown/CHANGELOG.md +40 -0
- package/node_modules/hasown/LICENSE +21 -0
- package/node_modules/hasown/README.md +40 -0
- package/node_modules/hasown/index.d.ts +3 -0
- package/node_modules/hasown/index.js +8 -0
- package/node_modules/hasown/package.json +92 -0
- package/node_modules/hasown/tsconfig.json +6 -0
- package/node_modules/ieee754/LICENSE +11 -0
- package/node_modules/ieee754/README.md +53 -0
- package/node_modules/ieee754/index.js +84 -0
- package/node_modules/ieee754/package.json +37 -0
- package/node_modules/isarray/.npmignore +1 -0
- package/node_modules/isarray/.travis.yml +4 -0
- package/node_modules/isarray/Makefile +6 -0
- package/node_modules/isarray/README.md +60 -0
- package/node_modules/isarray/component.json +19 -0
- package/node_modules/isarray/index.js +5 -0
- package/node_modules/isarray/package.json +45 -0
- package/node_modules/isarray/test.js +20 -0
- package/node_modules/isomorphic-unfetch/browser.js +1 -0
- package/node_modules/isomorphic-unfetch/index.d.ts +19 -0
- package/node_modules/isomorphic-unfetch/index.js +6 -0
- package/node_modules/isomorphic-unfetch/package.json +19 -0
- package/node_modules/isomorphic-unfetch/readme.md +53 -0
- package/node_modules/js-cookie/CONTRIBUTING.md +79 -0
- package/node_modules/js-cookie/LICENSE +21 -0
- package/node_modules/js-cookie/README.md +327 -0
- package/node_modules/js-cookie/SERVER_SIDE.md +107 -0
- package/node_modules/js-cookie/package.json +47 -0
- package/node_modules/js-cookie/src/js.cookie.js +163 -0
- package/node_modules/jsurl/.npmignore +2 -0
- package/node_modules/jsurl/.travis.yml +6 -0
- package/node_modules/jsurl/AUTHORS +3 -0
- package/node_modules/jsurl/README.md +76 -0
- package/node_modules/jsurl/bower.json +18 -0
- package/node_modules/jsurl/examples/demo.css +40 -0
- package/node_modules/jsurl/examples/demo.html +52 -0
- package/node_modules/jsurl/examples/simple.js +12 -0
- package/node_modules/jsurl/index.js +1 -0
- package/node_modules/jsurl/lib/jsurl.js +169 -0
- package/node_modules/jsurl/package.json +22 -0
- package/node_modules/jsurl/test/common/jsurlTest.js +83 -0
- package/node_modules/jsurl/test/index.js +25 -0
- package/node_modules/lodash/LICENSE +47 -0
- package/node_modules/lodash/README.md +39 -0
- package/node_modules/lodash/_DataView.js +7 -0
- package/node_modules/lodash/_Hash.js +32 -0
- package/node_modules/lodash/_LazyWrapper.js +28 -0
- package/node_modules/lodash/_ListCache.js +32 -0
- package/node_modules/lodash/_LodashWrapper.js +22 -0
- package/node_modules/lodash/_Map.js +7 -0
- package/node_modules/lodash/_MapCache.js +32 -0
- package/node_modules/lodash/_Promise.js +7 -0
- package/node_modules/lodash/_Set.js +7 -0
- package/node_modules/lodash/_SetCache.js +27 -0
- package/node_modules/lodash/_Stack.js +27 -0
- package/node_modules/lodash/_Symbol.js +6 -0
- package/node_modules/lodash/_Uint8Array.js +6 -0
- package/node_modules/lodash/_WeakMap.js +7 -0
- package/node_modules/lodash/_apply.js +21 -0
- package/node_modules/lodash/_arrayAggregator.js +22 -0
- package/node_modules/lodash/_arrayEach.js +22 -0
- package/node_modules/lodash/_arrayEachRight.js +21 -0
- package/node_modules/lodash/_arrayEvery.js +23 -0
- package/node_modules/lodash/_arrayFilter.js +25 -0
- package/node_modules/lodash/_arrayIncludes.js +17 -0
- package/node_modules/lodash/_arrayIncludesWith.js +22 -0
- package/node_modules/lodash/_arrayLikeKeys.js +49 -0
- package/node_modules/lodash/_arrayMap.js +21 -0
- package/node_modules/lodash/_arrayPush.js +20 -0
- package/node_modules/lodash/_arrayReduce.js +26 -0
- package/node_modules/lodash/_arrayReduceRight.js +24 -0
- package/node_modules/lodash/_arraySample.js +15 -0
- package/node_modules/lodash/_arraySampleSize.js +17 -0
- package/node_modules/lodash/_arrayShuffle.js +15 -0
- package/node_modules/lodash/_arraySome.js +23 -0
- package/node_modules/lodash/_asciiSize.js +12 -0
- package/node_modules/lodash/_asciiToArray.js +12 -0
- package/node_modules/lodash/_asciiWords.js +15 -0
- package/node_modules/lodash/_assignMergeValue.js +20 -0
- package/node_modules/lodash/_assignValue.js +28 -0
- package/node_modules/lodash/_assocIndexOf.js +21 -0
- package/node_modules/lodash/_baseAggregator.js +21 -0
- package/node_modules/lodash/_baseAssign.js +17 -0
- package/node_modules/lodash/_baseAssignIn.js +17 -0
- package/node_modules/lodash/_baseAssignValue.js +25 -0
- package/node_modules/lodash/_baseAt.js +23 -0
- package/node_modules/lodash/_baseClamp.js +22 -0
- package/node_modules/lodash/_baseClone.js +166 -0
- package/node_modules/lodash/_baseConforms.js +18 -0
- package/node_modules/lodash/_baseConformsTo.js +27 -0
- package/node_modules/lodash/_baseCreate.js +30 -0
- package/node_modules/lodash/_baseDelay.js +21 -0
- package/node_modules/lodash/_baseDifference.js +67 -0
- package/node_modules/lodash/_baseEach.js +14 -0
- package/node_modules/lodash/_baseEachRight.js +14 -0
- package/node_modules/lodash/_baseEvery.js +21 -0
- package/node_modules/lodash/_baseExtremum.js +32 -0
- package/node_modules/lodash/_baseFill.js +32 -0
- package/node_modules/lodash/_baseFilter.js +21 -0
- package/node_modules/lodash/_baseFindIndex.js +24 -0
- package/node_modules/lodash/_baseFindKey.js +23 -0
- package/node_modules/lodash/_baseFlatten.js +38 -0
- package/node_modules/lodash/_baseFor.js +16 -0
- package/node_modules/lodash/_baseForOwn.js +16 -0
- package/node_modules/lodash/_baseForOwnRight.js +16 -0
- package/node_modules/lodash/_baseForRight.js +15 -0
- package/node_modules/lodash/_baseFunctions.js +19 -0
- package/node_modules/lodash/_baseGet.js +24 -0
- package/node_modules/lodash/_baseGetAllKeys.js +20 -0
- package/node_modules/lodash/_baseGetTag.js +28 -0
- package/node_modules/lodash/_baseGt.js +14 -0
- package/node_modules/lodash/_baseHas.js +19 -0
- package/node_modules/lodash/_baseHasIn.js +13 -0
- package/node_modules/lodash/_baseInRange.js +18 -0
- package/node_modules/lodash/_baseIndexOf.js +20 -0
- package/node_modules/lodash/_baseIndexOfWith.js +23 -0
- package/node_modules/lodash/_baseIntersection.js +74 -0
- package/node_modules/lodash/_baseInverter.js +21 -0
- package/node_modules/lodash/_baseInvoke.js +24 -0
- package/node_modules/lodash/_baseIsArguments.js +18 -0
- package/node_modules/lodash/_baseIsArrayBuffer.js +17 -0
- package/node_modules/lodash/_baseIsDate.js +18 -0
- package/node_modules/lodash/_baseIsEqual.js +28 -0
- package/node_modules/lodash/_baseIsEqualDeep.js +83 -0
- package/node_modules/lodash/_baseIsMap.js +18 -0
- package/node_modules/lodash/_baseIsMatch.js +62 -0
- package/node_modules/lodash/_baseIsNaN.js +12 -0
- package/node_modules/lodash/_baseIsNative.js +47 -0
- package/node_modules/lodash/_baseIsRegExp.js +18 -0
- package/node_modules/lodash/_baseIsSet.js +18 -0
- package/node_modules/lodash/_baseIsTypedArray.js +60 -0
- package/node_modules/lodash/_baseIteratee.js +31 -0
- package/node_modules/lodash/_baseKeys.js +30 -0
- package/node_modules/lodash/_baseKeysIn.js +33 -0
- package/node_modules/lodash/_baseLodash.js +10 -0
- package/node_modules/lodash/_baseLt.js +14 -0
- package/node_modules/lodash/_baseMap.js +22 -0
- package/node_modules/lodash/_baseMatches.js +22 -0
- package/node_modules/lodash/_baseMatchesProperty.js +33 -0
- package/node_modules/lodash/_baseMean.js +20 -0
- package/node_modules/lodash/_baseMerge.js +42 -0
- package/node_modules/lodash/_baseMergeDeep.js +94 -0
- package/node_modules/lodash/_baseNth.js +20 -0
- package/node_modules/lodash/_baseOrderBy.js +49 -0
- package/node_modules/lodash/_basePick.js +19 -0
- package/node_modules/lodash/_basePickBy.js +30 -0
- package/node_modules/lodash/_baseProperty.js +14 -0
- package/node_modules/lodash/_basePropertyDeep.js +16 -0
- package/node_modules/lodash/_basePropertyOf.js +14 -0
- package/node_modules/lodash/_basePullAll.js +51 -0
- package/node_modules/lodash/_basePullAt.js +37 -0
- package/node_modules/lodash/_baseRandom.js +18 -0
- package/node_modules/lodash/_baseRange.js +28 -0
- package/node_modules/lodash/_baseReduce.js +23 -0
- package/node_modules/lodash/_baseRepeat.js +35 -0
- package/node_modules/lodash/_baseRest.js +17 -0
- package/node_modules/lodash/_baseSample.js +15 -0
- package/node_modules/lodash/_baseSampleSize.js +18 -0
- package/node_modules/lodash/_baseSet.js +51 -0
- package/node_modules/lodash/_baseSetData.js +17 -0
- package/node_modules/lodash/_baseSetToString.js +22 -0
- package/node_modules/lodash/_baseShuffle.js +15 -0
- package/node_modules/lodash/_baseSlice.js +31 -0
- package/node_modules/lodash/_baseSome.js +22 -0
- package/node_modules/lodash/_baseSortBy.js +21 -0
- package/node_modules/lodash/_baseSortedIndex.js +42 -0
- package/node_modules/lodash/_baseSortedIndexBy.js +67 -0
- package/node_modules/lodash/_baseSortedUniq.js +30 -0
- package/node_modules/lodash/_baseSum.js +24 -0
- package/node_modules/lodash/_baseTimes.js +20 -0
- package/node_modules/lodash/_baseToNumber.js +24 -0
- package/node_modules/lodash/_baseToPairs.js +18 -0
- package/node_modules/lodash/_baseToString.js +37 -0
- package/node_modules/lodash/_baseTrim.js +19 -0
- package/node_modules/lodash/_baseUnary.js +14 -0
- package/node_modules/lodash/_baseUniq.js +72 -0
- package/node_modules/lodash/_baseUnset.js +20 -0
- package/node_modules/lodash/_baseUpdate.js +18 -0
- package/node_modules/lodash/_baseValues.js +19 -0
- package/node_modules/lodash/_baseWhile.js +26 -0
- package/node_modules/lodash/_baseWrapperValue.js +25 -0
- package/node_modules/lodash/_baseXor.js +36 -0
- package/node_modules/lodash/_baseZipObject.js +23 -0
- package/node_modules/lodash/_cacheHas.js +13 -0
- package/node_modules/lodash/_castArrayLikeObject.js +14 -0
- package/node_modules/lodash/_castFunction.js +14 -0
- package/node_modules/lodash/_castPath.js +21 -0
- package/node_modules/lodash/_castRest.js +14 -0
- package/node_modules/lodash/_castSlice.js +18 -0
- package/node_modules/lodash/_charsEndIndex.js +19 -0
- package/node_modules/lodash/_charsStartIndex.js +20 -0
- package/node_modules/lodash/_cloneArrayBuffer.js +16 -0
- package/node_modules/lodash/_cloneBuffer.js +35 -0
- package/node_modules/lodash/_cloneDataView.js +16 -0
- package/node_modules/lodash/_cloneRegExp.js +17 -0
- package/node_modules/lodash/_cloneSymbol.js +18 -0
- package/node_modules/lodash/_cloneTypedArray.js +16 -0
- package/node_modules/lodash/_compareAscending.js +41 -0
- package/node_modules/lodash/_compareMultiple.js +44 -0
- package/node_modules/lodash/_composeArgs.js +39 -0
- package/node_modules/lodash/_composeArgsRight.js +41 -0
- package/node_modules/lodash/_copyArray.js +20 -0
- package/node_modules/lodash/_copyObject.js +40 -0
- package/node_modules/lodash/_copySymbols.js +16 -0
- package/node_modules/lodash/_copySymbolsIn.js +16 -0
- package/node_modules/lodash/_coreJsData.js +6 -0
- package/node_modules/lodash/_countHolders.js +21 -0
- package/node_modules/lodash/_createAggregator.js +23 -0
- package/node_modules/lodash/_createAssigner.js +37 -0
- package/node_modules/lodash/_createBaseEach.js +32 -0
- package/node_modules/lodash/_createBaseFor.js +25 -0
- package/node_modules/lodash/_createBind.js +28 -0
- package/node_modules/lodash/_createCaseFirst.js +33 -0
- package/node_modules/lodash/_createCompounder.js +24 -0
- package/node_modules/lodash/_createCtor.js +37 -0
- package/node_modules/lodash/_createCurry.js +46 -0
- package/node_modules/lodash/_createFind.js +25 -0
- package/node_modules/lodash/_createFlow.js +78 -0
- package/node_modules/lodash/_createHybrid.js +92 -0
- package/node_modules/lodash/_createInverter.js +17 -0
- package/node_modules/lodash/_createMathOperation.js +38 -0
- package/node_modules/lodash/_createOver.js +27 -0
- package/node_modules/lodash/_createPadding.js +33 -0
- package/node_modules/lodash/_createPartial.js +43 -0
- package/node_modules/lodash/_createRange.js +30 -0
- package/node_modules/lodash/_createRecurry.js +56 -0
- package/node_modules/lodash/_createRelationalOperation.js +20 -0
- package/node_modules/lodash/_createRound.js +35 -0
- package/node_modules/lodash/_createSet.js +19 -0
- package/node_modules/lodash/_createToPairs.js +30 -0
- package/node_modules/lodash/_createWrap.js +106 -0
- package/node_modules/lodash/_customDefaultsAssignIn.js +29 -0
- package/node_modules/lodash/_customDefaultsMerge.js +28 -0
- package/node_modules/lodash/_customOmitClone.js +16 -0
- package/node_modules/lodash/_deburrLetter.js +71 -0
- package/node_modules/lodash/_defineProperty.js +11 -0
- package/node_modules/lodash/_equalArrays.js +84 -0
- package/node_modules/lodash/_equalByTag.js +112 -0
- package/node_modules/lodash/_equalObjects.js +90 -0
- package/node_modules/lodash/_escapeHtmlChar.js +21 -0
- package/node_modules/lodash/_escapeStringChar.js +22 -0
- package/node_modules/lodash/_flatRest.js +16 -0
- package/node_modules/lodash/_freeGlobal.js +4 -0
- package/node_modules/lodash/_getAllKeys.js +16 -0
- package/node_modules/lodash/_getAllKeysIn.js +17 -0
- package/node_modules/lodash/_getData.js +15 -0
- package/node_modules/lodash/_getFuncName.js +31 -0
- package/node_modules/lodash/_getHolder.js +13 -0
- package/node_modules/lodash/_getMapData.js +18 -0
- package/node_modules/lodash/_getMatchData.js +24 -0
- package/node_modules/lodash/_getNative.js +17 -0
- package/node_modules/lodash/_getPrototype.js +6 -0
- package/node_modules/lodash/_getRawTag.js +46 -0
- package/node_modules/lodash/_getSymbols.js +30 -0
- package/node_modules/lodash/_getSymbolsIn.js +25 -0
- package/node_modules/lodash/_getTag.js +58 -0
- package/node_modules/lodash/_getValue.js +13 -0
- package/node_modules/lodash/_getView.js +33 -0
- package/node_modules/lodash/_getWrapDetails.js +17 -0
- package/node_modules/lodash/_hasPath.js +39 -0
- package/node_modules/lodash/_hasUnicode.js +26 -0
- package/node_modules/lodash/_hasUnicodeWord.js +15 -0
- package/node_modules/lodash/_hashClear.js +15 -0
- package/node_modules/lodash/_hashDelete.js +17 -0
- package/node_modules/lodash/_hashGet.js +30 -0
- package/node_modules/lodash/_hashHas.js +23 -0
- package/node_modules/lodash/_hashSet.js +23 -0
- package/node_modules/lodash/_initCloneArray.js +26 -0
- package/node_modules/lodash/_initCloneByTag.js +77 -0
- package/node_modules/lodash/_initCloneObject.js +18 -0
- package/node_modules/lodash/_insertWrapDetails.js +23 -0
- package/node_modules/lodash/_isFlattenable.js +20 -0
- package/node_modules/lodash/_isIndex.js +25 -0
- package/node_modules/lodash/_isIterateeCall.js +30 -0
- package/node_modules/lodash/_isKey.js +29 -0
- package/node_modules/lodash/_isKeyable.js +15 -0
- package/node_modules/lodash/_isLaziable.js +28 -0
- package/node_modules/lodash/_isMaskable.js +14 -0
- package/node_modules/lodash/_isMasked.js +20 -0
- package/node_modules/lodash/_isPrototype.js +18 -0
- package/node_modules/lodash/_isStrictComparable.js +15 -0
- package/node_modules/lodash/_iteratorToArray.js +18 -0
- package/node_modules/lodash/_lazyClone.js +23 -0
- package/node_modules/lodash/_lazyReverse.js +23 -0
- package/node_modules/lodash/_lazyValue.js +69 -0
- package/node_modules/lodash/_listCacheClear.js +13 -0
- package/node_modules/lodash/_listCacheDelete.js +35 -0
- package/node_modules/lodash/_listCacheGet.js +19 -0
- package/node_modules/lodash/_listCacheHas.js +16 -0
- package/node_modules/lodash/_listCacheSet.js +26 -0
- package/node_modules/lodash/_mapCacheClear.js +21 -0
- package/node_modules/lodash/_mapCacheDelete.js +18 -0
- package/node_modules/lodash/_mapCacheGet.js +16 -0
- package/node_modules/lodash/_mapCacheHas.js +16 -0
- package/node_modules/lodash/_mapCacheSet.js +22 -0
- package/node_modules/lodash/_mapToArray.js +18 -0
- package/node_modules/lodash/_matchesStrictComparable.js +20 -0
- package/node_modules/lodash/_memoizeCapped.js +26 -0
- package/node_modules/lodash/_mergeData.js +90 -0
- package/node_modules/lodash/_metaMap.js +6 -0
- package/node_modules/lodash/_nativeCreate.js +6 -0
- package/node_modules/lodash/_nativeKeys.js +6 -0
- package/node_modules/lodash/_nativeKeysIn.js +20 -0
- package/node_modules/lodash/_nodeUtil.js +30 -0
- package/node_modules/lodash/_objectToString.js +22 -0
- package/node_modules/lodash/_overArg.js +15 -0
- package/node_modules/lodash/_overRest.js +36 -0
- package/node_modules/lodash/_parent.js +16 -0
- package/node_modules/lodash/_reEscape.js +4 -0
- package/node_modules/lodash/_reEvaluate.js +4 -0
- package/node_modules/lodash/_reInterpolate.js +4 -0
- package/node_modules/lodash/_realNames.js +4 -0
- package/node_modules/lodash/_reorder.js +29 -0
- package/node_modules/lodash/_replaceHolders.js +29 -0
- package/node_modules/lodash/_root.js +9 -0
- package/node_modules/lodash/_safeGet.js +21 -0
- package/node_modules/lodash/_setCacheAdd.js +19 -0
- package/node_modules/lodash/_setCacheHas.js +14 -0
- package/node_modules/lodash/_setData.js +20 -0
- package/node_modules/lodash/_setToArray.js +18 -0
- package/node_modules/lodash/_setToPairs.js +18 -0
- package/node_modules/lodash/_setToString.js +14 -0
- package/node_modules/lodash/_setWrapToString.js +21 -0
- package/node_modules/lodash/_shortOut.js +37 -0
- package/node_modules/lodash/_shuffleSelf.js +28 -0
- package/node_modules/lodash/_stackClear.js +15 -0
- package/node_modules/lodash/_stackDelete.js +18 -0
- package/node_modules/lodash/_stackGet.js +14 -0
- package/node_modules/lodash/_stackHas.js +14 -0
- package/node_modules/lodash/_stackSet.js +34 -0
- package/node_modules/lodash/_strictIndexOf.js +23 -0
- package/node_modules/lodash/_strictLastIndexOf.js +21 -0
- package/node_modules/lodash/_stringSize.js +18 -0
- package/node_modules/lodash/_stringToArray.js +18 -0
- package/node_modules/lodash/_stringToPath.js +27 -0
- package/node_modules/lodash/_toKey.js +21 -0
- package/node_modules/lodash/_toSource.js +26 -0
- package/node_modules/lodash/_trimmedEndIndex.js +19 -0
- package/node_modules/lodash/_unescapeHtmlChar.js +21 -0
- package/node_modules/lodash/_unicodeSize.js +44 -0
- package/node_modules/lodash/_unicodeToArray.js +40 -0
- package/node_modules/lodash/_unicodeWords.js +69 -0
- package/node_modules/lodash/_updateWrapDetails.js +46 -0
- package/node_modules/lodash/_wrapperClone.js +23 -0
- package/node_modules/lodash/add.js +22 -0
- package/node_modules/lodash/after.js +42 -0
- package/node_modules/lodash/array.js +67 -0
- package/node_modules/lodash/ary.js +29 -0
- package/node_modules/lodash/assign.js +58 -0
- package/node_modules/lodash/assignIn.js +40 -0
- package/node_modules/lodash/assignInWith.js +38 -0
- package/node_modules/lodash/assignWith.js +37 -0
- package/node_modules/lodash/at.js +23 -0
- package/node_modules/lodash/attempt.js +35 -0
- package/node_modules/lodash/before.js +40 -0
- package/node_modules/lodash/bind.js +57 -0
- package/node_modules/lodash/bindAll.js +41 -0
- package/node_modules/lodash/bindKey.js +68 -0
- package/node_modules/lodash/camelCase.js +29 -0
- package/node_modules/lodash/capitalize.js +23 -0
- package/node_modules/lodash/castArray.js +44 -0
- package/node_modules/lodash/ceil.js +26 -0
- package/node_modules/lodash/chain.js +38 -0
- package/node_modules/lodash/chunk.js +50 -0
- package/node_modules/lodash/clamp.js +39 -0
- package/node_modules/lodash/clone.js +36 -0
- package/node_modules/lodash/cloneDeep.js +29 -0
- package/node_modules/lodash/cloneDeepWith.js +40 -0
- package/node_modules/lodash/cloneWith.js +42 -0
- package/node_modules/lodash/collection.js +30 -0
- package/node_modules/lodash/commit.js +33 -0
- package/node_modules/lodash/compact.js +31 -0
- package/node_modules/lodash/concat.js +43 -0
- package/node_modules/lodash/cond.js +60 -0
- package/node_modules/lodash/conforms.js +35 -0
- package/node_modules/lodash/conformsTo.js +32 -0
- package/node_modules/lodash/constant.js +26 -0
- package/node_modules/lodash/core.js +3877 -0
- package/node_modules/lodash/core.min.js +29 -0
- package/node_modules/lodash/countBy.js +40 -0
- package/node_modules/lodash/create.js +43 -0
- package/node_modules/lodash/curry.js +57 -0
- package/node_modules/lodash/curryRight.js +54 -0
- package/node_modules/lodash/date.js +3 -0
- package/node_modules/lodash/debounce.js +191 -0
- package/node_modules/lodash/deburr.js +45 -0
- package/node_modules/lodash/defaultTo.js +25 -0
- package/node_modules/lodash/defaults.js +64 -0
- package/node_modules/lodash/defaultsDeep.js +30 -0
- package/node_modules/lodash/defer.js +26 -0
- package/node_modules/lodash/delay.js +28 -0
- package/node_modules/lodash/difference.js +33 -0
- package/node_modules/lodash/differenceBy.js +44 -0
- package/node_modules/lodash/differenceWith.js +40 -0
- package/node_modules/lodash/divide.js +22 -0
- package/node_modules/lodash/drop.js +38 -0
- package/node_modules/lodash/dropRight.js +39 -0
- package/node_modules/lodash/dropRightWhile.js +45 -0
- package/node_modules/lodash/dropWhile.js +45 -0
- package/node_modules/lodash/each.js +1 -0
- package/node_modules/lodash/eachRight.js +1 -0
- package/node_modules/lodash/endsWith.js +43 -0
- package/node_modules/lodash/entries.js +1 -0
- package/node_modules/lodash/entriesIn.js +1 -0
- package/node_modules/lodash/eq.js +37 -0
- package/node_modules/lodash/escape.js +43 -0
- package/node_modules/lodash/escapeRegExp.js +32 -0
- package/node_modules/lodash/every.js +56 -0
- package/node_modules/lodash/extend.js +1 -0
- package/node_modules/lodash/extendWith.js +1 -0
- package/node_modules/lodash/fill.js +45 -0
- package/node_modules/lodash/filter.js +52 -0
- package/node_modules/lodash/find.js +42 -0
- package/node_modules/lodash/findIndex.js +55 -0
- package/node_modules/lodash/findKey.js +44 -0
- package/node_modules/lodash/findLast.js +25 -0
- package/node_modules/lodash/findLastIndex.js +59 -0
- package/node_modules/lodash/findLastKey.js +44 -0
- package/node_modules/lodash/first.js +1 -0
- package/node_modules/lodash/flake.lock +40 -0
- package/node_modules/lodash/flake.nix +20 -0
- package/node_modules/lodash/flatMap.js +29 -0
- package/node_modules/lodash/flatMapDeep.js +31 -0
- package/node_modules/lodash/flatMapDepth.js +31 -0
- package/node_modules/lodash/flatten.js +22 -0
- package/node_modules/lodash/flattenDeep.js +25 -0
- package/node_modules/lodash/flattenDepth.js +33 -0
- package/node_modules/lodash/flip.js +28 -0
- package/node_modules/lodash/floor.js +26 -0
- package/node_modules/lodash/flow.js +27 -0
- package/node_modules/lodash/flowRight.js +26 -0
- package/node_modules/lodash/forEach.js +41 -0
- package/node_modules/lodash/forEachRight.js +31 -0
- package/node_modules/lodash/forIn.js +39 -0
- package/node_modules/lodash/forInRight.js +37 -0
- package/node_modules/lodash/forOwn.js +36 -0
- package/node_modules/lodash/forOwnRight.js +34 -0
- package/node_modules/lodash/fp/F.js +1 -0
- package/node_modules/lodash/fp/T.js +1 -0
- package/node_modules/lodash/fp/__.js +1 -0
- package/node_modules/lodash/fp/_baseConvert.js +569 -0
- package/node_modules/lodash/fp/_convertBrowser.js +18 -0
- package/node_modules/lodash/fp/_falseOptions.js +7 -0
- package/node_modules/lodash/fp/_mapping.js +358 -0
- package/node_modules/lodash/fp/_util.js +16 -0
- package/node_modules/lodash/fp/add.js +5 -0
- package/node_modules/lodash/fp/after.js +5 -0
- package/node_modules/lodash/fp/all.js +1 -0
- package/node_modules/lodash/fp/allPass.js +1 -0
- package/node_modules/lodash/fp/always.js +1 -0
- package/node_modules/lodash/fp/any.js +1 -0
- package/node_modules/lodash/fp/anyPass.js +1 -0
- package/node_modules/lodash/fp/apply.js +1 -0
- package/node_modules/lodash/fp/array.js +2 -0
- package/node_modules/lodash/fp/ary.js +5 -0
- package/node_modules/lodash/fp/assign.js +5 -0
- package/node_modules/lodash/fp/assignAll.js +5 -0
- package/node_modules/lodash/fp/assignAllWith.js +5 -0
- package/node_modules/lodash/fp/assignIn.js +5 -0
- package/node_modules/lodash/fp/assignInAll.js +5 -0
- package/node_modules/lodash/fp/assignInAllWith.js +5 -0
- package/node_modules/lodash/fp/assignInWith.js +5 -0
- package/node_modules/lodash/fp/assignWith.js +5 -0
- package/node_modules/lodash/fp/assoc.js +1 -0
- package/node_modules/lodash/fp/assocPath.js +1 -0
- package/node_modules/lodash/fp/at.js +5 -0
- package/node_modules/lodash/fp/attempt.js +5 -0
- package/node_modules/lodash/fp/before.js +5 -0
- package/node_modules/lodash/fp/bind.js +5 -0
- package/node_modules/lodash/fp/bindAll.js +5 -0
- package/node_modules/lodash/fp/bindKey.js +5 -0
- package/node_modules/lodash/fp/camelCase.js +5 -0
- package/node_modules/lodash/fp/capitalize.js +5 -0
- package/node_modules/lodash/fp/castArray.js +5 -0
- package/node_modules/lodash/fp/ceil.js +5 -0
- package/node_modules/lodash/fp/chain.js +5 -0
- package/node_modules/lodash/fp/chunk.js +5 -0
- package/node_modules/lodash/fp/clamp.js +5 -0
- package/node_modules/lodash/fp/clone.js +5 -0
- package/node_modules/lodash/fp/cloneDeep.js +5 -0
- package/node_modules/lodash/fp/cloneDeepWith.js +5 -0
- package/node_modules/lodash/fp/cloneWith.js +5 -0
- package/node_modules/lodash/fp/collection.js +2 -0
- package/node_modules/lodash/fp/commit.js +5 -0
- package/node_modules/lodash/fp/compact.js +5 -0
- package/node_modules/lodash/fp/complement.js +1 -0
- package/node_modules/lodash/fp/compose.js +1 -0
- package/node_modules/lodash/fp/concat.js +5 -0
- package/node_modules/lodash/fp/cond.js +5 -0
- package/node_modules/lodash/fp/conforms.js +1 -0
- package/node_modules/lodash/fp/conformsTo.js +5 -0
- package/node_modules/lodash/fp/constant.js +5 -0
- package/node_modules/lodash/fp/contains.js +1 -0
- package/node_modules/lodash/fp/convert.js +18 -0
- package/node_modules/lodash/fp/countBy.js +5 -0
- package/node_modules/lodash/fp/create.js +5 -0
- package/node_modules/lodash/fp/curry.js +5 -0
- package/node_modules/lodash/fp/curryN.js +5 -0
- package/node_modules/lodash/fp/curryRight.js +5 -0
- package/node_modules/lodash/fp/curryRightN.js +5 -0
- package/node_modules/lodash/fp/date.js +2 -0
- package/node_modules/lodash/fp/debounce.js +5 -0
- package/node_modules/lodash/fp/deburr.js +5 -0
- package/node_modules/lodash/fp/defaultTo.js +5 -0
- package/node_modules/lodash/fp/defaults.js +5 -0
- package/node_modules/lodash/fp/defaultsAll.js +5 -0
- package/node_modules/lodash/fp/defaultsDeep.js +5 -0
- package/node_modules/lodash/fp/defaultsDeepAll.js +5 -0
- package/node_modules/lodash/fp/defer.js +5 -0
- package/node_modules/lodash/fp/delay.js +5 -0
- package/node_modules/lodash/fp/difference.js +5 -0
- package/node_modules/lodash/fp/differenceBy.js +5 -0
- package/node_modules/lodash/fp/differenceWith.js +5 -0
- package/node_modules/lodash/fp/dissoc.js +1 -0
- package/node_modules/lodash/fp/dissocPath.js +1 -0
- package/node_modules/lodash/fp/divide.js +5 -0
- package/node_modules/lodash/fp/drop.js +5 -0
- package/node_modules/lodash/fp/dropLast.js +1 -0
- package/node_modules/lodash/fp/dropLastWhile.js +1 -0
- package/node_modules/lodash/fp/dropRight.js +5 -0
- package/node_modules/lodash/fp/dropRightWhile.js +5 -0
- package/node_modules/lodash/fp/dropWhile.js +5 -0
- package/node_modules/lodash/fp/each.js +1 -0
- package/node_modules/lodash/fp/eachRight.js +1 -0
- package/node_modules/lodash/fp/endsWith.js +5 -0
- package/node_modules/lodash/fp/entries.js +1 -0
- package/node_modules/lodash/fp/entriesIn.js +1 -0
- package/node_modules/lodash/fp/eq.js +5 -0
- package/node_modules/lodash/fp/equals.js +1 -0
- package/node_modules/lodash/fp/escape.js +5 -0
- package/node_modules/lodash/fp/escapeRegExp.js +5 -0
- package/node_modules/lodash/fp/every.js +5 -0
- package/node_modules/lodash/fp/extend.js +1 -0
- package/node_modules/lodash/fp/extendAll.js +1 -0
- package/node_modules/lodash/fp/extendAllWith.js +1 -0
- package/node_modules/lodash/fp/extendWith.js +1 -0
- package/node_modules/lodash/fp/fill.js +5 -0
- package/node_modules/lodash/fp/filter.js +5 -0
- package/node_modules/lodash/fp/find.js +5 -0
- package/node_modules/lodash/fp/findFrom.js +5 -0
- package/node_modules/lodash/fp/findIndex.js +5 -0
- package/node_modules/lodash/fp/findIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findKey.js +5 -0
- package/node_modules/lodash/fp/findLast.js +5 -0
- package/node_modules/lodash/fp/findLastFrom.js +5 -0
- package/node_modules/lodash/fp/findLastIndex.js +5 -0
- package/node_modules/lodash/fp/findLastIndexFrom.js +5 -0
- package/node_modules/lodash/fp/findLastKey.js +5 -0
- package/node_modules/lodash/fp/first.js +1 -0
- package/node_modules/lodash/fp/flatMap.js +5 -0
- package/node_modules/lodash/fp/flatMapDeep.js +5 -0
- package/node_modules/lodash/fp/flatMapDepth.js +5 -0
- package/node_modules/lodash/fp/flatten.js +5 -0
- package/node_modules/lodash/fp/flattenDeep.js +5 -0
- package/node_modules/lodash/fp/flattenDepth.js +5 -0
- package/node_modules/lodash/fp/flip.js +5 -0
- package/node_modules/lodash/fp/floor.js +5 -0
- package/node_modules/lodash/fp/flow.js +5 -0
- package/node_modules/lodash/fp/flowRight.js +5 -0
- package/node_modules/lodash/fp/forEach.js +5 -0
- package/node_modules/lodash/fp/forEachRight.js +5 -0
- package/node_modules/lodash/fp/forIn.js +5 -0
- package/node_modules/lodash/fp/forInRight.js +5 -0
- package/node_modules/lodash/fp/forOwn.js +5 -0
- package/node_modules/lodash/fp/forOwnRight.js +5 -0
- package/node_modules/lodash/fp/fromPairs.js +5 -0
- package/node_modules/lodash/fp/function.js +2 -0
- package/node_modules/lodash/fp/functions.js +5 -0
- package/node_modules/lodash/fp/functionsIn.js +5 -0
- package/node_modules/lodash/fp/get.js +5 -0
- package/node_modules/lodash/fp/getOr.js +5 -0
- package/node_modules/lodash/fp/groupBy.js +5 -0
- package/node_modules/lodash/fp/gt.js +5 -0
- package/node_modules/lodash/fp/gte.js +5 -0
- package/node_modules/lodash/fp/has.js +5 -0
- package/node_modules/lodash/fp/hasIn.js +5 -0
- package/node_modules/lodash/fp/head.js +5 -0
- package/node_modules/lodash/fp/identical.js +1 -0
- package/node_modules/lodash/fp/identity.js +5 -0
- package/node_modules/lodash/fp/inRange.js +5 -0
- package/node_modules/lodash/fp/includes.js +5 -0
- package/node_modules/lodash/fp/includesFrom.js +5 -0
- package/node_modules/lodash/fp/indexBy.js +1 -0
- package/node_modules/lodash/fp/indexOf.js +5 -0
- package/node_modules/lodash/fp/indexOfFrom.js +5 -0
- package/node_modules/lodash/fp/init.js +1 -0
- package/node_modules/lodash/fp/initial.js +5 -0
- package/node_modules/lodash/fp/intersection.js +5 -0
- package/node_modules/lodash/fp/intersectionBy.js +5 -0
- package/node_modules/lodash/fp/intersectionWith.js +5 -0
- package/node_modules/lodash/fp/invert.js +5 -0
- package/node_modules/lodash/fp/invertBy.js +5 -0
- package/node_modules/lodash/fp/invertObj.js +1 -0
- package/node_modules/lodash/fp/invoke.js +5 -0
- package/node_modules/lodash/fp/invokeArgs.js +5 -0
- package/node_modules/lodash/fp/invokeArgsMap.js +5 -0
- package/node_modules/lodash/fp/invokeMap.js +5 -0
- package/node_modules/lodash/fp/isArguments.js +5 -0
- package/node_modules/lodash/fp/isArray.js +5 -0
- package/node_modules/lodash/fp/isArrayBuffer.js +5 -0
- package/node_modules/lodash/fp/isArrayLike.js +5 -0
- package/node_modules/lodash/fp/isArrayLikeObject.js +5 -0
- package/node_modules/lodash/fp/isBoolean.js +5 -0
- package/node_modules/lodash/fp/isBuffer.js +5 -0
- package/node_modules/lodash/fp/isDate.js +5 -0
- package/node_modules/lodash/fp/isElement.js +5 -0
- package/node_modules/lodash/fp/isEmpty.js +5 -0
- package/node_modules/lodash/fp/isEqual.js +5 -0
- package/node_modules/lodash/fp/isEqualWith.js +5 -0
- package/node_modules/lodash/fp/isError.js +5 -0
- package/node_modules/lodash/fp/isFinite.js +5 -0
- package/node_modules/lodash/fp/isFunction.js +5 -0
- package/node_modules/lodash/fp/isInteger.js +5 -0
- package/node_modules/lodash/fp/isLength.js +5 -0
- package/node_modules/lodash/fp/isMap.js +5 -0
- package/node_modules/lodash/fp/isMatch.js +5 -0
- package/node_modules/lodash/fp/isMatchWith.js +5 -0
- package/node_modules/lodash/fp/isNaN.js +5 -0
- package/node_modules/lodash/fp/isNative.js +5 -0
- package/node_modules/lodash/fp/isNil.js +5 -0
- package/node_modules/lodash/fp/isNull.js +5 -0
- package/node_modules/lodash/fp/isNumber.js +5 -0
- package/node_modules/lodash/fp/isObject.js +5 -0
- package/node_modules/lodash/fp/isObjectLike.js +5 -0
- package/node_modules/lodash/fp/isPlainObject.js +5 -0
- package/node_modules/lodash/fp/isRegExp.js +5 -0
- package/node_modules/lodash/fp/isSafeInteger.js +5 -0
- package/node_modules/lodash/fp/isSet.js +5 -0
- package/node_modules/lodash/fp/isString.js +5 -0
- package/node_modules/lodash/fp/isSymbol.js +5 -0
- package/node_modules/lodash/fp/isTypedArray.js +5 -0
- package/node_modules/lodash/fp/isUndefined.js +5 -0
- package/node_modules/lodash/fp/isWeakMap.js +5 -0
- package/node_modules/lodash/fp/isWeakSet.js +5 -0
- package/node_modules/lodash/fp/iteratee.js +5 -0
- package/node_modules/lodash/fp/join.js +5 -0
- package/node_modules/lodash/fp/juxt.js +1 -0
- package/node_modules/lodash/fp/kebabCase.js +5 -0
- package/node_modules/lodash/fp/keyBy.js +5 -0
- package/node_modules/lodash/fp/keys.js +5 -0
- package/node_modules/lodash/fp/keysIn.js +5 -0
- package/node_modules/lodash/fp/lang.js +2 -0
- package/node_modules/lodash/fp/last.js +5 -0
- package/node_modules/lodash/fp/lastIndexOf.js +5 -0
- package/node_modules/lodash/fp/lastIndexOfFrom.js +5 -0
- package/node_modules/lodash/fp/lowerCase.js +5 -0
- package/node_modules/lodash/fp/lowerFirst.js +5 -0
- package/node_modules/lodash/fp/lt.js +5 -0
- package/node_modules/lodash/fp/lte.js +5 -0
- package/node_modules/lodash/fp/map.js +5 -0
- package/node_modules/lodash/fp/mapKeys.js +5 -0
- package/node_modules/lodash/fp/mapValues.js +5 -0
- package/node_modules/lodash/fp/matches.js +1 -0
- package/node_modules/lodash/fp/matchesProperty.js +5 -0
- package/node_modules/lodash/fp/math.js +2 -0
- package/node_modules/lodash/fp/max.js +5 -0
- package/node_modules/lodash/fp/maxBy.js +5 -0
- package/node_modules/lodash/fp/mean.js +5 -0
- package/node_modules/lodash/fp/meanBy.js +5 -0
- package/node_modules/lodash/fp/memoize.js +5 -0
- package/node_modules/lodash/fp/merge.js +5 -0
- package/node_modules/lodash/fp/mergeAll.js +5 -0
- package/node_modules/lodash/fp/mergeAllWith.js +5 -0
- package/node_modules/lodash/fp/mergeWith.js +5 -0
- package/node_modules/lodash/fp/method.js +5 -0
- package/node_modules/lodash/fp/methodOf.js +5 -0
- package/node_modules/lodash/fp/min.js +5 -0
- package/node_modules/lodash/fp/minBy.js +5 -0
- package/node_modules/lodash/fp/mixin.js +5 -0
- package/node_modules/lodash/fp/multiply.js +5 -0
- package/node_modules/lodash/fp/nAry.js +1 -0
- package/node_modules/lodash/fp/negate.js +5 -0
- package/node_modules/lodash/fp/next.js +5 -0
- package/node_modules/lodash/fp/noop.js +5 -0
- package/node_modules/lodash/fp/now.js +5 -0
- package/node_modules/lodash/fp/nth.js +5 -0
- package/node_modules/lodash/fp/nthArg.js +5 -0
- package/node_modules/lodash/fp/number.js +2 -0
- package/node_modules/lodash/fp/object.js +2 -0
- package/node_modules/lodash/fp/omit.js +5 -0
- package/node_modules/lodash/fp/omitAll.js +1 -0
- package/node_modules/lodash/fp/omitBy.js +5 -0
- package/node_modules/lodash/fp/once.js +5 -0
- package/node_modules/lodash/fp/orderBy.js +5 -0
- package/node_modules/lodash/fp/over.js +5 -0
- package/node_modules/lodash/fp/overArgs.js +5 -0
- package/node_modules/lodash/fp/overEvery.js +5 -0
- package/node_modules/lodash/fp/overSome.js +5 -0
- package/node_modules/lodash/fp/pad.js +5 -0
- package/node_modules/lodash/fp/padChars.js +5 -0
- package/node_modules/lodash/fp/padCharsEnd.js +5 -0
- package/node_modules/lodash/fp/padCharsStart.js +5 -0
- package/node_modules/lodash/fp/padEnd.js +5 -0
- package/node_modules/lodash/fp/padStart.js +5 -0
- package/node_modules/lodash/fp/parseInt.js +5 -0
- package/node_modules/lodash/fp/partial.js +5 -0
- package/node_modules/lodash/fp/partialRight.js +5 -0
- package/node_modules/lodash/fp/partition.js +5 -0
- package/node_modules/lodash/fp/path.js +1 -0
- package/node_modules/lodash/fp/pathEq.js +1 -0
- package/node_modules/lodash/fp/pathOr.js +1 -0
- package/node_modules/lodash/fp/paths.js +1 -0
- package/node_modules/lodash/fp/pick.js +5 -0
- package/node_modules/lodash/fp/pickAll.js +1 -0
- package/node_modules/lodash/fp/pickBy.js +5 -0
- package/node_modules/lodash/fp/pipe.js +1 -0
- package/node_modules/lodash/fp/placeholder.js +6 -0
- package/node_modules/lodash/fp/plant.js +5 -0
- package/node_modules/lodash/fp/pluck.js +1 -0
- package/node_modules/lodash/fp/prop.js +1 -0
- package/node_modules/lodash/fp/propEq.js +1 -0
- package/node_modules/lodash/fp/propOr.js +1 -0
- package/node_modules/lodash/fp/property.js +1 -0
- package/node_modules/lodash/fp/propertyOf.js +5 -0
- package/node_modules/lodash/fp/props.js +1 -0
- package/node_modules/lodash/fp/pull.js +5 -0
- package/node_modules/lodash/fp/pullAll.js +5 -0
- package/node_modules/lodash/fp/pullAllBy.js +5 -0
- package/node_modules/lodash/fp/pullAllWith.js +5 -0
- package/node_modules/lodash/fp/pullAt.js +5 -0
- package/node_modules/lodash/fp/random.js +5 -0
- package/node_modules/lodash/fp/range.js +5 -0
- package/node_modules/lodash/fp/rangeRight.js +5 -0
- package/node_modules/lodash/fp/rangeStep.js +5 -0
- package/node_modules/lodash/fp/rangeStepRight.js +5 -0
- package/node_modules/lodash/fp/rearg.js +5 -0
- package/node_modules/lodash/fp/reduce.js +5 -0
- package/node_modules/lodash/fp/reduceRight.js +5 -0
- package/node_modules/lodash/fp/reject.js +5 -0
- package/node_modules/lodash/fp/remove.js +5 -0
- package/node_modules/lodash/fp/repeat.js +5 -0
- package/node_modules/lodash/fp/replace.js +5 -0
- package/node_modules/lodash/fp/rest.js +5 -0
- package/node_modules/lodash/fp/restFrom.js +5 -0
- package/node_modules/lodash/fp/result.js +5 -0
- package/node_modules/lodash/fp/reverse.js +5 -0
- package/node_modules/lodash/fp/round.js +5 -0
- package/node_modules/lodash/fp/sample.js +5 -0
- package/node_modules/lodash/fp/sampleSize.js +5 -0
- package/node_modules/lodash/fp/seq.js +2 -0
- package/node_modules/lodash/fp/set.js +5 -0
- package/node_modules/lodash/fp/setWith.js +5 -0
- package/node_modules/lodash/fp/shuffle.js +5 -0
- package/node_modules/lodash/fp/size.js +5 -0
- package/node_modules/lodash/fp/slice.js +5 -0
- package/node_modules/lodash/fp/snakeCase.js +5 -0
- package/node_modules/lodash/fp/some.js +5 -0
- package/node_modules/lodash/fp/sortBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndex.js +5 -0
- package/node_modules/lodash/fp/sortedIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndex.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexBy.js +5 -0
- package/node_modules/lodash/fp/sortedLastIndexOf.js +5 -0
- package/node_modules/lodash/fp/sortedUniq.js +5 -0
- package/node_modules/lodash/fp/sortedUniqBy.js +5 -0
- package/node_modules/lodash/fp/split.js +5 -0
- package/node_modules/lodash/fp/spread.js +5 -0
- package/node_modules/lodash/fp/spreadFrom.js +5 -0
- package/node_modules/lodash/fp/startCase.js +5 -0
- package/node_modules/lodash/fp/startsWith.js +5 -0
- package/node_modules/lodash/fp/string.js +2 -0
- package/node_modules/lodash/fp/stubArray.js +5 -0
- package/node_modules/lodash/fp/stubFalse.js +5 -0
- package/node_modules/lodash/fp/stubObject.js +5 -0
- package/node_modules/lodash/fp/stubString.js +5 -0
- package/node_modules/lodash/fp/stubTrue.js +5 -0
- package/node_modules/lodash/fp/subtract.js +5 -0
- package/node_modules/lodash/fp/sum.js +5 -0
- package/node_modules/lodash/fp/sumBy.js +5 -0
- package/node_modules/lodash/fp/symmetricDifference.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceBy.js +1 -0
- package/node_modules/lodash/fp/symmetricDifferenceWith.js +1 -0
- package/node_modules/lodash/fp/tail.js +5 -0
- package/node_modules/lodash/fp/take.js +5 -0
- package/node_modules/lodash/fp/takeLast.js +1 -0
- package/node_modules/lodash/fp/takeLastWhile.js +1 -0
- package/node_modules/lodash/fp/takeRight.js +5 -0
- package/node_modules/lodash/fp/takeRightWhile.js +5 -0
- package/node_modules/lodash/fp/takeWhile.js +5 -0
- package/node_modules/lodash/fp/tap.js +5 -0
- package/node_modules/lodash/fp/template.js +5 -0
- package/node_modules/lodash/fp/templateSettings.js +5 -0
- package/node_modules/lodash/fp/throttle.js +5 -0
- package/node_modules/lodash/fp/thru.js +5 -0
- package/node_modules/lodash/fp/times.js +5 -0
- package/node_modules/lodash/fp/toArray.js +5 -0
- package/node_modules/lodash/fp/toFinite.js +5 -0
- package/node_modules/lodash/fp/toInteger.js +5 -0
- package/node_modules/lodash/fp/toIterator.js +5 -0
- package/node_modules/lodash/fp/toJSON.js +5 -0
- package/node_modules/lodash/fp/toLength.js +5 -0
- package/node_modules/lodash/fp/toLower.js +5 -0
- package/node_modules/lodash/fp/toNumber.js +5 -0
- package/node_modules/lodash/fp/toPairs.js +5 -0
- package/node_modules/lodash/fp/toPairsIn.js +5 -0
- package/node_modules/lodash/fp/toPath.js +5 -0
- package/node_modules/lodash/fp/toPlainObject.js +5 -0
- package/node_modules/lodash/fp/toSafeInteger.js +5 -0
- package/node_modules/lodash/fp/toString.js +5 -0
- package/node_modules/lodash/fp/toUpper.js +5 -0
- package/node_modules/lodash/fp/transform.js +5 -0
- package/node_modules/lodash/fp/trim.js +5 -0
- package/node_modules/lodash/fp/trimChars.js +5 -0
- package/node_modules/lodash/fp/trimCharsEnd.js +5 -0
- package/node_modules/lodash/fp/trimCharsStart.js +5 -0
- package/node_modules/lodash/fp/trimEnd.js +5 -0
- package/node_modules/lodash/fp/trimStart.js +5 -0
- package/node_modules/lodash/fp/truncate.js +5 -0
- package/node_modules/lodash/fp/unapply.js +1 -0
- package/node_modules/lodash/fp/unary.js +5 -0
- package/node_modules/lodash/fp/unescape.js +5 -0
- package/node_modules/lodash/fp/union.js +5 -0
- package/node_modules/lodash/fp/unionBy.js +5 -0
- package/node_modules/lodash/fp/unionWith.js +5 -0
- package/node_modules/lodash/fp/uniq.js +5 -0
- package/node_modules/lodash/fp/uniqBy.js +5 -0
- package/node_modules/lodash/fp/uniqWith.js +5 -0
- package/node_modules/lodash/fp/uniqueId.js +5 -0
- package/node_modules/lodash/fp/unnest.js +1 -0
- package/node_modules/lodash/fp/unset.js +5 -0
- package/node_modules/lodash/fp/unzip.js +5 -0
- package/node_modules/lodash/fp/unzipWith.js +5 -0
- package/node_modules/lodash/fp/update.js +5 -0
- package/node_modules/lodash/fp/updateWith.js +5 -0
- package/node_modules/lodash/fp/upperCase.js +5 -0
- package/node_modules/lodash/fp/upperFirst.js +5 -0
- package/node_modules/lodash/fp/useWith.js +1 -0
- package/node_modules/lodash/fp/util.js +2 -0
- package/node_modules/lodash/fp/value.js +5 -0
- package/node_modules/lodash/fp/valueOf.js +5 -0
- package/node_modules/lodash/fp/values.js +5 -0
- package/node_modules/lodash/fp/valuesIn.js +5 -0
- package/node_modules/lodash/fp/where.js +1 -0
- package/node_modules/lodash/fp/whereEq.js +1 -0
- package/node_modules/lodash/fp/without.js +5 -0
- package/node_modules/lodash/fp/words.js +5 -0
- package/node_modules/lodash/fp/wrap.js +5 -0
- package/node_modules/lodash/fp/wrapperAt.js +5 -0
- package/node_modules/lodash/fp/wrapperChain.js +5 -0
- package/node_modules/lodash/fp/wrapperLodash.js +5 -0
- package/node_modules/lodash/fp/wrapperReverse.js +5 -0
- package/node_modules/lodash/fp/wrapperValue.js +5 -0
- package/node_modules/lodash/fp/xor.js +5 -0
- package/node_modules/lodash/fp/xorBy.js +5 -0
- package/node_modules/lodash/fp/xorWith.js +5 -0
- package/node_modules/lodash/fp/zip.js +5 -0
- package/node_modules/lodash/fp/zipAll.js +5 -0
- package/node_modules/lodash/fp/zipObj.js +1 -0
- package/node_modules/lodash/fp/zipObject.js +5 -0
- package/node_modules/lodash/fp/zipObjectDeep.js +5 -0
- package/node_modules/lodash/fp/zipWith.js +5 -0
- package/node_modules/lodash/fp.js +2 -0
- package/node_modules/lodash/fromPairs.js +28 -0
- package/node_modules/lodash/function.js +25 -0
- package/node_modules/lodash/functions.js +31 -0
- package/node_modules/lodash/functionsIn.js +31 -0
- package/node_modules/lodash/get.js +33 -0
- package/node_modules/lodash/groupBy.js +41 -0
- package/node_modules/lodash/gt.js +29 -0
- package/node_modules/lodash/gte.js +30 -0
- package/node_modules/lodash/has.js +35 -0
- package/node_modules/lodash/hasIn.js +34 -0
- package/node_modules/lodash/head.js +23 -0
- package/node_modules/lodash/identity.js +21 -0
- package/node_modules/lodash/inRange.js +55 -0
- package/node_modules/lodash/includes.js +53 -0
- package/node_modules/lodash/index.js +1 -0
- package/node_modules/lodash/indexOf.js +42 -0
- package/node_modules/lodash/initial.js +22 -0
- package/node_modules/lodash/intersection.js +30 -0
- package/node_modules/lodash/intersectionBy.js +45 -0
- package/node_modules/lodash/intersectionWith.js +41 -0
- package/node_modules/lodash/invert.js +42 -0
- package/node_modules/lodash/invertBy.js +56 -0
- package/node_modules/lodash/invoke.js +24 -0
- package/node_modules/lodash/invokeMap.js +41 -0
- package/node_modules/lodash/isArguments.js +36 -0
- package/node_modules/lodash/isArray.js +26 -0
- package/node_modules/lodash/isArrayBuffer.js +27 -0
- package/node_modules/lodash/isArrayLike.js +33 -0
- package/node_modules/lodash/isArrayLikeObject.js +33 -0
- package/node_modules/lodash/isBoolean.js +29 -0
- package/node_modules/lodash/isBuffer.js +38 -0
- package/node_modules/lodash/isDate.js +27 -0
- package/node_modules/lodash/isElement.js +25 -0
- package/node_modules/lodash/isEmpty.js +77 -0
- package/node_modules/lodash/isEqual.js +35 -0
- package/node_modules/lodash/isEqualWith.js +41 -0
- package/node_modules/lodash/isError.js +36 -0
- package/node_modules/lodash/isFinite.js +36 -0
- package/node_modules/lodash/isFunction.js +37 -0
- package/node_modules/lodash/isInteger.js +33 -0
- package/node_modules/lodash/isLength.js +35 -0
- package/node_modules/lodash/isMap.js +27 -0
- package/node_modules/lodash/isMatch.js +36 -0
- package/node_modules/lodash/isMatchWith.js +41 -0
- package/node_modules/lodash/isNaN.js +38 -0
- package/node_modules/lodash/isNative.js +40 -0
- package/node_modules/lodash/isNil.js +25 -0
- package/node_modules/lodash/isNull.js +22 -0
- package/node_modules/lodash/isNumber.js +38 -0
- package/node_modules/lodash/isObject.js +31 -0
- package/node_modules/lodash/isObjectLike.js +29 -0
- package/node_modules/lodash/isPlainObject.js +62 -0
- package/node_modules/lodash/isRegExp.js +27 -0
- package/node_modules/lodash/isSafeInteger.js +37 -0
- package/node_modules/lodash/isSet.js +27 -0
- package/node_modules/lodash/isString.js +30 -0
- package/node_modules/lodash/isSymbol.js +29 -0
- package/node_modules/lodash/isTypedArray.js +27 -0
- package/node_modules/lodash/isUndefined.js +22 -0
- package/node_modules/lodash/isWeakMap.js +28 -0
- package/node_modules/lodash/isWeakSet.js +28 -0
- package/node_modules/lodash/iteratee.js +53 -0
- package/node_modules/lodash/join.js +26 -0
- package/node_modules/lodash/kebabCase.js +28 -0
- package/node_modules/lodash/keyBy.js +36 -0
- package/node_modules/lodash/keys.js +37 -0
- package/node_modules/lodash/keysIn.js +32 -0
- package/node_modules/lodash/lang.js +58 -0
- package/node_modules/lodash/last.js +20 -0
- package/node_modules/lodash/lastIndexOf.js +46 -0
- package/node_modules/lodash/lodash.js +17209 -0
- package/node_modules/lodash/lodash.min.js +140 -0
- package/node_modules/lodash/lowerCase.js +27 -0
- package/node_modules/lodash/lowerFirst.js +22 -0
- package/node_modules/lodash/lt.js +29 -0
- package/node_modules/lodash/lte.js +30 -0
- package/node_modules/lodash/map.js +53 -0
- package/node_modules/lodash/mapKeys.js +36 -0
- package/node_modules/lodash/mapValues.js +43 -0
- package/node_modules/lodash/matches.js +46 -0
- package/node_modules/lodash/matchesProperty.js +44 -0
- package/node_modules/lodash/math.js +17 -0
- package/node_modules/lodash/max.js +29 -0
- package/node_modules/lodash/maxBy.js +34 -0
- package/node_modules/lodash/mean.js +22 -0
- package/node_modules/lodash/meanBy.js +31 -0
- package/node_modules/lodash/memoize.js +73 -0
- package/node_modules/lodash/merge.js +39 -0
- package/node_modules/lodash/mergeWith.js +39 -0
- package/node_modules/lodash/method.js +34 -0
- package/node_modules/lodash/methodOf.js +33 -0
- package/node_modules/lodash/min.js +29 -0
- package/node_modules/lodash/minBy.js +34 -0
- package/node_modules/lodash/mixin.js +74 -0
- package/node_modules/lodash/multiply.js +22 -0
- package/node_modules/lodash/negate.js +40 -0
- package/node_modules/lodash/next.js +35 -0
- package/node_modules/lodash/noop.js +17 -0
- package/node_modules/lodash/now.js +23 -0
- package/node_modules/lodash/nth.js +29 -0
- package/node_modules/lodash/nthArg.js +32 -0
- package/node_modules/lodash/number.js +5 -0
- package/node_modules/lodash/object.js +49 -0
- package/node_modules/lodash/omit.js +57 -0
- package/node_modules/lodash/omitBy.js +29 -0
- package/node_modules/lodash/once.js +25 -0
- package/node_modules/lodash/orderBy.js +47 -0
- package/node_modules/lodash/over.js +24 -0
- package/node_modules/lodash/overArgs.js +61 -0
- package/node_modules/lodash/overEvery.js +34 -0
- package/node_modules/lodash/overSome.js +37 -0
- package/node_modules/lodash/package.json +17 -0
- package/node_modules/lodash/pad.js +49 -0
- package/node_modules/lodash/padEnd.js +39 -0
- package/node_modules/lodash/padStart.js +39 -0
- package/node_modules/lodash/parseInt.js +43 -0
- package/node_modules/lodash/partial.js +50 -0
- package/node_modules/lodash/partialRight.js +49 -0
- package/node_modules/lodash/partition.js +43 -0
- package/node_modules/lodash/pick.js +25 -0
- package/node_modules/lodash/pickBy.js +37 -0
- package/node_modules/lodash/plant.js +48 -0
- package/node_modules/lodash/property.js +32 -0
- package/node_modules/lodash/propertyOf.js +30 -0
- package/node_modules/lodash/pull.js +29 -0
- package/node_modules/lodash/pullAll.js +29 -0
- package/node_modules/lodash/pullAllBy.js +33 -0
- package/node_modules/lodash/pullAllWith.js +32 -0
- package/node_modules/lodash/pullAt.js +43 -0
- package/node_modules/lodash/random.js +82 -0
- package/node_modules/lodash/range.js +46 -0
- package/node_modules/lodash/rangeRight.js +41 -0
- package/node_modules/lodash/rearg.js +33 -0
- package/node_modules/lodash/reduce.js +51 -0
- package/node_modules/lodash/reduceRight.js +36 -0
- package/node_modules/lodash/reject.js +46 -0
- package/node_modules/lodash/release.md +48 -0
- package/node_modules/lodash/remove.js +53 -0
- package/node_modules/lodash/repeat.js +37 -0
- package/node_modules/lodash/replace.js +29 -0
- package/node_modules/lodash/rest.js +40 -0
- package/node_modules/lodash/result.js +56 -0
- package/node_modules/lodash/reverse.js +34 -0
- package/node_modules/lodash/round.js +26 -0
- package/node_modules/lodash/sample.js +24 -0
- package/node_modules/lodash/sampleSize.js +37 -0
- package/node_modules/lodash/seq.js +16 -0
- package/node_modules/lodash/set.js +35 -0
- package/node_modules/lodash/setWith.js +32 -0
- package/node_modules/lodash/shuffle.js +25 -0
- package/node_modules/lodash/size.js +46 -0
- package/node_modules/lodash/slice.js +37 -0
- package/node_modules/lodash/snakeCase.js +28 -0
- package/node_modules/lodash/some.js +51 -0
- package/node_modules/lodash/sortBy.js +48 -0
- package/node_modules/lodash/sortedIndex.js +24 -0
- package/node_modules/lodash/sortedIndexBy.js +33 -0
- package/node_modules/lodash/sortedIndexOf.js +31 -0
- package/node_modules/lodash/sortedLastIndex.js +25 -0
- package/node_modules/lodash/sortedLastIndexBy.js +33 -0
- package/node_modules/lodash/sortedLastIndexOf.js +31 -0
- package/node_modules/lodash/sortedUniq.js +24 -0
- package/node_modules/lodash/sortedUniqBy.js +26 -0
- package/node_modules/lodash/split.js +52 -0
- package/node_modules/lodash/spread.js +63 -0
- package/node_modules/lodash/startCase.js +29 -0
- package/node_modules/lodash/startsWith.js +39 -0
- package/node_modules/lodash/string.js +33 -0
- package/node_modules/lodash/stubArray.js +23 -0
- package/node_modules/lodash/stubFalse.js +18 -0
- package/node_modules/lodash/stubObject.js +23 -0
- package/node_modules/lodash/stubString.js +18 -0
- package/node_modules/lodash/stubTrue.js +18 -0
- package/node_modules/lodash/subtract.js +22 -0
- package/node_modules/lodash/sum.js +24 -0
- package/node_modules/lodash/sumBy.js +33 -0
- package/node_modules/lodash/tail.js +22 -0
- package/node_modules/lodash/take.js +37 -0
- package/node_modules/lodash/takeRight.js +39 -0
- package/node_modules/lodash/takeRightWhile.js +45 -0
- package/node_modules/lodash/takeWhile.js +45 -0
- package/node_modules/lodash/tap.js +29 -0
- package/node_modules/lodash/template.js +272 -0
- package/node_modules/lodash/templateSettings.js +67 -0
- package/node_modules/lodash/throttle.js +69 -0
- package/node_modules/lodash/thru.js +28 -0
- package/node_modules/lodash/times.js +51 -0
- package/node_modules/lodash/toArray.js +58 -0
- package/node_modules/lodash/toFinite.js +42 -0
- package/node_modules/lodash/toInteger.js +36 -0
- package/node_modules/lodash/toIterator.js +23 -0
- package/node_modules/lodash/toJSON.js +1 -0
- package/node_modules/lodash/toLength.js +38 -0
- package/node_modules/lodash/toLower.js +28 -0
- package/node_modules/lodash/toNumber.js +64 -0
- package/node_modules/lodash/toPairs.js +30 -0
- package/node_modules/lodash/toPairsIn.js +30 -0
- package/node_modules/lodash/toPath.js +33 -0
- package/node_modules/lodash/toPlainObject.js +32 -0
- package/node_modules/lodash/toSafeInteger.js +37 -0
- package/node_modules/lodash/toString.js +28 -0
- package/node_modules/lodash/toUpper.js +28 -0
- package/node_modules/lodash/transform.js +65 -0
- package/node_modules/lodash/trim.js +47 -0
- package/node_modules/lodash/trimEnd.js +41 -0
- package/node_modules/lodash/trimStart.js +43 -0
- package/node_modules/lodash/truncate.js +111 -0
- package/node_modules/lodash/unary.js +22 -0
- package/node_modules/lodash/unescape.js +34 -0
- package/node_modules/lodash/union.js +26 -0
- package/node_modules/lodash/unionBy.js +39 -0
- package/node_modules/lodash/unionWith.js +34 -0
- package/node_modules/lodash/uniq.js +25 -0
- package/node_modules/lodash/uniqBy.js +31 -0
- package/node_modules/lodash/uniqWith.js +28 -0
- package/node_modules/lodash/uniqueId.js +28 -0
- package/node_modules/lodash/unset.js +34 -0
- package/node_modules/lodash/unzip.js +45 -0
- package/node_modules/lodash/unzipWith.js +39 -0
- package/node_modules/lodash/update.js +35 -0
- package/node_modules/lodash/updateWith.js +33 -0
- package/node_modules/lodash/upperCase.js +27 -0
- package/node_modules/lodash/upperFirst.js +22 -0
- package/node_modules/lodash/util.js +34 -0
- package/node_modules/lodash/value.js +1 -0
- package/node_modules/lodash/valueOf.js +1 -0
- package/node_modules/lodash/values.js +34 -0
- package/node_modules/lodash/valuesIn.js +32 -0
- package/node_modules/lodash/without.js +31 -0
- package/node_modules/lodash/words.js +35 -0
- package/node_modules/lodash/wrap.js +30 -0
- package/node_modules/lodash/wrapperAt.js +48 -0
- package/node_modules/lodash/wrapperChain.js +34 -0
- package/node_modules/lodash/wrapperLodash.js +147 -0
- package/node_modules/lodash/wrapperReverse.js +44 -0
- package/node_modules/lodash/wrapperValue.js +21 -0
- package/node_modules/lodash/xor.js +28 -0
- package/node_modules/lodash/xorBy.js +39 -0
- package/node_modules/lodash/xorWith.js +34 -0
- package/node_modules/lodash/zip.js +22 -0
- package/node_modules/lodash/zipObject.js +24 -0
- package/node_modules/lodash/zipObjectDeep.js +23 -0
- package/node_modules/lodash/zipWith.js +32 -0
- package/node_modules/lodash.get/LICENSE +47 -0
- package/node_modules/lodash.get/README.md +18 -0
- package/node_modules/lodash.get/index.js +931 -0
- package/node_modules/lodash.get/package.json +17 -0
- package/node_modules/math-intrinsics/.eslintrc +16 -0
- package/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/node_modules/math-intrinsics/LICENSE +21 -0
- package/node_modules/math-intrinsics/README.md +50 -0
- package/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/node_modules/math-intrinsics/abs.js +4 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/node_modules/math-intrinsics/floor.js +4 -0
- package/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/node_modules/math-intrinsics/isFinite.js +12 -0
- package/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/isInteger.js +16 -0
- package/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/node_modules/math-intrinsics/isNaN.js +6 -0
- package/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/node_modules/math-intrinsics/max.d.ts +1 -0
- package/node_modules/math-intrinsics/max.js +4 -0
- package/node_modules/math-intrinsics/min.d.ts +1 -0
- package/node_modules/math-intrinsics/min.js +4 -0
- package/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/node_modules/math-intrinsics/mod.js +9 -0
- package/node_modules/math-intrinsics/package.json +86 -0
- package/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/node_modules/math-intrinsics/pow.js +4 -0
- package/node_modules/math-intrinsics/round.d.ts +1 -0
- package/node_modules/math-intrinsics/round.js +4 -0
- package/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/node_modules/math-intrinsics/sign.js +11 -0
- package/node_modules/math-intrinsics/test/index.js +192 -0
- package/node_modules/math-intrinsics/tsconfig.json +3 -0
- package/node_modules/mime-db/HISTORY.md +507 -0
- package/node_modules/mime-db/LICENSE +23 -0
- package/node_modules/mime-db/README.md +100 -0
- package/node_modules/mime-db/db.json +8519 -0
- package/node_modules/mime-db/index.js +12 -0
- package/node_modules/mime-db/package.json +60 -0
- package/node_modules/mime-types/HISTORY.md +397 -0
- package/node_modules/mime-types/LICENSE +23 -0
- package/node_modules/mime-types/README.md +113 -0
- package/node_modules/mime-types/index.js +188 -0
- package/node_modules/mime-types/package.json +44 -0
- package/node_modules/node-fetch/LICENSE.md +22 -0
- package/node_modules/node-fetch/README.md +590 -0
- package/node_modules/node-fetch/browser.js +25 -0
- package/node_modules/node-fetch/lib/index.es.js +1688 -0
- package/node_modules/node-fetch/lib/index.js +1697 -0
- package/node_modules/node-fetch/lib/index.mjs +1686 -0
- package/node_modules/node-fetch/package.json +76 -0
- package/node_modules/p-limit/index.d.ts +42 -0
- package/node_modules/p-limit/index.js +71 -0
- package/node_modules/p-limit/license +9 -0
- package/node_modules/p-limit/package.json +52 -0
- package/node_modules/p-limit/readme.md +101 -0
- package/node_modules/tr46/.npmignore +4 -0
- package/node_modules/tr46/index.js +193 -0
- package/node_modules/tr46/lib/.gitkeep +0 -0
- package/node_modules/tr46/lib/mappingTable.json +1 -0
- package/node_modules/tr46/package.json +31 -0
- package/node_modules/unfetch/LICENSE.md +21 -0
- package/node_modules/unfetch/README.md +247 -0
- package/node_modules/unfetch/dist/unfetch.es.js +2 -0
- package/node_modules/unfetch/dist/unfetch.js +2 -0
- package/node_modules/unfetch/dist/unfetch.js.map +1 -0
- package/node_modules/unfetch/dist/unfetch.module.js +2 -0
- package/node_modules/unfetch/dist/unfetch.module.js.map +1 -0
- package/node_modules/unfetch/dist/unfetch.umd.js +2 -0
- package/node_modules/unfetch/dist/unfetch.umd.js.map +1 -0
- package/node_modules/unfetch/package.json +67 -0
- package/node_modules/unfetch/polyfill/index.js +1 -0
- package/node_modules/unfetch/polyfill/package.json +5 -0
- package/node_modules/unfetch/polyfill/polyfill.mjs +2 -0
- package/node_modules/unfetch/src/index.d.ts +46 -0
- package/node_modules/unfetch/src/index.mjs +47 -0
- package/node_modules/webidl-conversions/LICENSE.md +12 -0
- package/node_modules/webidl-conversions/README.md +53 -0
- package/node_modules/webidl-conversions/lib/index.js +189 -0
- package/node_modules/webidl-conversions/package.json +23 -0
- package/node_modules/whatwg-url/LICENSE.txt +21 -0
- package/node_modules/whatwg-url/README.md +67 -0
- package/node_modules/whatwg-url/lib/URL-impl.js +200 -0
- package/node_modules/whatwg-url/lib/URL.js +196 -0
- package/node_modules/whatwg-url/lib/public-api.js +11 -0
- package/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
- package/node_modules/whatwg-url/lib/utils.js +20 -0
- package/node_modules/whatwg-url/package.json +32 -0
- package/node_modules/yocto-queue/index.d.ts +56 -0
- package/node_modules/yocto-queue/index.js +68 -0
- package/node_modules/yocto-queue/license +9 -0
- package/node_modules/yocto-queue/package.json +43 -0
- package/node_modules/yocto-queue/readme.md +64 -0
- package/oclif.manifest.json +1 -1
- package/package.json +14 -7
|
@@ -0,0 +1,1789 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* The buffer module from node.js, for the browser.
|
|
3
|
+
*
|
|
4
|
+
* @author Feross Aboukhadijeh <http://feross.org>
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
/* eslint-disable no-proto */
|
|
8
|
+
|
|
9
|
+
'use strict'
|
|
10
|
+
|
|
11
|
+
var base64 = require('base64-js')
|
|
12
|
+
var ieee754 = require('ieee754')
|
|
13
|
+
var isArray = require('isarray')
|
|
14
|
+
|
|
15
|
+
exports.Buffer = Buffer
|
|
16
|
+
exports.SlowBuffer = SlowBuffer
|
|
17
|
+
exports.INSPECT_MAX_BYTES = 50
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* If `Buffer.TYPED_ARRAY_SUPPORT`:
|
|
21
|
+
* === true Use Uint8Array implementation (fastest)
|
|
22
|
+
* === false Use Object implementation (most compatible, even IE6)
|
|
23
|
+
*
|
|
24
|
+
* Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,
|
|
25
|
+
* Opera 11.6+, iOS 4.2+.
|
|
26
|
+
*
|
|
27
|
+
* Due to various browser bugs, sometimes the Object implementation will be used even
|
|
28
|
+
* when the browser supports typed arrays.
|
|
29
|
+
*
|
|
30
|
+
* Note:
|
|
31
|
+
*
|
|
32
|
+
* - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,
|
|
33
|
+
* See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.
|
|
34
|
+
*
|
|
35
|
+
* - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.
|
|
36
|
+
*
|
|
37
|
+
* - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of
|
|
38
|
+
* incorrect length in some situations.
|
|
39
|
+
|
|
40
|
+
* We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they
|
|
41
|
+
* get the Object implementation, which is slower but behaves correctly.
|
|
42
|
+
*/
|
|
43
|
+
Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined
|
|
44
|
+
? global.TYPED_ARRAY_SUPPORT
|
|
45
|
+
: typedArraySupport()
|
|
46
|
+
|
|
47
|
+
/*
|
|
48
|
+
* Export kMaxLength after typed array support is determined.
|
|
49
|
+
*/
|
|
50
|
+
exports.kMaxLength = kMaxLength()
|
|
51
|
+
|
|
52
|
+
function typedArraySupport () {
|
|
53
|
+
try {
|
|
54
|
+
var arr = new Uint8Array(1)
|
|
55
|
+
arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}
|
|
56
|
+
return arr.foo() === 42 && // typed array instances can be augmented
|
|
57
|
+
typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`
|
|
58
|
+
arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`
|
|
59
|
+
} catch (e) {
|
|
60
|
+
return false
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
function kMaxLength () {
|
|
65
|
+
return Buffer.TYPED_ARRAY_SUPPORT
|
|
66
|
+
? 0x7fffffff
|
|
67
|
+
: 0x3fffffff
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
function createBuffer (that, length) {
|
|
71
|
+
if (kMaxLength() < length) {
|
|
72
|
+
throw new RangeError('Invalid typed array length')
|
|
73
|
+
}
|
|
74
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
75
|
+
// Return an augmented `Uint8Array` instance, for best performance
|
|
76
|
+
that = new Uint8Array(length)
|
|
77
|
+
that.__proto__ = Buffer.prototype
|
|
78
|
+
} else {
|
|
79
|
+
// Fallback: Return an object instance of the Buffer class
|
|
80
|
+
if (that === null) {
|
|
81
|
+
that = new Buffer(length)
|
|
82
|
+
}
|
|
83
|
+
that.length = length
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
return that
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* The Buffer constructor returns instances of `Uint8Array` that have their
|
|
91
|
+
* prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of
|
|
92
|
+
* `Uint8Array`, so the returned instances will have all the node `Buffer` methods
|
|
93
|
+
* and the `Uint8Array` methods. Square bracket notation works as expected -- it
|
|
94
|
+
* returns a single octet.
|
|
95
|
+
*
|
|
96
|
+
* The `Uint8Array` prototype remains unmodified.
|
|
97
|
+
*/
|
|
98
|
+
|
|
99
|
+
function Buffer (arg, encodingOrOffset, length) {
|
|
100
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {
|
|
101
|
+
return new Buffer(arg, encodingOrOffset, length)
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// Common case.
|
|
105
|
+
if (typeof arg === 'number') {
|
|
106
|
+
if (typeof encodingOrOffset === 'string') {
|
|
107
|
+
throw new Error(
|
|
108
|
+
'If encoding is specified then the first argument must be a string'
|
|
109
|
+
)
|
|
110
|
+
}
|
|
111
|
+
return allocUnsafe(this, arg)
|
|
112
|
+
}
|
|
113
|
+
return from(this, arg, encodingOrOffset, length)
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
Buffer.poolSize = 8192 // not used by this implementation
|
|
117
|
+
|
|
118
|
+
// TODO: Legacy, not needed anymore. Remove in next major version.
|
|
119
|
+
Buffer._augment = function (arr) {
|
|
120
|
+
arr.__proto__ = Buffer.prototype
|
|
121
|
+
return arr
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
function from (that, value, encodingOrOffset, length) {
|
|
125
|
+
if (typeof value === 'number') {
|
|
126
|
+
throw new TypeError('"value" argument must not be a number')
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {
|
|
130
|
+
return fromArrayBuffer(that, value, encodingOrOffset, length)
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
if (typeof value === 'string') {
|
|
134
|
+
return fromString(that, value, encodingOrOffset)
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
return fromObject(that, value)
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Functionally equivalent to Buffer(arg, encoding) but throws a TypeError
|
|
142
|
+
* if value is a number.
|
|
143
|
+
* Buffer.from(str[, encoding])
|
|
144
|
+
* Buffer.from(array)
|
|
145
|
+
* Buffer.from(buffer)
|
|
146
|
+
* Buffer.from(arrayBuffer[, byteOffset[, length]])
|
|
147
|
+
**/
|
|
148
|
+
Buffer.from = function (value, encodingOrOffset, length) {
|
|
149
|
+
return from(null, value, encodingOrOffset, length)
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
153
|
+
Buffer.prototype.__proto__ = Uint8Array.prototype
|
|
154
|
+
Buffer.__proto__ = Uint8Array
|
|
155
|
+
if (typeof Symbol !== 'undefined' && Symbol.species &&
|
|
156
|
+
Buffer[Symbol.species] === Buffer) {
|
|
157
|
+
// Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97
|
|
158
|
+
Object.defineProperty(Buffer, Symbol.species, {
|
|
159
|
+
value: null,
|
|
160
|
+
configurable: true
|
|
161
|
+
})
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
function assertSize (size) {
|
|
166
|
+
if (typeof size !== 'number') {
|
|
167
|
+
throw new TypeError('"size" argument must be a number')
|
|
168
|
+
} else if (size < 0) {
|
|
169
|
+
throw new RangeError('"size" argument must not be negative')
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
function alloc (that, size, fill, encoding) {
|
|
174
|
+
assertSize(size)
|
|
175
|
+
if (size <= 0) {
|
|
176
|
+
return createBuffer(that, size)
|
|
177
|
+
}
|
|
178
|
+
if (fill !== undefined) {
|
|
179
|
+
// Only pay attention to encoding if it's a string. This
|
|
180
|
+
// prevents accidentally sending in a number that would
|
|
181
|
+
// be interpretted as a start offset.
|
|
182
|
+
return typeof encoding === 'string'
|
|
183
|
+
? createBuffer(that, size).fill(fill, encoding)
|
|
184
|
+
: createBuffer(that, size).fill(fill)
|
|
185
|
+
}
|
|
186
|
+
return createBuffer(that, size)
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* Creates a new filled Buffer instance.
|
|
191
|
+
* alloc(size[, fill[, encoding]])
|
|
192
|
+
**/
|
|
193
|
+
Buffer.alloc = function (size, fill, encoding) {
|
|
194
|
+
return alloc(null, size, fill, encoding)
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
function allocUnsafe (that, size) {
|
|
198
|
+
assertSize(size)
|
|
199
|
+
that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)
|
|
200
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT) {
|
|
201
|
+
for (var i = 0; i < size; ++i) {
|
|
202
|
+
that[i] = 0
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
return that
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.
|
|
210
|
+
* */
|
|
211
|
+
Buffer.allocUnsafe = function (size) {
|
|
212
|
+
return allocUnsafe(null, size)
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.
|
|
216
|
+
*/
|
|
217
|
+
Buffer.allocUnsafeSlow = function (size) {
|
|
218
|
+
return allocUnsafe(null, size)
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
function fromString (that, string, encoding) {
|
|
222
|
+
if (typeof encoding !== 'string' || encoding === '') {
|
|
223
|
+
encoding = 'utf8'
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
if (!Buffer.isEncoding(encoding)) {
|
|
227
|
+
throw new TypeError('"encoding" must be a valid string encoding')
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
var length = byteLength(string, encoding) | 0
|
|
231
|
+
that = createBuffer(that, length)
|
|
232
|
+
|
|
233
|
+
var actual = that.write(string, encoding)
|
|
234
|
+
|
|
235
|
+
if (actual !== length) {
|
|
236
|
+
// Writing a hex string, for example, that contains invalid characters will
|
|
237
|
+
// cause everything after the first invalid character to be ignored. (e.g.
|
|
238
|
+
// 'abxxcd' will be treated as 'ab')
|
|
239
|
+
that = that.slice(0, actual)
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
return that
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
function fromArrayLike (that, array) {
|
|
246
|
+
var length = array.length < 0 ? 0 : checked(array.length) | 0
|
|
247
|
+
that = createBuffer(that, length)
|
|
248
|
+
for (var i = 0; i < length; i += 1) {
|
|
249
|
+
that[i] = array[i] & 255
|
|
250
|
+
}
|
|
251
|
+
return that
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
function fromArrayBuffer (that, array, byteOffset, length) {
|
|
255
|
+
array.byteLength // this throws if `array` is not a valid ArrayBuffer
|
|
256
|
+
|
|
257
|
+
if (byteOffset < 0 || array.byteLength < byteOffset) {
|
|
258
|
+
throw new RangeError('\'offset\' is out of bounds')
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
if (array.byteLength < byteOffset + (length || 0)) {
|
|
262
|
+
throw new RangeError('\'length\' is out of bounds')
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
if (byteOffset === undefined && length === undefined) {
|
|
266
|
+
array = new Uint8Array(array)
|
|
267
|
+
} else if (length === undefined) {
|
|
268
|
+
array = new Uint8Array(array, byteOffset)
|
|
269
|
+
} else {
|
|
270
|
+
array = new Uint8Array(array, byteOffset, length)
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
274
|
+
// Return an augmented `Uint8Array` instance, for best performance
|
|
275
|
+
that = array
|
|
276
|
+
that.__proto__ = Buffer.prototype
|
|
277
|
+
} else {
|
|
278
|
+
// Fallback: Return an object instance of the Buffer class
|
|
279
|
+
that = fromArrayLike(that, array)
|
|
280
|
+
}
|
|
281
|
+
return that
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
function fromObject (that, obj) {
|
|
285
|
+
if (Buffer.isBuffer(obj)) {
|
|
286
|
+
var len = checked(obj.length) | 0
|
|
287
|
+
that = createBuffer(that, len)
|
|
288
|
+
|
|
289
|
+
if (that.length === 0) {
|
|
290
|
+
return that
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
obj.copy(that, 0, 0, len)
|
|
294
|
+
return that
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
if (obj) {
|
|
298
|
+
if ((typeof ArrayBuffer !== 'undefined' &&
|
|
299
|
+
obj.buffer instanceof ArrayBuffer) || 'length' in obj) {
|
|
300
|
+
if (typeof obj.length !== 'number' || isnan(obj.length)) {
|
|
301
|
+
return createBuffer(that, 0)
|
|
302
|
+
}
|
|
303
|
+
return fromArrayLike(that, obj)
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
if (obj.type === 'Buffer' && isArray(obj.data)) {
|
|
307
|
+
return fromArrayLike(that, obj.data)
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
function checked (length) {
|
|
315
|
+
// Note: cannot use `length < kMaxLength()` here because that fails when
|
|
316
|
+
// length is NaN (which is otherwise coerced to zero.)
|
|
317
|
+
if (length >= kMaxLength()) {
|
|
318
|
+
throw new RangeError('Attempt to allocate Buffer larger than maximum ' +
|
|
319
|
+
'size: 0x' + kMaxLength().toString(16) + ' bytes')
|
|
320
|
+
}
|
|
321
|
+
return length | 0
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
function SlowBuffer (length) {
|
|
325
|
+
if (+length != length) { // eslint-disable-line eqeqeq
|
|
326
|
+
length = 0
|
|
327
|
+
}
|
|
328
|
+
return Buffer.alloc(+length)
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
Buffer.isBuffer = function isBuffer (b) {
|
|
332
|
+
return !!(b != null && b._isBuffer)
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
Buffer.compare = function compare (a, b) {
|
|
336
|
+
if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {
|
|
337
|
+
throw new TypeError('Arguments must be Buffers')
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
if (a === b) return 0
|
|
341
|
+
|
|
342
|
+
var x = a.length
|
|
343
|
+
var y = b.length
|
|
344
|
+
|
|
345
|
+
for (var i = 0, len = Math.min(x, y); i < len; ++i) {
|
|
346
|
+
if (a[i] !== b[i]) {
|
|
347
|
+
x = a[i]
|
|
348
|
+
y = b[i]
|
|
349
|
+
break
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
if (x < y) return -1
|
|
354
|
+
if (y < x) return 1
|
|
355
|
+
return 0
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
Buffer.isEncoding = function isEncoding (encoding) {
|
|
359
|
+
switch (String(encoding).toLowerCase()) {
|
|
360
|
+
case 'hex':
|
|
361
|
+
case 'utf8':
|
|
362
|
+
case 'utf-8':
|
|
363
|
+
case 'ascii':
|
|
364
|
+
case 'latin1':
|
|
365
|
+
case 'binary':
|
|
366
|
+
case 'base64':
|
|
367
|
+
case 'ucs2':
|
|
368
|
+
case 'ucs-2':
|
|
369
|
+
case 'utf16le':
|
|
370
|
+
case 'utf-16le':
|
|
371
|
+
return true
|
|
372
|
+
default:
|
|
373
|
+
return false
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
Buffer.concat = function concat (list, length) {
|
|
378
|
+
if (!isArray(list)) {
|
|
379
|
+
throw new TypeError('"list" argument must be an Array of Buffers')
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
if (list.length === 0) {
|
|
383
|
+
return Buffer.alloc(0)
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
var i
|
|
387
|
+
if (length === undefined) {
|
|
388
|
+
length = 0
|
|
389
|
+
for (i = 0; i < list.length; ++i) {
|
|
390
|
+
length += list[i].length
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
var buffer = Buffer.allocUnsafe(length)
|
|
395
|
+
var pos = 0
|
|
396
|
+
for (i = 0; i < list.length; ++i) {
|
|
397
|
+
var buf = list[i]
|
|
398
|
+
if (!Buffer.isBuffer(buf)) {
|
|
399
|
+
throw new TypeError('"list" argument must be an Array of Buffers')
|
|
400
|
+
}
|
|
401
|
+
buf.copy(buffer, pos)
|
|
402
|
+
pos += buf.length
|
|
403
|
+
}
|
|
404
|
+
return buffer
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
function byteLength (string, encoding) {
|
|
408
|
+
if (Buffer.isBuffer(string)) {
|
|
409
|
+
return string.length
|
|
410
|
+
}
|
|
411
|
+
if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&
|
|
412
|
+
(ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {
|
|
413
|
+
return string.byteLength
|
|
414
|
+
}
|
|
415
|
+
if (typeof string !== 'string') {
|
|
416
|
+
string = '' + string
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
var len = string.length
|
|
420
|
+
if (len === 0) return 0
|
|
421
|
+
|
|
422
|
+
// Use a for loop to avoid recursion
|
|
423
|
+
var loweredCase = false
|
|
424
|
+
for (;;) {
|
|
425
|
+
switch (encoding) {
|
|
426
|
+
case 'ascii':
|
|
427
|
+
case 'latin1':
|
|
428
|
+
case 'binary':
|
|
429
|
+
return len
|
|
430
|
+
case 'utf8':
|
|
431
|
+
case 'utf-8':
|
|
432
|
+
case undefined:
|
|
433
|
+
return utf8ToBytes(string).length
|
|
434
|
+
case 'ucs2':
|
|
435
|
+
case 'ucs-2':
|
|
436
|
+
case 'utf16le':
|
|
437
|
+
case 'utf-16le':
|
|
438
|
+
return len * 2
|
|
439
|
+
case 'hex':
|
|
440
|
+
return len >>> 1
|
|
441
|
+
case 'base64':
|
|
442
|
+
return base64ToBytes(string).length
|
|
443
|
+
default:
|
|
444
|
+
if (loweredCase) return utf8ToBytes(string).length // assume utf8
|
|
445
|
+
encoding = ('' + encoding).toLowerCase()
|
|
446
|
+
loweredCase = true
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
Buffer.byteLength = byteLength
|
|
451
|
+
|
|
452
|
+
function slowToString (encoding, start, end) {
|
|
453
|
+
var loweredCase = false
|
|
454
|
+
|
|
455
|
+
// No need to verify that "this.length <= MAX_UINT32" since it's a read-only
|
|
456
|
+
// property of a typed array.
|
|
457
|
+
|
|
458
|
+
// This behaves neither like String nor Uint8Array in that we set start/end
|
|
459
|
+
// to their upper/lower bounds if the value passed is out of range.
|
|
460
|
+
// undefined is handled specially as per ECMA-262 6th Edition,
|
|
461
|
+
// Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.
|
|
462
|
+
if (start === undefined || start < 0) {
|
|
463
|
+
start = 0
|
|
464
|
+
}
|
|
465
|
+
// Return early if start > this.length. Done here to prevent potential uint32
|
|
466
|
+
// coercion fail below.
|
|
467
|
+
if (start > this.length) {
|
|
468
|
+
return ''
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
if (end === undefined || end > this.length) {
|
|
472
|
+
end = this.length
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
if (end <= 0) {
|
|
476
|
+
return ''
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
// Force coersion to uint32. This will also coerce falsey/NaN values to 0.
|
|
480
|
+
end >>>= 0
|
|
481
|
+
start >>>= 0
|
|
482
|
+
|
|
483
|
+
if (end <= start) {
|
|
484
|
+
return ''
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
if (!encoding) encoding = 'utf8'
|
|
488
|
+
|
|
489
|
+
while (true) {
|
|
490
|
+
switch (encoding) {
|
|
491
|
+
case 'hex':
|
|
492
|
+
return hexSlice(this, start, end)
|
|
493
|
+
|
|
494
|
+
case 'utf8':
|
|
495
|
+
case 'utf-8':
|
|
496
|
+
return utf8Slice(this, start, end)
|
|
497
|
+
|
|
498
|
+
case 'ascii':
|
|
499
|
+
return asciiSlice(this, start, end)
|
|
500
|
+
|
|
501
|
+
case 'latin1':
|
|
502
|
+
case 'binary':
|
|
503
|
+
return latin1Slice(this, start, end)
|
|
504
|
+
|
|
505
|
+
case 'base64':
|
|
506
|
+
return base64Slice(this, start, end)
|
|
507
|
+
|
|
508
|
+
case 'ucs2':
|
|
509
|
+
case 'ucs-2':
|
|
510
|
+
case 'utf16le':
|
|
511
|
+
case 'utf-16le':
|
|
512
|
+
return utf16leSlice(this, start, end)
|
|
513
|
+
|
|
514
|
+
default:
|
|
515
|
+
if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
|
|
516
|
+
encoding = (encoding + '').toLowerCase()
|
|
517
|
+
loweredCase = true
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect
|
|
523
|
+
// Buffer instances.
|
|
524
|
+
Buffer.prototype._isBuffer = true
|
|
525
|
+
|
|
526
|
+
function swap (b, n, m) {
|
|
527
|
+
var i = b[n]
|
|
528
|
+
b[n] = b[m]
|
|
529
|
+
b[m] = i
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
Buffer.prototype.swap16 = function swap16 () {
|
|
533
|
+
var len = this.length
|
|
534
|
+
if (len % 2 !== 0) {
|
|
535
|
+
throw new RangeError('Buffer size must be a multiple of 16-bits')
|
|
536
|
+
}
|
|
537
|
+
for (var i = 0; i < len; i += 2) {
|
|
538
|
+
swap(this, i, i + 1)
|
|
539
|
+
}
|
|
540
|
+
return this
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
Buffer.prototype.swap32 = function swap32 () {
|
|
544
|
+
var len = this.length
|
|
545
|
+
if (len % 4 !== 0) {
|
|
546
|
+
throw new RangeError('Buffer size must be a multiple of 32-bits')
|
|
547
|
+
}
|
|
548
|
+
for (var i = 0; i < len; i += 4) {
|
|
549
|
+
swap(this, i, i + 3)
|
|
550
|
+
swap(this, i + 1, i + 2)
|
|
551
|
+
}
|
|
552
|
+
return this
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
Buffer.prototype.swap64 = function swap64 () {
|
|
556
|
+
var len = this.length
|
|
557
|
+
if (len % 8 !== 0) {
|
|
558
|
+
throw new RangeError('Buffer size must be a multiple of 64-bits')
|
|
559
|
+
}
|
|
560
|
+
for (var i = 0; i < len; i += 8) {
|
|
561
|
+
swap(this, i, i + 7)
|
|
562
|
+
swap(this, i + 1, i + 6)
|
|
563
|
+
swap(this, i + 2, i + 5)
|
|
564
|
+
swap(this, i + 3, i + 4)
|
|
565
|
+
}
|
|
566
|
+
return this
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
Buffer.prototype.toString = function toString () {
|
|
570
|
+
var length = this.length | 0
|
|
571
|
+
if (length === 0) return ''
|
|
572
|
+
if (arguments.length === 0) return utf8Slice(this, 0, length)
|
|
573
|
+
return slowToString.apply(this, arguments)
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
Buffer.prototype.equals = function equals (b) {
|
|
577
|
+
if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
|
|
578
|
+
if (this === b) return true
|
|
579
|
+
return Buffer.compare(this, b) === 0
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
Buffer.prototype.inspect = function inspect () {
|
|
583
|
+
var str = ''
|
|
584
|
+
var max = exports.INSPECT_MAX_BYTES
|
|
585
|
+
if (this.length > 0) {
|
|
586
|
+
str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')
|
|
587
|
+
if (this.length > max) str += ' ... '
|
|
588
|
+
}
|
|
589
|
+
return '<Buffer ' + str + '>'
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {
|
|
593
|
+
if (!Buffer.isBuffer(target)) {
|
|
594
|
+
throw new TypeError('Argument must be a Buffer')
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
if (start === undefined) {
|
|
598
|
+
start = 0
|
|
599
|
+
}
|
|
600
|
+
if (end === undefined) {
|
|
601
|
+
end = target ? target.length : 0
|
|
602
|
+
}
|
|
603
|
+
if (thisStart === undefined) {
|
|
604
|
+
thisStart = 0
|
|
605
|
+
}
|
|
606
|
+
if (thisEnd === undefined) {
|
|
607
|
+
thisEnd = this.length
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {
|
|
611
|
+
throw new RangeError('out of range index')
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
if (thisStart >= thisEnd && start >= end) {
|
|
615
|
+
return 0
|
|
616
|
+
}
|
|
617
|
+
if (thisStart >= thisEnd) {
|
|
618
|
+
return -1
|
|
619
|
+
}
|
|
620
|
+
if (start >= end) {
|
|
621
|
+
return 1
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
start >>>= 0
|
|
625
|
+
end >>>= 0
|
|
626
|
+
thisStart >>>= 0
|
|
627
|
+
thisEnd >>>= 0
|
|
628
|
+
|
|
629
|
+
if (this === target) return 0
|
|
630
|
+
|
|
631
|
+
var x = thisEnd - thisStart
|
|
632
|
+
var y = end - start
|
|
633
|
+
var len = Math.min(x, y)
|
|
634
|
+
|
|
635
|
+
var thisCopy = this.slice(thisStart, thisEnd)
|
|
636
|
+
var targetCopy = target.slice(start, end)
|
|
637
|
+
|
|
638
|
+
for (var i = 0; i < len; ++i) {
|
|
639
|
+
if (thisCopy[i] !== targetCopy[i]) {
|
|
640
|
+
x = thisCopy[i]
|
|
641
|
+
y = targetCopy[i]
|
|
642
|
+
break
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
if (x < y) return -1
|
|
647
|
+
if (y < x) return 1
|
|
648
|
+
return 0
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,
|
|
652
|
+
// OR the last index of `val` in `buffer` at offset <= `byteOffset`.
|
|
653
|
+
//
|
|
654
|
+
// Arguments:
|
|
655
|
+
// - buffer - a Buffer to search
|
|
656
|
+
// - val - a string, Buffer, or number
|
|
657
|
+
// - byteOffset - an index into `buffer`; will be clamped to an int32
|
|
658
|
+
// - encoding - an optional encoding, relevant is val is a string
|
|
659
|
+
// - dir - true for indexOf, false for lastIndexOf
|
|
660
|
+
function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {
|
|
661
|
+
// Empty buffer means no match
|
|
662
|
+
if (buffer.length === 0) return -1
|
|
663
|
+
|
|
664
|
+
// Normalize byteOffset
|
|
665
|
+
if (typeof byteOffset === 'string') {
|
|
666
|
+
encoding = byteOffset
|
|
667
|
+
byteOffset = 0
|
|
668
|
+
} else if (byteOffset > 0x7fffffff) {
|
|
669
|
+
byteOffset = 0x7fffffff
|
|
670
|
+
} else if (byteOffset < -0x80000000) {
|
|
671
|
+
byteOffset = -0x80000000
|
|
672
|
+
}
|
|
673
|
+
byteOffset = +byteOffset // Coerce to Number.
|
|
674
|
+
if (isNaN(byteOffset)) {
|
|
675
|
+
// byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer
|
|
676
|
+
byteOffset = dir ? 0 : (buffer.length - 1)
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
// Normalize byteOffset: negative offsets start from the end of the buffer
|
|
680
|
+
if (byteOffset < 0) byteOffset = buffer.length + byteOffset
|
|
681
|
+
if (byteOffset >= buffer.length) {
|
|
682
|
+
if (dir) return -1
|
|
683
|
+
else byteOffset = buffer.length - 1
|
|
684
|
+
} else if (byteOffset < 0) {
|
|
685
|
+
if (dir) byteOffset = 0
|
|
686
|
+
else return -1
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
// Normalize val
|
|
690
|
+
if (typeof val === 'string') {
|
|
691
|
+
val = Buffer.from(val, encoding)
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
// Finally, search either indexOf (if dir is true) or lastIndexOf
|
|
695
|
+
if (Buffer.isBuffer(val)) {
|
|
696
|
+
// Special case: looking for empty string/buffer always fails
|
|
697
|
+
if (val.length === 0) {
|
|
698
|
+
return -1
|
|
699
|
+
}
|
|
700
|
+
return arrayIndexOf(buffer, val, byteOffset, encoding, dir)
|
|
701
|
+
} else if (typeof val === 'number') {
|
|
702
|
+
val = val & 0xFF // Search for a byte value [0-255]
|
|
703
|
+
if (Buffer.TYPED_ARRAY_SUPPORT &&
|
|
704
|
+
typeof Uint8Array.prototype.indexOf === 'function') {
|
|
705
|
+
if (dir) {
|
|
706
|
+
return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)
|
|
707
|
+
} else {
|
|
708
|
+
return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
throw new TypeError('val must be string, number or Buffer')
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
|
|
718
|
+
var indexSize = 1
|
|
719
|
+
var arrLength = arr.length
|
|
720
|
+
var valLength = val.length
|
|
721
|
+
|
|
722
|
+
if (encoding !== undefined) {
|
|
723
|
+
encoding = String(encoding).toLowerCase()
|
|
724
|
+
if (encoding === 'ucs2' || encoding === 'ucs-2' ||
|
|
725
|
+
encoding === 'utf16le' || encoding === 'utf-16le') {
|
|
726
|
+
if (arr.length < 2 || val.length < 2) {
|
|
727
|
+
return -1
|
|
728
|
+
}
|
|
729
|
+
indexSize = 2
|
|
730
|
+
arrLength /= 2
|
|
731
|
+
valLength /= 2
|
|
732
|
+
byteOffset /= 2
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
function read (buf, i) {
|
|
737
|
+
if (indexSize === 1) {
|
|
738
|
+
return buf[i]
|
|
739
|
+
} else {
|
|
740
|
+
return buf.readUInt16BE(i * indexSize)
|
|
741
|
+
}
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
var i
|
|
745
|
+
if (dir) {
|
|
746
|
+
var foundIndex = -1
|
|
747
|
+
for (i = byteOffset; i < arrLength; i++) {
|
|
748
|
+
if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {
|
|
749
|
+
if (foundIndex === -1) foundIndex = i
|
|
750
|
+
if (i - foundIndex + 1 === valLength) return foundIndex * indexSize
|
|
751
|
+
} else {
|
|
752
|
+
if (foundIndex !== -1) i -= i - foundIndex
|
|
753
|
+
foundIndex = -1
|
|
754
|
+
}
|
|
755
|
+
}
|
|
756
|
+
} else {
|
|
757
|
+
if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength
|
|
758
|
+
for (i = byteOffset; i >= 0; i--) {
|
|
759
|
+
var found = true
|
|
760
|
+
for (var j = 0; j < valLength; j++) {
|
|
761
|
+
if (read(arr, i + j) !== read(val, j)) {
|
|
762
|
+
found = false
|
|
763
|
+
break
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
if (found) return i
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
return -1
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
Buffer.prototype.includes = function includes (val, byteOffset, encoding) {
|
|
774
|
+
return this.indexOf(val, byteOffset, encoding) !== -1
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {
|
|
778
|
+
return bidirectionalIndexOf(this, val, byteOffset, encoding, true)
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {
|
|
782
|
+
return bidirectionalIndexOf(this, val, byteOffset, encoding, false)
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
function hexWrite (buf, string, offset, length) {
|
|
786
|
+
offset = Number(offset) || 0
|
|
787
|
+
var remaining = buf.length - offset
|
|
788
|
+
if (!length) {
|
|
789
|
+
length = remaining
|
|
790
|
+
} else {
|
|
791
|
+
length = Number(length)
|
|
792
|
+
if (length > remaining) {
|
|
793
|
+
length = remaining
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
// must be an even number of digits
|
|
798
|
+
var strLen = string.length
|
|
799
|
+
if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')
|
|
800
|
+
|
|
801
|
+
if (length > strLen / 2) {
|
|
802
|
+
length = strLen / 2
|
|
803
|
+
}
|
|
804
|
+
for (var i = 0; i < length; ++i) {
|
|
805
|
+
var parsed = parseInt(string.substr(i * 2, 2), 16)
|
|
806
|
+
if (isNaN(parsed)) return i
|
|
807
|
+
buf[offset + i] = parsed
|
|
808
|
+
}
|
|
809
|
+
return i
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
function utf8Write (buf, string, offset, length) {
|
|
813
|
+
return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
function asciiWrite (buf, string, offset, length) {
|
|
817
|
+
return blitBuffer(asciiToBytes(string), buf, offset, length)
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
function latin1Write (buf, string, offset, length) {
|
|
821
|
+
return asciiWrite(buf, string, offset, length)
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
function base64Write (buf, string, offset, length) {
|
|
825
|
+
return blitBuffer(base64ToBytes(string), buf, offset, length)
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
function ucs2Write (buf, string, offset, length) {
|
|
829
|
+
return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
Buffer.prototype.write = function write (string, offset, length, encoding) {
|
|
833
|
+
// Buffer#write(string)
|
|
834
|
+
if (offset === undefined) {
|
|
835
|
+
encoding = 'utf8'
|
|
836
|
+
length = this.length
|
|
837
|
+
offset = 0
|
|
838
|
+
// Buffer#write(string, encoding)
|
|
839
|
+
} else if (length === undefined && typeof offset === 'string') {
|
|
840
|
+
encoding = offset
|
|
841
|
+
length = this.length
|
|
842
|
+
offset = 0
|
|
843
|
+
// Buffer#write(string, offset[, length][, encoding])
|
|
844
|
+
} else if (isFinite(offset)) {
|
|
845
|
+
offset = offset | 0
|
|
846
|
+
if (isFinite(length)) {
|
|
847
|
+
length = length | 0
|
|
848
|
+
if (encoding === undefined) encoding = 'utf8'
|
|
849
|
+
} else {
|
|
850
|
+
encoding = length
|
|
851
|
+
length = undefined
|
|
852
|
+
}
|
|
853
|
+
// legacy write(string, encoding, offset, length) - remove in v0.13
|
|
854
|
+
} else {
|
|
855
|
+
throw new Error(
|
|
856
|
+
'Buffer.write(string, encoding, offset[, length]) is no longer supported'
|
|
857
|
+
)
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
var remaining = this.length - offset
|
|
861
|
+
if (length === undefined || length > remaining) length = remaining
|
|
862
|
+
|
|
863
|
+
if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {
|
|
864
|
+
throw new RangeError('Attempt to write outside buffer bounds')
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
if (!encoding) encoding = 'utf8'
|
|
868
|
+
|
|
869
|
+
var loweredCase = false
|
|
870
|
+
for (;;) {
|
|
871
|
+
switch (encoding) {
|
|
872
|
+
case 'hex':
|
|
873
|
+
return hexWrite(this, string, offset, length)
|
|
874
|
+
|
|
875
|
+
case 'utf8':
|
|
876
|
+
case 'utf-8':
|
|
877
|
+
return utf8Write(this, string, offset, length)
|
|
878
|
+
|
|
879
|
+
case 'ascii':
|
|
880
|
+
return asciiWrite(this, string, offset, length)
|
|
881
|
+
|
|
882
|
+
case 'latin1':
|
|
883
|
+
case 'binary':
|
|
884
|
+
return latin1Write(this, string, offset, length)
|
|
885
|
+
|
|
886
|
+
case 'base64':
|
|
887
|
+
// Warning: maxLength not taken into account in base64Write
|
|
888
|
+
return base64Write(this, string, offset, length)
|
|
889
|
+
|
|
890
|
+
case 'ucs2':
|
|
891
|
+
case 'ucs-2':
|
|
892
|
+
case 'utf16le':
|
|
893
|
+
case 'utf-16le':
|
|
894
|
+
return ucs2Write(this, string, offset, length)
|
|
895
|
+
|
|
896
|
+
default:
|
|
897
|
+
if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
|
|
898
|
+
encoding = ('' + encoding).toLowerCase()
|
|
899
|
+
loweredCase = true
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
Buffer.prototype.toJSON = function toJSON () {
|
|
905
|
+
return {
|
|
906
|
+
type: 'Buffer',
|
|
907
|
+
data: Array.prototype.slice.call(this._arr || this, 0)
|
|
908
|
+
}
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
function base64Slice (buf, start, end) {
|
|
912
|
+
if (start === 0 && end === buf.length) {
|
|
913
|
+
return base64.fromByteArray(buf)
|
|
914
|
+
} else {
|
|
915
|
+
return base64.fromByteArray(buf.slice(start, end))
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
function utf8Slice (buf, start, end) {
|
|
920
|
+
end = Math.min(buf.length, end)
|
|
921
|
+
var res = []
|
|
922
|
+
|
|
923
|
+
var i = start
|
|
924
|
+
while (i < end) {
|
|
925
|
+
var firstByte = buf[i]
|
|
926
|
+
var codePoint = null
|
|
927
|
+
var bytesPerSequence = (firstByte > 0xEF) ? 4
|
|
928
|
+
: (firstByte > 0xDF) ? 3
|
|
929
|
+
: (firstByte > 0xBF) ? 2
|
|
930
|
+
: 1
|
|
931
|
+
|
|
932
|
+
if (i + bytesPerSequence <= end) {
|
|
933
|
+
var secondByte, thirdByte, fourthByte, tempCodePoint
|
|
934
|
+
|
|
935
|
+
switch (bytesPerSequence) {
|
|
936
|
+
case 1:
|
|
937
|
+
if (firstByte < 0x80) {
|
|
938
|
+
codePoint = firstByte
|
|
939
|
+
}
|
|
940
|
+
break
|
|
941
|
+
case 2:
|
|
942
|
+
secondByte = buf[i + 1]
|
|
943
|
+
if ((secondByte & 0xC0) === 0x80) {
|
|
944
|
+
tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)
|
|
945
|
+
if (tempCodePoint > 0x7F) {
|
|
946
|
+
codePoint = tempCodePoint
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
break
|
|
950
|
+
case 3:
|
|
951
|
+
secondByte = buf[i + 1]
|
|
952
|
+
thirdByte = buf[i + 2]
|
|
953
|
+
if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {
|
|
954
|
+
tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)
|
|
955
|
+
if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {
|
|
956
|
+
codePoint = tempCodePoint
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
break
|
|
960
|
+
case 4:
|
|
961
|
+
secondByte = buf[i + 1]
|
|
962
|
+
thirdByte = buf[i + 2]
|
|
963
|
+
fourthByte = buf[i + 3]
|
|
964
|
+
if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {
|
|
965
|
+
tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)
|
|
966
|
+
if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {
|
|
967
|
+
codePoint = tempCodePoint
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
if (codePoint === null) {
|
|
974
|
+
// we did not generate a valid codePoint so insert a
|
|
975
|
+
// replacement char (U+FFFD) and advance only 1 byte
|
|
976
|
+
codePoint = 0xFFFD
|
|
977
|
+
bytesPerSequence = 1
|
|
978
|
+
} else if (codePoint > 0xFFFF) {
|
|
979
|
+
// encode to utf16 (surrogate pair dance)
|
|
980
|
+
codePoint -= 0x10000
|
|
981
|
+
res.push(codePoint >>> 10 & 0x3FF | 0xD800)
|
|
982
|
+
codePoint = 0xDC00 | codePoint & 0x3FF
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
res.push(codePoint)
|
|
986
|
+
i += bytesPerSequence
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
return decodeCodePointsArray(res)
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
// Based on http://stackoverflow.com/a/22747272/680742, the browser with
|
|
993
|
+
// the lowest limit is Chrome, with 0x10000 args.
|
|
994
|
+
// We go 1 magnitude less, for safety
|
|
995
|
+
var MAX_ARGUMENTS_LENGTH = 0x1000
|
|
996
|
+
|
|
997
|
+
function decodeCodePointsArray (codePoints) {
|
|
998
|
+
var len = codePoints.length
|
|
999
|
+
if (len <= MAX_ARGUMENTS_LENGTH) {
|
|
1000
|
+
return String.fromCharCode.apply(String, codePoints) // avoid extra slice()
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
// Decode in chunks to avoid "call stack size exceeded".
|
|
1004
|
+
var res = ''
|
|
1005
|
+
var i = 0
|
|
1006
|
+
while (i < len) {
|
|
1007
|
+
res += String.fromCharCode.apply(
|
|
1008
|
+
String,
|
|
1009
|
+
codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)
|
|
1010
|
+
)
|
|
1011
|
+
}
|
|
1012
|
+
return res
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
function asciiSlice (buf, start, end) {
|
|
1016
|
+
var ret = ''
|
|
1017
|
+
end = Math.min(buf.length, end)
|
|
1018
|
+
|
|
1019
|
+
for (var i = start; i < end; ++i) {
|
|
1020
|
+
ret += String.fromCharCode(buf[i] & 0x7F)
|
|
1021
|
+
}
|
|
1022
|
+
return ret
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
function latin1Slice (buf, start, end) {
|
|
1026
|
+
var ret = ''
|
|
1027
|
+
end = Math.min(buf.length, end)
|
|
1028
|
+
|
|
1029
|
+
for (var i = start; i < end; ++i) {
|
|
1030
|
+
ret += String.fromCharCode(buf[i])
|
|
1031
|
+
}
|
|
1032
|
+
return ret
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
function hexSlice (buf, start, end) {
|
|
1036
|
+
var len = buf.length
|
|
1037
|
+
|
|
1038
|
+
if (!start || start < 0) start = 0
|
|
1039
|
+
if (!end || end < 0 || end > len) end = len
|
|
1040
|
+
|
|
1041
|
+
var out = ''
|
|
1042
|
+
for (var i = start; i < end; ++i) {
|
|
1043
|
+
out += toHex(buf[i])
|
|
1044
|
+
}
|
|
1045
|
+
return out
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
function utf16leSlice (buf, start, end) {
|
|
1049
|
+
var bytes = buf.slice(start, end)
|
|
1050
|
+
var res = ''
|
|
1051
|
+
for (var i = 0; i < bytes.length; i += 2) {
|
|
1052
|
+
res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)
|
|
1053
|
+
}
|
|
1054
|
+
return res
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
Buffer.prototype.slice = function slice (start, end) {
|
|
1058
|
+
var len = this.length
|
|
1059
|
+
start = ~~start
|
|
1060
|
+
end = end === undefined ? len : ~~end
|
|
1061
|
+
|
|
1062
|
+
if (start < 0) {
|
|
1063
|
+
start += len
|
|
1064
|
+
if (start < 0) start = 0
|
|
1065
|
+
} else if (start > len) {
|
|
1066
|
+
start = len
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
if (end < 0) {
|
|
1070
|
+
end += len
|
|
1071
|
+
if (end < 0) end = 0
|
|
1072
|
+
} else if (end > len) {
|
|
1073
|
+
end = len
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
if (end < start) end = start
|
|
1077
|
+
|
|
1078
|
+
var newBuf
|
|
1079
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
1080
|
+
newBuf = this.subarray(start, end)
|
|
1081
|
+
newBuf.__proto__ = Buffer.prototype
|
|
1082
|
+
} else {
|
|
1083
|
+
var sliceLen = end - start
|
|
1084
|
+
newBuf = new Buffer(sliceLen, undefined)
|
|
1085
|
+
for (var i = 0; i < sliceLen; ++i) {
|
|
1086
|
+
newBuf[i] = this[i + start]
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
return newBuf
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
/*
|
|
1094
|
+
* Need to make sure that buffer isn't trying to write out of bounds.
|
|
1095
|
+
*/
|
|
1096
|
+
function checkOffset (offset, ext, length) {
|
|
1097
|
+
if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')
|
|
1098
|
+
if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')
|
|
1099
|
+
}
|
|
1100
|
+
|
|
1101
|
+
Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {
|
|
1102
|
+
offset = offset | 0
|
|
1103
|
+
byteLength = byteLength | 0
|
|
1104
|
+
if (!noAssert) checkOffset(offset, byteLength, this.length)
|
|
1105
|
+
|
|
1106
|
+
var val = this[offset]
|
|
1107
|
+
var mul = 1
|
|
1108
|
+
var i = 0
|
|
1109
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
1110
|
+
val += this[offset + i] * mul
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
return val
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {
|
|
1117
|
+
offset = offset | 0
|
|
1118
|
+
byteLength = byteLength | 0
|
|
1119
|
+
if (!noAssert) {
|
|
1120
|
+
checkOffset(offset, byteLength, this.length)
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
var val = this[offset + --byteLength]
|
|
1124
|
+
var mul = 1
|
|
1125
|
+
while (byteLength > 0 && (mul *= 0x100)) {
|
|
1126
|
+
val += this[offset + --byteLength] * mul
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
return val
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {
|
|
1133
|
+
if (!noAssert) checkOffset(offset, 1, this.length)
|
|
1134
|
+
return this[offset]
|
|
1135
|
+
}
|
|
1136
|
+
|
|
1137
|
+
Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {
|
|
1138
|
+
if (!noAssert) checkOffset(offset, 2, this.length)
|
|
1139
|
+
return this[offset] | (this[offset + 1] << 8)
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {
|
|
1143
|
+
if (!noAssert) checkOffset(offset, 2, this.length)
|
|
1144
|
+
return (this[offset] << 8) | this[offset + 1]
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {
|
|
1148
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
1149
|
+
|
|
1150
|
+
return ((this[offset]) |
|
|
1151
|
+
(this[offset + 1] << 8) |
|
|
1152
|
+
(this[offset + 2] << 16)) +
|
|
1153
|
+
(this[offset + 3] * 0x1000000)
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {
|
|
1157
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
1158
|
+
|
|
1159
|
+
return (this[offset] * 0x1000000) +
|
|
1160
|
+
((this[offset + 1] << 16) |
|
|
1161
|
+
(this[offset + 2] << 8) |
|
|
1162
|
+
this[offset + 3])
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {
|
|
1166
|
+
offset = offset | 0
|
|
1167
|
+
byteLength = byteLength | 0
|
|
1168
|
+
if (!noAssert) checkOffset(offset, byteLength, this.length)
|
|
1169
|
+
|
|
1170
|
+
var val = this[offset]
|
|
1171
|
+
var mul = 1
|
|
1172
|
+
var i = 0
|
|
1173
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
1174
|
+
val += this[offset + i] * mul
|
|
1175
|
+
}
|
|
1176
|
+
mul *= 0x80
|
|
1177
|
+
|
|
1178
|
+
if (val >= mul) val -= Math.pow(2, 8 * byteLength)
|
|
1179
|
+
|
|
1180
|
+
return val
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {
|
|
1184
|
+
offset = offset | 0
|
|
1185
|
+
byteLength = byteLength | 0
|
|
1186
|
+
if (!noAssert) checkOffset(offset, byteLength, this.length)
|
|
1187
|
+
|
|
1188
|
+
var i = byteLength
|
|
1189
|
+
var mul = 1
|
|
1190
|
+
var val = this[offset + --i]
|
|
1191
|
+
while (i > 0 && (mul *= 0x100)) {
|
|
1192
|
+
val += this[offset + --i] * mul
|
|
1193
|
+
}
|
|
1194
|
+
mul *= 0x80
|
|
1195
|
+
|
|
1196
|
+
if (val >= mul) val -= Math.pow(2, 8 * byteLength)
|
|
1197
|
+
|
|
1198
|
+
return val
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) {
|
|
1202
|
+
if (!noAssert) checkOffset(offset, 1, this.length)
|
|
1203
|
+
if (!(this[offset] & 0x80)) return (this[offset])
|
|
1204
|
+
return ((0xff - this[offset] + 1) * -1)
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {
|
|
1208
|
+
if (!noAssert) checkOffset(offset, 2, this.length)
|
|
1209
|
+
var val = this[offset] | (this[offset + 1] << 8)
|
|
1210
|
+
return (val & 0x8000) ? val | 0xFFFF0000 : val
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {
|
|
1214
|
+
if (!noAssert) checkOffset(offset, 2, this.length)
|
|
1215
|
+
var val = this[offset + 1] | (this[offset] << 8)
|
|
1216
|
+
return (val & 0x8000) ? val | 0xFFFF0000 : val
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {
|
|
1220
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
1221
|
+
|
|
1222
|
+
return (this[offset]) |
|
|
1223
|
+
(this[offset + 1] << 8) |
|
|
1224
|
+
(this[offset + 2] << 16) |
|
|
1225
|
+
(this[offset + 3] << 24)
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {
|
|
1229
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
1230
|
+
|
|
1231
|
+
return (this[offset] << 24) |
|
|
1232
|
+
(this[offset + 1] << 16) |
|
|
1233
|
+
(this[offset + 2] << 8) |
|
|
1234
|
+
(this[offset + 3])
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {
|
|
1238
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
1239
|
+
return ieee754.read(this, offset, true, 23, 4)
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {
|
|
1243
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
1244
|
+
return ieee754.read(this, offset, false, 23, 4)
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {
|
|
1248
|
+
if (!noAssert) checkOffset(offset, 8, this.length)
|
|
1249
|
+
return ieee754.read(this, offset, true, 52, 8)
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {
|
|
1253
|
+
if (!noAssert) checkOffset(offset, 8, this.length)
|
|
1254
|
+
return ieee754.read(this, offset, false, 52, 8)
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
function checkInt (buf, value, offset, ext, max, min) {
|
|
1258
|
+
if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance')
|
|
1259
|
+
if (value > max || value < min) throw new RangeError('"value" argument is out of bounds')
|
|
1260
|
+
if (offset + ext > buf.length) throw new RangeError('Index out of range')
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {
|
|
1264
|
+
value = +value
|
|
1265
|
+
offset = offset | 0
|
|
1266
|
+
byteLength = byteLength | 0
|
|
1267
|
+
if (!noAssert) {
|
|
1268
|
+
var maxBytes = Math.pow(2, 8 * byteLength) - 1
|
|
1269
|
+
checkInt(this, value, offset, byteLength, maxBytes, 0)
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1272
|
+
var mul = 1
|
|
1273
|
+
var i = 0
|
|
1274
|
+
this[offset] = value & 0xFF
|
|
1275
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
1276
|
+
this[offset + i] = (value / mul) & 0xFF
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1279
|
+
return offset + byteLength
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {
|
|
1283
|
+
value = +value
|
|
1284
|
+
offset = offset | 0
|
|
1285
|
+
byteLength = byteLength | 0
|
|
1286
|
+
if (!noAssert) {
|
|
1287
|
+
var maxBytes = Math.pow(2, 8 * byteLength) - 1
|
|
1288
|
+
checkInt(this, value, offset, byteLength, maxBytes, 0)
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
var i = byteLength - 1
|
|
1292
|
+
var mul = 1
|
|
1293
|
+
this[offset + i] = value & 0xFF
|
|
1294
|
+
while (--i >= 0 && (mul *= 0x100)) {
|
|
1295
|
+
this[offset + i] = (value / mul) & 0xFF
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
return offset + byteLength
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {
|
|
1302
|
+
value = +value
|
|
1303
|
+
offset = offset | 0
|
|
1304
|
+
if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)
|
|
1305
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
|
|
1306
|
+
this[offset] = (value & 0xff)
|
|
1307
|
+
return offset + 1
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
function objectWriteUInt16 (buf, value, offset, littleEndian) {
|
|
1311
|
+
if (value < 0) value = 0xffff + value + 1
|
|
1312
|
+
for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {
|
|
1313
|
+
buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>
|
|
1314
|
+
(littleEndian ? i : 1 - i) * 8
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {
|
|
1319
|
+
value = +value
|
|
1320
|
+
offset = offset | 0
|
|
1321
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
|
|
1322
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
1323
|
+
this[offset] = (value & 0xff)
|
|
1324
|
+
this[offset + 1] = (value >>> 8)
|
|
1325
|
+
} else {
|
|
1326
|
+
objectWriteUInt16(this, value, offset, true)
|
|
1327
|
+
}
|
|
1328
|
+
return offset + 2
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {
|
|
1332
|
+
value = +value
|
|
1333
|
+
offset = offset | 0
|
|
1334
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
|
|
1335
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
1336
|
+
this[offset] = (value >>> 8)
|
|
1337
|
+
this[offset + 1] = (value & 0xff)
|
|
1338
|
+
} else {
|
|
1339
|
+
objectWriteUInt16(this, value, offset, false)
|
|
1340
|
+
}
|
|
1341
|
+
return offset + 2
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
function objectWriteUInt32 (buf, value, offset, littleEndian) {
|
|
1345
|
+
if (value < 0) value = 0xffffffff + value + 1
|
|
1346
|
+
for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {
|
|
1347
|
+
buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {
|
|
1352
|
+
value = +value
|
|
1353
|
+
offset = offset | 0
|
|
1354
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
|
|
1355
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
1356
|
+
this[offset + 3] = (value >>> 24)
|
|
1357
|
+
this[offset + 2] = (value >>> 16)
|
|
1358
|
+
this[offset + 1] = (value >>> 8)
|
|
1359
|
+
this[offset] = (value & 0xff)
|
|
1360
|
+
} else {
|
|
1361
|
+
objectWriteUInt32(this, value, offset, true)
|
|
1362
|
+
}
|
|
1363
|
+
return offset + 4
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {
|
|
1367
|
+
value = +value
|
|
1368
|
+
offset = offset | 0
|
|
1369
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
|
|
1370
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
1371
|
+
this[offset] = (value >>> 24)
|
|
1372
|
+
this[offset + 1] = (value >>> 16)
|
|
1373
|
+
this[offset + 2] = (value >>> 8)
|
|
1374
|
+
this[offset + 3] = (value & 0xff)
|
|
1375
|
+
} else {
|
|
1376
|
+
objectWriteUInt32(this, value, offset, false)
|
|
1377
|
+
}
|
|
1378
|
+
return offset + 4
|
|
1379
|
+
}
|
|
1380
|
+
|
|
1381
|
+
Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {
|
|
1382
|
+
value = +value
|
|
1383
|
+
offset = offset | 0
|
|
1384
|
+
if (!noAssert) {
|
|
1385
|
+
var limit = Math.pow(2, 8 * byteLength - 1)
|
|
1386
|
+
|
|
1387
|
+
checkInt(this, value, offset, byteLength, limit - 1, -limit)
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
var i = 0
|
|
1391
|
+
var mul = 1
|
|
1392
|
+
var sub = 0
|
|
1393
|
+
this[offset] = value & 0xFF
|
|
1394
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
1395
|
+
if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {
|
|
1396
|
+
sub = 1
|
|
1397
|
+
}
|
|
1398
|
+
this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
return offset + byteLength
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {
|
|
1405
|
+
value = +value
|
|
1406
|
+
offset = offset | 0
|
|
1407
|
+
if (!noAssert) {
|
|
1408
|
+
var limit = Math.pow(2, 8 * byteLength - 1)
|
|
1409
|
+
|
|
1410
|
+
checkInt(this, value, offset, byteLength, limit - 1, -limit)
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
var i = byteLength - 1
|
|
1414
|
+
var mul = 1
|
|
1415
|
+
var sub = 0
|
|
1416
|
+
this[offset + i] = value & 0xFF
|
|
1417
|
+
while (--i >= 0 && (mul *= 0x100)) {
|
|
1418
|
+
if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {
|
|
1419
|
+
sub = 1
|
|
1420
|
+
}
|
|
1421
|
+
this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
|
|
1422
|
+
}
|
|
1423
|
+
|
|
1424
|
+
return offset + byteLength
|
|
1425
|
+
}
|
|
1426
|
+
|
|
1427
|
+
Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
|
|
1428
|
+
value = +value
|
|
1429
|
+
offset = offset | 0
|
|
1430
|
+
if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)
|
|
1431
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
|
|
1432
|
+
if (value < 0) value = 0xff + value + 1
|
|
1433
|
+
this[offset] = (value & 0xff)
|
|
1434
|
+
return offset + 1
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
|
|
1438
|
+
value = +value
|
|
1439
|
+
offset = offset | 0
|
|
1440
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
|
|
1441
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
1442
|
+
this[offset] = (value & 0xff)
|
|
1443
|
+
this[offset + 1] = (value >>> 8)
|
|
1444
|
+
} else {
|
|
1445
|
+
objectWriteUInt16(this, value, offset, true)
|
|
1446
|
+
}
|
|
1447
|
+
return offset + 2
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
|
|
1451
|
+
value = +value
|
|
1452
|
+
offset = offset | 0
|
|
1453
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
|
|
1454
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
1455
|
+
this[offset] = (value >>> 8)
|
|
1456
|
+
this[offset + 1] = (value & 0xff)
|
|
1457
|
+
} else {
|
|
1458
|
+
objectWriteUInt16(this, value, offset, false)
|
|
1459
|
+
}
|
|
1460
|
+
return offset + 2
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
|
|
1464
|
+
value = +value
|
|
1465
|
+
offset = offset | 0
|
|
1466
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
|
|
1467
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
1468
|
+
this[offset] = (value & 0xff)
|
|
1469
|
+
this[offset + 1] = (value >>> 8)
|
|
1470
|
+
this[offset + 2] = (value >>> 16)
|
|
1471
|
+
this[offset + 3] = (value >>> 24)
|
|
1472
|
+
} else {
|
|
1473
|
+
objectWriteUInt32(this, value, offset, true)
|
|
1474
|
+
}
|
|
1475
|
+
return offset + 4
|
|
1476
|
+
}
|
|
1477
|
+
|
|
1478
|
+
Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
|
|
1479
|
+
value = +value
|
|
1480
|
+
offset = offset | 0
|
|
1481
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
|
|
1482
|
+
if (value < 0) value = 0xffffffff + value + 1
|
|
1483
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
1484
|
+
this[offset] = (value >>> 24)
|
|
1485
|
+
this[offset + 1] = (value >>> 16)
|
|
1486
|
+
this[offset + 2] = (value >>> 8)
|
|
1487
|
+
this[offset + 3] = (value & 0xff)
|
|
1488
|
+
} else {
|
|
1489
|
+
objectWriteUInt32(this, value, offset, false)
|
|
1490
|
+
}
|
|
1491
|
+
return offset + 4
|
|
1492
|
+
}
|
|
1493
|
+
|
|
1494
|
+
function checkIEEE754 (buf, value, offset, ext, max, min) {
|
|
1495
|
+
if (offset + ext > buf.length) throw new RangeError('Index out of range')
|
|
1496
|
+
if (offset < 0) throw new RangeError('Index out of range')
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
function writeFloat (buf, value, offset, littleEndian, noAssert) {
|
|
1500
|
+
if (!noAssert) {
|
|
1501
|
+
checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)
|
|
1502
|
+
}
|
|
1503
|
+
ieee754.write(buf, value, offset, littleEndian, 23, 4)
|
|
1504
|
+
return offset + 4
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {
|
|
1508
|
+
return writeFloat(this, value, offset, true, noAssert)
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {
|
|
1512
|
+
return writeFloat(this, value, offset, false, noAssert)
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
function writeDouble (buf, value, offset, littleEndian, noAssert) {
|
|
1516
|
+
if (!noAssert) {
|
|
1517
|
+
checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)
|
|
1518
|
+
}
|
|
1519
|
+
ieee754.write(buf, value, offset, littleEndian, 52, 8)
|
|
1520
|
+
return offset + 8
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1523
|
+
Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {
|
|
1524
|
+
return writeDouble(this, value, offset, true, noAssert)
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {
|
|
1528
|
+
return writeDouble(this, value, offset, false, noAssert)
|
|
1529
|
+
}
|
|
1530
|
+
|
|
1531
|
+
// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)
|
|
1532
|
+
Buffer.prototype.copy = function copy (target, targetStart, start, end) {
|
|
1533
|
+
if (!start) start = 0
|
|
1534
|
+
if (!end && end !== 0) end = this.length
|
|
1535
|
+
if (targetStart >= target.length) targetStart = target.length
|
|
1536
|
+
if (!targetStart) targetStart = 0
|
|
1537
|
+
if (end > 0 && end < start) end = start
|
|
1538
|
+
|
|
1539
|
+
// Copy 0 bytes; we're done
|
|
1540
|
+
if (end === start) return 0
|
|
1541
|
+
if (target.length === 0 || this.length === 0) return 0
|
|
1542
|
+
|
|
1543
|
+
// Fatal error conditions
|
|
1544
|
+
if (targetStart < 0) {
|
|
1545
|
+
throw new RangeError('targetStart out of bounds')
|
|
1546
|
+
}
|
|
1547
|
+
if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')
|
|
1548
|
+
if (end < 0) throw new RangeError('sourceEnd out of bounds')
|
|
1549
|
+
|
|
1550
|
+
// Are we oob?
|
|
1551
|
+
if (end > this.length) end = this.length
|
|
1552
|
+
if (target.length - targetStart < end - start) {
|
|
1553
|
+
end = target.length - targetStart + start
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
var len = end - start
|
|
1557
|
+
var i
|
|
1558
|
+
|
|
1559
|
+
if (this === target && start < targetStart && targetStart < end) {
|
|
1560
|
+
// descending copy from end
|
|
1561
|
+
for (i = len - 1; i >= 0; --i) {
|
|
1562
|
+
target[i + targetStart] = this[i + start]
|
|
1563
|
+
}
|
|
1564
|
+
} else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {
|
|
1565
|
+
// ascending copy from start
|
|
1566
|
+
for (i = 0; i < len; ++i) {
|
|
1567
|
+
target[i + targetStart] = this[i + start]
|
|
1568
|
+
}
|
|
1569
|
+
} else {
|
|
1570
|
+
Uint8Array.prototype.set.call(
|
|
1571
|
+
target,
|
|
1572
|
+
this.subarray(start, start + len),
|
|
1573
|
+
targetStart
|
|
1574
|
+
)
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
return len
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
// Usage:
|
|
1581
|
+
// buffer.fill(number[, offset[, end]])
|
|
1582
|
+
// buffer.fill(buffer[, offset[, end]])
|
|
1583
|
+
// buffer.fill(string[, offset[, end]][, encoding])
|
|
1584
|
+
Buffer.prototype.fill = function fill (val, start, end, encoding) {
|
|
1585
|
+
// Handle string cases:
|
|
1586
|
+
if (typeof val === 'string') {
|
|
1587
|
+
if (typeof start === 'string') {
|
|
1588
|
+
encoding = start
|
|
1589
|
+
start = 0
|
|
1590
|
+
end = this.length
|
|
1591
|
+
} else if (typeof end === 'string') {
|
|
1592
|
+
encoding = end
|
|
1593
|
+
end = this.length
|
|
1594
|
+
}
|
|
1595
|
+
if (val.length === 1) {
|
|
1596
|
+
var code = val.charCodeAt(0)
|
|
1597
|
+
if (code < 256) {
|
|
1598
|
+
val = code
|
|
1599
|
+
}
|
|
1600
|
+
}
|
|
1601
|
+
if (encoding !== undefined && typeof encoding !== 'string') {
|
|
1602
|
+
throw new TypeError('encoding must be a string')
|
|
1603
|
+
}
|
|
1604
|
+
if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {
|
|
1605
|
+
throw new TypeError('Unknown encoding: ' + encoding)
|
|
1606
|
+
}
|
|
1607
|
+
} else if (typeof val === 'number') {
|
|
1608
|
+
val = val & 255
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
// Invalid ranges are not set to a default, so can range check early.
|
|
1612
|
+
if (start < 0 || this.length < start || this.length < end) {
|
|
1613
|
+
throw new RangeError('Out of range index')
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
if (end <= start) {
|
|
1617
|
+
return this
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
start = start >>> 0
|
|
1621
|
+
end = end === undefined ? this.length : end >>> 0
|
|
1622
|
+
|
|
1623
|
+
if (!val) val = 0
|
|
1624
|
+
|
|
1625
|
+
var i
|
|
1626
|
+
if (typeof val === 'number') {
|
|
1627
|
+
for (i = start; i < end; ++i) {
|
|
1628
|
+
this[i] = val
|
|
1629
|
+
}
|
|
1630
|
+
} else {
|
|
1631
|
+
var bytes = Buffer.isBuffer(val)
|
|
1632
|
+
? val
|
|
1633
|
+
: utf8ToBytes(new Buffer(val, encoding).toString())
|
|
1634
|
+
var len = bytes.length
|
|
1635
|
+
for (i = 0; i < end - start; ++i) {
|
|
1636
|
+
this[i + start] = bytes[i % len]
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
|
|
1640
|
+
return this
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
// HELPER FUNCTIONS
|
|
1644
|
+
// ================
|
|
1645
|
+
|
|
1646
|
+
var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g
|
|
1647
|
+
|
|
1648
|
+
function base64clean (str) {
|
|
1649
|
+
// Node strips out invalid characters like \n and \t from the string, base64-js does not
|
|
1650
|
+
str = stringtrim(str).replace(INVALID_BASE64_RE, '')
|
|
1651
|
+
// Node converts strings with length < 2 to ''
|
|
1652
|
+
if (str.length < 2) return ''
|
|
1653
|
+
// Node allows for non-padded base64 strings (missing trailing ===), base64-js does not
|
|
1654
|
+
while (str.length % 4 !== 0) {
|
|
1655
|
+
str = str + '='
|
|
1656
|
+
}
|
|
1657
|
+
return str
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
function stringtrim (str) {
|
|
1661
|
+
if (str.trim) return str.trim()
|
|
1662
|
+
return str.replace(/^\s+|\s+$/g, '')
|
|
1663
|
+
}
|
|
1664
|
+
|
|
1665
|
+
function toHex (n) {
|
|
1666
|
+
if (n < 16) return '0' + n.toString(16)
|
|
1667
|
+
return n.toString(16)
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
function utf8ToBytes (string, units) {
|
|
1671
|
+
units = units || Infinity
|
|
1672
|
+
var codePoint
|
|
1673
|
+
var length = string.length
|
|
1674
|
+
var leadSurrogate = null
|
|
1675
|
+
var bytes = []
|
|
1676
|
+
|
|
1677
|
+
for (var i = 0; i < length; ++i) {
|
|
1678
|
+
codePoint = string.charCodeAt(i)
|
|
1679
|
+
|
|
1680
|
+
// is surrogate component
|
|
1681
|
+
if (codePoint > 0xD7FF && codePoint < 0xE000) {
|
|
1682
|
+
// last char was a lead
|
|
1683
|
+
if (!leadSurrogate) {
|
|
1684
|
+
// no lead yet
|
|
1685
|
+
if (codePoint > 0xDBFF) {
|
|
1686
|
+
// unexpected trail
|
|
1687
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
|
|
1688
|
+
continue
|
|
1689
|
+
} else if (i + 1 === length) {
|
|
1690
|
+
// unpaired lead
|
|
1691
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
|
|
1692
|
+
continue
|
|
1693
|
+
}
|
|
1694
|
+
|
|
1695
|
+
// valid lead
|
|
1696
|
+
leadSurrogate = codePoint
|
|
1697
|
+
|
|
1698
|
+
continue
|
|
1699
|
+
}
|
|
1700
|
+
|
|
1701
|
+
// 2 leads in a row
|
|
1702
|
+
if (codePoint < 0xDC00) {
|
|
1703
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
|
|
1704
|
+
leadSurrogate = codePoint
|
|
1705
|
+
continue
|
|
1706
|
+
}
|
|
1707
|
+
|
|
1708
|
+
// valid surrogate pair
|
|
1709
|
+
codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000
|
|
1710
|
+
} else if (leadSurrogate) {
|
|
1711
|
+
// valid bmp char, but last char was a lead
|
|
1712
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
leadSurrogate = null
|
|
1716
|
+
|
|
1717
|
+
// encode utf8
|
|
1718
|
+
if (codePoint < 0x80) {
|
|
1719
|
+
if ((units -= 1) < 0) break
|
|
1720
|
+
bytes.push(codePoint)
|
|
1721
|
+
} else if (codePoint < 0x800) {
|
|
1722
|
+
if ((units -= 2) < 0) break
|
|
1723
|
+
bytes.push(
|
|
1724
|
+
codePoint >> 0x6 | 0xC0,
|
|
1725
|
+
codePoint & 0x3F | 0x80
|
|
1726
|
+
)
|
|
1727
|
+
} else if (codePoint < 0x10000) {
|
|
1728
|
+
if ((units -= 3) < 0) break
|
|
1729
|
+
bytes.push(
|
|
1730
|
+
codePoint >> 0xC | 0xE0,
|
|
1731
|
+
codePoint >> 0x6 & 0x3F | 0x80,
|
|
1732
|
+
codePoint & 0x3F | 0x80
|
|
1733
|
+
)
|
|
1734
|
+
} else if (codePoint < 0x110000) {
|
|
1735
|
+
if ((units -= 4) < 0) break
|
|
1736
|
+
bytes.push(
|
|
1737
|
+
codePoint >> 0x12 | 0xF0,
|
|
1738
|
+
codePoint >> 0xC & 0x3F | 0x80,
|
|
1739
|
+
codePoint >> 0x6 & 0x3F | 0x80,
|
|
1740
|
+
codePoint & 0x3F | 0x80
|
|
1741
|
+
)
|
|
1742
|
+
} else {
|
|
1743
|
+
throw new Error('Invalid code point')
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
return bytes
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
function asciiToBytes (str) {
|
|
1751
|
+
var byteArray = []
|
|
1752
|
+
for (var i = 0; i < str.length; ++i) {
|
|
1753
|
+
// Node's code seems to be doing this and not & 0x7F..
|
|
1754
|
+
byteArray.push(str.charCodeAt(i) & 0xFF)
|
|
1755
|
+
}
|
|
1756
|
+
return byteArray
|
|
1757
|
+
}
|
|
1758
|
+
|
|
1759
|
+
function utf16leToBytes (str, units) {
|
|
1760
|
+
var c, hi, lo
|
|
1761
|
+
var byteArray = []
|
|
1762
|
+
for (var i = 0; i < str.length; ++i) {
|
|
1763
|
+
if ((units -= 2) < 0) break
|
|
1764
|
+
|
|
1765
|
+
c = str.charCodeAt(i)
|
|
1766
|
+
hi = c >> 8
|
|
1767
|
+
lo = c % 256
|
|
1768
|
+
byteArray.push(lo)
|
|
1769
|
+
byteArray.push(hi)
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
return byteArray
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
function base64ToBytes (str) {
|
|
1776
|
+
return base64.toByteArray(base64clean(str))
|
|
1777
|
+
}
|
|
1778
|
+
|
|
1779
|
+
function blitBuffer (src, dst, offset, length) {
|
|
1780
|
+
for (var i = 0; i < length; ++i) {
|
|
1781
|
+
if ((i + offset >= dst.length) || (i >= src.length)) break
|
|
1782
|
+
dst[i + offset] = src[i]
|
|
1783
|
+
}
|
|
1784
|
+
return i
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
function isnan (val) {
|
|
1788
|
+
return val !== val // eslint-disable-line no-self-compare
|
|
1789
|
+
}
|