cdk-common 0.0.67 → 2.0.2
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/.gitattributes +23 -21
- package/.jsii +2662 -552
- package/API.md +27 -64
- package/README.md +19 -2
- package/lib/integ-default.d.ts +3 -3
- package/lib/integ-default.js +6 -5
- package/lib/main.d.ts +4 -4
- package/lib/main.js +7 -6
- package/node_modules/@aws-cdk/assert/BUILD.md +15 -0
- package/node_modules/@aws-cdk/assert/LICENSE +201 -0
- package/node_modules/@aws-cdk/assert/NOTICE +2 -0
- package/node_modules/@aws-cdk/assert/README.md +229 -0
- package/node_modules/@aws-cdk/assert/clone.sh +29 -0
- package/node_modules/@aws-cdk/assert/jest.d.ts +14 -0
- package/node_modules/@aws-cdk/assert/jest.js +57 -0
- package/node_modules/@aws-cdk/assert/lib/assertion.d.ts +17 -0
- package/node_modules/@aws-cdk/assert/lib/assertion.js +31 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/and-assertion.d.ts +10 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/and-assertion.js +21 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/count-resources.d.ts +10 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/count-resources.js +54 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/exist.d.ts +3 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/exist.js +18 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/have-output.d.ts +29 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/have-output.js +78 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/have-resource-matchers.d.ts +123 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/have-resource-matchers.js +404 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/have-resource.d.ts +69 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/have-resource.js +131 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/have-type.d.ts +3 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/have-type.js +22 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/match-template.d.ts +19 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/match-template.js +98 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/negated-assertion.d.ts +8 -0
- package/node_modules/@aws-cdk/assert/lib/assertions/negated-assertion.js +18 -0
- package/node_modules/@aws-cdk/assert/lib/canonicalize-assets.d.ts +11 -0
- package/node_modules/@aws-cdk/assert/lib/canonicalize-assets.js +70 -0
- package/node_modules/@aws-cdk/assert/lib/expect.d.ts +4 -0
- package/node_modules/@aws-cdk/assert/lib/expect.js +16 -0
- package/node_modules/@aws-cdk/assert/lib/index.d.ts +14 -0
- package/node_modules/@aws-cdk/assert/lib/index.js +27 -0
- package/node_modules/@aws-cdk/assert/lib/inspector.d.ts +31 -0
- package/node_modules/@aws-cdk/assert/lib/inspector.js +69 -0
- package/node_modules/@aws-cdk/assert/lib/synth-utils.d.ts +30 -0
- package/node_modules/@aws-cdk/assert/lib/synth-utils.js +93 -0
- package/node_modules/@aws-cdk/assert/package.json +77 -0
- package/node_modules/@aws-cdk/cfnspec/CHANGELOG.md +9353 -0
- package/node_modules/@aws-cdk/cfnspec/LICENSE +201 -0
- package/node_modules/@aws-cdk/cfnspec/NOTICE +2 -0
- package/node_modules/@aws-cdk/cfnspec/README.md +14 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/build.d.ts +1 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/build.js +83 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/create-missing-libraries.d.ts +6 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/create-missing-libraries.js +308 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/massage-spec.d.ts +14 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/massage-spec.js +130 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/scrutiny.d.ts +12 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/scrutiny.js +85 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/spec-diff.d.ts +1 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/spec-diff.js +237 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/template/LICENSE +201 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/template/NOTICE +2 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/update-cfnlint.sh +18 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/update-metrics.sh +13 -0
- package/node_modules/@aws-cdk/cfnspec/build-tools/update.sh +81 -0
- package/node_modules/@aws-cdk/cfnspec/cfn.version +1 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/base.css +224 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/block-navigation.js +79 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/build-tools/index.html +126 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/build-tools/massage-spec.ts.html +443 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/build-tools/scrutiny.ts.html +344 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/favicon.png +0 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/index.html +156 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/junit.xml +31181 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/base.css +224 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/block-navigation.js +79 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/build-tools/index.html +126 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/build-tools/massage-spec.ts.html +443 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/build-tools/scrutiny.ts.html +344 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/favicon.png +0 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/index.html +156 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/canned-metrics/canned-metrics-schema.ts.html +299 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/canned-metrics/index.html +111 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/canned-metrics.ts.html +440 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/index.html +126 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/index.ts.html +557 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/schema/augmentation.ts.html +371 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/schema/base-types.ts.html +167 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/schema/index.html +186 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/schema/index.ts.html +98 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/schema/property.ts.html +965 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/schema/resource-type.ts.html +572 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/lib/schema/specification.ts.html +248 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/prettify.css +1 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/prettify.js +2 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov-report/sorter.js +170 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lcov.info +709 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lib/canned-metrics/canned-metrics-schema.ts.html +299 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lib/canned-metrics/index.html +111 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lib/canned-metrics.ts.html +440 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lib/index.html +126 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lib/index.ts.html +557 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lib/schema/augmentation.ts.html +371 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lib/schema/base-types.ts.html +167 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lib/schema/index.html +186 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lib/schema/index.ts.html +98 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lib/schema/property.ts.html +965 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lib/schema/resource-type.ts.html +572 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/lib/schema/specification.ts.html +248 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/prettify.css +1 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/prettify.js +2 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/sort-arrow-sprite.png +0 -0
- package/node_modules/@aws-cdk/cfnspec/coverage/sorter.js +170 -0
- package/node_modules/@aws-cdk/cfnspec/lib/_private_schema/cfn-lint.d.ts +24 -0
- package/node_modules/@aws-cdk/cfnspec/lib/_private_schema/cfn-lint.js +3 -0
- package/node_modules/@aws-cdk/cfnspec/lib/augmentations/AWS_EC2_VPNConnection.json +27 -0
- package/node_modules/@aws-cdk/cfnspec/lib/augmentations/AWS_Lambda_Function.json +27 -0
- package/node_modules/@aws-cdk/cfnspec/lib/augmentations/AWS_RDS_DBCluster.json +70 -0
- package/node_modules/@aws-cdk/cfnspec/lib/augmentations/AWS_RDS_DBInstance.json +37 -0
- package/node_modules/@aws-cdk/cfnspec/lib/augmentations/AWS_SNS_Topic.json +52 -0
- package/node_modules/@aws-cdk/cfnspec/lib/augmentations/AWS_SQS_Queue.json +53 -0
- package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics/README.md +163 -0
- package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics/canned-metrics-schema.d.ts +60 -0
- package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics/canned-metrics-schema.js +12 -0
- package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics/services.json +22175 -0
- package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics.d.ts +41 -0
- package/node_modules/@aws-cdk/cfnspec/lib/canned-metrics.js +77 -0
- package/node_modules/@aws-cdk/cfnspec/lib/index.d.ts +55 -0
- package/node_modules/@aws-cdk/cfnspec/lib/index.js +171 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/augmentation.d.ts +87 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/augmentation.js +28 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/base-types.d.ts +14 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/base-types.js +29 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/cfn-lint.d.ts +13 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/cfn-lint.js +3 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/index.d.ts +6 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/index.js +19 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/property.d.ts +174 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/property.js +161 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/resource-type.d.ts +117 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/resource-type.js +99 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/specification.d.ts +56 -0
- package/node_modules/@aws-cdk/cfnspec/lib/schema/specification.js +11 -0
- package/node_modules/@aws-cdk/cfnspec/package.json +61 -0
- package/node_modules/@aws-cdk/cfnspec/spec/cfn-lint.json +34 -0
- package/node_modules/@aws-cdk/cfnspec/spec/specification.json +110800 -0
- package/node_modules/@aws-cdk/cfnspec/tsconfig.json +24 -0
- package/node_modules/@aws-cdk/cfnspec/tsconfig.tsbuildinfo +4584 -0
- package/node_modules/@aws-cdk/cloudformation-diff/LICENSE +201 -0
- package/node_modules/@aws-cdk/cloudformation-diff/NOTICE +2 -0
- package/node_modules/@aws-cdk/cloudformation-diff/README.md +12 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diff/index.d.ts +9 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diff/index.js +94 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diff/types.d.ts +326 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diff/types.js +456 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diff/util.d.ts +41 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diff/util.js +165 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diff-template.d.ts +21 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diff-template.js +166 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diffable.d.ts +22 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/diffable.js +47 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/format-table.d.ts +6 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/format-table.js +109 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/format.d.ts +23 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/format.js +414 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/iam/iam-changes.d.ts +62 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/iam/iam-changes.js +246 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/iam/managed-policy.d.ts +18 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/iam/managed-policy.js +29 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/iam/statement.d.ts +127 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/iam/statement.js +266 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/index.d.ts +4 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/index.js +18 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/network/security-group-changes.d.ts +32 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/network/security-group-changes.js +95 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/network/security-group-rule.d.ts +50 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/network/security-group-rule.js +91 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/render-intrinsics.d.ts +21 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/render-intrinsics.js +79 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/util.d.ts +7 -0
- package/node_modules/@aws-cdk/cloudformation-diff/lib/util.js +63 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/LICENSE +21 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/README.md +16 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/assert.d.ts +99 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/async_hooks.d.ts +144 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/base.d.ts +19 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/buffer.d.ts +16 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/child_process.d.ts +369 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/cluster.d.ts +260 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/console.d.ts +3 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/constants.d.ts +449 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/crypto.d.ts +613 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/dgram.d.ts +97 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/dns.d.ts +366 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/domain.d.ts +16 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/events.d.ts +30 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/fs.d.ts +2302 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/globals.d.ts +1066 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/http.d.ts +274 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/http2.d.ts +859 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/https.d.ts +51 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/index.d.ts +41 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/inspector.d.ts +3162 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/module.d.ts +3 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/net.d.ts +251 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/os.d.ts +254 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/package.json +181 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/path.d.ts +159 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/perf_hooks.d.ts +169 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/process.d.ts +3 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/punycode.d.ts +68 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/querystring.d.ts +17 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/readline.d.ts +143 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/repl.d.ts +380 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/stream.d.ts +313 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/string_decoder.d.ts +9 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/timers.d.ts +16 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/tls.d.ts +459 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/trace_events.d.ts +61 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/ts3.6/assert.d.ts +73 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/ts3.6/base.d.ts +54 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/ts3.6/index.d.ts +6 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/tty.d.ts +17 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/url.d.ts +104 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/util.d.ts +187 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/v8.d.ts +28 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/vm.d.ts +81 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/worker_threads.d.ts +124 -0
- package/node_modules/@aws-cdk/cloudformation-diff/node_modules/@types/node/zlib.d.ts +327 -0
- package/node_modules/@aws-cdk/cloudformation-diff/package.json +61 -0
- package/node_modules/@types/concat-stream/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/http.d.ts +1 -1
- package/node_modules/@types/concat-stream/node_modules/@types/node/package.json +2 -2
- package/node_modules/@types/form-data/node_modules/@types/node/README.md +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/http.d.ts +1 -1
- package/node_modules/@types/form-data/node_modules/@types/node/package.json +2 -2
- package/node_modules/ansi-regex/index.d.ts +37 -0
- package/node_modules/ansi-regex/index.js +10 -0
- package/node_modules/ansi-regex/license +9 -0
- package/node_modules/ansi-regex/package.json +55 -0
- package/node_modules/ansi-regex/readme.md +78 -0
- package/node_modules/ansi-styles/index.d.ts +345 -0
- package/node_modules/ansi-styles/index.js +163 -0
- package/node_modules/ansi-styles/license +9 -0
- package/node_modules/ansi-styles/package.json +56 -0
- package/node_modules/ansi-styles/readme.md +152 -0
- package/node_modules/astral-regex/index.d.ts +28 -0
- package/node_modules/astral-regex/index.js +6 -0
- package/node_modules/astral-regex/license +9 -0
- package/node_modules/astral-regex/package.json +33 -0
- package/node_modules/astral-regex/readme.md +46 -0
- package/node_modules/at-least-node/LICENSE +6 -0
- package/node_modules/at-least-node/README.md +25 -0
- package/node_modules/at-least-node/index.js +5 -0
- package/node_modules/at-least-node/package.json +32 -0
- package/node_modules/charenc/LICENSE.mkd +27 -0
- package/node_modules/charenc/README.js +1 -0
- package/node_modules/charenc/charenc.js +33 -0
- package/node_modules/charenc/package.json +24 -0
- package/node_modules/color-convert/CHANGELOG.md +54 -0
- package/node_modules/color-convert/LICENSE +21 -0
- package/node_modules/color-convert/README.md +68 -0
- package/node_modules/color-convert/conversions.js +839 -0
- package/node_modules/color-convert/index.js +81 -0
- package/node_modules/color-convert/package.json +48 -0
- package/node_modules/color-convert/route.js +97 -0
- package/node_modules/color-name/LICENSE +8 -0
- package/node_modules/color-name/README.md +11 -0
- package/node_modules/color-name/index.js +152 -0
- package/node_modules/color-name/package.json +28 -0
- package/node_modules/colors/LICENSE +25 -0
- package/node_modules/colors/README.md +221 -0
- package/node_modules/colors/examples/normal-usage.js +82 -0
- package/node_modules/colors/examples/safe-string.js +79 -0
- package/node_modules/colors/index.d.ts +136 -0
- package/node_modules/colors/lib/colors.js +211 -0
- package/node_modules/colors/lib/custom/trap.js +46 -0
- package/node_modules/colors/lib/custom/zalgo.js +110 -0
- package/node_modules/colors/lib/extendStringPrototype.js +110 -0
- package/node_modules/colors/lib/index.js +13 -0
- package/node_modules/colors/lib/maps/america.js +10 -0
- package/node_modules/colors/lib/maps/rainbow.js +12 -0
- package/node_modules/colors/lib/maps/random.js +11 -0
- package/node_modules/colors/lib/maps/zebra.js +5 -0
- package/node_modules/colors/lib/styles.js +95 -0
- package/node_modules/colors/lib/system/has-flag.js +35 -0
- package/node_modules/colors/lib/system/supports-colors.js +151 -0
- package/node_modules/colors/package.json +45 -0
- package/node_modules/colors/safe.d.ts +48 -0
- package/node_modules/colors/safe.js +10 -0
- package/node_modules/colors/themes/generic-logging.js +12 -0
- package/node_modules/crypt/LICENSE.mkd +27 -0
- package/node_modules/crypt/README.mkd +1 -0
- package/node_modules/crypt/crypt.js +96 -0
- package/node_modules/crypt/package.json +22 -0
- package/node_modules/diff/CONTRIBUTING.md +39 -0
- package/node_modules/diff/LICENSE +31 -0
- package/node_modules/diff/README.md +208 -0
- package/node_modules/diff/dist/diff.js +1582 -0
- package/node_modules/diff/lib/convert/dmp.js +32 -0
- package/node_modules/diff/lib/convert/xml.js +42 -0
- package/node_modules/diff/lib/diff/array.js +45 -0
- package/node_modules/diff/lib/diff/base.js +304 -0
- package/node_modules/diff/lib/diff/character.js +37 -0
- package/node_modules/diff/lib/diff/css.js +41 -0
- package/node_modules/diff/lib/diff/json.js +163 -0
- package/node_modules/diff/lib/diff/line.js +89 -0
- package/node_modules/diff/lib/diff/sentence.js +41 -0
- package/node_modules/diff/lib/diff/word.js +108 -0
- package/node_modules/diff/lib/index.es6.js +1553 -0
- package/node_modules/diff/lib/index.js +216 -0
- package/node_modules/diff/lib/index.mjs +1553 -0
- package/node_modules/diff/lib/patch/apply.js +238 -0
- package/node_modules/diff/lib/patch/create.js +267 -0
- package/node_modules/diff/lib/patch/merge.js +613 -0
- package/node_modules/diff/lib/patch/parse.js +167 -0
- package/node_modules/diff/lib/util/array.js +32 -0
- package/node_modules/diff/lib/util/distance-iterator.js +57 -0
- package/node_modules/diff/lib/util/params.js +24 -0
- package/node_modules/diff/package.json +87 -0
- package/node_modules/diff/release-notes.md +303 -0
- package/node_modules/diff/runtime.js +3 -0
- package/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/node_modules/emoji-regex/README.md +73 -0
- package/node_modules/emoji-regex/es2015/index.js +6 -0
- package/node_modules/emoji-regex/es2015/text.js +6 -0
- package/node_modules/emoji-regex/index.d.ts +23 -0
- package/node_modules/emoji-regex/index.js +6 -0
- package/node_modules/emoji-regex/package.json +50 -0
- package/node_modules/emoji-regex/text.js +6 -0
- package/node_modules/fast-deep-equal/LICENSE +21 -0
- package/node_modules/fast-deep-equal/README.md +96 -0
- package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/index.js +72 -0
- package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/es6/react.js +79 -0
- package/node_modules/fast-deep-equal/index.d.ts +4 -0
- package/node_modules/fast-deep-equal/index.js +46 -0
- package/node_modules/fast-deep-equal/package.json +61 -0
- package/node_modules/fast-deep-equal/react.d.ts +2 -0
- package/node_modules/fast-deep-equal/react.js +53 -0
- package/node_modules/fs-extra/CHANGELOG.md +902 -0
- package/node_modules/fs-extra/LICENSE +15 -0
- package/node_modules/fs-extra/README.md +264 -0
- package/node_modules/fs-extra/lib/copy/copy.js +232 -0
- package/node_modules/fs-extra/lib/copy/index.js +6 -0
- package/node_modules/fs-extra/lib/copy-sync/copy-sync.js +166 -0
- package/node_modules/fs-extra/lib/copy-sync/index.js +5 -0
- package/node_modules/fs-extra/lib/empty/index.js +48 -0
- package/node_modules/fs-extra/lib/ensure/file.js +69 -0
- package/node_modules/fs-extra/lib/ensure/index.js +23 -0
- package/node_modules/fs-extra/lib/ensure/link.js +61 -0
- package/node_modules/fs-extra/lib/ensure/symlink-paths.js +99 -0
- package/node_modules/fs-extra/lib/ensure/symlink-type.js +31 -0
- package/node_modules/fs-extra/lib/ensure/symlink.js +63 -0
- package/node_modules/fs-extra/lib/fs/index.js +130 -0
- package/node_modules/fs-extra/lib/index.js +27 -0
- package/node_modules/fs-extra/lib/json/index.js +16 -0
- package/node_modules/fs-extra/lib/json/jsonfile.js +11 -0
- package/node_modules/fs-extra/lib/json/output-json-sync.js +12 -0
- package/node_modules/fs-extra/lib/json/output-json.js +12 -0
- package/node_modules/fs-extra/lib/mkdirs/index.js +14 -0
- package/node_modules/fs-extra/lib/mkdirs/make-dir.js +141 -0
- package/node_modules/fs-extra/lib/move/index.js +6 -0
- package/node_modules/fs-extra/lib/move/move.js +65 -0
- package/node_modules/fs-extra/lib/move-sync/index.js +5 -0
- package/node_modules/fs-extra/lib/move-sync/move-sync.js +47 -0
- package/node_modules/fs-extra/lib/output/index.js +40 -0
- package/node_modules/fs-extra/lib/path-exists/index.js +12 -0
- package/node_modules/fs-extra/lib/remove/index.js +9 -0
- package/node_modules/fs-extra/lib/remove/rimraf.js +302 -0
- package/node_modules/fs-extra/lib/util/stat.js +139 -0
- package/node_modules/fs-extra/lib/util/utimes.js +26 -0
- package/node_modules/fs-extra/package.json +70 -0
- package/node_modules/graceful-fs/LICENSE +15 -0
- package/node_modules/graceful-fs/README.md +143 -0
- package/node_modules/graceful-fs/clone.js +23 -0
- package/node_modules/graceful-fs/graceful-fs.js +429 -0
- package/node_modules/graceful-fs/legacy-streams.js +118 -0
- package/node_modules/graceful-fs/package.json +50 -0
- package/node_modules/graceful-fs/polyfills.js +346 -0
- package/node_modules/is-buffer/LICENSE +21 -0
- package/node_modules/is-buffer/README.md +53 -0
- package/node_modules/is-buffer/index.js +21 -0
- package/node_modules/is-buffer/package.json +51 -0
- package/node_modules/is-buffer/test/basic.js +24 -0
- package/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/node_modules/is-fullwidth-code-point/index.js +50 -0
- package/node_modules/is-fullwidth-code-point/license +9 -0
- package/node_modules/is-fullwidth-code-point/package.json +42 -0
- package/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/node_modules/jsonfile/CHANGELOG.md +171 -0
- package/node_modules/jsonfile/LICENSE +15 -0
- package/node_modules/jsonfile/README.md +230 -0
- package/node_modules/jsonfile/index.js +88 -0
- package/node_modules/jsonfile/package.json +40 -0
- package/node_modules/jsonfile/utils.js +14 -0
- package/node_modules/lodash.truncate/LICENSE +47 -0
- package/node_modules/lodash.truncate/README.md +18 -0
- package/node_modules/lodash.truncate/index.js +632 -0
- package/node_modules/lodash.truncate/package.json +17 -0
- package/node_modules/md5/.travis.yml +7 -0
- package/node_modules/md5/LICENSE +27 -0
- package/node_modules/md5/README.md +111 -0
- package/node_modules/md5/demo/index.html +48 -0
- package/node_modules/md5/dist/md5.min.js +7 -0
- package/node_modules/md5/md5.js +160 -0
- package/node_modules/md5/package.json +38 -0
- package/node_modules/md5/test.js +75 -0
- package/node_modules/md5/webpack.config.js +13 -0
- package/node_modules/punycode/LICENSE-MIT.txt +20 -0
- package/node_modules/punycode/README.md +122 -0
- package/node_modules/punycode/package.json +58 -0
- package/node_modules/punycode/punycode.es6.js +441 -0
- package/node_modules/punycode/punycode.js +440 -0
- package/node_modules/require-from-string/index.js +34 -0
- package/node_modules/require-from-string/license +21 -0
- package/node_modules/require-from-string/package.json +28 -0
- package/node_modules/require-from-string/readme.md +56 -0
- package/node_modules/slice-ansi/index.js +103 -0
- package/node_modules/slice-ansi/license +10 -0
- package/node_modules/slice-ansi/package.json +52 -0
- package/node_modules/slice-ansi/readme.md +66 -0
- package/node_modules/string-width/index.d.ts +29 -0
- package/node_modules/string-width/index.js +47 -0
- package/node_modules/string-width/license +9 -0
- package/node_modules/string-width/package.json +56 -0
- package/node_modules/string-width/readme.md +50 -0
- package/node_modules/strip-ansi/index.d.ts +17 -0
- package/node_modules/strip-ansi/index.js +4 -0
- package/node_modules/strip-ansi/license +9 -0
- package/node_modules/strip-ansi/package.json +54 -0
- package/node_modules/strip-ansi/readme.md +46 -0
- package/node_modules/table/LICENSE +24 -0
- package/node_modules/table/README.md +759 -0
- package/node_modules/table/dist/src/alignString.d.ts +6 -0
- package/node_modules/table/dist/src/alignString.js +60 -0
- package/node_modules/table/dist/src/alignTableData.d.ts +2 -0
- package/node_modules/table/dist/src/alignTableData.js +14 -0
- package/node_modules/table/dist/src/calculateCellHeight.d.ts +4 -0
- package/node_modules/table/dist/src/calculateCellHeight.js +12 -0
- package/node_modules/table/dist/src/calculateCellWidths.d.ts +5 -0
- package/node_modules/table/dist/src/calculateCellWidths.js +17 -0
- package/node_modules/table/dist/src/calculateColumnWidths.d.ts +6 -0
- package/node_modules/table/dist/src/calculateColumnWidths.js +17 -0
- package/node_modules/table/dist/src/calculateRowHeights.d.ts +5 -0
- package/node_modules/table/dist/src/calculateRowHeights.js +19 -0
- package/node_modules/table/dist/src/createStream.d.ts +2 -0
- package/node_modules/table/dist/src/createStream.js +73 -0
- package/node_modules/table/dist/src/drawBorder.d.ts +26 -0
- package/node_modules/table/dist/src/drawBorder.js +101 -0
- package/node_modules/table/dist/src/drawContent.d.ts +9 -0
- package/node_modules/table/dist/src/drawContent.js +27 -0
- package/node_modules/table/dist/src/drawHeader.d.ts +2 -0
- package/node_modules/table/dist/src/drawHeader.js +30 -0
- package/node_modules/table/dist/src/drawRow.d.ts +6 -0
- package/node_modules/table/dist/src/drawRow.js +21 -0
- package/node_modules/table/dist/src/drawTable.d.ts +2 -0
- package/node_modules/table/dist/src/drawTable.js +39 -0
- package/node_modules/table/dist/src/generated/validators.d.ts +13 -0
- package/node_modules/table/dist/src/generated/validators.js +2171 -0
- package/node_modules/table/dist/src/getBorderCharacters.d.ts +2 -0
- package/node_modules/table/dist/src/getBorderCharacters.js +89 -0
- package/node_modules/table/dist/src/index.d.ts +5 -0
- package/node_modules/table/dist/src/index.js +21 -0
- package/node_modules/table/dist/src/makeStreamConfig.d.ts +7 -0
- package/node_modules/table/dist/src/makeStreamConfig.js +43 -0
- package/node_modules/table/dist/src/makeTableConfig.d.ts +7 -0
- package/node_modules/table/dist/src/makeTableConfig.js +65 -0
- package/node_modules/table/dist/src/mapDataUsingRowHeights.d.ts +2 -0
- package/node_modules/table/dist/src/mapDataUsingRowHeights.js +45 -0
- package/node_modules/table/dist/src/padTableData.d.ts +3 -0
- package/node_modules/table/dist/src/padTableData.js +17 -0
- package/node_modules/table/dist/src/stringifyTableData.d.ts +2 -0
- package/node_modules/table/dist/src/stringifyTableData.js +13 -0
- package/node_modules/table/dist/src/table.d.ts +2 -0
- package/node_modules/table/dist/src/table.js +27 -0
- package/node_modules/table/dist/src/truncateTableData.d.ts +6 -0
- package/node_modules/table/dist/src/truncateTableData.js +24 -0
- package/node_modules/table/dist/src/types/api.d.ts +114 -0
- package/node_modules/table/dist/src/types/api.js +3 -0
- package/node_modules/table/dist/src/types/internal.d.ts +1 -0
- package/node_modules/table/dist/src/types/internal.js +3 -0
- package/node_modules/table/dist/src/utils.d.ts +1 -0
- package/node_modules/table/dist/src/utils.js +93 -0
- package/node_modules/table/dist/src/validateConfig.d.ts +2 -0
- package/node_modules/table/dist/src/validateConfig.js +27 -0
- package/node_modules/table/dist/src/validateTableData.d.ts +1 -0
- package/node_modules/table/dist/src/validateTableData.js +32 -0
- package/node_modules/table/dist/src/wrapCell.d.ts +8 -0
- package/node_modules/table/dist/src/wrapCell.js +33 -0
- package/node_modules/table/dist/src/wrapString.d.ts +9 -0
- package/node_modules/table/dist/src/wrapString.js +27 -0
- package/node_modules/table/dist/src/wrapWord.d.ts +1 -0
- package/node_modules/table/dist/src/wrapWord.js +42 -0
- package/node_modules/table/node_modules/ajv/.runkit_example.js +23 -0
- package/node_modules/table/node_modules/ajv/LICENSE +22 -0
- package/node_modules/table/node_modules/ajv/README.md +192 -0
- package/node_modules/table/node_modules/ajv/dist/2019.d.ts +17 -0
- package/node_modules/table/node_modules/ajv/dist/2019.js +55 -0
- package/node_modules/table/node_modules/ajv/dist/2019.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/2020.d.ts +17 -0
- package/node_modules/table/node_modules/ajv/dist/2020.js +49 -0
- package/node_modules/table/node_modules/ajv/dist/2020.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/ajv.d.ts +16 -0
- package/node_modules/table/node_modules/ajv/dist/ajv.js +44 -0
- package/node_modules/table/node_modules/ajv/dist/ajv.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/codegen/code.d.ts +39 -0
- package/node_modules/table/node_modules/ajv/dist/compile/codegen/code.js +147 -0
- package/node_modules/table/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
- package/node_modules/table/node_modules/ajv/dist/compile/codegen/index.js +697 -0
- package/node_modules/table/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
- package/node_modules/table/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
- package/node_modules/table/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/errors.d.ts +13 -0
- package/node_modules/table/node_modules/ajv/dist/compile/errors.js +123 -0
- package/node_modules/table/node_modules/ajv/dist/compile/errors.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/index.d.ts +80 -0
- package/node_modules/table/node_modules/ajv/dist/compile/index.js +243 -0
- package/node_modules/table/node_modules/ajv/dist/compile/index.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
- package/node_modules/table/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
- package/node_modules/table/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
- package/node_modules/table/node_modules/ajv/dist/compile/jtd/serialize.js +218 -0
- package/node_modules/table/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
- package/node_modules/table/node_modules/ajv/dist/compile/jtd/types.js +14 -0
- package/node_modules/table/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/names.d.ts +20 -0
- package/node_modules/table/node_modules/ajv/dist/compile/names.js +28 -0
- package/node_modules/table/node_modules/ajv/dist/compile/names.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/ref_error.d.ts +5 -0
- package/node_modules/table/node_modules/ajv/dist/compile/ref_error.js +12 -0
- package/node_modules/table/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
- package/node_modules/table/node_modules/ajv/dist/compile/resolve.js +153 -0
- package/node_modules/table/node_modules/ajv/dist/compile/resolve.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/rules.d.ts +28 -0
- package/node_modules/table/node_modules/ajv/dist/compile/rules.js +26 -0
- package/node_modules/table/node_modules/ajv/dist/compile/rules.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/util.d.ts +40 -0
- package/node_modules/table/node_modules/ajv/dist/compile/util.js +178 -0
- package/node_modules/table/node_modules/ajv/dist/compile/util.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/dataType.js +202 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/index.js +510 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
- package/node_modules/table/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/core.d.ts +171 -0
- package/node_modules/table/node_modules/ajv/dist/core.js +614 -0
- package/node_modules/table/node_modules/ajv/dist/core.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/jtd.d.ts +45 -0
- package/node_modules/table/node_modules/ajv/dist/jtd.js +66 -0
- package/node_modules/table/node_modules/ajv/dist/jtd.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/refs/data.json +13 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
- package/node_modules/table/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
- package/node_modules/table/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
- package/node_modules/table/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/equal.js +7 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/equal.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/parseJson.js +184 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/quote.js +30 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/quote.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/re2.js +6 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/re2.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/timestamp.js +42 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/validation_error.js +11 -0
- package/node_modules/table/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/standalone/index.d.ts +6 -0
- package/node_modules/table/node_modules/ajv/dist/standalone/index.js +83 -0
- package/node_modules/table/node_modules/ajv/dist/standalone/index.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
- package/node_modules/table/node_modules/ajv/dist/standalone/instance.js +35 -0
- package/node_modules/table/node_modules/ajv/dist/standalone/instance.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/types/index.d.ts +177 -0
- package/node_modules/table/node_modules/ajv/dist/types/index.js +3 -0
- package/node_modules/table/node_modules/ajv/dist/types/index.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/types/json-schema.d.ts +124 -0
- package/node_modules/table/node_modules/ajv/dist/types/json-schema.js +3 -0
- package/node_modules/table/node_modules/ajv/dist/types/json-schema.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/types/jtd-schema.d.ts +168 -0
- package/node_modules/table/node_modules/ajv/dist/types/jtd-schema.js +3 -0
- package/node_modules/table/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/code.js +131 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/discriminator/index.js +93 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/errors.js +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/properties.js +146 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/ref.js +66 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/values.js +48 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/next.js +8 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/enum.js +47 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/pattern.js +24 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
- package/node_modules/table/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
- package/node_modules/table/node_modules/ajv/lib/2019.ts +78 -0
- package/node_modules/table/node_modules/ajv/lib/2020.ts +72 -0
- package/node_modules/table/node_modules/ajv/lib/ajv.ts +67 -0
- package/node_modules/table/node_modules/ajv/lib/compile/codegen/code.ts +160 -0
- package/node_modules/table/node_modules/ajv/lib/compile/codegen/index.ts +832 -0
- package/node_modules/table/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
- package/node_modules/table/node_modules/ajv/lib/compile/errors.ts +184 -0
- package/node_modules/table/node_modules/ajv/lib/compile/index.ts +324 -0
- package/node_modules/table/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
- package/node_modules/table/node_modules/ajv/lib/compile/jtd/serialize.ts +260 -0
- package/node_modules/table/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
- package/node_modules/table/node_modules/ajv/lib/compile/names.ts +27 -0
- package/node_modules/table/node_modules/ajv/lib/compile/ref_error.ts +12 -0
- package/node_modules/table/node_modules/ajv/lib/compile/resolve.ts +146 -0
- package/node_modules/table/node_modules/ajv/lib/compile/rules.ts +50 -0
- package/node_modules/table/node_modules/ajv/lib/compile/util.ts +213 -0
- package/node_modules/table/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
- package/node_modules/table/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
- package/node_modules/table/node_modules/ajv/lib/compile/validate/dataType.ts +229 -0
- package/node_modules/table/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
- package/node_modules/table/node_modules/ajv/lib/compile/validate/index.ts +573 -0
- package/node_modules/table/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
- package/node_modules/table/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
- package/node_modules/table/node_modules/ajv/lib/core.ts +880 -0
- package/node_modules/table/node_modules/ajv/lib/jtd.ts +129 -0
- package/node_modules/table/node_modules/ajv/lib/refs/data.json +13 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
- package/node_modules/table/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
- package/node_modules/table/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
- package/node_modules/table/node_modules/ajv/lib/runtime/equal.ts +7 -0
- package/node_modules/table/node_modules/ajv/lib/runtime/parseJson.ts +176 -0
- package/node_modules/table/node_modules/ajv/lib/runtime/quote.ts +31 -0
- package/node_modules/table/node_modules/ajv/lib/runtime/re2.ts +6 -0
- package/node_modules/table/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
- package/node_modules/table/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
- package/node_modules/table/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
- package/node_modules/table/node_modules/ajv/lib/standalone/index.ts +93 -0
- package/node_modules/table/node_modules/ajv/lib/standalone/instance.ts +36 -0
- package/node_modules/table/node_modules/ajv/lib/types/index.ts +233 -0
- package/node_modules/table/node_modules/ajv/lib/types/json-schema.ts +189 -0
- package/node_modules/table/node_modules/ajv/lib/types/jtd-schema.ts +264 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/code.ts +168 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/discriminator/index.ts +102 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/jtd/properties.ts +177 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/jtd/ref.ts +74 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/jtd/values.ts +55 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/next.ts +8 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/validation/enum.ts +52 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/validation/pattern.ts +28 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
- package/node_modules/table/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
- package/node_modules/table/node_modules/ajv/package.json +124 -0
- package/node_modules/table/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
- package/node_modules/table/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
- package/node_modules/table/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
- package/node_modules/table/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
- package/node_modules/table/node_modules/json-schema-traverse/LICENSE +21 -0
- package/node_modules/table/node_modules/json-schema-traverse/README.md +95 -0
- package/node_modules/table/node_modules/json-schema-traverse/index.d.ts +40 -0
- package/node_modules/table/node_modules/json-schema-traverse/index.js +93 -0
- package/node_modules/table/node_modules/json-schema-traverse/package.json +43 -0
- package/node_modules/table/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
- package/node_modules/table/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
- package/node_modules/table/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
- package/node_modules/table/package.json +78 -0
- package/node_modules/universalify/LICENSE +20 -0
- package/node_modules/universalify/README.md +76 -0
- package/node_modules/universalify/index.js +24 -0
- package/node_modules/universalify/package.json +34 -0
- package/node_modules/uri-js/LICENSE +11 -0
- package/node_modules/uri-js/README.md +203 -0
- package/node_modules/uri-js/dist/es5/uri.all.d.ts +59 -0
- package/node_modules/uri-js/dist/es5/uri.all.js +1443 -0
- package/node_modules/uri-js/dist/es5/uri.all.js.map +1 -0
- package/node_modules/uri-js/dist/es5/uri.all.min.d.ts +59 -0
- package/node_modules/uri-js/dist/es5/uri.all.min.js +3 -0
- package/node_modules/uri-js/dist/es5/uri.all.min.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/index.d.ts +1 -0
- package/node_modules/uri-js/dist/esnext/index.js +17 -0
- package/node_modules/uri-js/dist/esnext/index.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/regexps-iri.d.ts +3 -0
- package/node_modules/uri-js/dist/esnext/regexps-iri.js +3 -0
- package/node_modules/uri-js/dist/esnext/regexps-iri.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/regexps-uri.d.ts +4 -0
- package/node_modules/uri-js/dist/esnext/regexps-uri.js +42 -0
- package/node_modules/uri-js/dist/esnext/regexps-uri.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/schemes/http.d.ts +3 -0
- package/node_modules/uri-js/dist/esnext/schemes/http.js +28 -0
- package/node_modules/uri-js/dist/esnext/schemes/http.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/schemes/https.d.ts +3 -0
- package/node_modules/uri-js/dist/esnext/schemes/https.js +9 -0
- package/node_modules/uri-js/dist/esnext/schemes/https.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/schemes/mailto.d.ts +12 -0
- package/node_modules/uri-js/dist/esnext/schemes/mailto.js +148 -0
- package/node_modules/uri-js/dist/esnext/schemes/mailto.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts +7 -0
- package/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js +23 -0
- package/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/schemes/urn.d.ts +10 -0
- package/node_modules/uri-js/dist/esnext/schemes/urn.js +49 -0
- package/node_modules/uri-js/dist/esnext/schemes/urn.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/schemes/ws.d.ts +7 -0
- package/node_modules/uri-js/dist/esnext/schemes/ws.js +41 -0
- package/node_modules/uri-js/dist/esnext/schemes/ws.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/schemes/wss.d.ts +3 -0
- package/node_modules/uri-js/dist/esnext/schemes/wss.js +9 -0
- package/node_modules/uri-js/dist/esnext/schemes/wss.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/uri.d.ts +59 -0
- package/node_modules/uri-js/dist/esnext/uri.js +480 -0
- package/node_modules/uri-js/dist/esnext/uri.js.map +1 -0
- package/node_modules/uri-js/dist/esnext/util.d.ts +6 -0
- package/node_modules/uri-js/dist/esnext/util.js +36 -0
- package/node_modules/uri-js/dist/esnext/util.js.map +1 -0
- package/node_modules/uri-js/package.json +77 -0
- package/node_modules/uri-js/yarn.lock +2558 -0
- package/package.json +11 -19
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
# MD5
|
|
2
|
+
|
|
3
|
+
[](http://travis-ci.org/pvorb/node-md5) [](http://npm-stat.com/charts.html?package=md5)
|
|
4
|
+
|
|
5
|
+
a JavaScript function for hashing messages with MD5.
|
|
6
|
+
|
|
7
|
+
node-md5 is being sponsored by the following tool; please help to support us by taking a look and signing up to a free trial
|
|
8
|
+
<a href="https://tracking.gitads.io/?repo=node-md5"><img src="https://images.gitads.io/node-md5" alt="GitAds"/></a>
|
|
9
|
+
|
|
10
|
+
## Installation
|
|
11
|
+
|
|
12
|
+
You can use this package on the server side as well as the client side.
|
|
13
|
+
|
|
14
|
+
### [Node.js](http://nodejs.org/):
|
|
15
|
+
|
|
16
|
+
~~~
|
|
17
|
+
npm install md5
|
|
18
|
+
~~~
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## API
|
|
22
|
+
|
|
23
|
+
~~~ javascript
|
|
24
|
+
md5(message)
|
|
25
|
+
~~~
|
|
26
|
+
|
|
27
|
+
* `message` -- `String`, `Buffer`, `Array` or `Uint8Array`
|
|
28
|
+
* returns `String`
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## Usage
|
|
32
|
+
|
|
33
|
+
~~~ javascript
|
|
34
|
+
var md5 = require('md5');
|
|
35
|
+
|
|
36
|
+
console.log(md5('message'));
|
|
37
|
+
~~~
|
|
38
|
+
|
|
39
|
+
This will print the following
|
|
40
|
+
|
|
41
|
+
~~~
|
|
42
|
+
78e731027d8fd50ed642340b7c9a63b3
|
|
43
|
+
~~~
|
|
44
|
+
|
|
45
|
+
It supports buffers, too
|
|
46
|
+
|
|
47
|
+
~~~ javascript
|
|
48
|
+
var fs = require('fs');
|
|
49
|
+
var md5 = require('md5');
|
|
50
|
+
|
|
51
|
+
fs.readFile('example.txt', function(err, buf) {
|
|
52
|
+
console.log(md5(buf));
|
|
53
|
+
});
|
|
54
|
+
~~~
|
|
55
|
+
|
|
56
|
+
## Versions
|
|
57
|
+
|
|
58
|
+
Before version 2.0.0 there were two packages called md5 on npm, one lowercase,
|
|
59
|
+
one uppercase (the one you're looking at). As of version 2.0.0, all new versions
|
|
60
|
+
of this module will go to lowercase [md5](https://www.npmjs.com/package/md5) on
|
|
61
|
+
npm. To use the correct version, users of this module will have to change their
|
|
62
|
+
code from `require('MD5')` to `require('md5')` if they want to use versions >=
|
|
63
|
+
2.0.0.
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
## Bugs and Issues
|
|
67
|
+
|
|
68
|
+
If you encounter any bugs or issues, feel free to open an issue at
|
|
69
|
+
[github](https://github.com/pvorb/node-md5/issues).
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
## Credits
|
|
73
|
+
|
|
74
|
+
This package is based on the work of Jeff Mott, who did a pure JS implementation
|
|
75
|
+
of the MD5 algorithm that was published by Ronald L. Rivest in 1991. I needed a
|
|
76
|
+
npm package of the algorithm, so I used Jeff’s implementation for this package.
|
|
77
|
+
The original implementation can be found in the
|
|
78
|
+
[CryptoJS](http://code.google.com/p/crypto-js/) project.
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## License
|
|
82
|
+
|
|
83
|
+
~~~
|
|
84
|
+
Copyright © 2011-2015, Paul Vorbach.
|
|
85
|
+
Copyright © 2009, Jeff Mott.
|
|
86
|
+
|
|
87
|
+
All rights reserved.
|
|
88
|
+
|
|
89
|
+
Redistribution and use in source and binary forms, with or without modification,
|
|
90
|
+
are permitted provided that the following conditions are met:
|
|
91
|
+
|
|
92
|
+
* Redistributions of source code must retain the above copyright notice, this
|
|
93
|
+
list of conditions and the following disclaimer.
|
|
94
|
+
* Redistributions in binary form must reproduce the above copyright notice, this
|
|
95
|
+
list of conditions and the following disclaimer in the documentation and/or
|
|
96
|
+
other materials provided with the distribution.
|
|
97
|
+
* Neither the name Crypto-JS nor the names of its contributors may be used to
|
|
98
|
+
endorse or promote products derived from this software without specific prior
|
|
99
|
+
written permission.
|
|
100
|
+
|
|
101
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
102
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
103
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
104
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
|
105
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
106
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
107
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
108
|
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
109
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
110
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
111
|
+
~~~
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
<input type="file" id="input">
|
|
2
|
+
<output id="output"></output>
|
|
3
|
+
<style>
|
|
4
|
+
output::before {
|
|
5
|
+
content: "output:";
|
|
6
|
+
}
|
|
7
|
+
output {
|
|
8
|
+
display: block;
|
|
9
|
+
padding: 1em;
|
|
10
|
+
margin: 1em;
|
|
11
|
+
outline: 1px solid gray;
|
|
12
|
+
white-space: pre-wrap;
|
|
13
|
+
}
|
|
14
|
+
</style>
|
|
15
|
+
<script src="../dist/md5.min.js"></script>
|
|
16
|
+
<script>
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
function readAsArrayBuffer(file){
|
|
20
|
+
return new Promise(function(resolve) {
|
|
21
|
+
var reader = new FileReader();
|
|
22
|
+
reader.readAsArrayBuffer(file)
|
|
23
|
+
reader.onload = function(e) {
|
|
24
|
+
resolve(e.target.result)
|
|
25
|
+
};
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
input.onchange = function(e) {
|
|
30
|
+
var file = input.files[0];
|
|
31
|
+
readAsArrayBuffer(file)
|
|
32
|
+
.then(buffer => {
|
|
33
|
+
console.log(buffer);
|
|
34
|
+
var now = performance.now();
|
|
35
|
+
var hash = MD5(buffer);
|
|
36
|
+
var after = performance.now() - now;
|
|
37
|
+
output.innerHTML = `
|
|
38
|
+
file: ${file.name}
|
|
39
|
+
size: ${file.size} bytes
|
|
40
|
+
type: ${file.type}
|
|
41
|
+
md5: ${hash}
|
|
42
|
+
duration: ${after.toFixed(2)} ms
|
|
43
|
+
`;
|
|
44
|
+
})
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
</script>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var MD5=function(r){function n(o){if(t[o])return t[o].exports;var e=t[o]={i:o,l:!1,exports:{}};return r[o].call(e.exports,e,e.exports,n),e.l=!0,e.exports}var t={};return n.m=r,n.c=t,n.i=function(r){return r},n.d=function(r,t,o){n.o(r,t)||Object.defineProperty(r,t,{configurable:!1,enumerable:!0,get:o})},n.n=function(r){var t=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(t,"a",t),t},n.o=function(r,n){return Object.prototype.hasOwnProperty.call(r,n)},n.p="",n(n.s=4)}([function(r,n){var t={utf8:{stringToBytes:function(r){return t.bin.stringToBytes(unescape(encodeURIComponent(r)))},bytesToString:function(r){return decodeURIComponent(escape(t.bin.bytesToString(r)))}},bin:{stringToBytes:function(r){for(var n=[],t=0;t<r.length;t++)n.push(255&r.charCodeAt(t));return n},bytesToString:function(r){for(var n=[],t=0;t<r.length;t++)n.push(String.fromCharCode(r[t]));return n.join("")}}};r.exports=t},function(r,n,t){!function(){var n=t(2),o=t(0).utf8,e=t(3),u=t(0).bin,i=function(r,t){r.constructor==String?r=t&&"binary"===t.encoding?u.stringToBytes(r):o.stringToBytes(r):e(r)?r=Array.prototype.slice.call(r,0):Array.isArray(r)||(r=r.toString());for(var f=n.bytesToWords(r),s=8*r.length,c=1732584193,a=-271733879,l=-1732584194,g=271733878,h=0;h<f.length;h++)f[h]=16711935&(f[h]<<8|f[h]>>>24)|4278255360&(f[h]<<24|f[h]>>>8);f[s>>>5]|=128<<s%32,f[14+(s+64>>>9<<4)]=s;for(var p=i._ff,y=i._gg,v=i._hh,d=i._ii,h=0;h<f.length;h+=16){var b=c,T=a,x=l,B=g;c=p(c,a,l,g,f[h+0],7,-680876936),g=p(g,c,a,l,f[h+1],12,-389564586),l=p(l,g,c,a,f[h+2],17,606105819),a=p(a,l,g,c,f[h+3],22,-1044525330),c=p(c,a,l,g,f[h+4],7,-176418897),g=p(g,c,a,l,f[h+5],12,1200080426),l=p(l,g,c,a,f[h+6],17,-1473231341),a=p(a,l,g,c,f[h+7],22,-45705983),c=p(c,a,l,g,f[h+8],7,1770035416),g=p(g,c,a,l,f[h+9],12,-1958414417),l=p(l,g,c,a,f[h+10],17,-42063),a=p(a,l,g,c,f[h+11],22,-1990404162),c=p(c,a,l,g,f[h+12],7,1804603682),g=p(g,c,a,l,f[h+13],12,-40341101),l=p(l,g,c,a,f[h+14],17,-1502002290),a=p(a,l,g,c,f[h+15],22,1236535329),c=y(c,a,l,g,f[h+1],5,-165796510),g=y(g,c,a,l,f[h+6],9,-1069501632),l=y(l,g,c,a,f[h+11],14,643717713),a=y(a,l,g,c,f[h+0],20,-373897302),c=y(c,a,l,g,f[h+5],5,-701558691),g=y(g,c,a,l,f[h+10],9,38016083),l=y(l,g,c,a,f[h+15],14,-660478335),a=y(a,l,g,c,f[h+4],20,-405537848),c=y(c,a,l,g,f[h+9],5,568446438),g=y(g,c,a,l,f[h+14],9,-1019803690),l=y(l,g,c,a,f[h+3],14,-187363961),a=y(a,l,g,c,f[h+8],20,1163531501),c=y(c,a,l,g,f[h+13],5,-1444681467),g=y(g,c,a,l,f[h+2],9,-51403784),l=y(l,g,c,a,f[h+7],14,1735328473),a=y(a,l,g,c,f[h+12],20,-1926607734),c=v(c,a,l,g,f[h+5],4,-378558),g=v(g,c,a,l,f[h+8],11,-2022574463),l=v(l,g,c,a,f[h+11],16,1839030562),a=v(a,l,g,c,f[h+14],23,-35309556),c=v(c,a,l,g,f[h+1],4,-1530992060),g=v(g,c,a,l,f[h+4],11,1272893353),l=v(l,g,c,a,f[h+7],16,-155497632),a=v(a,l,g,c,f[h+10],23,-1094730640),c=v(c,a,l,g,f[h+13],4,681279174),g=v(g,c,a,l,f[h+0],11,-358537222),l=v(l,g,c,a,f[h+3],16,-722521979),a=v(a,l,g,c,f[h+6],23,76029189),c=v(c,a,l,g,f[h+9],4,-640364487),g=v(g,c,a,l,f[h+12],11,-421815835),l=v(l,g,c,a,f[h+15],16,530742520),a=v(a,l,g,c,f[h+2],23,-995338651),c=d(c,a,l,g,f[h+0],6,-198630844),g=d(g,c,a,l,f[h+7],10,1126891415),l=d(l,g,c,a,f[h+14],15,-1416354905),a=d(a,l,g,c,f[h+5],21,-57434055),c=d(c,a,l,g,f[h+12],6,1700485571),g=d(g,c,a,l,f[h+3],10,-1894986606),l=d(l,g,c,a,f[h+10],15,-1051523),a=d(a,l,g,c,f[h+1],21,-2054922799),c=d(c,a,l,g,f[h+8],6,1873313359),g=d(g,c,a,l,f[h+15],10,-30611744),l=d(l,g,c,a,f[h+6],15,-1560198380),a=d(a,l,g,c,f[h+13],21,1309151649),c=d(c,a,l,g,f[h+4],6,-145523070),g=d(g,c,a,l,f[h+11],10,-1120210379),l=d(l,g,c,a,f[h+2],15,718787259),a=d(a,l,g,c,f[h+9],21,-343485551),c=c+b>>>0,a=a+T>>>0,l=l+x>>>0,g=g+B>>>0}return n.endian([c,a,l,g])};i._ff=function(r,n,t,o,e,u,i){var f=r+(n&t|~n&o)+(e>>>0)+i;return(f<<u|f>>>32-u)+n},i._gg=function(r,n,t,o,e,u,i){var f=r+(n&o|t&~o)+(e>>>0)+i;return(f<<u|f>>>32-u)+n},i._hh=function(r,n,t,o,e,u,i){var f=r+(n^t^o)+(e>>>0)+i;return(f<<u|f>>>32-u)+n},i._ii=function(r,n,t,o,e,u,i){var f=r+(t^(n|~o))+(e>>>0)+i;return(f<<u|f>>>32-u)+n},i._blocksize=16,i._digestsize=16,r.exports=function(r,t){if(void 0===r||null===r)throw new Error("Illegal argument "+r);var o=n.wordsToBytes(i(r,t));return t&&t.asBytes?o:t&&t.asString?u.bytesToString(o):n.bytesToHex(o)}}()},function(r,n){!function(){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(r,n){return r<<n|r>>>32-n},rotr:function(r,n){return r<<32-n|r>>>n},endian:function(r){if(r.constructor==Number)return 16711935&t.rotl(r,8)|4278255360&t.rotl(r,24);for(var n=0;n<r.length;n++)r[n]=t.endian(r[n]);return r},randomBytes:function(r){for(var n=[];r>0;r--)n.push(Math.floor(256*Math.random()));return n},bytesToWords:function(r){for(var n=[],t=0,o=0;t<r.length;t++,o+=8)n[o>>>5]|=r[t]<<24-o%32;return n},wordsToBytes:function(r){for(var n=[],t=0;t<32*r.length;t+=8)n.push(r[t>>>5]>>>24-t%32&255);return n},bytesToHex:function(r){for(var n=[],t=0;t<r.length;t++)n.push((r[t]>>>4).toString(16)),n.push((15&r[t]).toString(16));return n.join("")},hexToBytes:function(r){for(var n=[],t=0;t<r.length;t+=2)n.push(parseInt(r.substr(t,2),16));return n},bytesToBase64:function(r){for(var t=[],o=0;o<r.length;o+=3)for(var e=r[o]<<16|r[o+1]<<8|r[o+2],u=0;u<4;u++)8*o+6*u<=8*r.length?t.push(n.charAt(e>>>6*(3-u)&63)):t.push("=");return t.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/gi,"");for(var t=[],o=0,e=0;o<r.length;e=++o%4)0!=e&&t.push((n.indexOf(r.charAt(o-1))&Math.pow(2,-2*e+8)-1)<<2*e|n.indexOf(r.charAt(o))>>>6-2*e);return t}};r.exports=t}()},function(r,n){function t(r){return!!r.constructor&&"function"==typeof r.constructor.isBuffer&&r.constructor.isBuffer(r)}function o(r){return"function"==typeof r.readFloatLE&&"function"==typeof r.slice&&t(r.slice(0,0))}/*!
|
|
2
|
+
* Determine if an object is a Buffer
|
|
3
|
+
*
|
|
4
|
+
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/
|
|
7
|
+
r.exports=function(r){return null!=r&&(t(r)||o(r)||!!r._isBuffer)}},function(r,n,t){r.exports=t(1)}]);
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
(function(){
|
|
2
|
+
var crypt = require('crypt'),
|
|
3
|
+
utf8 = require('charenc').utf8,
|
|
4
|
+
isBuffer = require('is-buffer'),
|
|
5
|
+
bin = require('charenc').bin,
|
|
6
|
+
|
|
7
|
+
// The core
|
|
8
|
+
md5 = function (message, options) {
|
|
9
|
+
// Convert to byte array
|
|
10
|
+
if (message.constructor == String)
|
|
11
|
+
if (options && options.encoding === 'binary')
|
|
12
|
+
message = bin.stringToBytes(message);
|
|
13
|
+
else
|
|
14
|
+
message = utf8.stringToBytes(message);
|
|
15
|
+
else if (isBuffer(message))
|
|
16
|
+
message = Array.prototype.slice.call(message, 0);
|
|
17
|
+
else if (!Array.isArray(message) && message.constructor !== Uint8Array)
|
|
18
|
+
message = message.toString();
|
|
19
|
+
// else, assume byte array already
|
|
20
|
+
|
|
21
|
+
var m = crypt.bytesToWords(message),
|
|
22
|
+
l = message.length * 8,
|
|
23
|
+
a = 1732584193,
|
|
24
|
+
b = -271733879,
|
|
25
|
+
c = -1732584194,
|
|
26
|
+
d = 271733878;
|
|
27
|
+
|
|
28
|
+
// Swap endian
|
|
29
|
+
for (var i = 0; i < m.length; i++) {
|
|
30
|
+
m[i] = ((m[i] << 8) | (m[i] >>> 24)) & 0x00FF00FF |
|
|
31
|
+
((m[i] << 24) | (m[i] >>> 8)) & 0xFF00FF00;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// Padding
|
|
35
|
+
m[l >>> 5] |= 0x80 << (l % 32);
|
|
36
|
+
m[(((l + 64) >>> 9) << 4) + 14] = l;
|
|
37
|
+
|
|
38
|
+
// Method shortcuts
|
|
39
|
+
var FF = md5._ff,
|
|
40
|
+
GG = md5._gg,
|
|
41
|
+
HH = md5._hh,
|
|
42
|
+
II = md5._ii;
|
|
43
|
+
|
|
44
|
+
for (var i = 0; i < m.length; i += 16) {
|
|
45
|
+
|
|
46
|
+
var aa = a,
|
|
47
|
+
bb = b,
|
|
48
|
+
cc = c,
|
|
49
|
+
dd = d;
|
|
50
|
+
|
|
51
|
+
a = FF(a, b, c, d, m[i+ 0], 7, -680876936);
|
|
52
|
+
d = FF(d, a, b, c, m[i+ 1], 12, -389564586);
|
|
53
|
+
c = FF(c, d, a, b, m[i+ 2], 17, 606105819);
|
|
54
|
+
b = FF(b, c, d, a, m[i+ 3], 22, -1044525330);
|
|
55
|
+
a = FF(a, b, c, d, m[i+ 4], 7, -176418897);
|
|
56
|
+
d = FF(d, a, b, c, m[i+ 5], 12, 1200080426);
|
|
57
|
+
c = FF(c, d, a, b, m[i+ 6], 17, -1473231341);
|
|
58
|
+
b = FF(b, c, d, a, m[i+ 7], 22, -45705983);
|
|
59
|
+
a = FF(a, b, c, d, m[i+ 8], 7, 1770035416);
|
|
60
|
+
d = FF(d, a, b, c, m[i+ 9], 12, -1958414417);
|
|
61
|
+
c = FF(c, d, a, b, m[i+10], 17, -42063);
|
|
62
|
+
b = FF(b, c, d, a, m[i+11], 22, -1990404162);
|
|
63
|
+
a = FF(a, b, c, d, m[i+12], 7, 1804603682);
|
|
64
|
+
d = FF(d, a, b, c, m[i+13], 12, -40341101);
|
|
65
|
+
c = FF(c, d, a, b, m[i+14], 17, -1502002290);
|
|
66
|
+
b = FF(b, c, d, a, m[i+15], 22, 1236535329);
|
|
67
|
+
|
|
68
|
+
a = GG(a, b, c, d, m[i+ 1], 5, -165796510);
|
|
69
|
+
d = GG(d, a, b, c, m[i+ 6], 9, -1069501632);
|
|
70
|
+
c = GG(c, d, a, b, m[i+11], 14, 643717713);
|
|
71
|
+
b = GG(b, c, d, a, m[i+ 0], 20, -373897302);
|
|
72
|
+
a = GG(a, b, c, d, m[i+ 5], 5, -701558691);
|
|
73
|
+
d = GG(d, a, b, c, m[i+10], 9, 38016083);
|
|
74
|
+
c = GG(c, d, a, b, m[i+15], 14, -660478335);
|
|
75
|
+
b = GG(b, c, d, a, m[i+ 4], 20, -405537848);
|
|
76
|
+
a = GG(a, b, c, d, m[i+ 9], 5, 568446438);
|
|
77
|
+
d = GG(d, a, b, c, m[i+14], 9, -1019803690);
|
|
78
|
+
c = GG(c, d, a, b, m[i+ 3], 14, -187363961);
|
|
79
|
+
b = GG(b, c, d, a, m[i+ 8], 20, 1163531501);
|
|
80
|
+
a = GG(a, b, c, d, m[i+13], 5, -1444681467);
|
|
81
|
+
d = GG(d, a, b, c, m[i+ 2], 9, -51403784);
|
|
82
|
+
c = GG(c, d, a, b, m[i+ 7], 14, 1735328473);
|
|
83
|
+
b = GG(b, c, d, a, m[i+12], 20, -1926607734);
|
|
84
|
+
|
|
85
|
+
a = HH(a, b, c, d, m[i+ 5], 4, -378558);
|
|
86
|
+
d = HH(d, a, b, c, m[i+ 8], 11, -2022574463);
|
|
87
|
+
c = HH(c, d, a, b, m[i+11], 16, 1839030562);
|
|
88
|
+
b = HH(b, c, d, a, m[i+14], 23, -35309556);
|
|
89
|
+
a = HH(a, b, c, d, m[i+ 1], 4, -1530992060);
|
|
90
|
+
d = HH(d, a, b, c, m[i+ 4], 11, 1272893353);
|
|
91
|
+
c = HH(c, d, a, b, m[i+ 7], 16, -155497632);
|
|
92
|
+
b = HH(b, c, d, a, m[i+10], 23, -1094730640);
|
|
93
|
+
a = HH(a, b, c, d, m[i+13], 4, 681279174);
|
|
94
|
+
d = HH(d, a, b, c, m[i+ 0], 11, -358537222);
|
|
95
|
+
c = HH(c, d, a, b, m[i+ 3], 16, -722521979);
|
|
96
|
+
b = HH(b, c, d, a, m[i+ 6], 23, 76029189);
|
|
97
|
+
a = HH(a, b, c, d, m[i+ 9], 4, -640364487);
|
|
98
|
+
d = HH(d, a, b, c, m[i+12], 11, -421815835);
|
|
99
|
+
c = HH(c, d, a, b, m[i+15], 16, 530742520);
|
|
100
|
+
b = HH(b, c, d, a, m[i+ 2], 23, -995338651);
|
|
101
|
+
|
|
102
|
+
a = II(a, b, c, d, m[i+ 0], 6, -198630844);
|
|
103
|
+
d = II(d, a, b, c, m[i+ 7], 10, 1126891415);
|
|
104
|
+
c = II(c, d, a, b, m[i+14], 15, -1416354905);
|
|
105
|
+
b = II(b, c, d, a, m[i+ 5], 21, -57434055);
|
|
106
|
+
a = II(a, b, c, d, m[i+12], 6, 1700485571);
|
|
107
|
+
d = II(d, a, b, c, m[i+ 3], 10, -1894986606);
|
|
108
|
+
c = II(c, d, a, b, m[i+10], 15, -1051523);
|
|
109
|
+
b = II(b, c, d, a, m[i+ 1], 21, -2054922799);
|
|
110
|
+
a = II(a, b, c, d, m[i+ 8], 6, 1873313359);
|
|
111
|
+
d = II(d, a, b, c, m[i+15], 10, -30611744);
|
|
112
|
+
c = II(c, d, a, b, m[i+ 6], 15, -1560198380);
|
|
113
|
+
b = II(b, c, d, a, m[i+13], 21, 1309151649);
|
|
114
|
+
a = II(a, b, c, d, m[i+ 4], 6, -145523070);
|
|
115
|
+
d = II(d, a, b, c, m[i+11], 10, -1120210379);
|
|
116
|
+
c = II(c, d, a, b, m[i+ 2], 15, 718787259);
|
|
117
|
+
b = II(b, c, d, a, m[i+ 9], 21, -343485551);
|
|
118
|
+
|
|
119
|
+
a = (a + aa) >>> 0;
|
|
120
|
+
b = (b + bb) >>> 0;
|
|
121
|
+
c = (c + cc) >>> 0;
|
|
122
|
+
d = (d + dd) >>> 0;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
return crypt.endian([a, b, c, d]);
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
// Auxiliary functions
|
|
129
|
+
md5._ff = function (a, b, c, d, x, s, t) {
|
|
130
|
+
var n = a + (b & c | ~b & d) + (x >>> 0) + t;
|
|
131
|
+
return ((n << s) | (n >>> (32 - s))) + b;
|
|
132
|
+
};
|
|
133
|
+
md5._gg = function (a, b, c, d, x, s, t) {
|
|
134
|
+
var n = a + (b & d | c & ~d) + (x >>> 0) + t;
|
|
135
|
+
return ((n << s) | (n >>> (32 - s))) + b;
|
|
136
|
+
};
|
|
137
|
+
md5._hh = function (a, b, c, d, x, s, t) {
|
|
138
|
+
var n = a + (b ^ c ^ d) + (x >>> 0) + t;
|
|
139
|
+
return ((n << s) | (n >>> (32 - s))) + b;
|
|
140
|
+
};
|
|
141
|
+
md5._ii = function (a, b, c, d, x, s, t) {
|
|
142
|
+
var n = a + (c ^ (b | ~d)) + (x >>> 0) + t;
|
|
143
|
+
return ((n << s) | (n >>> (32 - s))) + b;
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
// Package private blocksize
|
|
147
|
+
md5._blocksize = 16;
|
|
148
|
+
md5._digestsize = 16;
|
|
149
|
+
|
|
150
|
+
module.exports = function (message, options) {
|
|
151
|
+
if (message === undefined || message === null)
|
|
152
|
+
throw new Error('Illegal argument ' + message);
|
|
153
|
+
|
|
154
|
+
var digestbytes = crypt.wordsToBytes(md5(message, options));
|
|
155
|
+
return options && options.asBytes ? digestbytes :
|
|
156
|
+
options && options.asString ? bin.bytesToString(digestbytes) :
|
|
157
|
+
crypt.bytesToHex(digestbytes);
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
})();
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "md5",
|
|
3
|
+
"description": "js function for hashing messages with MD5",
|
|
4
|
+
"version": "2.3.0",
|
|
5
|
+
"author": "Paul Vorbach <paul@vorba.ch> (http://paul.vorba.ch)",
|
|
6
|
+
"contributors": [
|
|
7
|
+
"salba"
|
|
8
|
+
],
|
|
9
|
+
"tags": [
|
|
10
|
+
"md5",
|
|
11
|
+
"hash",
|
|
12
|
+
"encryption",
|
|
13
|
+
"message digest"
|
|
14
|
+
],
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git://github.com/pvorb/node-md5.git"
|
|
18
|
+
},
|
|
19
|
+
"bugs": {
|
|
20
|
+
"url": "https://github.com/pvorb/node-md5/issues"
|
|
21
|
+
},
|
|
22
|
+
"main": "md5.js",
|
|
23
|
+
"scripts": {
|
|
24
|
+
"test": "mocha",
|
|
25
|
+
"webpack": "webpack -p"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"charenc": "0.0.2",
|
|
29
|
+
"crypt": "0.0.2",
|
|
30
|
+
"is-buffer": "~1.1.6"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"mocha": "~2.3.4",
|
|
34
|
+
"webpack": "~2.4.1"
|
|
35
|
+
},
|
|
36
|
+
"optionalDependencies": {},
|
|
37
|
+
"license": "BSD-3-Clause"
|
|
38
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
var md5 = require('./md5.js');
|
|
2
|
+
var assert = require('assert');
|
|
3
|
+
|
|
4
|
+
describe('md5', function () {
|
|
5
|
+
|
|
6
|
+
it('should throw an error for an undefined value', function() {
|
|
7
|
+
assert.throws(function() {
|
|
8
|
+
md5(undefined);
|
|
9
|
+
});
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
it('should allow the hashing of the string `undefined`', function() {
|
|
13
|
+
assert.equal('5e543256c480ac577d30f76f9120eb74', md5('undefined'));
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
it('should throw an error for `null`', function() {
|
|
17
|
+
assert.throws(function() {
|
|
18
|
+
md5(null);
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it('should return the expected MD5 hash for "message"', function() {
|
|
23
|
+
assert.equal('78e731027d8fd50ed642340b7c9a63b3', md5('message'));
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
it('should not return the same hash for random numbers twice', function() {
|
|
27
|
+
var msg1 = Math.floor((Math.random() * 100000) + 1) + (new Date).getTime();
|
|
28
|
+
var msg2 = Math.floor((Math.random() * 100000) + 1) + (new Date).getTime();
|
|
29
|
+
|
|
30
|
+
if (msg1 !== msg2) {
|
|
31
|
+
assert.notEqual(md5(msg1), md5(msg2));
|
|
32
|
+
} else {
|
|
33
|
+
assert.equal(md5(msg1), md5(msg1));
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
it('should support Node.js Buffers', function() {
|
|
38
|
+
var buffer = new Buffer('message áßäöü', 'utf8');
|
|
39
|
+
|
|
40
|
+
assert.equal(md5(buffer), md5('message áßäöü'));
|
|
41
|
+
})
|
|
42
|
+
|
|
43
|
+
it('should be able to use a binary encoded string', function() {
|
|
44
|
+
var hash1 = md5('abc', { asString: true });
|
|
45
|
+
var hash2 = md5(hash1 + 'a', { asString: true, encoding : 'binary' });
|
|
46
|
+
var hash3 = md5(hash1 + 'a', { encoding : 'binary' });
|
|
47
|
+
assert.equal(hash3, '131f0ac52813044f5110e4aec638c169');
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
it('should support Uint8Array', function() {
|
|
51
|
+
// Polyfills
|
|
52
|
+
if (!Array.from) {
|
|
53
|
+
Array.from = function(src, fn) {
|
|
54
|
+
var result = new Array(src.length);
|
|
55
|
+
for (var i = 0; i < src.length; ++i)
|
|
56
|
+
result[i] = fn(src[i]);
|
|
57
|
+
return result;
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
if (!Uint8Array.from) {
|
|
61
|
+
Uint8Array.from = function(src) {
|
|
62
|
+
var result = new Uint8Array(src.length);
|
|
63
|
+
for (var i = 0; i < src.length; ++i)
|
|
64
|
+
result[i] = src[i];
|
|
65
|
+
return result;
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
var message = 'foobarbaz';
|
|
70
|
+
var u8arr = Uint8Array.from(
|
|
71
|
+
Array.from(message, function(c) { return c.charCodeAt(0); }));
|
|
72
|
+
var u8aHash = md5(u8arr);
|
|
73
|
+
assert.equal(u8aHash, md5(message));
|
|
74
|
+
});
|
|
75
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Copyright Mathias Bynens <https://mathiasbynens.be/>
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
4
|
+
a copy of this software and associated documentation files (the
|
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
9
|
+
the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be
|
|
12
|
+
included in all copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# Punycode.js [](https://travis-ci.org/bestiejs/punycode.js) [](https://codecov.io/gh/bestiejs/punycode.js) [](https://gemnasium.com/bestiejs/punycode.js)
|
|
2
|
+
|
|
3
|
+
Punycode.js is a robust Punycode converter that fully complies to [RFC 3492](https://tools.ietf.org/html/rfc3492) and [RFC 5891](https://tools.ietf.org/html/rfc5891).
|
|
4
|
+
|
|
5
|
+
This JavaScript library is the result of comparing, optimizing and documenting different open-source implementations of the Punycode algorithm:
|
|
6
|
+
|
|
7
|
+
* [The C example code from RFC 3492](https://tools.ietf.org/html/rfc3492#appendix-C)
|
|
8
|
+
* [`punycode.c` by _Markus W. Scherer_ (IBM)](http://opensource.apple.com/source/ICU/ICU-400.42/icuSources/common/punycode.c)
|
|
9
|
+
* [`punycode.c` by _Ben Noordhuis_](https://github.com/bnoordhuis/punycode/blob/master/punycode.c)
|
|
10
|
+
* [JavaScript implementation by _some_](http://stackoverflow.com/questions/183485/can-anyone-recommend-a-good-free-javascript-for-punycode-to-unicode-conversion/301287#301287)
|
|
11
|
+
* [`punycode.js` by _Ben Noordhuis_](https://github.com/joyent/node/blob/426298c8c1c0d5b5224ac3658c41e7c2a3fe9377/lib/punycode.js) (note: [not fully compliant](https://github.com/joyent/node/issues/2072))
|
|
12
|
+
|
|
13
|
+
This project was [bundled](https://github.com/joyent/node/blob/master/lib/punycode.js) with Node.js from [v0.6.2+](https://github.com/joyent/node/compare/975f1930b1...61e796decc) until [v7](https://github.com/nodejs/node/pull/7941) (soft-deprecated).
|
|
14
|
+
|
|
15
|
+
The current version supports recent versions of Node.js only. It provides a CommonJS module and an ES6 module. For the old version that offers the same functionality with broader support, including Rhino, Ringo, Narwhal, and web browsers, see [v1.4.1](https://github.com/bestiejs/punycode.js/releases/tag/v1.4.1).
|
|
16
|
+
|
|
17
|
+
## Installation
|
|
18
|
+
|
|
19
|
+
Via [npm](https://www.npmjs.com/):
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm install punycode --save
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
In [Node.js](https://nodejs.org/):
|
|
26
|
+
|
|
27
|
+
```js
|
|
28
|
+
const punycode = require('punycode');
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## API
|
|
32
|
+
|
|
33
|
+
### `punycode.decode(string)`
|
|
34
|
+
|
|
35
|
+
Converts a Punycode string of ASCII symbols to a string of Unicode symbols.
|
|
36
|
+
|
|
37
|
+
```js
|
|
38
|
+
// decode domain name parts
|
|
39
|
+
punycode.decode('maana-pta'); // 'mañana'
|
|
40
|
+
punycode.decode('--dqo34k'); // '☃-⌘'
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### `punycode.encode(string)`
|
|
44
|
+
|
|
45
|
+
Converts a string of Unicode symbols to a Punycode string of ASCII symbols.
|
|
46
|
+
|
|
47
|
+
```js
|
|
48
|
+
// encode domain name parts
|
|
49
|
+
punycode.encode('mañana'); // 'maana-pta'
|
|
50
|
+
punycode.encode('☃-⌘'); // '--dqo34k'
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### `punycode.toUnicode(input)`
|
|
54
|
+
|
|
55
|
+
Converts a Punycode string representing a domain name or an email address to Unicode. Only the Punycoded parts of the input will be converted, i.e. it doesn’t matter if you call it on a string that has already been converted to Unicode.
|
|
56
|
+
|
|
57
|
+
```js
|
|
58
|
+
// decode domain names
|
|
59
|
+
punycode.toUnicode('xn--maana-pta.com');
|
|
60
|
+
// → 'mañana.com'
|
|
61
|
+
punycode.toUnicode('xn----dqo34k.com');
|
|
62
|
+
// → '☃-⌘.com'
|
|
63
|
+
|
|
64
|
+
// decode email addresses
|
|
65
|
+
punycode.toUnicode('джумла@xn--p-8sbkgc5ag7bhce.xn--ba-lmcq');
|
|
66
|
+
// → 'джумла@джpумлатест.bрфa'
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### `punycode.toASCII(input)`
|
|
70
|
+
|
|
71
|
+
Converts a lowercased Unicode string representing a domain name or an email address to Punycode. Only the non-ASCII parts of the input will be converted, i.e. it doesn’t matter if you call it with a domain that’s already in ASCII.
|
|
72
|
+
|
|
73
|
+
```js
|
|
74
|
+
// encode domain names
|
|
75
|
+
punycode.toASCII('mañana.com');
|
|
76
|
+
// → 'xn--maana-pta.com'
|
|
77
|
+
punycode.toASCII('☃-⌘.com');
|
|
78
|
+
// → 'xn----dqo34k.com'
|
|
79
|
+
|
|
80
|
+
// encode email addresses
|
|
81
|
+
punycode.toASCII('джумла@джpумлатест.bрфa');
|
|
82
|
+
// → 'джумла@xn--p-8sbkgc5ag7bhce.xn--ba-lmcq'
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### `punycode.ucs2`
|
|
86
|
+
|
|
87
|
+
#### `punycode.ucs2.decode(string)`
|
|
88
|
+
|
|
89
|
+
Creates an array containing the numeric code point values of each Unicode symbol in the string. While [JavaScript uses UCS-2 internally](https://mathiasbynens.be/notes/javascript-encoding), this function will convert a pair of surrogate halves (each of which UCS-2 exposes as separate characters) into a single code point, matching UTF-16.
|
|
90
|
+
|
|
91
|
+
```js
|
|
92
|
+
punycode.ucs2.decode('abc');
|
|
93
|
+
// → [0x61, 0x62, 0x63]
|
|
94
|
+
// surrogate pair for U+1D306 TETRAGRAM FOR CENTRE:
|
|
95
|
+
punycode.ucs2.decode('\uD834\uDF06');
|
|
96
|
+
// → [0x1D306]
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
#### `punycode.ucs2.encode(codePoints)`
|
|
100
|
+
|
|
101
|
+
Creates a string based on an array of numeric code point values.
|
|
102
|
+
|
|
103
|
+
```js
|
|
104
|
+
punycode.ucs2.encode([0x61, 0x62, 0x63]);
|
|
105
|
+
// → 'abc'
|
|
106
|
+
punycode.ucs2.encode([0x1D306]);
|
|
107
|
+
// → '\uD834\uDF06'
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### `punycode.version`
|
|
111
|
+
|
|
112
|
+
A string representing the current Punycode.js version number.
|
|
113
|
+
|
|
114
|
+
## Author
|
|
115
|
+
|
|
116
|
+
| [](https://twitter.com/mathias "Follow @mathias on Twitter") |
|
|
117
|
+
|---|
|
|
118
|
+
| [Mathias Bynens](https://mathiasbynens.be/) |
|
|
119
|
+
|
|
120
|
+
## License
|
|
121
|
+
|
|
122
|
+
Punycode.js is available under the [MIT](https://mths.be/mit) license.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "punycode",
|
|
3
|
+
"version": "2.1.1",
|
|
4
|
+
"description": "A robust Punycode converter that fully complies to RFC 3492 and RFC 5891, and works on nearly all JavaScript platforms.",
|
|
5
|
+
"homepage": "https://mths.be/punycode",
|
|
6
|
+
"main": "punycode.js",
|
|
7
|
+
"jsnext:main": "punycode.es6.js",
|
|
8
|
+
"module": "punycode.es6.js",
|
|
9
|
+
"engines": {
|
|
10
|
+
"node": ">=6"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"punycode",
|
|
14
|
+
"unicode",
|
|
15
|
+
"idn",
|
|
16
|
+
"idna",
|
|
17
|
+
"dns",
|
|
18
|
+
"url",
|
|
19
|
+
"domain"
|
|
20
|
+
],
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"author": {
|
|
23
|
+
"name": "Mathias Bynens",
|
|
24
|
+
"url": "https://mathiasbynens.be/"
|
|
25
|
+
},
|
|
26
|
+
"contributors": [
|
|
27
|
+
{
|
|
28
|
+
"name": "Mathias Bynens",
|
|
29
|
+
"url": "https://mathiasbynens.be/"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "https://github.com/bestiejs/punycode.js.git"
|
|
35
|
+
},
|
|
36
|
+
"bugs": "https://github.com/bestiejs/punycode.js/issues",
|
|
37
|
+
"files": [
|
|
38
|
+
"LICENSE-MIT.txt",
|
|
39
|
+
"punycode.js",
|
|
40
|
+
"punycode.es6.js"
|
|
41
|
+
],
|
|
42
|
+
"scripts": {
|
|
43
|
+
"test": "mocha tests",
|
|
44
|
+
"prepublish": "node scripts/prepublish.js"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"codecov": "^1.0.1",
|
|
48
|
+
"istanbul": "^0.4.1",
|
|
49
|
+
"mocha": "^2.5.3"
|
|
50
|
+
},
|
|
51
|
+
"jspm": {
|
|
52
|
+
"map": {
|
|
53
|
+
"./punycode.js": {
|
|
54
|
+
"node": "@node/punycode"
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|