@contrail/cli 3.4.4-alpha.1 → 3.4.4-alpha.3b13bd5
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 -38
- 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/loader/README.md +0 -0
- package/node_modules/@contrail/loader/lib/index.d.ts +941 -0
- package/node_modules/@contrail/loader/lib/index.js +12492 -0
- package/node_modules/@contrail/loader/lib/index.js.map +1 -0
- package/node_modules/@contrail/loader/package.json +70 -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/csv-parse/LICENSE +21 -0
- package/node_modules/csv-parse/README.md +86 -0
- package/node_modules/csv-parse/dist/cjs/index.cjs +1424 -0
- package/node_modules/csv-parse/dist/cjs/index.d.cts +283 -0
- package/node_modules/csv-parse/dist/cjs/sync.cjs +1336 -0
- package/node_modules/csv-parse/dist/cjs/sync.d.cts +11 -0
- package/node_modules/csv-parse/dist/esm/index.d.ts +283 -0
- package/node_modules/csv-parse/dist/esm/index.js +6544 -0
- package/node_modules/csv-parse/dist/esm/sync.d.ts +11 -0
- package/node_modules/csv-parse/dist/esm/sync.js +3305 -0
- package/node_modules/csv-parse/dist/iife/index.js +6553 -0
- package/node_modules/csv-parse/dist/iife/sync.js +3313 -0
- package/node_modules/csv-parse/dist/umd/index.js +6554 -0
- package/node_modules/csv-parse/dist/umd/sync.js +3314 -0
- package/node_modules/csv-parse/lib/api/CsvError.js +19 -0
- package/node_modules/csv-parse/lib/api/index.js +729 -0
- package/node_modules/csv-parse/lib/api/init_state.js +58 -0
- package/node_modules/csv-parse/lib/api/normalize_columns_array.js +33 -0
- package/node_modules/csv-parse/lib/api/normalize_options.js +448 -0
- package/node_modules/csv-parse/lib/index.d.ts +283 -0
- package/node_modules/csv-parse/lib/index.js +121 -0
- package/node_modules/csv-parse/lib/stream.js +27 -0
- package/node_modules/csv-parse/lib/sync.d.ts +11 -0
- package/node_modules/csv-parse/lib/sync.js +27 -0
- package/node_modules/csv-parse/lib/utils/ResizeableBuffer.js +64 -0
- package/node_modules/csv-parse/lib/utils/is_object.js +6 -0
- package/node_modules/csv-parse/lib/utils/underscore.js +8 -0
- package/node_modules/csv-parse/package.json +142 -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 -85
- package/package.json +12 -8
- package/dist/commands/load-local/index.d.ts +0 -17
- package/dist/commands/load-local/index.js +0 -156
- package/dist/helpers/pipeline/formatters.d.ts +0 -6
- package/dist/helpers/pipeline/formatters.js +0 -219
|
@@ -0,0 +1,1501 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
var Buffer = require('../../').Buffer;
|
|
3
|
+
|
|
4
|
+
var common = { skip: function () {} };
|
|
5
|
+
var assert = require('assert');
|
|
6
|
+
|
|
7
|
+
var Buffer = require('../../').Buffer;
|
|
8
|
+
|
|
9
|
+
// counter to ensure unique value is always copied
|
|
10
|
+
var cntr = 0;
|
|
11
|
+
|
|
12
|
+
var b = Buffer.allocUnsafe(1024);
|
|
13
|
+
|
|
14
|
+
// console.log('b.length == %d', b.length);
|
|
15
|
+
assert.strictEqual(1024, b.length);
|
|
16
|
+
|
|
17
|
+
b[0] = -1;
|
|
18
|
+
assert.strictEqual(b[0], 255);
|
|
19
|
+
|
|
20
|
+
for (var i = 0; i < 1024; i++) {
|
|
21
|
+
b[i] = i % 256;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
for (var i = 0; i < 1024; i++) {
|
|
25
|
+
assert.strictEqual(i % 256, b[i]);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
var c = Buffer.allocUnsafe(512);
|
|
29
|
+
// console.log('c.length == %d', c.length);
|
|
30
|
+
assert.strictEqual(512, c.length);
|
|
31
|
+
|
|
32
|
+
var d = Buffer.from([]);
|
|
33
|
+
assert.strictEqual(0, d.length);
|
|
34
|
+
|
|
35
|
+
var ui32 = new Uint32Array(4).fill(42);
|
|
36
|
+
var e = Buffer.from(ui32);
|
|
37
|
+
for (var [index, value] of e.entries()) {
|
|
38
|
+
assert.strictEqual(value, ui32[index]);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// First check Buffer#fill() works as expected.
|
|
42
|
+
|
|
43
|
+
assert.throws(function() {
|
|
44
|
+
Buffer.allocUnsafe(8).fill('a', -1);
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
assert.throws(function() {
|
|
48
|
+
Buffer.allocUnsafe(8).fill('a', 0, 9);
|
|
49
|
+
});
|
|
50
|
+
|
|
51
|
+
// Make sure this doesn't hang indefinitely.
|
|
52
|
+
Buffer.allocUnsafe(8).fill('');
|
|
53
|
+
Buffer.alloc(8, '');
|
|
54
|
+
|
|
55
|
+
{
|
|
56
|
+
var buf = Buffer.alloc(64, 10);
|
|
57
|
+
for (var i = 0; i < buf.length; i++)
|
|
58
|
+
assert.equal(buf[i], 10);
|
|
59
|
+
|
|
60
|
+
buf.fill(11, 0, buf.length >> 1);
|
|
61
|
+
for (var i = 0; i < buf.length >> 1; i++)
|
|
62
|
+
assert.equal(buf[i], 11);
|
|
63
|
+
for (var i = (buf.length >> 1) + 1; i < buf.length; i++)
|
|
64
|
+
assert.equal(buf[i], 10);
|
|
65
|
+
|
|
66
|
+
buf.fill('h');
|
|
67
|
+
for (var i = 0; i < buf.length; i++)
|
|
68
|
+
assert.equal('h'.charCodeAt(0), buf[i]);
|
|
69
|
+
|
|
70
|
+
buf.fill(0);
|
|
71
|
+
for (var i = 0; i < buf.length; i++)
|
|
72
|
+
assert.equal(0, buf[i]);
|
|
73
|
+
|
|
74
|
+
buf.fill(null);
|
|
75
|
+
for (var i = 0; i < buf.length; i++)
|
|
76
|
+
assert.equal(0, buf[i]);
|
|
77
|
+
|
|
78
|
+
buf.fill(1, 16, 32);
|
|
79
|
+
for (var i = 0; i < 16; i++)
|
|
80
|
+
assert.equal(0, buf[i]);
|
|
81
|
+
for (var i = 16; i < 32; i++)
|
|
82
|
+
assert.equal(1, buf[i]);
|
|
83
|
+
for (var i = 32; i < buf.length; i++)
|
|
84
|
+
assert.equal(0, buf[i]);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
{
|
|
88
|
+
var buf = Buffer.alloc(10, 'abc');
|
|
89
|
+
assert.equal(buf.toString(), 'abcabcabca');
|
|
90
|
+
buf.fill('է');
|
|
91
|
+
assert.equal(buf.toString(), 'էէէէէ');
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
{
|
|
95
|
+
// copy 512 bytes, from 0 to 512.
|
|
96
|
+
b.fill(++cntr);
|
|
97
|
+
c.fill(++cntr);
|
|
98
|
+
var copied = b.copy(c, 0, 0, 512);
|
|
99
|
+
// console.log('copied %d bytes from b into c', copied);
|
|
100
|
+
assert.strictEqual(512, copied);
|
|
101
|
+
for (var i = 0; i < c.length; i++) {
|
|
102
|
+
assert.strictEqual(b[i], c[i]);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
{
|
|
107
|
+
// copy c into b, without specifying sourceEnd
|
|
108
|
+
b.fill(++cntr);
|
|
109
|
+
c.fill(++cntr);
|
|
110
|
+
var copied = c.copy(b, 0, 0);
|
|
111
|
+
// console.log('copied %d bytes from c into b w/o sourceEnd', copied);
|
|
112
|
+
assert.strictEqual(c.length, copied);
|
|
113
|
+
for (var i = 0; i < c.length; i++) {
|
|
114
|
+
assert.strictEqual(c[i], b[i]);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
{
|
|
119
|
+
// copy c into b, without specifying sourceStart
|
|
120
|
+
b.fill(++cntr);
|
|
121
|
+
c.fill(++cntr);
|
|
122
|
+
var copied = c.copy(b, 0);
|
|
123
|
+
// console.log('copied %d bytes from c into b w/o sourceStart', copied);
|
|
124
|
+
assert.strictEqual(c.length, copied);
|
|
125
|
+
for (var i = 0; i < c.length; i++) {
|
|
126
|
+
assert.strictEqual(c[i], b[i]);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
{
|
|
131
|
+
// copy longer buffer b to shorter c without targetStart
|
|
132
|
+
b.fill(++cntr);
|
|
133
|
+
c.fill(++cntr);
|
|
134
|
+
var copied = b.copy(c);
|
|
135
|
+
// console.log('copied %d bytes from b into c w/o targetStart', copied);
|
|
136
|
+
assert.strictEqual(c.length, copied);
|
|
137
|
+
for (var i = 0; i < c.length; i++) {
|
|
138
|
+
assert.strictEqual(b[i], c[i]);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
{
|
|
143
|
+
// copy starting near end of b to c
|
|
144
|
+
b.fill(++cntr);
|
|
145
|
+
c.fill(++cntr);
|
|
146
|
+
var copied = b.copy(c, 0, b.length - Math.floor(c.length / 2));
|
|
147
|
+
// console.log('copied %d bytes from end of b into beginning of c', copied);
|
|
148
|
+
assert.strictEqual(Math.floor(c.length / 2), copied);
|
|
149
|
+
for (var i = 0; i < Math.floor(c.length / 2); i++) {
|
|
150
|
+
assert.strictEqual(b[b.length - Math.floor(c.length / 2) + i], c[i]);
|
|
151
|
+
}
|
|
152
|
+
for (var i = Math.floor(c.length / 2) + 1; i < c.length; i++) {
|
|
153
|
+
assert.strictEqual(c[c.length - 1], c[i]);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
{
|
|
158
|
+
// try to copy 513 bytes, and check we don't overrun c
|
|
159
|
+
b.fill(++cntr);
|
|
160
|
+
c.fill(++cntr);
|
|
161
|
+
var copied = b.copy(c, 0, 0, 513);
|
|
162
|
+
// console.log('copied %d bytes from b trying to overrun c', copied);
|
|
163
|
+
assert.strictEqual(c.length, copied);
|
|
164
|
+
for (var i = 0; i < c.length; i++) {
|
|
165
|
+
assert.strictEqual(b[i], c[i]);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
{
|
|
170
|
+
// copy 768 bytes from b into b
|
|
171
|
+
b.fill(++cntr);
|
|
172
|
+
b.fill(++cntr, 256);
|
|
173
|
+
var copied = b.copy(b, 0, 256, 1024);
|
|
174
|
+
// console.log('copied %d bytes from b into b', copied);
|
|
175
|
+
assert.strictEqual(768, copied);
|
|
176
|
+
for (var i = 0; i < b.length; i++) {
|
|
177
|
+
assert.strictEqual(cntr, b[i]);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
// copy string longer than buffer length (failure will segfault)
|
|
182
|
+
var bb = Buffer.allocUnsafe(10);
|
|
183
|
+
bb.fill('hello crazy world');
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
// try to copy from before the beginning of b
|
|
187
|
+
assert.doesNotThrow(() => { b.copy(c, 0, 100, 10); });
|
|
188
|
+
|
|
189
|
+
// copy throws at negative sourceStart
|
|
190
|
+
assert.throws(function() {
|
|
191
|
+
Buffer.allocUnsafe(5).copy(Buffer.allocUnsafe(5), 0, -1);
|
|
192
|
+
}, RangeError);
|
|
193
|
+
|
|
194
|
+
{
|
|
195
|
+
// check sourceEnd resets to targetEnd if former is greater than the latter
|
|
196
|
+
b.fill(++cntr);
|
|
197
|
+
c.fill(++cntr);
|
|
198
|
+
var copied = b.copy(c, 0, 0, 1025);
|
|
199
|
+
// console.log('copied %d bytes from b into c', copied);
|
|
200
|
+
for (var i = 0; i < c.length; i++) {
|
|
201
|
+
assert.strictEqual(b[i], c[i]);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
// throw with negative sourceEnd
|
|
206
|
+
// console.log('test copy at negative sourceEnd');
|
|
207
|
+
assert.throws(function() {
|
|
208
|
+
b.copy(c, 0, 0, -1);
|
|
209
|
+
}, RangeError);
|
|
210
|
+
|
|
211
|
+
// when sourceStart is greater than sourceEnd, zero copied
|
|
212
|
+
assert.equal(b.copy(c, 0, 100, 10), 0);
|
|
213
|
+
|
|
214
|
+
// when targetStart > targetLength, zero copied
|
|
215
|
+
assert.equal(b.copy(c, 512, 0, 10), 0);
|
|
216
|
+
|
|
217
|
+
var caught_error;
|
|
218
|
+
|
|
219
|
+
// invalid encoding for Buffer.toString
|
|
220
|
+
caught_error = null;
|
|
221
|
+
try {
|
|
222
|
+
b.toString('invalid');
|
|
223
|
+
} catch (err) {
|
|
224
|
+
caught_error = err;
|
|
225
|
+
}
|
|
226
|
+
assert.strictEqual('Unknown encoding: invalid', caught_error.message);
|
|
227
|
+
|
|
228
|
+
// invalid encoding for Buffer.write
|
|
229
|
+
caught_error = null;
|
|
230
|
+
try {
|
|
231
|
+
b.write('test string', 0, 5, 'invalid');
|
|
232
|
+
} catch (err) {
|
|
233
|
+
caught_error = err;
|
|
234
|
+
}
|
|
235
|
+
assert.strictEqual('Unknown encoding: invalid', caught_error.message);
|
|
236
|
+
|
|
237
|
+
// try to create 0-length buffers
|
|
238
|
+
Buffer.from('');
|
|
239
|
+
Buffer.from('', 'ascii');
|
|
240
|
+
Buffer.from('', 'latin1');
|
|
241
|
+
Buffer.alloc(0);
|
|
242
|
+
Buffer.allocUnsafe(0);
|
|
243
|
+
|
|
244
|
+
// try to write a 0-length string beyond the end of b
|
|
245
|
+
assert.throws(function() {
|
|
246
|
+
b.write('', 2048);
|
|
247
|
+
}, RangeError);
|
|
248
|
+
|
|
249
|
+
// throw when writing to negative offset
|
|
250
|
+
assert.throws(function() {
|
|
251
|
+
b.write('a', -1);
|
|
252
|
+
}, RangeError);
|
|
253
|
+
|
|
254
|
+
// throw when writing past bounds from the pool
|
|
255
|
+
assert.throws(function() {
|
|
256
|
+
b.write('a', 2048);
|
|
257
|
+
}, RangeError);
|
|
258
|
+
|
|
259
|
+
// throw when writing to negative offset
|
|
260
|
+
assert.throws(function() {
|
|
261
|
+
b.write('a', -1);
|
|
262
|
+
}, RangeError);
|
|
263
|
+
|
|
264
|
+
// try to copy 0 bytes worth of data into an empty buffer
|
|
265
|
+
b.copy(Buffer.alloc(0), 0, 0, 0);
|
|
266
|
+
|
|
267
|
+
// try to copy 0 bytes past the end of the target buffer
|
|
268
|
+
b.copy(Buffer.alloc(0), 1, 1, 1);
|
|
269
|
+
b.copy(Buffer.alloc(1), 1, 1, 1);
|
|
270
|
+
|
|
271
|
+
// try to copy 0 bytes from past the end of the source buffer
|
|
272
|
+
b.copy(Buffer.alloc(1), 0, 2048, 2048);
|
|
273
|
+
|
|
274
|
+
var rangeBuffer = Buffer.from('abc');
|
|
275
|
+
|
|
276
|
+
// if start >= buffer's length, empty string will be returned
|
|
277
|
+
assert.equal(rangeBuffer.toString('ascii', 3), '');
|
|
278
|
+
assert.equal(rangeBuffer.toString('ascii', +Infinity), '');
|
|
279
|
+
assert.equal(rangeBuffer.toString('ascii', 3.14, 3), '');
|
|
280
|
+
assert.equal(rangeBuffer.toString('ascii', 'Infinity', 3), '');
|
|
281
|
+
|
|
282
|
+
// if end <= 0, empty string will be returned
|
|
283
|
+
assert.equal(rangeBuffer.toString('ascii', 1, 0), '');
|
|
284
|
+
assert.equal(rangeBuffer.toString('ascii', 1, -1.2), '');
|
|
285
|
+
assert.equal(rangeBuffer.toString('ascii', 1, -100), '');
|
|
286
|
+
assert.equal(rangeBuffer.toString('ascii', 1, -Infinity), '');
|
|
287
|
+
|
|
288
|
+
// if start < 0, start will be taken as zero
|
|
289
|
+
assert.equal(rangeBuffer.toString('ascii', -1, 3), 'abc');
|
|
290
|
+
assert.equal(rangeBuffer.toString('ascii', -1.99, 3), 'abc');
|
|
291
|
+
assert.equal(rangeBuffer.toString('ascii', -Infinity, 3), 'abc');
|
|
292
|
+
assert.equal(rangeBuffer.toString('ascii', '-1', 3), 'abc');
|
|
293
|
+
assert.equal(rangeBuffer.toString('ascii', '-1.99', 3), 'abc');
|
|
294
|
+
assert.equal(rangeBuffer.toString('ascii', '-Infinity', 3), 'abc');
|
|
295
|
+
|
|
296
|
+
// if start is an invalid integer, start will be taken as zero
|
|
297
|
+
assert.equal(rangeBuffer.toString('ascii', 'node.js', 3), 'abc');
|
|
298
|
+
assert.equal(rangeBuffer.toString('ascii', {}, 3), 'abc');
|
|
299
|
+
assert.equal(rangeBuffer.toString('ascii', [], 3), 'abc');
|
|
300
|
+
assert.equal(rangeBuffer.toString('ascii', NaN, 3), 'abc');
|
|
301
|
+
assert.equal(rangeBuffer.toString('ascii', null, 3), 'abc');
|
|
302
|
+
assert.equal(rangeBuffer.toString('ascii', undefined, 3), 'abc');
|
|
303
|
+
assert.equal(rangeBuffer.toString('ascii', false, 3), 'abc');
|
|
304
|
+
assert.equal(rangeBuffer.toString('ascii', '', 3), 'abc');
|
|
305
|
+
|
|
306
|
+
// but, if start is an integer when coerced, then it will be coerced and used.
|
|
307
|
+
assert.equal(rangeBuffer.toString('ascii', '-1', 3), 'abc');
|
|
308
|
+
assert.equal(rangeBuffer.toString('ascii', '1', 3), 'bc');
|
|
309
|
+
assert.equal(rangeBuffer.toString('ascii', '-Infinity', 3), 'abc');
|
|
310
|
+
assert.equal(rangeBuffer.toString('ascii', '3', 3), '');
|
|
311
|
+
assert.equal(rangeBuffer.toString('ascii', Number(3), 3), '');
|
|
312
|
+
assert.equal(rangeBuffer.toString('ascii', '3.14', 3), '');
|
|
313
|
+
assert.equal(rangeBuffer.toString('ascii', '1.99', 3), 'bc');
|
|
314
|
+
assert.equal(rangeBuffer.toString('ascii', '-1.99', 3), 'abc');
|
|
315
|
+
assert.equal(rangeBuffer.toString('ascii', 1.99, 3), 'bc');
|
|
316
|
+
assert.equal(rangeBuffer.toString('ascii', true, 3), 'bc');
|
|
317
|
+
|
|
318
|
+
// if end > buffer's length, end will be taken as buffer's length
|
|
319
|
+
assert.equal(rangeBuffer.toString('ascii', 0, 5), 'abc');
|
|
320
|
+
assert.equal(rangeBuffer.toString('ascii', 0, 6.99), 'abc');
|
|
321
|
+
assert.equal(rangeBuffer.toString('ascii', 0, Infinity), 'abc');
|
|
322
|
+
assert.equal(rangeBuffer.toString('ascii', 0, '5'), 'abc');
|
|
323
|
+
assert.equal(rangeBuffer.toString('ascii', 0, '6.99'), 'abc');
|
|
324
|
+
assert.equal(rangeBuffer.toString('ascii', 0, 'Infinity'), 'abc');
|
|
325
|
+
|
|
326
|
+
// if end is an invalid integer, end will be taken as buffer's length
|
|
327
|
+
assert.equal(rangeBuffer.toString('ascii', 0, 'node.js'), '');
|
|
328
|
+
assert.equal(rangeBuffer.toString('ascii', 0, {}), '');
|
|
329
|
+
assert.equal(rangeBuffer.toString('ascii', 0, NaN), '');
|
|
330
|
+
assert.equal(rangeBuffer.toString('ascii', 0, undefined), 'abc');
|
|
331
|
+
assert.equal(rangeBuffer.toString('ascii', 0), 'abc');
|
|
332
|
+
assert.equal(rangeBuffer.toString('ascii', 0, null), '');
|
|
333
|
+
assert.equal(rangeBuffer.toString('ascii', 0, []), '');
|
|
334
|
+
assert.equal(rangeBuffer.toString('ascii', 0, false), '');
|
|
335
|
+
assert.equal(rangeBuffer.toString('ascii', 0, ''), '');
|
|
336
|
+
|
|
337
|
+
// but, if end is an integer when coerced, then it will be coerced and used.
|
|
338
|
+
assert.equal(rangeBuffer.toString('ascii', 0, '-1'), '');
|
|
339
|
+
assert.equal(rangeBuffer.toString('ascii', 0, '1'), 'a');
|
|
340
|
+
assert.equal(rangeBuffer.toString('ascii', 0, '-Infinity'), '');
|
|
341
|
+
assert.equal(rangeBuffer.toString('ascii', 0, '3'), 'abc');
|
|
342
|
+
assert.equal(rangeBuffer.toString('ascii', 0, Number(3)), 'abc');
|
|
343
|
+
assert.equal(rangeBuffer.toString('ascii', 0, '3.14'), 'abc');
|
|
344
|
+
assert.equal(rangeBuffer.toString('ascii', 0, '1.99'), 'a');
|
|
345
|
+
assert.equal(rangeBuffer.toString('ascii', 0, '-1.99'), '');
|
|
346
|
+
assert.equal(rangeBuffer.toString('ascii', 0, 1.99), 'a');
|
|
347
|
+
assert.equal(rangeBuffer.toString('ascii', 0, true), 'a');
|
|
348
|
+
|
|
349
|
+
// try toString() with a object as a encoding
|
|
350
|
+
assert.equal(rangeBuffer.toString({toString: function() {
|
|
351
|
+
return 'ascii';
|
|
352
|
+
}}), 'abc');
|
|
353
|
+
|
|
354
|
+
// testing for smart defaults and ability to pass string values as offset
|
|
355
|
+
var writeTest = Buffer.from('abcdes');
|
|
356
|
+
writeTest.write('n', 'ascii');
|
|
357
|
+
writeTest.write('o', '1', 'ascii');
|
|
358
|
+
writeTest.write('d', '2', 'ascii');
|
|
359
|
+
writeTest.write('e', 3, 'ascii');
|
|
360
|
+
writeTest.write('j', 4, 'ascii');
|
|
361
|
+
assert.equal(writeTest.toString(), 'nodejs');
|
|
362
|
+
|
|
363
|
+
// ASCII slice test
|
|
364
|
+
{
|
|
365
|
+
var asciiString = 'hello world';
|
|
366
|
+
|
|
367
|
+
for (var i = 0; i < asciiString.length; i++) {
|
|
368
|
+
b[i] = asciiString.charCodeAt(i);
|
|
369
|
+
}
|
|
370
|
+
var asciiSlice = b.toString('ascii', 0, asciiString.length);
|
|
371
|
+
assert.equal(asciiString, asciiSlice);
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
{
|
|
375
|
+
var asciiString = 'hello world';
|
|
376
|
+
var offset = 100;
|
|
377
|
+
|
|
378
|
+
var written = b.write(asciiString, offset, 'ascii');
|
|
379
|
+
assert.equal(asciiString.length, written);
|
|
380
|
+
var asciiSlice = b.toString('ascii', offset, offset + asciiString.length);
|
|
381
|
+
assert.equal(asciiString, asciiSlice);
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
{
|
|
385
|
+
var asciiString = 'hello world';
|
|
386
|
+
var offset = 100;
|
|
387
|
+
|
|
388
|
+
var sliceA = b.slice(offset, offset + asciiString.length);
|
|
389
|
+
var sliceB = b.slice(offset, offset + asciiString.length);
|
|
390
|
+
for (var i = 0; i < asciiString.length; i++) {
|
|
391
|
+
assert.equal(sliceA[i], sliceB[i]);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
// UTF-8 slice test
|
|
396
|
+
|
|
397
|
+
var utf8String = '¡hέlló wôrld!';
|
|
398
|
+
var offset = 100;
|
|
399
|
+
|
|
400
|
+
b.write(utf8String, 0, Buffer.byteLength(utf8String), 'utf8');
|
|
401
|
+
var utf8Slice = b.toString('utf8', 0, Buffer.byteLength(utf8String));
|
|
402
|
+
assert.equal(utf8String, utf8Slice);
|
|
403
|
+
|
|
404
|
+
var written = b.write(utf8String, offset, 'utf8');
|
|
405
|
+
assert.equal(Buffer.byteLength(utf8String), written);
|
|
406
|
+
utf8Slice = b.toString('utf8', offset, offset + Buffer.byteLength(utf8String));
|
|
407
|
+
assert.equal(utf8String, utf8Slice);
|
|
408
|
+
|
|
409
|
+
var sliceA = b.slice(offset, offset + Buffer.byteLength(utf8String));
|
|
410
|
+
var sliceB = b.slice(offset, offset + Buffer.byteLength(utf8String));
|
|
411
|
+
for (var i = 0; i < Buffer.byteLength(utf8String); i++) {
|
|
412
|
+
assert.equal(sliceA[i], sliceB[i]);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
{
|
|
416
|
+
var slice = b.slice(100, 150);
|
|
417
|
+
assert.equal(50, slice.length);
|
|
418
|
+
for (var i = 0; i < 50; i++) {
|
|
419
|
+
assert.equal(b[100 + i], slice[i]);
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
{
|
|
424
|
+
// make sure only top level parent propagates from allocPool
|
|
425
|
+
var b = Buffer.allocUnsafe(5);
|
|
426
|
+
var c = b.slice(0, 4);
|
|
427
|
+
var d = c.slice(0, 2);
|
|
428
|
+
assert.equal(b.parent, c.parent);
|
|
429
|
+
assert.equal(b.parent, d.parent);
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
{
|
|
433
|
+
// also from a non-pooled instance
|
|
434
|
+
var b = Buffer.allocUnsafeSlow(5);
|
|
435
|
+
var c = b.slice(0, 4);
|
|
436
|
+
var d = c.slice(0, 2);
|
|
437
|
+
assert.equal(c.parent, d.parent);
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
{
|
|
441
|
+
// Bug regression test
|
|
442
|
+
var testValue = '\u00F6\u65E5\u672C\u8A9E'; // ö日本語
|
|
443
|
+
var buffer = Buffer.allocUnsafe(32);
|
|
444
|
+
var size = buffer.write(testValue, 0, 'utf8');
|
|
445
|
+
// console.log('bytes written to buffer: ' + size);
|
|
446
|
+
var slice = buffer.toString('utf8', 0, size);
|
|
447
|
+
assert.equal(slice, testValue);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
{
|
|
451
|
+
// Test triple slice
|
|
452
|
+
var a = Buffer.allocUnsafe(8);
|
|
453
|
+
for (var i = 0; i < 8; i++) a[i] = i;
|
|
454
|
+
var b = a.slice(4, 8);
|
|
455
|
+
assert.equal(4, b[0]);
|
|
456
|
+
assert.equal(5, b[1]);
|
|
457
|
+
assert.equal(6, b[2]);
|
|
458
|
+
assert.equal(7, b[3]);
|
|
459
|
+
var c = b.slice(2, 4);
|
|
460
|
+
assert.equal(6, c[0]);
|
|
461
|
+
assert.equal(7, c[1]);
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
{
|
|
465
|
+
var d = Buffer.from([23, 42, 255]);
|
|
466
|
+
assert.equal(d.length, 3);
|
|
467
|
+
assert.equal(d[0], 23);
|
|
468
|
+
assert.equal(d[1], 42);
|
|
469
|
+
assert.equal(d[2], 255);
|
|
470
|
+
assert.deepStrictEqual(d, Buffer.from(d));
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
{
|
|
474
|
+
var e = Buffer.from('über');
|
|
475
|
+
// console.error('uber: \'%s\'', e.toString());
|
|
476
|
+
assert.deepStrictEqual(e, Buffer.from([195, 188, 98, 101, 114]));
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
{
|
|
480
|
+
var f = Buffer.from('über', 'ascii');
|
|
481
|
+
// console.error('f.length: %d (should be 4)', f.length);
|
|
482
|
+
assert.deepStrictEqual(f, Buffer.from([252, 98, 101, 114]));
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
['ucs2', 'ucs-2', 'utf16le', 'utf-16le'].forEach(function(encoding) {
|
|
486
|
+
{
|
|
487
|
+
var f = Buffer.from('über', encoding);
|
|
488
|
+
// console.error('f.length: %d (should be 8)', f.length);
|
|
489
|
+
assert.deepStrictEqual(f, Buffer.from([252, 0, 98, 0, 101, 0, 114, 0]));
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
{
|
|
493
|
+
var f = Buffer.from('привет', encoding);
|
|
494
|
+
// console.error('f.length: %d (should be 12)', f.length);
|
|
495
|
+
assert.deepStrictEqual(f,
|
|
496
|
+
Buffer.from([63, 4, 64, 4, 56, 4, 50, 4, 53, 4, 66, 4]));
|
|
497
|
+
assert.equal(f.toString(encoding), 'привет');
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
{
|
|
501
|
+
var f = Buffer.from([0, 0, 0, 0, 0]);
|
|
502
|
+
assert.equal(f.length, 5);
|
|
503
|
+
var size = f.write('あいうえお', encoding);
|
|
504
|
+
// console.error('bytes written to buffer: %d (should be 4)', size);
|
|
505
|
+
assert.equal(size, 4);
|
|
506
|
+
assert.deepStrictEqual(f, Buffer.from([0x42, 0x30, 0x44, 0x30, 0x00]));
|
|
507
|
+
}
|
|
508
|
+
});
|
|
509
|
+
|
|
510
|
+
{
|
|
511
|
+
var f = Buffer.from('\uD83D\uDC4D', 'utf-16le'); // THUMBS UP SIGN (U+1F44D)
|
|
512
|
+
assert.equal(f.length, 4);
|
|
513
|
+
assert.deepStrictEqual(f, Buffer.from('3DD84DDC', 'hex'));
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
var arrayIsh = {0: 0, 1: 1, 2: 2, 3: 3, length: 4};
|
|
518
|
+
var g = Buffer.from(arrayIsh);
|
|
519
|
+
assert.deepStrictEqual(g, Buffer.from([0, 1, 2, 3]));
|
|
520
|
+
var strArrayIsh = {0: '0', 1: '1', 2: '2', 3: '3', length: 4};
|
|
521
|
+
g = Buffer.from(strArrayIsh);
|
|
522
|
+
assert.deepStrictEqual(g, Buffer.from([0, 1, 2, 3]));
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
//
|
|
526
|
+
// Test toString('base64')
|
|
527
|
+
//
|
|
528
|
+
assert.equal('TWFu', (Buffer.from('Man')).toString('base64'));
|
|
529
|
+
|
|
530
|
+
{
|
|
531
|
+
// test that regular and URL-safe base64 both work
|
|
532
|
+
var expected = [0xff, 0xff, 0xbe, 0xff, 0xef, 0xbf, 0xfb, 0xef, 0xff];
|
|
533
|
+
assert.deepStrictEqual(Buffer.from('//++/++/++//', 'base64'),
|
|
534
|
+
Buffer.from(expected));
|
|
535
|
+
assert.deepStrictEqual(Buffer.from('__--_--_--__', 'base64'),
|
|
536
|
+
Buffer.from(expected));
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
{
|
|
540
|
+
// big example
|
|
541
|
+
var quote = 'Man is distinguished, not only by his reason, but by this ' +
|
|
542
|
+
'singular passion from other animals, which is a lust ' +
|
|
543
|
+
'of the mind, that by a perseverance of delight in the ' +
|
|
544
|
+
'continued and indefatigable generation of knowledge, ' +
|
|
545
|
+
'exceeds the short vehemence of any carnal pleasure.';
|
|
546
|
+
var expected = 'TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb' +
|
|
547
|
+
'24sIGJ1dCBieSB0aGlzIHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlci' +
|
|
548
|
+
'BhbmltYWxzLCB3aGljaCBpcyBhIGx1c3Qgb2YgdGhlIG1pbmQsIHRoYXQ' +
|
|
549
|
+
'gYnkgYSBwZXJzZXZlcmFuY2Ugb2YgZGVsaWdodCBpbiB0aGUgY29udGlu' +
|
|
550
|
+
'dWVkIGFuZCBpbmRlZmF0aWdhYmxlIGdlbmVyYXRpb24gb2Yga25vd2xlZ' +
|
|
551
|
+
'GdlLCBleGNlZWRzIHRoZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm' +
|
|
552
|
+
'5hbCBwbGVhc3VyZS4=';
|
|
553
|
+
assert.equal(expected, (Buffer.from(quote)).toString('base64'));
|
|
554
|
+
|
|
555
|
+
var b = Buffer.allocUnsafe(1024);
|
|
556
|
+
var bytesWritten = b.write(expected, 0, 'base64');
|
|
557
|
+
assert.equal(quote.length, bytesWritten);
|
|
558
|
+
assert.equal(quote, b.toString('ascii', 0, quote.length));
|
|
559
|
+
|
|
560
|
+
// check that the base64 decoder ignores whitespace
|
|
561
|
+
var expectedWhite = expected.slice(0, 60) + ' \n' +
|
|
562
|
+
expected.slice(60, 120) + ' \n' +
|
|
563
|
+
expected.slice(120, 180) + ' \n' +
|
|
564
|
+
expected.slice(180, 240) + ' \n' +
|
|
565
|
+
expected.slice(240, 300) + '\n' +
|
|
566
|
+
expected.slice(300, 360) + '\n';
|
|
567
|
+
b = Buffer.allocUnsafe(1024);
|
|
568
|
+
bytesWritten = b.write(expectedWhite, 0, 'base64');
|
|
569
|
+
assert.equal(quote.length, bytesWritten);
|
|
570
|
+
assert.equal(quote, b.toString('ascii', 0, quote.length));
|
|
571
|
+
|
|
572
|
+
// check that the base64 decoder on the constructor works
|
|
573
|
+
// even in the presence of whitespace.
|
|
574
|
+
b = Buffer.from(expectedWhite, 'base64');
|
|
575
|
+
assert.equal(quote.length, b.length);
|
|
576
|
+
assert.equal(quote, b.toString('ascii', 0, quote.length));
|
|
577
|
+
|
|
578
|
+
// check that the base64 decoder ignores illegal chars
|
|
579
|
+
var expectedIllegal = expected.slice(0, 60) + ' \x80' +
|
|
580
|
+
expected.slice(60, 120) + ' \xff' +
|
|
581
|
+
expected.slice(120, 180) + ' \x00' +
|
|
582
|
+
expected.slice(180, 240) + ' \x98' +
|
|
583
|
+
expected.slice(240, 300) + '\x03' +
|
|
584
|
+
expected.slice(300, 360);
|
|
585
|
+
b = Buffer.from(expectedIllegal, 'base64');
|
|
586
|
+
assert.equal(quote.length, b.length);
|
|
587
|
+
assert.equal(quote, b.toString('ascii', 0, quote.length));
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
assert.equal(Buffer.from('', 'base64').toString(), '');
|
|
591
|
+
assert.equal(Buffer.from('K', 'base64').toString(), '');
|
|
592
|
+
|
|
593
|
+
// multiple-of-4 with padding
|
|
594
|
+
assert.equal(Buffer.from('Kg==', 'base64').toString(), '*');
|
|
595
|
+
assert.equal(Buffer.from('Kio=', 'base64').toString(), '**');
|
|
596
|
+
assert.equal(Buffer.from('Kioq', 'base64').toString(), '***');
|
|
597
|
+
assert.equal(Buffer.from('KioqKg==', 'base64').toString(), '****');
|
|
598
|
+
assert.equal(Buffer.from('KioqKio=', 'base64').toString(), '*****');
|
|
599
|
+
assert.equal(Buffer.from('KioqKioq', 'base64').toString(), '******');
|
|
600
|
+
assert.equal(Buffer.from('KioqKioqKg==', 'base64').toString(), '*******');
|
|
601
|
+
assert.equal(Buffer.from('KioqKioqKio=', 'base64').toString(), '********');
|
|
602
|
+
assert.equal(Buffer.from('KioqKioqKioq', 'base64').toString(), '*********');
|
|
603
|
+
assert.equal(Buffer.from('KioqKioqKioqKg==', 'base64').toString(),
|
|
604
|
+
'**********');
|
|
605
|
+
assert.equal(Buffer.from('KioqKioqKioqKio=', 'base64').toString(),
|
|
606
|
+
'***********');
|
|
607
|
+
assert.equal(Buffer.from('KioqKioqKioqKioq', 'base64').toString(),
|
|
608
|
+
'************');
|
|
609
|
+
assert.equal(Buffer.from('KioqKioqKioqKioqKg==', 'base64').toString(),
|
|
610
|
+
'*************');
|
|
611
|
+
assert.equal(Buffer.from('KioqKioqKioqKioqKio=', 'base64').toString(),
|
|
612
|
+
'**************');
|
|
613
|
+
assert.equal(Buffer.from('KioqKioqKioqKioqKioq', 'base64').toString(),
|
|
614
|
+
'***************');
|
|
615
|
+
assert.equal(Buffer.from('KioqKioqKioqKioqKioqKg==', 'base64').toString(),
|
|
616
|
+
'****************');
|
|
617
|
+
assert.equal(Buffer.from('KioqKioqKioqKioqKioqKio=', 'base64').toString(),
|
|
618
|
+
'*****************');
|
|
619
|
+
assert.equal(Buffer.from('KioqKioqKioqKioqKioqKioq', 'base64').toString(),
|
|
620
|
+
'******************');
|
|
621
|
+
assert.equal(Buffer.from('KioqKioqKioqKioqKioqKioqKg==', 'base64').toString(),
|
|
622
|
+
'*******************');
|
|
623
|
+
assert.equal(Buffer.from('KioqKioqKioqKioqKioqKioqKio=', 'base64').toString(),
|
|
624
|
+
'********************');
|
|
625
|
+
|
|
626
|
+
// no padding, not a multiple of 4
|
|
627
|
+
assert.equal(Buffer.from('Kg', 'base64').toString(), '*');
|
|
628
|
+
assert.equal(Buffer.from('Kio', 'base64').toString(), '**');
|
|
629
|
+
assert.equal(Buffer.from('KioqKg', 'base64').toString(), '****');
|
|
630
|
+
assert.equal(Buffer.from('KioqKio', 'base64').toString(), '*****');
|
|
631
|
+
assert.equal(Buffer.from('KioqKioqKg', 'base64').toString(), '*******');
|
|
632
|
+
assert.equal(Buffer.from('KioqKioqKio', 'base64').toString(), '********');
|
|
633
|
+
assert.equal(Buffer.from('KioqKioqKioqKg', 'base64').toString(), '**********');
|
|
634
|
+
assert.equal(Buffer.from('KioqKioqKioqKio', 'base64').toString(),
|
|
635
|
+
'***********');
|
|
636
|
+
assert.equal(Buffer.from('KioqKioqKioqKioqKg', 'base64').toString(),
|
|
637
|
+
'*************');
|
|
638
|
+
assert.equal(Buffer.from('KioqKioqKioqKioqKio', 'base64').toString(),
|
|
639
|
+
'**************');
|
|
640
|
+
assert.equal(Buffer.from('KioqKioqKioqKioqKioqKg', 'base64').toString(),
|
|
641
|
+
'****************');
|
|
642
|
+
assert.equal(Buffer.from('KioqKioqKioqKioqKioqKio', 'base64').toString(),
|
|
643
|
+
'*****************');
|
|
644
|
+
assert.equal(Buffer.from('KioqKioqKioqKioqKioqKioqKg', 'base64').toString(),
|
|
645
|
+
'*******************');
|
|
646
|
+
assert.equal(Buffer.from('KioqKioqKioqKioqKioqKioqKio', 'base64').toString(),
|
|
647
|
+
'********************');
|
|
648
|
+
|
|
649
|
+
// handle padding graciously, multiple-of-4 or not
|
|
650
|
+
assert.equal(
|
|
651
|
+
Buffer.from('72INjkR5fchcxk9+VgdGPFJDxUBFR5/rMFsghgxADiw==', 'base64').length,
|
|
652
|
+
32
|
|
653
|
+
);
|
|
654
|
+
assert.equal(
|
|
655
|
+
Buffer.from('72INjkR5fchcxk9+VgdGPFJDxUBFR5/rMFsghgxADiw=', 'base64').length,
|
|
656
|
+
32
|
|
657
|
+
);
|
|
658
|
+
assert.equal(
|
|
659
|
+
Buffer.from('72INjkR5fchcxk9+VgdGPFJDxUBFR5/rMFsghgxADiw', 'base64').length,
|
|
660
|
+
32
|
|
661
|
+
);
|
|
662
|
+
assert.equal(
|
|
663
|
+
Buffer.from('w69jACy6BgZmaFvv96HG6MYksWytuZu3T1FvGnulPg==', 'base64').length,
|
|
664
|
+
31
|
|
665
|
+
);
|
|
666
|
+
assert.equal(
|
|
667
|
+
Buffer.from('w69jACy6BgZmaFvv96HG6MYksWytuZu3T1FvGnulPg=', 'base64').length,
|
|
668
|
+
31
|
|
669
|
+
);
|
|
670
|
+
assert.equal(
|
|
671
|
+
Buffer.from('w69jACy6BgZmaFvv96HG6MYksWytuZu3T1FvGnulPg', 'base64').length,
|
|
672
|
+
31
|
|
673
|
+
);
|
|
674
|
+
|
|
675
|
+
// This string encodes single '.' character in UTF-16
|
|
676
|
+
var dot = Buffer.from('//4uAA==', 'base64');
|
|
677
|
+
assert.equal(dot[0], 0xff);
|
|
678
|
+
assert.equal(dot[1], 0xfe);
|
|
679
|
+
assert.equal(dot[2], 0x2e);
|
|
680
|
+
assert.equal(dot[3], 0x00);
|
|
681
|
+
assert.equal(dot.toString('base64'), '//4uAA==');
|
|
682
|
+
|
|
683
|
+
{
|
|
684
|
+
// Writing base64 at a position > 0 should not mangle the result.
|
|
685
|
+
//
|
|
686
|
+
// https://github.com/joyent/node/issues/402
|
|
687
|
+
var segments = ['TWFkbmVzcz8h', 'IFRoaXM=', 'IGlz', 'IG5vZGUuanMh'];
|
|
688
|
+
var b = Buffer.allocUnsafe(64);
|
|
689
|
+
var pos = 0;
|
|
690
|
+
|
|
691
|
+
for (var i = 0; i < segments.length; ++i) {
|
|
692
|
+
pos += b.write(segments[i], pos, 'base64');
|
|
693
|
+
}
|
|
694
|
+
assert.equal(b.toString('latin1', 0, pos), 'Madness?! This is node.js!');
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
// Regression test for https://github.com/nodejs/node/issues/3496.
|
|
698
|
+
// assert.equal(Buffer.from('=bad'.repeat(1e4), 'base64').length, 0);
|
|
699
|
+
|
|
700
|
+
{
|
|
701
|
+
// Creating buffers larger than pool size.
|
|
702
|
+
var l = Buffer.poolSize + 5;
|
|
703
|
+
var s = '';
|
|
704
|
+
for (var i = 0; i < l; i++) {
|
|
705
|
+
s += 'h';
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
var b = Buffer.from(s);
|
|
709
|
+
|
|
710
|
+
for (var i = 0; i < l; i++) {
|
|
711
|
+
assert.equal('h'.charCodeAt(0), b[i]);
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
var sb = b.toString();
|
|
715
|
+
assert.equal(sb.length, s.length);
|
|
716
|
+
assert.equal(sb, s);
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
{
|
|
720
|
+
// Single argument slice
|
|
721
|
+
var b = Buffer.from('abcde');
|
|
722
|
+
assert.equal('bcde', b.slice(1).toString());
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
// slice(0,0).length === 0
|
|
726
|
+
assert.equal(0, Buffer.from('hello').slice(0, 0).length);
|
|
727
|
+
|
|
728
|
+
// test hex toString
|
|
729
|
+
// console.log('Create hex string from buffer');
|
|
730
|
+
var hexb = Buffer.allocUnsafe(256);
|
|
731
|
+
for (var i = 0; i < 256; i++) {
|
|
732
|
+
hexb[i] = i;
|
|
733
|
+
}
|
|
734
|
+
var hexStr = hexb.toString('hex');
|
|
735
|
+
assert.equal(hexStr,
|
|
736
|
+
'000102030405060708090a0b0c0d0e0f' +
|
|
737
|
+
'101112131415161718191a1b1c1d1e1f' +
|
|
738
|
+
'202122232425262728292a2b2c2d2e2f' +
|
|
739
|
+
'303132333435363738393a3b3c3d3e3f' +
|
|
740
|
+
'404142434445464748494a4b4c4d4e4f' +
|
|
741
|
+
'505152535455565758595a5b5c5d5e5f' +
|
|
742
|
+
'606162636465666768696a6b6c6d6e6f' +
|
|
743
|
+
'707172737475767778797a7b7c7d7e7f' +
|
|
744
|
+
'808182838485868788898a8b8c8d8e8f' +
|
|
745
|
+
'909192939495969798999a9b9c9d9e9f' +
|
|
746
|
+
'a0a1a2a3a4a5a6a7a8a9aaabacadaeaf' +
|
|
747
|
+
'b0b1b2b3b4b5b6b7b8b9babbbcbdbebf' +
|
|
748
|
+
'c0c1c2c3c4c5c6c7c8c9cacbcccdcecf' +
|
|
749
|
+
'd0d1d2d3d4d5d6d7d8d9dadbdcdddedf' +
|
|
750
|
+
'e0e1e2e3e4e5e6e7e8e9eaebecedeeef' +
|
|
751
|
+
'f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff');
|
|
752
|
+
|
|
753
|
+
// console.log('Create buffer from hex string');
|
|
754
|
+
var hexb2 = Buffer.from(hexStr, 'hex');
|
|
755
|
+
for (var i = 0; i < 256; i++) {
|
|
756
|
+
assert.equal(hexb2[i], hexb[i]);
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
{
|
|
760
|
+
// test an invalid slice end.
|
|
761
|
+
// console.log('Try to slice off the end of the buffer');
|
|
762
|
+
var b = Buffer.from([1, 2, 3, 4, 5]);
|
|
763
|
+
var b2 = b.toString('hex', 1, 10000);
|
|
764
|
+
var b3 = b.toString('hex', 1, 5);
|
|
765
|
+
var b4 = b.toString('hex', 1);
|
|
766
|
+
assert.equal(b2, b3);
|
|
767
|
+
assert.equal(b2, b4);
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
function buildBuffer(data) {
|
|
771
|
+
if (Array.isArray(data)) {
|
|
772
|
+
var buffer = Buffer.allocUnsafe(data.length);
|
|
773
|
+
data.forEach(function(v, k) {
|
|
774
|
+
buffer[k] = v;
|
|
775
|
+
});
|
|
776
|
+
return buffer;
|
|
777
|
+
}
|
|
778
|
+
return null;
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
var x = buildBuffer([0x81, 0xa3, 0x66, 0x6f, 0x6f, 0xa3, 0x62, 0x61, 0x72]);
|
|
782
|
+
|
|
783
|
+
// console.log(x.inspect());
|
|
784
|
+
assert.equal('<Buffer 81 a3 66 6f 6f a3 62 61 72>', x.inspect());
|
|
785
|
+
|
|
786
|
+
{
|
|
787
|
+
var z = x.slice(4);
|
|
788
|
+
// console.log(z.inspect());
|
|
789
|
+
// console.log(z.length);
|
|
790
|
+
assert.equal(5, z.length);
|
|
791
|
+
assert.equal(0x6f, z[0]);
|
|
792
|
+
assert.equal(0xa3, z[1]);
|
|
793
|
+
assert.equal(0x62, z[2]);
|
|
794
|
+
assert.equal(0x61, z[3]);
|
|
795
|
+
assert.equal(0x72, z[4]);
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
{
|
|
799
|
+
var z = x.slice(0);
|
|
800
|
+
// console.log(z.inspect());
|
|
801
|
+
// console.log(z.length);
|
|
802
|
+
assert.equal(z.length, x.length);
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
{
|
|
806
|
+
var z = x.slice(0, 4);
|
|
807
|
+
// console.log(z.inspect());
|
|
808
|
+
// console.log(z.length);
|
|
809
|
+
assert.equal(4, z.length);
|
|
810
|
+
assert.equal(0x81, z[0]);
|
|
811
|
+
assert.equal(0xa3, z[1]);
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
{
|
|
815
|
+
var z = x.slice(0, 9);
|
|
816
|
+
// console.log(z.inspect());
|
|
817
|
+
// console.log(z.length);
|
|
818
|
+
assert.equal(9, z.length);
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
{
|
|
822
|
+
var z = x.slice(1, 4);
|
|
823
|
+
// console.log(z.inspect());
|
|
824
|
+
// console.log(z.length);
|
|
825
|
+
assert.equal(3, z.length);
|
|
826
|
+
assert.equal(0xa3, z[0]);
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
{
|
|
830
|
+
var z = x.slice(2, 4);
|
|
831
|
+
// console.log(z.inspect());
|
|
832
|
+
// console.log(z.length);
|
|
833
|
+
assert.equal(2, z.length);
|
|
834
|
+
assert.equal(0x66, z[0]);
|
|
835
|
+
assert.equal(0x6f, z[1]);
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
assert.equal(0, Buffer.from('hello').slice(0, 0).length);
|
|
839
|
+
|
|
840
|
+
['ucs2', 'ucs-2', 'utf16le', 'utf-16le'].forEach(function(encoding) {
|
|
841
|
+
var b = Buffer.allocUnsafe(10);
|
|
842
|
+
b.write('あいうえお', encoding);
|
|
843
|
+
assert.equal(b.toString(encoding), 'あいうえお');
|
|
844
|
+
});
|
|
845
|
+
|
|
846
|
+
{
|
|
847
|
+
// Binary encoding should write only one byte per character.
|
|
848
|
+
var b = Buffer.from([0xde, 0xad, 0xbe, 0xef]);
|
|
849
|
+
var s = String.fromCharCode(0xffff);
|
|
850
|
+
b.write(s, 0, 'latin1');
|
|
851
|
+
assert.equal(0xff, b[0]);
|
|
852
|
+
assert.equal(0xad, b[1]);
|
|
853
|
+
assert.equal(0xbe, b[2]);
|
|
854
|
+
assert.equal(0xef, b[3]);
|
|
855
|
+
s = String.fromCharCode(0xaaee);
|
|
856
|
+
b.write(s, 0, 'latin1');
|
|
857
|
+
assert.equal(0xee, b[0]);
|
|
858
|
+
assert.equal(0xad, b[1]);
|
|
859
|
+
assert.equal(0xbe, b[2]);
|
|
860
|
+
assert.equal(0xef, b[3]);
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
{
|
|
864
|
+
// #1210 Test UTF-8 string includes null character
|
|
865
|
+
var buf = Buffer.from('\0');
|
|
866
|
+
assert.equal(buf.length, 1);
|
|
867
|
+
buf = Buffer.from('\0\0');
|
|
868
|
+
assert.equal(buf.length, 2);
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
{
|
|
872
|
+
var buf = Buffer.allocUnsafe(2);
|
|
873
|
+
var written = buf.write(''); // 0byte
|
|
874
|
+
assert.equal(written, 0);
|
|
875
|
+
written = buf.write('\0'); // 1byte (v8 adds null terminator)
|
|
876
|
+
assert.equal(written, 1);
|
|
877
|
+
written = buf.write('a\0'); // 1byte * 2
|
|
878
|
+
assert.equal(written, 2);
|
|
879
|
+
written = buf.write('あ'); // 3bytes
|
|
880
|
+
assert.equal(written, 0);
|
|
881
|
+
written = buf.write('\0あ'); // 1byte + 3bytes
|
|
882
|
+
assert.equal(written, 1);
|
|
883
|
+
written = buf.write('\0\0あ'); // 1byte * 2 + 3bytes
|
|
884
|
+
assert.equal(written, 2);
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
{
|
|
888
|
+
var buf = Buffer.allocUnsafe(10);
|
|
889
|
+
written = buf.write('あいう'); // 3bytes * 3 (v8 adds null terminator)
|
|
890
|
+
assert.equal(written, 9);
|
|
891
|
+
written = buf.write('あいう\0'); // 3bytes * 3 + 1byte
|
|
892
|
+
assert.equal(written, 10);
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
{
|
|
896
|
+
// #243 Test write() with maxLength
|
|
897
|
+
var buf = Buffer.allocUnsafe(4);
|
|
898
|
+
buf.fill(0xFF);
|
|
899
|
+
var written = buf.write('abcd', 1, 2, 'utf8');
|
|
900
|
+
// console.log(buf);
|
|
901
|
+
assert.equal(written, 2);
|
|
902
|
+
assert.equal(buf[0], 0xFF);
|
|
903
|
+
assert.equal(buf[1], 0x61);
|
|
904
|
+
assert.equal(buf[2], 0x62);
|
|
905
|
+
assert.equal(buf[3], 0xFF);
|
|
906
|
+
|
|
907
|
+
buf.fill(0xFF);
|
|
908
|
+
written = buf.write('abcd', 1, 4);
|
|
909
|
+
// console.log(buf);
|
|
910
|
+
assert.equal(written, 3);
|
|
911
|
+
assert.equal(buf[0], 0xFF);
|
|
912
|
+
assert.equal(buf[1], 0x61);
|
|
913
|
+
assert.equal(buf[2], 0x62);
|
|
914
|
+
assert.equal(buf[3], 0x63);
|
|
915
|
+
|
|
916
|
+
buf.fill(0xFF);
|
|
917
|
+
written = buf.write('abcd', 1, 2, 'utf8');
|
|
918
|
+
// console.log(buf);
|
|
919
|
+
assert.equal(written, 2);
|
|
920
|
+
assert.equal(buf[0], 0xFF);
|
|
921
|
+
assert.equal(buf[1], 0x61);
|
|
922
|
+
assert.equal(buf[2], 0x62);
|
|
923
|
+
assert.equal(buf[3], 0xFF);
|
|
924
|
+
|
|
925
|
+
buf.fill(0xFF);
|
|
926
|
+
written = buf.write('abcdef', 1, 2, 'hex');
|
|
927
|
+
// console.log(buf);
|
|
928
|
+
assert.equal(written, 2);
|
|
929
|
+
assert.equal(buf[0], 0xFF);
|
|
930
|
+
assert.equal(buf[1], 0xAB);
|
|
931
|
+
assert.equal(buf[2], 0xCD);
|
|
932
|
+
assert.equal(buf[3], 0xFF);
|
|
933
|
+
|
|
934
|
+
['ucs2', 'ucs-2', 'utf16le', 'utf-16le'].forEach(function(encoding) {
|
|
935
|
+
buf.fill(0xFF);
|
|
936
|
+
written = buf.write('abcd', 0, 2, encoding);
|
|
937
|
+
// console.log(buf);
|
|
938
|
+
assert.equal(written, 2);
|
|
939
|
+
assert.equal(buf[0], 0x61);
|
|
940
|
+
assert.equal(buf[1], 0x00);
|
|
941
|
+
assert.equal(buf[2], 0xFF);
|
|
942
|
+
assert.equal(buf[3], 0xFF);
|
|
943
|
+
});
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
{
|
|
947
|
+
// test offset returns are correct
|
|
948
|
+
var b = Buffer.allocUnsafe(16);
|
|
949
|
+
assert.equal(4, b.writeUInt32LE(0, 0));
|
|
950
|
+
assert.equal(6, b.writeUInt16LE(0, 4));
|
|
951
|
+
assert.equal(7, b.writeUInt8(0, 6));
|
|
952
|
+
assert.equal(8, b.writeInt8(0, 7));
|
|
953
|
+
assert.equal(16, b.writeDoubleLE(0, 8));
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
{
|
|
957
|
+
// test unmatched surrogates not producing invalid utf8 output
|
|
958
|
+
// ef bf bd = utf-8 representation of unicode replacement character
|
|
959
|
+
// see https://codereview.chromium.org/121173009/
|
|
960
|
+
var buf = Buffer.from('ab\ud800cd', 'utf8');
|
|
961
|
+
assert.equal(buf[0], 0x61);
|
|
962
|
+
assert.equal(buf[1], 0x62);
|
|
963
|
+
assert.equal(buf[2], 0xef);
|
|
964
|
+
assert.equal(buf[3], 0xbf);
|
|
965
|
+
assert.equal(buf[4], 0xbd);
|
|
966
|
+
assert.equal(buf[5], 0x63);
|
|
967
|
+
assert.equal(buf[6], 0x64);
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
{
|
|
971
|
+
// test for buffer overrun
|
|
972
|
+
var buf = Buffer.from([0, 0, 0, 0, 0]); // length: 5
|
|
973
|
+
var sub = buf.slice(0, 4); // length: 4
|
|
974
|
+
written = sub.write('12345', 'latin1');
|
|
975
|
+
assert.equal(written, 4);
|
|
976
|
+
assert.equal(buf[4], 0);
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
// Check for fractional length args, junk length args, etc.
|
|
980
|
+
// https://github.com/joyent/node/issues/1758
|
|
981
|
+
|
|
982
|
+
// Call .fill() first, stops valgrind warning about uninitialized memory reads.
|
|
983
|
+
Buffer.allocUnsafe(3.3).fill().toString();
|
|
984
|
+
// throws bad argument error in commit 43cb4ec
|
|
985
|
+
Buffer.alloc(3.3).fill().toString();
|
|
986
|
+
assert.equal(Buffer.allocUnsafe(NaN).length, 0);
|
|
987
|
+
assert.equal(Buffer.allocUnsafe(3.3).length, 3);
|
|
988
|
+
assert.equal(Buffer.from({length: 3.3}).length, 3);
|
|
989
|
+
assert.equal(Buffer.from({length: 'BAM'}).length, 0);
|
|
990
|
+
|
|
991
|
+
// Make sure that strings are not coerced to numbers.
|
|
992
|
+
assert.equal(Buffer.from('99').length, 2);
|
|
993
|
+
assert.equal(Buffer.from('13.37').length, 5);
|
|
994
|
+
|
|
995
|
+
// Ensure that the length argument is respected.
|
|
996
|
+
'ascii utf8 hex base64 latin1'.split(' ').forEach(function(enc) {
|
|
997
|
+
assert.equal(Buffer.allocUnsafe(1).write('aaaaaa', 0, 1, enc), 1);
|
|
998
|
+
});
|
|
999
|
+
|
|
1000
|
+
{
|
|
1001
|
+
// Regression test, guard against buffer overrun in the base64 decoder.
|
|
1002
|
+
var a = Buffer.allocUnsafe(3);
|
|
1003
|
+
var b = Buffer.from('xxx');
|
|
1004
|
+
a.write('aaaaaaaa', 'base64');
|
|
1005
|
+
assert.equal(b.toString(), 'xxx');
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
// issue GH-3416
|
|
1009
|
+
Buffer.from(Buffer.allocUnsafe(0), 0, 0);
|
|
1010
|
+
|
|
1011
|
+
[ 'hex',
|
|
1012
|
+
'utf8',
|
|
1013
|
+
'utf-8',
|
|
1014
|
+
'ascii',
|
|
1015
|
+
'latin1',
|
|
1016
|
+
'binary',
|
|
1017
|
+
'base64',
|
|
1018
|
+
'ucs2',
|
|
1019
|
+
'ucs-2',
|
|
1020
|
+
'utf16le',
|
|
1021
|
+
'utf-16le' ].forEach(function(enc) {
|
|
1022
|
+
assert.equal(Buffer.isEncoding(enc), true);
|
|
1023
|
+
});
|
|
1024
|
+
|
|
1025
|
+
[ 'utf9',
|
|
1026
|
+
'utf-7',
|
|
1027
|
+
'Unicode-FTW',
|
|
1028
|
+
'new gnu gun',
|
|
1029
|
+
false,
|
|
1030
|
+
NaN,
|
|
1031
|
+
{},
|
|
1032
|
+
Infinity,
|
|
1033
|
+
[],
|
|
1034
|
+
1,
|
|
1035
|
+
0,
|
|
1036
|
+
-1 ].forEach(function(enc) {
|
|
1037
|
+
assert.equal(Buffer.isEncoding(enc), false);
|
|
1038
|
+
});
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
// GH-5110
|
|
1042
|
+
{
|
|
1043
|
+
var buffer = Buffer.from('test');
|
|
1044
|
+
var string = JSON.stringify(buffer);
|
|
1045
|
+
|
|
1046
|
+
assert.strictEqual(string, '{"type":"Buffer","data":[116,101,115,116]}');
|
|
1047
|
+
|
|
1048
|
+
assert.deepStrictEqual(buffer, JSON.parse(string, function(key, value) {
|
|
1049
|
+
return value && value.type === 'Buffer'
|
|
1050
|
+
? Buffer.from(value.data)
|
|
1051
|
+
: value;
|
|
1052
|
+
}));
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
// issue GH-7849
|
|
1056
|
+
{
|
|
1057
|
+
var buf = Buffer.from('test');
|
|
1058
|
+
var json = JSON.stringify(buf);
|
|
1059
|
+
var obj = JSON.parse(json);
|
|
1060
|
+
var copy = Buffer.from(obj);
|
|
1061
|
+
|
|
1062
|
+
assert(buf.equals(copy));
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
// issue GH-4331
|
|
1066
|
+
assert.throws(function() {
|
|
1067
|
+
Buffer.allocUnsafe(0xFFFFFFFF);
|
|
1068
|
+
}, RangeError);
|
|
1069
|
+
assert.throws(function() {
|
|
1070
|
+
Buffer.allocUnsafe(0xFFFFFFFFF);
|
|
1071
|
+
}, RangeError);
|
|
1072
|
+
|
|
1073
|
+
|
|
1074
|
+
// attempt to overflow buffers, similar to previous bug in array buffers
|
|
1075
|
+
assert.throws(function() {
|
|
1076
|
+
var buf = Buffer.allocUnsafe(8);
|
|
1077
|
+
buf.readFloatLE(0xffffffff);
|
|
1078
|
+
}, RangeError);
|
|
1079
|
+
|
|
1080
|
+
assert.throws(function() {
|
|
1081
|
+
var buf = Buffer.allocUnsafe(8);
|
|
1082
|
+
buf.writeFloatLE(0.0, 0xffffffff);
|
|
1083
|
+
}, RangeError);
|
|
1084
|
+
|
|
1085
|
+
assert.throws(function() {
|
|
1086
|
+
var buf = Buffer.allocUnsafe(8);
|
|
1087
|
+
buf.readFloatLE(0xffffffff);
|
|
1088
|
+
}, RangeError);
|
|
1089
|
+
|
|
1090
|
+
assert.throws(function() {
|
|
1091
|
+
var buf = Buffer.allocUnsafe(8);
|
|
1092
|
+
buf.writeFloatLE(0.0, 0xffffffff);
|
|
1093
|
+
}, RangeError);
|
|
1094
|
+
|
|
1095
|
+
|
|
1096
|
+
// ensure negative values can't get past offset
|
|
1097
|
+
assert.throws(function() {
|
|
1098
|
+
var buf = Buffer.allocUnsafe(8);
|
|
1099
|
+
buf.readFloatLE(-1);
|
|
1100
|
+
}, RangeError);
|
|
1101
|
+
|
|
1102
|
+
assert.throws(function() {
|
|
1103
|
+
var buf = Buffer.allocUnsafe(8);
|
|
1104
|
+
buf.writeFloatLE(0.0, -1);
|
|
1105
|
+
}, RangeError);
|
|
1106
|
+
|
|
1107
|
+
assert.throws(function() {
|
|
1108
|
+
var buf = Buffer.allocUnsafe(8);
|
|
1109
|
+
buf.readFloatLE(-1);
|
|
1110
|
+
}, RangeError);
|
|
1111
|
+
|
|
1112
|
+
assert.throws(function() {
|
|
1113
|
+
var buf = Buffer.allocUnsafe(8);
|
|
1114
|
+
buf.writeFloatLE(0.0, -1);
|
|
1115
|
+
}, RangeError);
|
|
1116
|
+
|
|
1117
|
+
// offset checks
|
|
1118
|
+
{
|
|
1119
|
+
var buf = Buffer.allocUnsafe(0);
|
|
1120
|
+
|
|
1121
|
+
assert.throws(function() { buf.readUInt8(0); }, RangeError);
|
|
1122
|
+
assert.throws(function() { buf.readInt8(0); }, RangeError);
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
{
|
|
1126
|
+
var buf = Buffer.from([0xFF]);
|
|
1127
|
+
|
|
1128
|
+
assert.equal(buf.readUInt8(0), 255);
|
|
1129
|
+
assert.equal(buf.readInt8(0), -1);
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
[16, 32].forEach(function(bits) {
|
|
1133
|
+
var buf = Buffer.allocUnsafe(bits / 8 - 1);
|
|
1134
|
+
|
|
1135
|
+
assert.throws(function() { buf['readUInt' + bits + 'BE'](0); },
|
|
1136
|
+
RangeError,
|
|
1137
|
+
'readUInt' + bits + 'BE');
|
|
1138
|
+
|
|
1139
|
+
assert.throws(function() { buf['readUInt' + bits + 'LE'](0); },
|
|
1140
|
+
RangeError,
|
|
1141
|
+
'readUInt' + bits + 'LE');
|
|
1142
|
+
|
|
1143
|
+
assert.throws(function() { buf['readInt' + bits + 'BE'](0); },
|
|
1144
|
+
RangeError,
|
|
1145
|
+
'readInt' + bits + 'BE()');
|
|
1146
|
+
|
|
1147
|
+
assert.throws(function() { buf['readInt' + bits + 'LE'](0); },
|
|
1148
|
+
RangeError,
|
|
1149
|
+
'readInt' + bits + 'LE()');
|
|
1150
|
+
});
|
|
1151
|
+
|
|
1152
|
+
[16, 32].forEach(function(bits) {
|
|
1153
|
+
var buf = Buffer.from([0xFF, 0xFF, 0xFF, 0xFF]);
|
|
1154
|
+
|
|
1155
|
+
assert.equal(buf['readUInt' + bits + 'BE'](0),
|
|
1156
|
+
(0xFFFFFFFF >>> (32 - bits)));
|
|
1157
|
+
|
|
1158
|
+
assert.equal(buf['readUInt' + bits + 'LE'](0),
|
|
1159
|
+
(0xFFFFFFFF >>> (32 - bits)));
|
|
1160
|
+
|
|
1161
|
+
assert.equal(buf['readInt' + bits + 'BE'](0),
|
|
1162
|
+
(0xFFFFFFFF >> (32 - bits)));
|
|
1163
|
+
|
|
1164
|
+
assert.equal(buf['readInt' + bits + 'LE'](0),
|
|
1165
|
+
(0xFFFFFFFF >> (32 - bits)));
|
|
1166
|
+
});
|
|
1167
|
+
|
|
1168
|
+
// test for common read(U)IntLE/BE
|
|
1169
|
+
{
|
|
1170
|
+
var buf = Buffer.from([0x01, 0x02, 0x03, 0x04, 0x05, 0x06]);
|
|
1171
|
+
|
|
1172
|
+
assert.strictEqual(buf.readUIntLE(0, 1), 0x01);
|
|
1173
|
+
assert.strictEqual(buf.readUIntBE(0, 1), 0x01);
|
|
1174
|
+
assert.strictEqual(buf.readUIntLE(0, 3), 0x030201);
|
|
1175
|
+
assert.strictEqual(buf.readUIntBE(0, 3), 0x010203);
|
|
1176
|
+
assert.strictEqual(buf.readUIntLE(0, 5), 0x0504030201);
|
|
1177
|
+
assert.strictEqual(buf.readUIntBE(0, 5), 0x0102030405);
|
|
1178
|
+
assert.strictEqual(buf.readUIntLE(0, 6), 0x060504030201);
|
|
1179
|
+
assert.strictEqual(buf.readUIntBE(0, 6), 0x010203040506);
|
|
1180
|
+
assert.strictEqual(buf.readIntLE(0, 1), 0x01);
|
|
1181
|
+
assert.strictEqual(buf.readIntBE(0, 1), 0x01);
|
|
1182
|
+
assert.strictEqual(buf.readIntLE(0, 3), 0x030201);
|
|
1183
|
+
assert.strictEqual(buf.readIntBE(0, 3), 0x010203);
|
|
1184
|
+
assert.strictEqual(buf.readIntLE(0, 5), 0x0504030201);
|
|
1185
|
+
assert.strictEqual(buf.readIntBE(0, 5), 0x0102030405);
|
|
1186
|
+
assert.strictEqual(buf.readIntLE(0, 6), 0x060504030201);
|
|
1187
|
+
assert.strictEqual(buf.readIntBE(0, 6), 0x010203040506);
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
// test for common write(U)IntLE/BE
|
|
1191
|
+
{
|
|
1192
|
+
var buf = Buffer.allocUnsafe(3);
|
|
1193
|
+
buf.writeUIntLE(0x123456, 0, 3);
|
|
1194
|
+
assert.deepStrictEqual(buf.toJSON().data, [0x56, 0x34, 0x12]);
|
|
1195
|
+
assert.equal(buf.readUIntLE(0, 3), 0x123456);
|
|
1196
|
+
|
|
1197
|
+
buf = Buffer.allocUnsafe(3);
|
|
1198
|
+
buf.writeUIntBE(0x123456, 0, 3);
|
|
1199
|
+
assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56]);
|
|
1200
|
+
assert.equal(buf.readUIntBE(0, 3), 0x123456);
|
|
1201
|
+
|
|
1202
|
+
buf = Buffer.allocUnsafe(3);
|
|
1203
|
+
buf.writeIntLE(0x123456, 0, 3);
|
|
1204
|
+
assert.deepStrictEqual(buf.toJSON().data, [0x56, 0x34, 0x12]);
|
|
1205
|
+
assert.equal(buf.readIntLE(0, 3), 0x123456);
|
|
1206
|
+
|
|
1207
|
+
buf = Buffer.allocUnsafe(3);
|
|
1208
|
+
buf.writeIntBE(0x123456, 0, 3);
|
|
1209
|
+
assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56]);
|
|
1210
|
+
assert.equal(buf.readIntBE(0, 3), 0x123456);
|
|
1211
|
+
|
|
1212
|
+
buf = Buffer.allocUnsafe(3);
|
|
1213
|
+
buf.writeIntLE(-0x123456, 0, 3);
|
|
1214
|
+
assert.deepStrictEqual(buf.toJSON().data, [0xaa, 0xcb, 0xed]);
|
|
1215
|
+
assert.equal(buf.readIntLE(0, 3), -0x123456);
|
|
1216
|
+
|
|
1217
|
+
buf = Buffer.allocUnsafe(3);
|
|
1218
|
+
buf.writeIntBE(-0x123456, 0, 3);
|
|
1219
|
+
assert.deepStrictEqual(buf.toJSON().data, [0xed, 0xcb, 0xaa]);
|
|
1220
|
+
assert.equal(buf.readIntBE(0, 3), -0x123456);
|
|
1221
|
+
|
|
1222
|
+
buf = Buffer.allocUnsafe(3);
|
|
1223
|
+
buf.writeIntLE(-0x123400, 0, 3);
|
|
1224
|
+
assert.deepStrictEqual(buf.toJSON().data, [0x00, 0xcc, 0xed]);
|
|
1225
|
+
assert.equal(buf.readIntLE(0, 3), -0x123400);
|
|
1226
|
+
|
|
1227
|
+
buf = Buffer.allocUnsafe(3);
|
|
1228
|
+
buf.writeIntBE(-0x123400, 0, 3);
|
|
1229
|
+
assert.deepStrictEqual(buf.toJSON().data, [0xed, 0xcc, 0x00]);
|
|
1230
|
+
assert.equal(buf.readIntBE(0, 3), -0x123400);
|
|
1231
|
+
|
|
1232
|
+
buf = Buffer.allocUnsafe(3);
|
|
1233
|
+
buf.writeIntLE(-0x120000, 0, 3);
|
|
1234
|
+
assert.deepStrictEqual(buf.toJSON().data, [0x00, 0x00, 0xee]);
|
|
1235
|
+
assert.equal(buf.readIntLE(0, 3), -0x120000);
|
|
1236
|
+
|
|
1237
|
+
buf = Buffer.allocUnsafe(3);
|
|
1238
|
+
buf.writeIntBE(-0x120000, 0, 3);
|
|
1239
|
+
assert.deepStrictEqual(buf.toJSON().data, [0xee, 0x00, 0x00]);
|
|
1240
|
+
assert.equal(buf.readIntBE(0, 3), -0x120000);
|
|
1241
|
+
|
|
1242
|
+
buf = Buffer.allocUnsafe(5);
|
|
1243
|
+
buf.writeUIntLE(0x1234567890, 0, 5);
|
|
1244
|
+
assert.deepStrictEqual(buf.toJSON().data, [0x90, 0x78, 0x56, 0x34, 0x12]);
|
|
1245
|
+
assert.equal(buf.readUIntLE(0, 5), 0x1234567890);
|
|
1246
|
+
|
|
1247
|
+
buf = Buffer.allocUnsafe(5);
|
|
1248
|
+
buf.writeUIntBE(0x1234567890, 0, 5);
|
|
1249
|
+
assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56, 0x78, 0x90]);
|
|
1250
|
+
assert.equal(buf.readUIntBE(0, 5), 0x1234567890);
|
|
1251
|
+
|
|
1252
|
+
buf = Buffer.allocUnsafe(5);
|
|
1253
|
+
buf.writeIntLE(0x1234567890, 0, 5);
|
|
1254
|
+
assert.deepStrictEqual(buf.toJSON().data, [0x90, 0x78, 0x56, 0x34, 0x12]);
|
|
1255
|
+
assert.equal(buf.readIntLE(0, 5), 0x1234567890);
|
|
1256
|
+
|
|
1257
|
+
buf = Buffer.allocUnsafe(5);
|
|
1258
|
+
buf.writeIntBE(0x1234567890, 0, 5);
|
|
1259
|
+
assert.deepStrictEqual(buf.toJSON().data, [0x12, 0x34, 0x56, 0x78, 0x90]);
|
|
1260
|
+
assert.equal(buf.readIntBE(0, 5), 0x1234567890);
|
|
1261
|
+
|
|
1262
|
+
buf = Buffer.allocUnsafe(5);
|
|
1263
|
+
buf.writeIntLE(-0x1234567890, 0, 5);
|
|
1264
|
+
assert.deepStrictEqual(buf.toJSON().data, [0x70, 0x87, 0xa9, 0xcb, 0xed]);
|
|
1265
|
+
assert.equal(buf.readIntLE(0, 5), -0x1234567890);
|
|
1266
|
+
|
|
1267
|
+
buf = Buffer.allocUnsafe(5);
|
|
1268
|
+
buf.writeIntBE(-0x1234567890, 0, 5);
|
|
1269
|
+
assert.deepStrictEqual(buf.toJSON().data, [0xed, 0xcb, 0xa9, 0x87, 0x70]);
|
|
1270
|
+
assert.equal(buf.readIntBE(0, 5), -0x1234567890);
|
|
1271
|
+
|
|
1272
|
+
buf = Buffer.allocUnsafe(5);
|
|
1273
|
+
buf.writeIntLE(-0x0012000000, 0, 5);
|
|
1274
|
+
assert.deepStrictEqual(buf.toJSON().data, [0x00, 0x00, 0x00, 0xee, 0xff]);
|
|
1275
|
+
assert.equal(buf.readIntLE(0, 5), -0x0012000000);
|
|
1276
|
+
|
|
1277
|
+
buf = Buffer.allocUnsafe(5);
|
|
1278
|
+
buf.writeIntBE(-0x0012000000, 0, 5);
|
|
1279
|
+
assert.deepStrictEqual(buf.toJSON().data, [0xff, 0xee, 0x00, 0x00, 0x00]);
|
|
1280
|
+
assert.equal(buf.readIntBE(0, 5), -0x0012000000);
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
// test Buffer slice
|
|
1284
|
+
{
|
|
1285
|
+
var buf = Buffer.from('0123456789');
|
|
1286
|
+
assert.equal(buf.slice(-10, 10), '0123456789');
|
|
1287
|
+
assert.equal(buf.slice(-20, 10), '0123456789');
|
|
1288
|
+
assert.equal(buf.slice(-20, -10), '');
|
|
1289
|
+
assert.equal(buf.slice(), '0123456789');
|
|
1290
|
+
assert.equal(buf.slice(0), '0123456789');
|
|
1291
|
+
assert.equal(buf.slice(0, 0), '');
|
|
1292
|
+
assert.equal(buf.slice(undefined), '0123456789');
|
|
1293
|
+
assert.equal(buf.slice('foobar'), '0123456789');
|
|
1294
|
+
assert.equal(buf.slice(undefined, undefined), '0123456789');
|
|
1295
|
+
|
|
1296
|
+
assert.equal(buf.slice(2), '23456789');
|
|
1297
|
+
assert.equal(buf.slice(5), '56789');
|
|
1298
|
+
assert.equal(buf.slice(10), '');
|
|
1299
|
+
assert.equal(buf.slice(5, 8), '567');
|
|
1300
|
+
assert.equal(buf.slice(8, -1), '8');
|
|
1301
|
+
assert.equal(buf.slice(-10), '0123456789');
|
|
1302
|
+
assert.equal(buf.slice(0, -9), '0');
|
|
1303
|
+
assert.equal(buf.slice(0, -10), '');
|
|
1304
|
+
assert.equal(buf.slice(0, -1), '012345678');
|
|
1305
|
+
assert.equal(buf.slice(2, -2), '234567');
|
|
1306
|
+
assert.equal(buf.slice(0, 65536), '0123456789');
|
|
1307
|
+
assert.equal(buf.slice(65536, 0), '');
|
|
1308
|
+
assert.equal(buf.slice(-5, -8), '');
|
|
1309
|
+
assert.equal(buf.slice(-5, -3), '56');
|
|
1310
|
+
assert.equal(buf.slice(-10, 10), '0123456789');
|
|
1311
|
+
for (var i = 0, s = buf.toString(); i < buf.length; ++i) {
|
|
1312
|
+
assert.equal(buf.slice(i), s.slice(i));
|
|
1313
|
+
assert.equal(buf.slice(0, i), s.slice(0, i));
|
|
1314
|
+
assert.equal(buf.slice(-i), s.slice(-i));
|
|
1315
|
+
assert.equal(buf.slice(0, -i), s.slice(0, -i));
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
var utf16Buf = Buffer.from('0123456789', 'utf16le');
|
|
1319
|
+
// assert.deepStrictEqual(utf16Buf.slice(0, 6), Buffer.from('012', 'utf16le'));
|
|
1320
|
+
|
|
1321
|
+
assert.equal(buf.slice('0', '1'), '0');
|
|
1322
|
+
assert.equal(buf.slice('-5', '10'), '56789');
|
|
1323
|
+
assert.equal(buf.slice('-10', '10'), '0123456789');
|
|
1324
|
+
assert.equal(buf.slice('-10', '-5'), '01234');
|
|
1325
|
+
assert.equal(buf.slice('-10', '-0'), '');
|
|
1326
|
+
assert.equal(buf.slice('111'), '');
|
|
1327
|
+
assert.equal(buf.slice('0', '-111'), '');
|
|
1328
|
+
|
|
1329
|
+
// try to slice a zero length Buffer
|
|
1330
|
+
// see https://github.com/joyent/node/issues/5881
|
|
1331
|
+
Buffer.alloc(0).slice(0, 1);
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
// Regression test for #5482: should throw but not assert in C++ land.
|
|
1335
|
+
assert.throws(function() {
|
|
1336
|
+
Buffer.from('', 'buffer');
|
|
1337
|
+
}, TypeError);
|
|
1338
|
+
|
|
1339
|
+
// Regression test for #6111. Constructing a buffer from another buffer
|
|
1340
|
+
// should a) work, and b) not corrupt the source buffer.
|
|
1341
|
+
{
|
|
1342
|
+
var a = [0];
|
|
1343
|
+
for (var i = 0; i < 7; ++i) a = a.concat(a);
|
|
1344
|
+
a = a.map(function(_, i) { return i; });
|
|
1345
|
+
var b = Buffer.from(a);
|
|
1346
|
+
var c = Buffer.from(b);
|
|
1347
|
+
assert.strictEqual(b.length, a.length);
|
|
1348
|
+
assert.strictEqual(c.length, a.length);
|
|
1349
|
+
for (var i = 0, k = a.length; i < k; ++i) {
|
|
1350
|
+
assert.strictEqual(a[i], i);
|
|
1351
|
+
assert.strictEqual(b[i], i);
|
|
1352
|
+
assert.strictEqual(c[i], i);
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
|
|
1357
|
+
assert.throws(function() {
|
|
1358
|
+
Buffer.allocUnsafe((-1 >>> 0) + 1);
|
|
1359
|
+
}, RangeError);
|
|
1360
|
+
|
|
1361
|
+
assert.throws(function() {
|
|
1362
|
+
Buffer.allocUnsafeSlow((-1 >>> 0) + 1);
|
|
1363
|
+
}, RangeError);
|
|
1364
|
+
|
|
1365
|
+
if (common.hasCrypto) {
|
|
1366
|
+
// Test truncation after decode
|
|
1367
|
+
var crypto = require('crypto');
|
|
1368
|
+
|
|
1369
|
+
var b1 = Buffer.from('YW55=======', 'base64');
|
|
1370
|
+
var b2 = Buffer.from('YW55', 'base64');
|
|
1371
|
+
|
|
1372
|
+
assert.equal(
|
|
1373
|
+
crypto.createHash('sha1').update(b1).digest('hex'),
|
|
1374
|
+
crypto.createHash('sha1').update(b2).digest('hex')
|
|
1375
|
+
);
|
|
1376
|
+
} else {
|
|
1377
|
+
common.skip('missing crypto');
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
// Test Compare
|
|
1381
|
+
{
|
|
1382
|
+
var b = Buffer.alloc(1, 'a');
|
|
1383
|
+
var c = Buffer.alloc(1, 'c');
|
|
1384
|
+
var d = Buffer.alloc(2, 'aa');
|
|
1385
|
+
|
|
1386
|
+
assert.equal(b.compare(c), -1);
|
|
1387
|
+
assert.equal(c.compare(d), 1);
|
|
1388
|
+
assert.equal(d.compare(b), 1);
|
|
1389
|
+
assert.equal(b.compare(d), -1);
|
|
1390
|
+
assert.equal(b.compare(b), 0);
|
|
1391
|
+
|
|
1392
|
+
assert.equal(Buffer.compare(b, c), -1);
|
|
1393
|
+
assert.equal(Buffer.compare(c, d), 1);
|
|
1394
|
+
assert.equal(Buffer.compare(d, b), 1);
|
|
1395
|
+
assert.equal(Buffer.compare(b, d), -1);
|
|
1396
|
+
assert.equal(Buffer.compare(c, c), 0);
|
|
1397
|
+
|
|
1398
|
+
assert.equal(Buffer.compare(Buffer.alloc(0), Buffer.alloc(0)), 0);
|
|
1399
|
+
assert.equal(Buffer.compare(Buffer.alloc(0), Buffer.alloc(1)), -1);
|
|
1400
|
+
assert.equal(Buffer.compare(Buffer.alloc(1), Buffer.alloc(0)), 1);
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
assert.throws(function() {
|
|
1404
|
+
var b = Buffer.allocUnsafe(1);
|
|
1405
|
+
Buffer.compare(b, 'abc');
|
|
1406
|
+
});
|
|
1407
|
+
|
|
1408
|
+
assert.throws(function() {
|
|
1409
|
+
var b = Buffer.allocUnsafe(1);
|
|
1410
|
+
Buffer.compare('abc', b);
|
|
1411
|
+
});
|
|
1412
|
+
|
|
1413
|
+
assert.throws(function() {
|
|
1414
|
+
var b = Buffer.allocUnsafe(1);
|
|
1415
|
+
b.compare('abc');
|
|
1416
|
+
});
|
|
1417
|
+
|
|
1418
|
+
// Test Equals
|
|
1419
|
+
{
|
|
1420
|
+
var b = Buffer.alloc(5, 'abcdf');
|
|
1421
|
+
var c = Buffer.alloc(5, 'abcdf');
|
|
1422
|
+
var d = Buffer.alloc(5, 'abcde');
|
|
1423
|
+
var e = Buffer.alloc(6, 'abcdef');
|
|
1424
|
+
|
|
1425
|
+
assert.ok(b.equals(c));
|
|
1426
|
+
assert.ok(!c.equals(d));
|
|
1427
|
+
assert.ok(!d.equals(e));
|
|
1428
|
+
assert.ok(d.equals(d));
|
|
1429
|
+
}
|
|
1430
|
+
|
|
1431
|
+
assert.throws(function() {
|
|
1432
|
+
var b = Buffer.allocUnsafe(1);
|
|
1433
|
+
b.equals('abc');
|
|
1434
|
+
});
|
|
1435
|
+
|
|
1436
|
+
// Regression test for https://github.com/nodejs/node/issues/649.
|
|
1437
|
+
assert.throws(() => { Buffer.allocUnsafe(1422561062959).toString('utf8');});
|
|
1438
|
+
|
|
1439
|
+
var ps = Buffer.poolSize;
|
|
1440
|
+
Buffer.poolSize = 0;
|
|
1441
|
+
assert.equal(Buffer.allocUnsafe(1).parent, undefined);
|
|
1442
|
+
Buffer.poolSize = ps;
|
|
1443
|
+
|
|
1444
|
+
// Test Buffer.copy() segfault
|
|
1445
|
+
assert.throws(function() {
|
|
1446
|
+
Buffer.allocUnsafe(10).copy();
|
|
1447
|
+
});
|
|
1448
|
+
|
|
1449
|
+
var regErrorMsg = new RegExp('First argument must be a string, Buffer, ' +
|
|
1450
|
+
'ArrayBuffer, Array, or array-like object.');
|
|
1451
|
+
|
|
1452
|
+
assert.throws(function() {
|
|
1453
|
+
Buffer.from();
|
|
1454
|
+
}, regErrorMsg);
|
|
1455
|
+
|
|
1456
|
+
assert.throws(function() {
|
|
1457
|
+
Buffer.from(null);
|
|
1458
|
+
}, regErrorMsg);
|
|
1459
|
+
|
|
1460
|
+
|
|
1461
|
+
// Test that ParseArrayIndex handles full uint32
|
|
1462
|
+
assert.throws(function() {
|
|
1463
|
+
Buffer.from(new ArrayBuffer(0), -1 >>> 0);
|
|
1464
|
+
}, /RangeError: 'offset' is out of bounds/);
|
|
1465
|
+
|
|
1466
|
+
// ParseArrayIndex() should reject values that don't fit in a 32 bits size_t.
|
|
1467
|
+
assert.throws(() => {
|
|
1468
|
+
var a = Buffer(1).fill(0);
|
|
1469
|
+
var b = Buffer(1).fill(0);
|
|
1470
|
+
a.copy(b, 0, 0x100000000, 0x100000001);
|
|
1471
|
+
}), /out of range index/;
|
|
1472
|
+
|
|
1473
|
+
// Unpooled buffer (replaces SlowBuffer)
|
|
1474
|
+
var ubuf = Buffer.allocUnsafeSlow(10);
|
|
1475
|
+
assert(ubuf);
|
|
1476
|
+
assert(ubuf.buffer);
|
|
1477
|
+
assert.equal(ubuf.buffer.byteLength, 10);
|
|
1478
|
+
|
|
1479
|
+
// Regression test
|
|
1480
|
+
assert.doesNotThrow(() => {
|
|
1481
|
+
Buffer.from(new ArrayBuffer());
|
|
1482
|
+
});
|
|
1483
|
+
|
|
1484
|
+
assert.throws(() => Buffer.alloc(-Buffer.poolSize),
|
|
1485
|
+
'"size" argument must not be negative');
|
|
1486
|
+
assert.throws(() => Buffer.alloc(-100),
|
|
1487
|
+
'"size" argument must not be negative');
|
|
1488
|
+
assert.throws(() => Buffer.allocUnsafe(-Buffer.poolSize),
|
|
1489
|
+
'"size" argument must not be negative');
|
|
1490
|
+
assert.throws(() => Buffer.allocUnsafe(-100),
|
|
1491
|
+
'"size" argument must not be negative');
|
|
1492
|
+
assert.throws(() => Buffer.allocUnsafeSlow(-Buffer.poolSize),
|
|
1493
|
+
'"size" argument must not be negative');
|
|
1494
|
+
assert.throws(() => Buffer.allocUnsafeSlow(-100),
|
|
1495
|
+
'"size" argument must not be negative');
|
|
1496
|
+
|
|
1497
|
+
assert.throws(() => Buffer.alloc({ valueOf: () => 1 }),
|
|
1498
|
+
/"size" argument must be a number/);
|
|
1499
|
+
assert.throws(() => Buffer.alloc({ valueOf: () => -1 }),
|
|
1500
|
+
/"size" argument must be a number/);
|
|
1501
|
+
|