@agility/content-fetch 1.1.4 → 2.0.0-rc1
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/.nyc_output/713b1ec2-05ec-4b67-8061-b6cad0a45ad5.json +1 -0
- package/.yarn/cache/@ampproject-remapping-npm-2.2.1-3da3d624be-03c04fd526.zip +0 -0
- package/.yarn/cache/@babel-code-frame-npm-7.22.5-b36f88d6f9-cfe804f518.zip +0 -0
- package/.yarn/cache/@babel-compat-data-npm-7.22.9-f9e02d51b9-bed77d9044.zip +0 -0
- package/.yarn/cache/@babel-core-npm-7.22.9-509b29c82e-7bf069aece.zip +0 -0
- package/.yarn/cache/@babel-generator-npm-7.22.9-d9fccf9328-7c9d2c58b8.zip +0 -0
- package/.yarn/cache/@babel-helper-compilation-targets-npm-7.22.9-b4473889ca-ea0006c6a9.zip +0 -0
- package/.yarn/cache/@babel-helper-environment-visitor-npm-7.22.5-7bc52eec61-248532077d.zip +0 -0
- package/.yarn/cache/@babel-helper-function-name-npm-7.22.5-8a1a69b63d-6b1f6ce1b1.zip +0 -0
- package/.yarn/cache/@babel-helper-hoist-variables-npm-7.22.5-6db3192347-394ca191b4.zip +0 -0
- package/.yarn/cache/@babel-helper-module-imports-npm-7.22.5-399b6063db-9ac2b0404f.zip +0 -0
- package/.yarn/cache/@babel-helper-module-transforms-npm-7.22.9-dfa9ef05d1-2751f77660.zip +0 -0
- package/.yarn/cache/@babel-helper-plugin-utils-npm-7.22.5-192e38e1de-c0fc722707.zip +0 -0
- package/.yarn/cache/@babel-helper-simple-access-npm-7.22.5-0a3f578780-fe9686714c.zip +0 -0
- package/.yarn/cache/@babel-helper-split-export-declaration-npm-7.22.6-e723505aef-e141cace58.zip +0 -0
- package/.yarn/cache/@babel-helper-string-parser-npm-7.22.5-448ff0e489-836851ca5e.zip +0 -0
- package/.yarn/cache/@babel-helper-validator-identifier-npm-7.22.5-4536624779-7f0f301134.zip +0 -0
- package/.yarn/cache/@babel-helper-validator-option-npm-7.22.5-eaf22b24ab-bbeca8a85e.zip +0 -0
- package/.yarn/cache/@babel-helpers-npm-7.22.6-8e54464b9e-5c1f33241f.zip +0 -0
- package/.yarn/cache/@babel-highlight-npm-7.22.5-3182ccc1fe-f61ae6de6e.zip +0 -0
- package/.yarn/cache/@babel-parser-npm-7.22.7-7fbdf28552-02209ddbd4.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-async-generators-npm-7.8.4-d10cf993c9-7ed1c1d9b9.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-bigint-npm-7.8.3-b05d971e6c-3a10849d83.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-class-properties-npm-7.12.13-002ee9d930-24f34b196d.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-import-meta-npm-7.10.4-4a0a0158bc-166ac1125d.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-json-strings-npm-7.8.3-6dc7848179-bf5aea1f31.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-jsx-npm-7.22.5-2cbf8e7e68-8829d30c26.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-logical-assignment-operators-npm-7.10.4-72ae00fdf6-aff3357703.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-nullish-coalescing-operator-npm-7.8.3-8a723173b5-87aca49189.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-numeric-separator-npm-7.10.4-81444be605-01ec5547bd.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-object-rest-spread-npm-7.8.3-60bd05b6ae-fddcf581a5.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-optional-catch-binding-npm-7.8.3-ce337427d8-910d90e72b.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-optional-chaining-npm-7.8.3-f3f3c79579-eef94d53a1.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-top-level-await-npm-7.14.5-60a0a2e83b-bbd1a56b09.zip +0 -0
- package/.yarn/cache/@babel-plugin-syntax-typescript-npm-7.22.5-e17157d73d-8ab7718fbb.zip +0 -0
- package/.yarn/cache/@babel-template-npm-7.22.5-358c44dc9d-c574641016.zip +0 -0
- package/.yarn/cache/@babel-traverse-npm-7.22.8-98fbaaf7d8-a381369bc3.zip +0 -0
- package/.yarn/cache/@babel-types-npm-7.22.10-ffafe4058f-095c4f4b75.zip +0 -0
- package/.yarn/cache/@babel-types-npm-7.22.5-d1e4264bef-c13a9c1dc7.zip +0 -0
- package/.yarn/cache/@bcoe-v8-coverage-npm-0.2.3-9e27b3c57e-850f930553.zip +0 -0
- package/.yarn/cache/@colors-colors-npm-1.5.0-875af3a8b4-d64d5260be.zip +0 -0
- package/.yarn/cache/@isaacs-cliui-npm-8.0.2-f4364666d5-4a473b9b32.zip +0 -0
- package/.yarn/cache/@isaacs-string-locale-compare-npm-1.1.0-3911094464-7287da5d11.zip +0 -0
- package/.yarn/cache/@istanbuljs-load-nyc-config-npm-1.1.0-42d17c9cb1-d578da5e2e.zip +0 -0
- package/.yarn/cache/@istanbuljs-schema-npm-0.1.3-466bd3eaaa-5282759d96.zip +0 -0
- package/.yarn/cache/@jest-console-npm-29.6.2-4db58c0edb-1198667bda.zip +0 -0
- package/.yarn/cache/@jest-core-npm-29.6.2-5d908b046b-6bbb388643.zip +0 -0
- package/.yarn/cache/@jest-environment-npm-29.6.2-48e8b9de28-c7de0e4c0d.zip +0 -0
- package/.yarn/cache/@jest-expect-npm-29.6.2-7910937388-bd2d88a4e7.zip +0 -0
- package/.yarn/cache/@jest-expect-utils-npm-29.6.2-bafd0077bb-0decf2009a.zip +0 -0
- package/.yarn/cache/@jest-fake-timers-npm-29.6.2-db388f40be-1abcda02f2.zip +0 -0
- package/.yarn/cache/@jest-globals-npm-29.6.2-c549594aed-aa4a54f19c.zip +0 -0
- package/.yarn/cache/@jest-reporters-npm-29.6.2-42ade157bc-7cf880d073.zip +0 -0
- package/.yarn/cache/@jest-schemas-npm-29.6.0-3ca8b9309f-c00511c69c.zip +0 -0
- package/.yarn/cache/@jest-source-map-npm-29.6.0-84d0709d08-9c6c403874.zip +0 -0
- package/.yarn/cache/@jest-test-result-npm-29.6.2-066177b4eb-8aff37f18c.zip +0 -0
- package/.yarn/cache/@jest-test-sequencer-npm-29.6.2-05231e441f-12dc2577e4.zip +0 -0
- package/.yarn/cache/@jest-transform-npm-29.6.2-6b692dd6ca-ffb8c3c344.zip +0 -0
- package/.yarn/cache/@jest-types-npm-29.6.1-b7c765fadd-89fc1ccf71.zip +0 -0
- package/.yarn/cache/@jridgewell-gen-mapping-npm-0.3.3-1815eba94c-4a74944bd3.zip +0 -0
- package/.yarn/cache/@jridgewell-resolve-uri-npm-3.1.0-6ff2351e61-b5ceaaf9a1.zip +0 -0
- package/.yarn/cache/@jridgewell-set-array-npm-1.1.2-45b82d7fb6-69a84d5980.zip +0 -0
- package/.yarn/cache/@jridgewell-sourcemap-codec-npm-1.4.14-f5f0630788-61100637b6.zip +0 -0
- package/.yarn/cache/@jridgewell-sourcemap-codec-npm-1.4.15-a055fb62cf-b881c7e503.zip +0 -0
- package/.yarn/cache/@jridgewell-trace-mapping-npm-0.3.18-cd96571385-0572669f85.zip +0 -0
- package/.yarn/cache/@npmcli-arborist-npm-6.3.0-9d3adbe1f6-4f59d5408c.zip +0 -0
- package/.yarn/cache/@npmcli-config-npm-6.2.1-4191bac29e-8c8d47f900.zip +0 -0
- package/.yarn/cache/@npmcli-disparity-colors-npm-3.0.0-9fe9301a52-49320c6927.zip +0 -0
- package/.yarn/cache/@npmcli-fs-npm-3.1.0-0844a57978-a50a6818de.zip +0 -0
- package/.yarn/cache/@npmcli-git-npm-4.1.0-f7322fced9-37efb92659.zip +0 -0
- package/.yarn/cache/@npmcli-installed-package-contents-npm-2.0.2-99564e3824-60789d5ed2.zip +0 -0
- package/.yarn/cache/@npmcli-map-workspaces-npm-3.0.4-b07359726d-99607dbc50.zip +0 -0
- package/.yarn/cache/@npmcli-metavuln-calculator-npm-5.0.1-b28e316793-cd08ad9cc4.zip +0 -0
- package/.yarn/cache/@npmcli-name-from-folder-npm-2.0.0-18e2dba870-fb3ef891aa.zip +0 -0
- package/.yarn/cache/@npmcli-node-gyp-npm-3.0.0-b160a0116c-fe3802b813.zip +0 -0
- package/.yarn/cache/@npmcli-package-json-npm-4.0.1-8fba8ea1a2-699b80a72f.zip +0 -0
- package/.yarn/cache/@npmcli-promise-spawn-npm-6.0.2-c9941b207c-aa725780c1.zip +0 -0
- package/.yarn/cache/@npmcli-query-npm-3.0.0-53c05bcb30-90fca7edd5.zip +0 -0
- package/.yarn/cache/@npmcli-run-script-npm-6.0.2-6a98dec431-7a671d7dbe.zip +0 -0
- package/.yarn/cache/@pkgjs-parseargs-npm-0.11.0-cd2a3fe948-6ad6a00fc4.zip +0 -0
- package/.yarn/cache/@sigstore-bundle-npm-1.0.0-6224fc68db-9902b9fcd2.zip +0 -0
- package/.yarn/cache/@sigstore-protobuf-specs-npm-0.2.0-93c8e6c759-6b7c5d3612.zip +0 -0
- package/.yarn/cache/@sigstore-tuf-npm-1.0.3-9a2b6b14aa-0a32594b73.zip +0 -0
- package/.yarn/cache/@sinclair-typebox-npm-0.27.8-23e206d653-00bd7362a3.zip +0 -0
- package/.yarn/cache/@sinonjs-commons-npm-3.0.0-fa72ff71a1-b4b5b73d4d.zip +0 -0
- package/.yarn/cache/@sinonjs-fake-timers-npm-10.3.0-7417f876b4-614d30cb4d.zip +0 -0
- package/.yarn/cache/@tootallnate-once-npm-2.0.0-e36cf4f140-ad87447820.zip +0 -0
- package/.yarn/cache/@tufjs-canonical-json-npm-1.0.0-66d27d850f-9ff3bcd129.zip +0 -0
- package/.yarn/cache/@tufjs-models-npm-1.0.4-a1dddaf561-b489baa854.zip +0 -0
- package/.yarn/cache/@types-babel__core-npm-7.20.1-f44761b6b6-9fcd9691a3.zip +0 -0
- package/.yarn/cache/@types-babel__generator-npm-7.6.4-03e776f956-20effbbb5f.zip +0 -0
- package/.yarn/cache/@types-babel__template-npm-7.4.1-fe1db49e53-649fe8b42c.zip +0 -0
- package/.yarn/cache/@types-babel__traverse-npm-7.20.1-e1e93d4b3f-58341e23c6.zip +0 -0
- package/.yarn/cache/@types-graceful-fs-npm-4.1.6-1eadcf742d-c3070ccdc9.zip +0 -0
- package/.yarn/cache/@types-istanbul-lib-coverage-npm-2.0.4-734954bb56-a25d7589ee.zip +0 -0
- package/.yarn/cache/@types-istanbul-lib-report-npm-3.0.0-50de3e6b3b-656398b62d.zip +0 -0
- package/.yarn/cache/@types-istanbul-reports-npm-3.0.1-770e825002-f1ad54bc68.zip +0 -0
- package/.yarn/cache/@types-jest-npm-29.5.3-8fc40e94bc-e36bb92e0b.zip +0 -0
- package/.yarn/cache/@types-node-npm-18.11.9-d21dd6ec05-cc0aae109e.zip +0 -0
- package/.yarn/cache/@types-node-npm-20.4.5-7555fad0d4-36a0304a8d.zip +0 -0
- package/.yarn/cache/@types-stack-utils-npm-2.0.1-867718ab70-205fdbe332.zip +0 -0
- package/.yarn/cache/@types-yargs-npm-17.0.24-b034cf1d8b-5f3ac4dc4f.zip +0 -0
- package/.yarn/cache/@types-yargs-parser-npm-21.0.0-c8a3b32c52-b2f4c8d12a.zip +0 -0
- package/.yarn/cache/abbrev-npm-1.1.1-3659247eab-a4a97ec07d.zip +0 -0
- package/.yarn/cache/abbrev-npm-2.0.0-0eb38a17e5-0e994ad2aa.zip +0 -0
- package/.yarn/cache/abort-controller-npm-3.0.0-2f3a9a2bcb-170bdba9b4.zip +0 -0
- package/.yarn/cache/agent-base-npm-6.0.2-428f325a93-f52b6872cc.zip +0 -0
- package/.yarn/cache/agentkeepalive-npm-4.3.0-ac3d8e6807-982453aa44.zip +0 -0
- package/.yarn/cache/aggregate-error-npm-3.1.0-415a406f4e-1101a33f21.zip +0 -0
- package/.yarn/cache/agility-jsdoc-template-npm-1.0.3-552626862e-eab23c1f7f.zip +0 -0
- package/.yarn/cache/ansi-escapes-npm-4.3.2-3ad173702f-93111c4218.zip +0 -0
- package/.yarn/cache/ansi-regex-npm-5.0.1-c963a48615-2aa4bb54ca.zip +0 -0
- package/.yarn/cache/ansi-regex-npm-6.0.1-8d663a607d-1ff8b7667c.zip +0 -0
- package/.yarn/cache/ansi-styles-npm-3.2.1-8cb8107983-d85ade01c1.zip +0 -0
- package/.yarn/cache/ansi-styles-npm-4.3.0-245c7d42c7-513b44c3b2.zip +0 -0
- package/.yarn/cache/ansi-styles-npm-5.2.0-72fc7003e3-d7f4e97ce0.zip +0 -0
- package/.yarn/cache/ansi-styles-npm-6.2.1-d43647018c-ef940f2f0c.zip +0 -0
- package/.yarn/cache/anymatch-npm-3.1.3-bc81d103b1-3e044fd6d1.zip +0 -0
- package/.yarn/cache/aproba-npm-2.0.0-8716bcfde6-5615cadcfb.zip +0 -0
- package/.yarn/cache/archy-npm-1.0.0-7db8bfdc3b-504ae7af65.zip +0 -0
- package/.yarn/cache/are-we-there-yet-npm-3.0.1-3395b1512f-52590c2486.zip +0 -0
- package/.yarn/cache/are-we-there-yet-npm-4.0.1-734c8e8dce-16871ee259.zip +0 -0
- package/.yarn/cache/argparse-npm-1.0.10-528934e59d-7ca6e45583.zip +0 -0
- package/.yarn/cache/asynckit-npm-0.4.0-c718858525-7b78c451df.zip +0 -0
- package/.yarn/cache/axios-cache-adapter-npm-2.7.3-26c357b785-ff44bee6a2.zip +0 -0
- package/.yarn/cache/axios-npm-0.27.2-dbe3a48aea-38cb754046.zip +0 -0
- package/.yarn/cache/babel-jest-npm-29.6.2-b4a252efef-3936b5d6ed.zip +0 -0
- package/.yarn/cache/babel-plugin-istanbul-npm-6.1.1-df824055e4-cb4fd95738.zip +0 -0
- package/.yarn/cache/babel-plugin-jest-hoist-npm-29.5.0-3760955b96-099b525407.zip +0 -0
- package/.yarn/cache/babel-preset-current-node-syntax-npm-1.0.1-849ec71e32-d118c27424.zip +0 -0
- package/.yarn/cache/babel-preset-jest-npm-29.5.0-1e9ee3b405-5566ca2762.zip +0 -0
- package/.yarn/cache/balanced-match-npm-1.0.2-a53c126459-9706c088a2.zip +0 -0
- package/.yarn/cache/base64-js-npm-1.5.1-b2f7275641-669632eb37.zip +0 -0
- package/.yarn/cache/bin-links-npm-4.0.2-592819adbc-6f83e73100.zip +0 -0
- package/.yarn/cache/binary-extensions-npm-2.2.0-180c33fec7-ccd267956c.zip +0 -0
- package/.yarn/cache/brace-expansion-npm-1.1.11-fb95eb05ad-faf34a7bb0.zip +0 -0
- package/.yarn/cache/brace-expansion-npm-2.0.1-17aa2616f9-a61e7cd2e8.zip +0 -0
- package/.yarn/cache/braces-npm-3.0.2-782240b28a-e2a8e769a8.zip +0 -0
- package/.yarn/cache/browserslist-npm-4.21.10-e2170a875b-1e27c0f111.zip +0 -0
- package/.yarn/cache/bs-logger-npm-0.2.6-7670f88b66-d34bdaf68c.zip +0 -0
- package/.yarn/cache/bser-npm-2.1.1-cc902055ce-9ba4dc58ce.zip +0 -0
- package/.yarn/cache/buffer-from-npm-1.1.2-03d2f20d7e-0448524a56.zip +0 -0
- package/.yarn/cache/buffer-npm-6.0.3-cd90dfedfe-5ad23293d9.zip +0 -0
- package/.yarn/cache/builtins-npm-5.0.1-6d4820dd76-66d204657f.zip +0 -0
- package/.yarn/cache/cacache-npm-17.1.3-f75f768a29-385756781e.zip +0 -0
- package/.yarn/cache/cache-control-esm-npm-1.0.0-ee383a8c40-4f8c8399f2.zip +0 -0
- package/.yarn/cache/callsites-npm-3.1.0-268f989910-072d17b6ab.zip +0 -0
- package/.yarn/cache/camelcase-npm-5.3.1-5db8af62c5-e6effce26b.zip +0 -0
- package/.yarn/cache/camelcase-npm-6.3.0-e5e42a0d15-8c96818a90.zip +0 -0
- package/.yarn/cache/caniuse-lite-npm-1.0.30001518-2e4e82df98-1b63272f6e.zip +0 -0
- package/.yarn/cache/chalk-npm-2.4.2-3ea16dd91e-ec3661d38f.zip +0 -0
- package/.yarn/cache/chalk-npm-4.1.2-ba8b67ab80-fe75c9d5c7.zip +0 -0
- package/.yarn/cache/chalk-npm-5.3.0-d181999efb-623922e077.zip +0 -0
- package/.yarn/cache/char-regex-npm-1.0.2-ecade5f97f-b563e4b603.zip +0 -0
- package/.yarn/cache/charenc-npm-0.0.2-aca0c2f207-81dcadbe57.zip +0 -0
- package/.yarn/cache/chownr-npm-2.0.0-638f1c9c61-c57cf9dd07.zip +0 -0
- package/.yarn/cache/ci-info-npm-3.8.0-d56a0b67d6-d0a4d31604.zip +0 -0
- package/.yarn/cache/cidr-regex-npm-3.1.1-a5f3c156e7-ef9306d086.zip +0 -0
- package/.yarn/cache/cjs-module-lexer-npm-1.2.3-9d788a3c14-5ea3cb867a.zip +0 -0
- package/.yarn/cache/clean-stack-npm-2.2.0-a8ce435a5c-2ac8cd2b2f.zip +0 -0
- package/.yarn/cache/cli-columns-npm-4.0.0-7c43bbe435-fa1a3a7f4e.zip +0 -0
- package/.yarn/cache/cli-table3-npm-0.6.3-1dca7f9152-09897f6846.zip +0 -0
- package/.yarn/cache/cliui-npm-8.0.1-3b029092cf-79648b3b00.zip +0 -0
- package/.yarn/cache/clone-npm-1.0.4-a610fcbcf9-d06418b733.zip +0 -0
- package/.yarn/cache/cmd-shim-npm-6.0.1-87ebf774a0-359006b3a5.zip +0 -0
- package/.yarn/cache/co-npm-4.6.0-03f2d1feb6-5210d92230.zip +0 -0
- package/.yarn/cache/collect-v8-coverage-npm-1.0.2-bd20d0c572-c10f41c39a.zip +0 -0
- package/.yarn/cache/color-convert-npm-1.9.3-1fe690075e-fd7a64a17c.zip +0 -0
- package/.yarn/cache/color-convert-npm-2.0.1-79730e935b-79e6bdb9fd.zip +0 -0
- package/.yarn/cache/color-name-npm-1.1.3-728b7b5d39-09c5d3e33d.zip +0 -0
- package/.yarn/cache/color-name-npm-1.1.4-025792b0ea-b044585952.zip +0 -0
- package/.yarn/cache/color-support-npm-1.1.3-3be5c53455-9b73568176.zip +0 -0
- package/.yarn/cache/columnify-npm-1.6.0-aa925d932b-0d59002361.zip +0 -0
- package/.yarn/cache/combined-stream-npm-1.0.8-dc14d4a63a-49fa4aeb49.zip +0 -0
- package/.yarn/cache/common-ancestor-path-npm-1.0.1-27534e68da-1d2e418606.zip +0 -0
- package/.yarn/cache/concat-map-npm-0.0.1-85a921b7ee-902a9f5d89.zip +0 -0
- package/.yarn/cache/console-control-strings-npm-1.1.0-e3160e5275-8755d76787.zip +0 -0
- package/.yarn/cache/convert-source-map-npm-1.9.0-e294555f4b-dc55a1f28d.zip +0 -0
- package/.yarn/cache/convert-source-map-npm-2.0.0-7ab664dc4e-63ae9933be.zip +0 -0
- package/.yarn/cache/cross-spawn-npm-7.0.3-e4ff3e65b3-671cc7c728.zip +0 -0
- package/.yarn/cache/crypt-npm-0.0.2-033627d94f-baf4c7bbe0.zip +0 -0
- package/.yarn/cache/cssesc-npm-3.0.0-15ec56f86f-f8c4ababff.zip +0 -0
- package/.yarn/cache/debug-npm-4.3.4-4513954577-3dbad3f94e.zip +0 -0
- package/.yarn/cache/dedent-npm-1.5.1-8d0a005200-c3c300a14e.zip +0 -0
- package/.yarn/cache/deepmerge-npm-4.3.1-4f751a0844-2024c6a980.zip +0 -0
- package/.yarn/cache/defaults-npm-1.0.4-f3fbaf2528-3a88b7a587.zip +0 -0
- package/.yarn/cache/delayed-stream-npm-1.0.0-c5a4c4cc02-46fe6e83e2.zip +0 -0
- package/.yarn/cache/delegates-npm-1.0.0-9b1942d75f-a51744d9b5.zip +0 -0
- package/.yarn/cache/depd-npm-2.0.0-b6c51a4b43-abbe19c768.zip +0 -0
- package/.yarn/cache/detect-newline-npm-3.1.0-6d33fa8d37-ae6cd429c4.zip +0 -0
- package/.yarn/cache/diff-npm-5.1.0-d24d222280-c7bf0df7c9.zip +0 -0
- package/.yarn/cache/diff-sequences-npm-29.4.3-ffe403944f-28b265e04f.zip +0 -0
- package/.yarn/cache/eastasianwidth-npm-0.2.0-c37eb16bd1-7d00d7cd8e.zip +0 -0
- package/.yarn/cache/electron-to-chromium-npm-1.4.481-eaa539b254-52b7e8d7ae.zip +0 -0
- package/.yarn/cache/emittery-npm-0.13.1-cb6cd1bb03-2b089ab630.zip +0 -0
- package/.yarn/cache/emoji-regex-npm-8.0.0-213764015c-d4c5c39d5a.zip +0 -0
- package/.yarn/cache/emoji-regex-npm-9.2.2-e6fac8d058-8487182da7.zip +0 -0
- package/.yarn/cache/encoding-npm-0.1.13-82a1837d30-bb98632f8f.zip +0 -0
- package/.yarn/cache/env-paths-npm-2.2.1-7c7577428c-65b5df55a8.zip +0 -0
- package/.yarn/cache/err-code-npm-2.0.3-082e0ff9a7-8b7b1be20d.zip +0 -0
- package/.yarn/cache/error-ex-npm-1.3.2-5654f80c0f-c1c2b8b65f.zip +0 -0
- package/.yarn/cache/escalade-npm-3.1.1-e02da076aa-a3e2a99f07.zip +0 -0
- package/.yarn/cache/escape-string-regexp-npm-1.0.5-3284de402f-6092fda75c.zip +0 -0
- package/.yarn/cache/escape-string-regexp-npm-2.0.0-aef69d2a25-9f8a2d5743.zip +0 -0
- package/.yarn/cache/esprima-npm-4.0.1-1084e98778-b45bc805a6.zip +0 -0
- package/.yarn/cache/event-target-shim-npm-5.0.1-cb48709025-1ffe3bb22a.zip +0 -0
- package/.yarn/cache/events-npm-3.3.0-c280bc7e48-f6f487ad21.zip +0 -0
- package/.yarn/cache/execa-npm-5.1.1-191347acf5-fba9022c8c.zip +0 -0
- package/.yarn/cache/exit-npm-0.1.2-ef3761a67d-abc407f07a.zip +0 -0
- package/.yarn/cache/expect-npm-29.6.2-d56284fd66-71f7b0c560.zip +0 -0
- package/.yarn/cache/exponential-backoff-npm-3.1.1-04df458b30-3d21519a4f.zip +0 -0
- package/.yarn/cache/fast-json-stable-stringify-npm-2.1.0-02e8905fda-b191531e36.zip +0 -0
- package/.yarn/cache/fastest-levenshtein-npm-1.0.16-192d328856-a78d44285c.zip +0 -0
- package/.yarn/cache/fb-watchman-npm-2.0.2-bcb6f8f831-b15a124cef.zip +0 -0
- package/.yarn/cache/fill-range-npm-7.0.1-b8b1817caa-cc283f4e65.zip +0 -0
- package/.yarn/cache/find-up-npm-4.1.0-c3ccf8d855-4c172680e8.zip +0 -0
- package/.yarn/cache/follow-redirects-npm-1.15.2-1ec1dd82be-faa66059b6.zip +0 -0
- package/.yarn/cache/foreground-child-npm-3.1.1-77e78ed774-139d270bc8.zip +0 -0
- package/.yarn/cache/form-data-npm-4.0.0-916facec2d-01135bf867.zip +0 -0
- package/.yarn/cache/fs-minipass-npm-2.1.0-501ef87306-1b8d128dae.zip +0 -0
- package/.yarn/cache/fs-minipass-npm-3.0.2-a27ef235f5-e9cc0e1f2d.zip +0 -0
- package/.yarn/cache/fs.realpath-npm-1.0.0-c8f05d8126-99ddea01a7.zip +0 -0
- package/.yarn/cache/fsevents-npm-2.3.2-a881d6ac9f-97ade64e75.zip +0 -0
- package/.yarn/cache/fsevents-patch-2882183fbf-8.zip +0 -0
- package/.yarn/cache/function-bind-npm-1.1.1-b56b322ae9-b32fbaebb3.zip +0 -0
- package/.yarn/cache/gauge-npm-4.0.4-8f878385e9-788b6bfe52.zip +0 -0
- package/.yarn/cache/gauge-npm-5.0.1-69ab73de36-09b1eb8d8c.zip +0 -0
- package/.yarn/cache/gensync-npm-1.0.0-beta.2-224666d72f-a7437e58c6.zip +0 -0
- package/.yarn/cache/get-caller-file-npm-2.0.5-80e8a86305-b9769a836d.zip +0 -0
- package/.yarn/cache/get-package-type-npm-0.1.0-6c70cdc8ab-bba0811116.zip +0 -0
- package/.yarn/cache/get-stream-npm-6.0.1-83e51a4642-e04ecece32.zip +0 -0
- package/.yarn/cache/glob-npm-10.3.3-2d9abea8c7-29190d3291.zip +0 -0
- package/.yarn/cache/glob-npm-7.2.3-2d866d17a5-29452e97b3.zip +0 -0
- package/.yarn/cache/globals-npm-11.12.0-1fa7f41a6c-67051a45ec.zip +0 -0
- package/.yarn/cache/graceful-fs-npm-4.2.11-24bb648a68-ac85f94da9.zip +0 -0
- package/.yarn/cache/has-flag-npm-3.0.0-16ac11fe05-4a15638b45.zip +0 -0
- package/.yarn/cache/has-flag-npm-4.0.0-32af9f0536-261a135703.zip +0 -0
- package/.yarn/cache/has-npm-1.0.3-b7f00631c1-b9ad53d53b.zip +0 -0
- package/.yarn/cache/has-unicode-npm-2.0.1-893adb4747-1eab07a743.zip +0 -0
- package/.yarn/cache/hosted-git-info-npm-6.1.1-d57807f6a5-fcd3ca2eaa.zip +0 -0
- package/.yarn/cache/html-escaper-npm-2.0.2-38e51ef294-d2df2da3ad.zip +0 -0
- package/.yarn/cache/http-cache-semantics-npm-4.1.1-1120131375-83ac0bc60b.zip +0 -0
- package/.yarn/cache/http-proxy-agent-npm-5.0.0-7f1f121b83-e2ee1ff165.zip +0 -0
- package/.yarn/cache/https-proxy-agent-npm-5.0.1-42d65f358e-571fccdf38.zip +0 -0
- package/.yarn/cache/human-signals-npm-2.1.0-f75815481d-b87fd89fce.zip +0 -0
- package/.yarn/cache/humanize-ms-npm-1.2.1-e942bd7329-9c7a74a282.zip +0 -0
- package/.yarn/cache/iconv-lite-npm-0.6.3-24b8aae27e-3f60d47a5c.zip +0 -0
- package/.yarn/cache/ieee754-npm-1.2.1-fb63b3caeb-5144c0c981.zip +0 -0
- package/.yarn/cache/ignore-walk-npm-6.0.3-ebca6b06c4-d8ba534beb.zip +0 -0
- package/.yarn/cache/import-local-npm-3.1.0-8960af5e51-bfcdb63b5e.zip +0 -0
- package/.yarn/cache/imurmurhash-npm-0.1.4-610c5068a0-7cae75c8cd.zip +0 -0
- package/.yarn/cache/indent-string-npm-4.0.0-7b717435b2-824cfb9929.zip +0 -0
- package/.yarn/cache/inflight-npm-1.0.6-ccedb4b908-f4f76aa072.zip +0 -0
- package/.yarn/cache/inherits-npm-2.0.4-c66b3957a0-4a48a73384.zip +0 -0
- package/.yarn/cache/ini-npm-4.1.1-01c2cbda7b-0e59095540.zip +0 -0
- package/.yarn/cache/init-package-json-npm-5.0.0-0656c8f580-ad601c717d.zip +0 -0
- package/.yarn/cache/install-npm-0.13.0-53f6b8981f-645bad1253.zip +0 -0
- package/.yarn/cache/ip-npm-2.0.0-204facb3cc-cfcfac6b87.zip +0 -0
- package/.yarn/cache/ip-regex-npm-4.3.0-4ac12c6be9-7ff904b891.zip +0 -0
- package/.yarn/cache/is-arrayish-npm-0.2.1-23927dfb15-eef4417e3c.zip +0 -0
- package/.yarn/cache/is-buffer-npm-1.1.6-08199d9ccc-4a186d995d.zip +0 -0
- package/.yarn/cache/is-cidr-npm-4.0.2-74bbb734d3-ee6e670e65.zip +0 -0
- package/.yarn/cache/is-core-module-npm-2.12.1-ce74e89160-f04ea30533.zip +0 -0
- package/.yarn/cache/is-fullwidth-code-point-npm-3.0.0-1ecf4ebee5-44a30c2945.zip +0 -0
- package/.yarn/cache/is-generator-fn-npm-2.1.0-37895c2d2b-a6ad5492cf.zip +0 -0
- package/.yarn/cache/is-lambda-npm-1.0.1-7ab55bc8a8-93a32f0194.zip +0 -0
- package/.yarn/cache/is-number-npm-7.0.0-060086935c-456ac6f8e0.zip +0 -0
- package/.yarn/cache/is-stream-npm-2.0.1-c802db55e7-b8e05ccdf9.zip +0 -0
- package/.yarn/cache/isexe-npm-2.0.0-b58870bd2e-26bf6c5480.zip +0 -0
- package/.yarn/cache/istanbul-lib-coverage-npm-3.2.0-93f84b2c8c-a2a545033b.zip +0 -0
- package/.yarn/cache/istanbul-lib-instrument-npm-5.2.1-1b3ad719a9-bf16f1803b.zip +0 -0
- package/.yarn/cache/istanbul-lib-report-npm-3.0.1-b17446ab24-fd17a1b879.zip +0 -0
- package/.yarn/cache/istanbul-lib-source-maps-npm-4.0.1-af0f859df7-21ad3df45d.zip +0 -0
- package/.yarn/cache/istanbul-reports-npm-3.1.6-66918eb97f-44c4c0582f.zip +0 -0
- package/.yarn/cache/jackspeak-npm-2.2.2-374ca454fe-7b1468dd91.zip +0 -0
- package/.yarn/cache/jest-changed-files-npm-29.5.0-9ca582b770-a67a7cb3c1.zip +0 -0
- package/.yarn/cache/jest-circus-npm-29.6.2-675d768a16-4f5a96a68c.zip +0 -0
- package/.yarn/cache/jest-cli-npm-29.6.2-99e0036409-0b7b09ae4b.zip +0 -0
- package/.yarn/cache/jest-config-npm-29.6.2-71660b6c0c-3bd104a3ac.zip +0 -0
- package/.yarn/cache/jest-diff-npm-29.6.2-caa9c5f644-0effd66a0c.zip +0 -0
- package/.yarn/cache/jest-docblock-npm-29.4.3-0fa9ff492b-e0e9df1485.zip +0 -0
- package/.yarn/cache/jest-each-npm-29.6.2-c58f436344-b64194f4ca.zip +0 -0
- package/.yarn/cache/jest-environment-node-npm-29.6.2-0ac11b8f1c-0b754ac2d3.zip +0 -0
- package/.yarn/cache/jest-get-type-npm-29.4.3-790eefdb01-6ac7f2dde1.zip +0 -0
- package/.yarn/cache/jest-haste-map-npm-29.6.2-70adb235f5-7262339720.zip +0 -0
- package/.yarn/cache/jest-leak-detector-npm-29.6.2-d58b6b7df0-e00152acdb.zip +0 -0
- package/.yarn/cache/jest-matcher-utils-npm-29.6.2-fd1c69812e-3e1b65dd30.zip +0 -0
- package/.yarn/cache/jest-message-util-npm-29.6.2-8bd7bc632e-e8e3c8d230.zip +0 -0
- package/.yarn/cache/jest-mock-npm-29.6.2-c31cf48c24-0bacb5d584.zip +0 -0
- package/.yarn/cache/jest-npm-29.6.2-5eda7a13ff-dd63facd4e.zip +0 -0
- package/.yarn/cache/jest-pnp-resolver-npm-1.2.3-70e06bf27c-db1a8ab2cb.zip +0 -0
- package/.yarn/cache/jest-regex-util-npm-29.4.3-defc22c588-96fc7fc28c.zip +0 -0
- package/.yarn/cache/jest-resolve-dependencies-npm-29.6.2-63dbac2655-d40ee11af2.zip +0 -0
- package/.yarn/cache/jest-resolve-npm-29.6.2-21cedcf0b9-01721957e6.zip +0 -0
- package/.yarn/cache/jest-runner-npm-29.6.2-74dddde534-46bd506a08.zip +0 -0
- package/.yarn/cache/jest-runtime-npm-29.6.2-3a51c05bc4-8e7e4486b2.zip +0 -0
- package/.yarn/cache/jest-snapshot-npm-29.6.2-6ed320289f-c1c70a9dbc.zip +0 -0
- package/.yarn/cache/jest-util-npm-29.6.2-41bd0e8e02-8aedc0c800.zip +0 -0
- package/.yarn/cache/jest-validate-npm-29.6.2-008427c47c-32648d0021.zip +0 -0
- package/.yarn/cache/jest-watcher-npm-29.6.2-ec5e606774-14624190fc.zip +0 -0
- package/.yarn/cache/jest-worker-npm-29.6.2-ccd8e6f0e1-1103556453.zip +0 -0
- package/.yarn/cache/js-tokens-npm-4.0.0-0ac852e9e2-8a95213a5a.zip +0 -0
- package/.yarn/cache/js-yaml-npm-3.14.1-b968c6095e-bef146085f.zip +0 -0
- package/.yarn/cache/jsesc-npm-2.5.2-c5acb78804-4dc1907711.zip +0 -0
- package/.yarn/cache/json-parse-even-better-errors-npm-2.3.1-144d62256e-798ed4cf33.zip +0 -0
- package/.yarn/cache/json-parse-even-better-errors-npm-3.0.0-3675833c0a-f1970b5220.zip +0 -0
- package/.yarn/cache/json-stringify-nice-npm-1.1.4-0b0ddb188b-6ddf781148.zip +0 -0
- package/.yarn/cache/json5-npm-2.2.3-9962c55073-2a7436a933.zip +0 -0
- package/.yarn/cache/jsonparse-npm-1.3.1-b6fde74828-6514a7be46.zip +0 -0
- package/.yarn/cache/just-diff-apply-npm-5.5.0-04951e29f4-ed6bbd5978.zip +0 -0
- package/.yarn/cache/just-diff-npm-6.0.2-f73771d84e-1a0c7524f6.zip +0 -0
- package/.yarn/cache/kleur-npm-3.0.3-f6f53649a4-df82cd1e17.zip +0 -0
- package/.yarn/cache/leven-npm-3.1.0-b7697736a3-638401d534.zip +0 -0
- package/.yarn/cache/libnpmaccess-npm-7.0.2-57b91bfda5-73d49f3939.zip +0 -0
- package/.yarn/cache/libnpmdiff-npm-5.0.19-26809d318b-47835abc81.zip +0 -0
- package/.yarn/cache/libnpmexec-npm-6.0.3-9bfdfc5775-c9c92dc29a.zip +0 -0
- package/.yarn/cache/libnpmfund-npm-4.0.19-742ff1c9b5-77905879f7.zip +0 -0
- package/.yarn/cache/libnpmhook-npm-9.0.3-1ed2368ed2-535ecefa22.zip +0 -0
- package/.yarn/cache/libnpmorg-npm-5.0.4-8ff49f84d5-4e170ba145.zip +0 -0
- package/.yarn/cache/libnpmpack-npm-5.0.19-fad75068a8-d164d61383.zip +0 -0
- package/.yarn/cache/libnpmpublish-npm-7.5.0-e0dfdc81a9-feb99876be.zip +0 -0
- package/.yarn/cache/libnpmsearch-npm-6.0.2-664c687722-7a62e5cb1c.zip +0 -0
- package/.yarn/cache/libnpmteam-npm-5.0.3-1e0a2afab9-a39ccdb4a6.zip +0 -0
- package/.yarn/cache/libnpmversion-npm-4.0.2-257501dd35-4666db4671.zip +0 -0
- package/.yarn/cache/lines-and-columns-npm-1.2.4-d6c7cc5799-0c37f9f7fa.zip +0 -0
- package/.yarn/cache/locate-path-npm-5.0.0-46580c43e4-83e51725e6.zip +0 -0
- package/.yarn/cache/lodash.memoize-npm-4.1.2-0e6250041f-9ff3942fee.zip +0 -0
- package/.yarn/cache/lru-cache-npm-10.0.0-256d74bb20-18f101675f.zip +0 -0
- package/.yarn/cache/lru-cache-npm-5.1.1-f475882a51-c154ae1cbb.zip +0 -0
- package/.yarn/cache/lru-cache-npm-6.0.0-b4c8668fe1-f97f499f89.zip +0 -0
- package/.yarn/cache/lru-cache-npm-7.18.3-e68be5b11c-e550d77238.zip +0 -0
- package/.yarn/cache/make-dir-npm-4.0.0-ec3cd921cc-bf0731a2dd.zip +0 -0
- package/.yarn/cache/make-error-npm-1.3.6-ccb85d9458-b86e5e0e25.zip +0 -0
- package/.yarn/cache/make-fetch-happen-npm-11.1.1-f32b79aaaa-7268bf274a.zip +0 -0
- package/.yarn/cache/makeerror-npm-1.0.12-69abf085d7-b38a025a12.zip +0 -0
- package/.yarn/cache/md5-npm-2.3.0-86c49d3915-a63cacf401.zip +0 -0
- package/.yarn/cache/merge-stream-npm-2.0.0-2ac83efea5-6fa4dcc8d8.zip +0 -0
- package/.yarn/cache/micromatch-npm-4.0.5-cfab5d7669-02a17b671c.zip +0 -0
- package/.yarn/cache/mime-db-npm-1.52.0-b5371d6fd2-0d99a03585.zip +0 -0
- package/.yarn/cache/mime-types-npm-2.1.35-dd9ea9f3e2-89a5b7f1de.zip +0 -0
- package/.yarn/cache/mimic-fn-npm-2.1.0-4fbeb3abb4-d2421a3444.zip +0 -0
- package/.yarn/cache/minimatch-npm-3.1.2-9405269906-c154e56640.zip +0 -0
- package/.yarn/cache/minimatch-npm-9.0.3-69d7d6fad5-253487976b.zip +0 -0
- package/.yarn/cache/minipass-collect-npm-1.0.2-3b4676eab5-14df761028.zip +0 -0
- package/.yarn/cache/minipass-fetch-npm-3.0.3-2c4966d142-af5ab2552a.zip +0 -0
- package/.yarn/cache/minipass-flush-npm-1.0.5-efe79d9826-56269a0b22.zip +0 -0
- package/.yarn/cache/minipass-json-stream-npm-1.0.1-96490706d6-791b696a27.zip +0 -0
- package/.yarn/cache/minipass-npm-3.3.6-b8d93a945b-a30d083c80.zip +0 -0
- package/.yarn/cache/minipass-npm-5.0.0-c64fb63c92-425dab2887.zip +0 -0
- package/.yarn/cache/minipass-npm-7.0.2-baa42a5a34-46776de732.zip +0 -0
- package/.yarn/cache/minipass-pipeline-npm-1.2.4-5924cb077f-b14240dac0.zip +0 -0
- package/.yarn/cache/minipass-sized-npm-1.0.3-306d86f432-79076749fc.zip +0 -0
- package/.yarn/cache/minizlib-npm-2.1.2-ea89cd0cfb-f1fdeac0b0.zip +0 -0
- package/.yarn/cache/mkdirp-npm-1.0.4-37f6ef56b9-a96865108c.zip +0 -0
- package/.yarn/cache/ms-npm-2.1.2-ec0c1512ff-673cdb2c31.zip +0 -0
- package/.yarn/cache/ms-npm-2.1.3-81ff3cfac1-aa92de6080.zip +0 -0
- package/.yarn/cache/mute-stream-npm-1.0.0-b6e846d471-36fc968b0e.zip +0 -0
- package/.yarn/cache/natural-compare-npm-1.4.0-97b75b362d-23ad088b08.zip +0 -0
- package/.yarn/cache/negotiator-npm-0.6.3-9d50e36171-b8ffeb1e26.zip +0 -0
- package/.yarn/cache/node-gyp-npm-9.4.0-ebf5f5573e-78b404e2e0.zip +0 -0
- package/.yarn/cache/node-int64-npm-0.4.0-0dc04ec3b2-d0b30b1ee6.zip +0 -0
- package/.yarn/cache/node-releases-npm-2.0.13-1f2e177887-17ec8f315d.zip +0 -0
- package/.yarn/cache/nopt-npm-6.0.0-5ea8050815-82149371f8.zip +0 -0
- package/.yarn/cache/nopt-npm-7.2.0-dd734b678d-a9c0f57fb8.zip +0 -0
- package/.yarn/cache/normalize-package-data-npm-5.0.0-6327e2af68-a459f05eaf.zip +0 -0
- package/.yarn/cache/normalize-path-npm-3.0.0-658ba7d77f-88eeb4da89.zip +0 -0
- package/.yarn/cache/npm-audit-report-npm-5.0.0-b0af56272d-a18f16f514.zip +0 -0
- package/.yarn/cache/npm-bundled-npm-3.0.0-0b3c5ee4f3-110859c2d6.zip +0 -0
- package/.yarn/cache/npm-install-checks-npm-6.1.1-e05db36ccf-8fb3ed05cf.zip +0 -0
- package/.yarn/cache/npm-normalize-package-bin-npm-3.0.1-6c120b50f7-de416d720a.zip +0 -0
- package/.yarn/cache/npm-npm-9.8.1-c06ac946c2-d3f12cd0c0.zip +0 -0
- package/.yarn/cache/npm-package-arg-npm-10.1.0-e9f0aaa69d-8fe4b6a742.zip +0 -0
- package/.yarn/cache/npm-packlist-npm-7.0.4-1c0b919056-5ffa1f8f0b.zip +0 -0
- package/.yarn/cache/npm-pick-manifest-npm-8.0.2-ec194cb513-c9f71b5735.zip +0 -0
- package/.yarn/cache/npm-profile-npm-7.0.1-73c58f96b1-c78d2e6394.zip +0 -0
- package/.yarn/cache/npm-registry-fetch-npm-14.0.5-6b3e6c0dd0-c636496429.zip +0 -0
- package/.yarn/cache/npm-run-path-npm-4.0.1-7aebd8bab3-5374c0cea4.zip +0 -0
- package/.yarn/cache/npm-user-validate-npm-2.0.0-2fa10ebf8a-52c0c64cb2.zip +0 -0
- package/.yarn/cache/npmlog-npm-6.0.2-e0e69455c7-ae238cd264.zip +0 -0
- package/.yarn/cache/npmlog-npm-7.0.1-a0f355f530-caabeb1f55.zip +0 -0
- package/.yarn/cache/once-npm-1.4.0-ccf03ef07a-cd0a885013.zip +0 -0
- package/.yarn/cache/onetime-npm-5.1.2-3ed148fa42-2478859ef8.zip +0 -0
- package/.yarn/cache/p-limit-npm-2.3.0-94a0310039-84ff17f1a3.zip +0 -0
- package/.yarn/cache/p-limit-npm-3.1.0-05d2ede37f-7c3690c4db.zip +0 -0
- package/.yarn/cache/p-locate-npm-4.1.0-eec6872537-513bd14a45.zip +0 -0
- package/.yarn/cache/p-map-npm-4.0.0-4677ae07c7-cb0ab21ec0.zip +0 -0
- package/.yarn/cache/p-try-npm-2.2.0-e0390dbaf8-f8a8e9a769.zip +0 -0
- package/.yarn/cache/pacote-npm-15.2.0-b9ed3321e9-c731572be2.zip +0 -0
- package/.yarn/cache/parse-conflict-json-npm-3.0.1-9455a1ad04-d8d2656bc0.zip +0 -0
- package/.yarn/cache/parse-json-npm-5.2.0-00a63b1199-62085b17d6.zip +0 -0
- package/.yarn/cache/path-exists-npm-4.0.0-e9e4f63eb0-505807199d.zip +0 -0
- package/.yarn/cache/path-is-absolute-npm-1.0.1-31bc695ffd-060840f92c.zip +0 -0
- package/.yarn/cache/path-key-npm-3.1.1-0e66ea8321-55cd7a9dd4.zip +0 -0
- package/.yarn/cache/path-parse-npm-1.0.7-09564527b7-49abf3d811.zip +0 -0
- package/.yarn/cache/path-scurry-npm-1.10.1-52bd946f2e-e2557cff3a.zip +0 -0
- package/.yarn/cache/picocolors-npm-1.0.0-d81e0b1927-a2e8092dd8.zip +0 -0
- package/.yarn/cache/picomatch-npm-2.3.1-c782cfd986-050c865ce8.zip +0 -0
- package/.yarn/cache/pirates-npm-4.0.6-a8ec571a43-46a65fefaf.zip +0 -0
- package/.yarn/cache/pkg-dir-npm-4.2.0-2b5d0a8d32-9863e3f351.zip +0 -0
- package/.yarn/cache/postcss-selector-parser-npm-6.0.13-f732d92326-f89163338a.zip +0 -0
- package/.yarn/cache/pretty-format-npm-29.6.2-7f39471065-a0f972a44f.zip +0 -0
- package/.yarn/cache/proc-log-npm-3.0.0-a8c21c2f0f-02b64e1b39.zip +0 -0
- package/.yarn/cache/process-npm-0.11.10-aeb3b641ae-bfcce49814.zip +0 -0
- package/.yarn/cache/promise-all-reject-late-npm-1.0.1-19ba0dce9c-d7d61ac412.zip +0 -0
- package/.yarn/cache/promise-call-limit-npm-1.0.2-2a84fbc485-d0664dd295.zip +0 -0
- package/.yarn/cache/promise-inflight-npm-1.0.1-5bb925afac-2274948309.zip +0 -0
- package/.yarn/cache/promise-retry-npm-2.0.1-871f0b01b7-f96a3f6d90.zip +0 -0
- package/.yarn/cache/prompts-npm-2.4.2-f5d25d5eea-d8fd1fe638.zip +0 -0
- package/.yarn/cache/promzard-npm-1.0.0-a0d17e2d53-c069488271.zip +0 -0
- package/.yarn/cache/pure-rand-npm-6.0.2-5d375bc0a6-79de33876a.zip +0 -0
- package/.yarn/cache/qrcode-terminal-npm-0.12.0-f81f8a6a67-51638d11d0.zip +0 -0
- package/.yarn/cache/react-is-npm-18.2.0-0cc5edb910-e72d0ba81b.zip +0 -0
- package/.yarn/cache/read-cmd-shim-npm-4.0.0-2339b15fb0-2fb5a8a389.zip +0 -0
- package/.yarn/cache/read-npm-2.1.0-0e0cb8a375-e745999138.zip +0 -0
- package/.yarn/cache/read-package-json-fast-npm-3.0.2-1232471a07-8d406869f0.zip +0 -0
- package/.yarn/cache/read-package-json-npm-6.0.4-bf5c705b94-ce40c46712.zip +0 -0
- package/.yarn/cache/readable-stream-npm-3.6.2-d2a6069158-bdcbe6c22e.zip +0 -0
- package/.yarn/cache/readable-stream-npm-4.4.2-ac0d67d9ca-6f4063763d.zip +0 -0
- package/.yarn/cache/require-directory-npm-2.1.1-8608aee50b-fb47e70bf0.zip +0 -0
- package/.yarn/cache/resolve-cwd-npm-3.0.0-e6f4e296bf-546e081601.zip +0 -0
- package/.yarn/cache/resolve-from-npm-5.0.0-15c9db4d33-4ceeb9113e.zip +0 -0
- package/.yarn/cache/resolve-npm-1.22.2-9d9621a4ae-7e5df75796.zip +0 -0
- package/.yarn/cache/resolve-patch-f4c4056507-66cc788f13.zip +0 -0
- package/.yarn/cache/resolve.exports-npm-2.0.2-f59b42bbe5-1c7778ca1b.zip +0 -0
- package/.yarn/cache/retry-npm-0.12.0-72ac7fb4cc-623bd7d2e5.zip +0 -0
- package/.yarn/cache/rimraf-npm-3.0.2-2cb7dac69a-87f4164e39.zip +0 -0
- package/.yarn/cache/safe-buffer-npm-5.2.1-3481c8aa9b-b99c4b41fd.zip +0 -0
- package/.yarn/cache/safer-buffer-npm-2.1.2-8d5c0b705e-cab8f25ae6.zip +0 -0
- package/.yarn/cache/semver-npm-6.3.1-bcba31fdbe-ae47d06de2.zip +0 -0
- package/.yarn/cache/semver-npm-7.5.4-c4ad957fcd-12d8ad952f.zip +0 -0
- package/.yarn/cache/set-blocking-npm-2.0.0-49e2cffa24-6e65a05f7c.zip +0 -0
- package/.yarn/cache/shebang-command-npm-2.0.0-eb2b01921d-6b52fe8727.zip +0 -0
- package/.yarn/cache/shebang-regex-npm-3.0.0-899a0cd65e-1a2bcae50d.zip +0 -0
- package/.yarn/cache/signal-exit-npm-3.0.7-bd270458a3-a2f098f247.zip +0 -0
- package/.yarn/cache/signal-exit-npm-4.1.0-61fb957687-64c757b498.zip +0 -0
- package/.yarn/cache/sigstore-npm-1.8.0-c7dd60d00a-9886278224.zip +0 -0
- package/.yarn/cache/sisteransi-npm-1.0.5-af60cc0cfa-aba6438f46.zip +0 -0
- package/.yarn/cache/slash-npm-3.0.0-b87de2279a-94a93fff61.zip +0 -0
- package/.yarn/cache/smart-buffer-npm-4.2.0-5ac3f668bb-b5167a7142.zip +0 -0
- package/.yarn/cache/socks-npm-2.7.1-17f2b53052-259d9e3e8e.zip +0 -0
- package/.yarn/cache/socks-proxy-agent-npm-7.0.0-7aacf32ea0-7205543701.zip +0 -0
- package/.yarn/cache/source-map-npm-0.6.1-1a3621db16-59ce8640cf.zip +0 -0
- package/.yarn/cache/source-map-support-npm-0.5.13-377dfd7321-933550047b.zip +0 -0
- package/.yarn/cache/spdx-correct-npm-3.2.0-ffae008484-e9ae98d22f.zip +0 -0
- package/.yarn/cache/spdx-exceptions-npm-2.3.0-2b68dad75a-cb69a26fa3.zip +0 -0
- package/.yarn/cache/spdx-expression-parse-npm-3.0.1-b718cbb35a-a1c6e104a2.zip +0 -0
- package/.yarn/cache/spdx-license-ids-npm-3.0.13-928dd45e3f-3469d85c65.zip +0 -0
- package/.yarn/cache/sprintf-js-npm-1.0.3-73f0a322fa-19d79aec21.zip +0 -0
- package/.yarn/cache/ssri-npm-10.0.4-f583dafaf3-fb14da9f8a.zip +0 -0
- package/.yarn/cache/stack-utils-npm-2.0.6-2be1099696-052bf4d25b.zip +0 -0
- package/.yarn/cache/string-length-npm-4.0.2-675173c7a2-ce85533ef5.zip +0 -0
- package/.yarn/cache/string-width-npm-4.2.3-2c27177bae-e52c10dc3f.zip +0 -0
- package/.yarn/cache/string-width-npm-5.1.2-bf60531341-7369deaa29.zip +0 -0
- package/.yarn/cache/string_decoder-npm-1.3.0-2422117fd0-8417646695.zip +0 -0
- package/.yarn/cache/strip-ansi-npm-6.0.1-caddc7cb40-f3cd25890a.zip +0 -0
- package/.yarn/cache/strip-ansi-npm-7.1.0-7453b80b79-859c73fcf2.zip +0 -0
- package/.yarn/cache/strip-bom-npm-4.0.0-97d367a64d-9dbcfbaf50.zip +0 -0
- package/.yarn/cache/strip-final-newline-npm-2.0.0-340c4f7c66-69412b5e25.zip +0 -0
- package/.yarn/cache/strip-json-comments-npm-3.1.1-dcb2324823-492f73e272.zip +0 -0
- package/.yarn/cache/supports-color-npm-5.5.0-183ac537bc-95f6f4ba5a.zip +0 -0
- package/.yarn/cache/supports-color-npm-7.2.0-606bfcf7da-3dda818de0.zip +0 -0
- package/.yarn/cache/supports-color-npm-8.1.1-289e937149-c052193a7e.zip +0 -0
- package/.yarn/cache/supports-color-npm-9.4.0-a415f39758-cb8ff8daea.zip +0 -0
- package/.yarn/cache/supports-preserve-symlinks-flag-npm-1.0.0-f17c4d0028-53b1e247e6.zip +0 -0
- package/.yarn/cache/tar-npm-6.1.15-44c3e71720-f23832fcee.zip +0 -0
- package/.yarn/cache/test-exclude-npm-6.0.0-3fb03d69df-3b34a3d771.zip +0 -0
- package/.yarn/cache/text-table-npm-0.2.0-d92a778b59-b6937a38c8.zip +0 -0
- package/.yarn/cache/tiny-relative-date-npm-1.3.0-4737b1ee94-82a1fa2f3b.zip +0 -0
- package/.yarn/cache/tmpl-npm-1.0.5-d399ba37e2-cd922d9b85.zip +0 -0
- package/.yarn/cache/to-fast-properties-npm-2.0.0-0dc60cc481-be2de62fe5.zip +0 -0
- package/.yarn/cache/to-regex-range-npm-5.0.1-f1e8263b00-f76fa01b3d.zip +0 -0
- package/.yarn/cache/treeverse-npm-3.0.0-6c6d119afd-73168d9887.zip +0 -0
- package/.yarn/cache/ts-jest-npm-29.1.1-04e888e48e-a8c9e284ed.zip +0 -0
- package/.yarn/cache/tuf-js-npm-1.1.7-045f70823d-089fc0dabe.zip +0 -0
- package/.yarn/cache/type-detect-npm-4.0.8-8d8127b901-62b5628bff.zip +0 -0
- package/.yarn/cache/type-fest-npm-0.21.3-5ff2a9c6fd-e6b32a3b38.zip +0 -0
- package/.yarn/cache/typescript-npm-5.1.6-b157762de3-b2f2c35096.zip +0 -0
- package/.yarn/cache/typescript-patch-bd21d74a9d-f53bfe97f7.zip +0 -0
- package/.yarn/cache/unique-filename-npm-3.0.0-77d68e0a45-8e2f59b356.zip +0 -0
- package/.yarn/cache/unique-slug-npm-4.0.0-e6b08f28aa-0884b58365.zip +0 -0
- package/.yarn/cache/update-browserslist-db-npm-1.0.11-2c8e64258f-b98327518f.zip +0 -0
- package/.yarn/cache/util-deprecate-npm-1.0.2-e3fe1a219c-474acf1146.zip +0 -0
- package/.yarn/cache/v8-to-istanbul-npm-9.1.0-04cd324682-2069d59ee4.zip +0 -0
- package/.yarn/cache/validate-npm-package-license-npm-3.0.4-7af8adc7a8-35703ac889.zip +0 -0
- package/.yarn/cache/validate-npm-package-name-npm-5.0.0-fc061c1b84-5342a99498.zip +0 -0
- package/.yarn/cache/walk-up-path-npm-3.0.1-67ab100d5d-9ffca02fe3.zip +0 -0
- package/.yarn/cache/walker-npm-1.0.8-b0a05b9478-ad7a257ea1.zip +0 -0
- package/.yarn/cache/wcwidth-npm-1.0.1-05fa596453-814e9d1ddc.zip +0 -0
- package/.yarn/cache/which-npm-2.0.2-320ddf72f7-1a5c563d3c.zip +0 -0
- package/.yarn/cache/which-npm-3.0.1-b2b0f09ace-adf720fe9d.zip +0 -0
- package/.yarn/cache/wide-align-npm-1.1.5-889d77e592-d5fc37cd56.zip +0 -0
- package/.yarn/cache/wrap-ansi-npm-7.0.0-ad6e1a0554-a790b846fd.zip +0 -0
- package/.yarn/cache/wrap-ansi-npm-8.1.0-26a4e6ae28-371733296d.zip +0 -0
- package/.yarn/cache/wrappy-npm-1.0.2-916de4d4b3-159da4805f.zip +0 -0
- package/.yarn/cache/write-file-atomic-npm-4.0.2-661baae4aa-5da60bd4ee.zip +0 -0
- package/.yarn/cache/write-file-atomic-npm-5.0.1-52283db6ee-8dbb0e2512.zip +0 -0
- package/.yarn/cache/y18n-npm-5.0.8-5f3a0a7e62-54f0fb9562.zip +0 -0
- package/.yarn/cache/yallist-npm-3.1.1-a568a556b4-48f7bb00dc.zip +0 -0
- package/.yarn/cache/yallist-npm-4.0.0-b493d9e907-343617202a.zip +0 -0
- package/.yarn/cache/yargs-npm-17.7.2-80b62638e1-73b572e863.zip +0 -0
- package/.yarn/cache/yargs-parser-npm-21.1.1-8fdc003314-ed2d96a616.zip +0 -0
- package/.yarn/cache/yocto-queue-npm-0.1.0-c6c9a7db29-f77b3d8d00.zip +0 -0
- package/.yarn/install-state.gz +0 -0
- package/README.md +1 -1
- package/coverage/base.css +223 -0
- package/coverage/block-navigation.js +79 -0
- package/coverage/index.html +123 -0
- package/coverage/prettify.css +1 -0
- package/coverage/prettify.js +2 -0
- package/coverage/sort-arrow-sprite.png +0 -0
- package/coverage/sorter.js +170 -0
- package/coverage/src/api-client.js.html +549 -0
- package/coverage/src/content-fetch.js.html +336 -0
- package/coverage/src/index.html +123 -0
- package/coverage/src/methods/getContentItem.js.html +285 -0
- package/coverage/src/methods/getContentList.js.html +486 -0
- package/coverage/src/methods/getGallery.js.html +243 -0
- package/coverage/src/methods/getPage.js.html +273 -0
- package/coverage/src/methods/getSitemapFlat.js.html +240 -0
- package/coverage/src/methods/getSitemapNested.js.html +231 -0
- package/coverage/src/methods/getSyncContent.js.html +258 -0
- package/coverage/src/methods/getSyncPages.js.html +258 -0
- package/coverage/src/methods/getUrlRedirections.js.html +339 -0
- package/coverage/src/methods/index.html +201 -0
- package/coverage/src/methods/syncContentItems.js.html +186 -0
- package/coverage/src/methods/syncPageItems.js.html +186 -0
- package/coverage/src/types/FilterLogicOperator.js.html +129 -0
- package/coverage/src/types/FilterOperator.js.html +156 -0
- package/coverage/src/types/SortDirection.js.html +129 -0
- package/coverage/src/types/index.html +123 -0
- package/coverage/src/utils.js.html +330 -0
- package/dist/agility-content-fetch.browser.js +1 -1
- package/dist/agility-content-fetch.node.js +1 -0
- package/dist/api-client.d.ts +46 -0
- package/dist/api-client.js +316 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +7 -0
- package/dist/methods/getContentItem.d.ts +42 -0
- package/dist/methods/getContentItem.js +49 -0
- package/dist/methods/getContentList.d.ts +78 -0
- package/dist/methods/getContentList.js +94 -0
- package/dist/methods/getGallery.d.ts +33 -0
- package/dist/methods/getGallery.js +39 -0
- package/dist/methods/getPage.d.ts +41 -0
- package/dist/methods/getPage.js +47 -0
- package/{src/methods/getSitemapFlat.js → dist/methods/getSitemapFlat.d.ts} +11 -32
- package/dist/methods/getSitemapFlat.js +26 -0
- package/{src/methods/getSitemapNested.js → dist/methods/getSitemapNested.d.ts} +11 -29
- package/dist/methods/getSitemapNested.js +23 -0
- package/{src/methods/getSyncContent.js → dist/methods/getSyncContent.d.ts} +13 -33
- package/dist/methods/getSyncContent.js +26 -0
- package/{src/methods/getSyncPages.js → dist/methods/getSyncPages.d.ts} +13 -33
- package/dist/methods/getSyncPages.js +26 -0
- package/dist/methods/getUrlRedirections.d.ts +35 -0
- package/dist/methods/getUrlRedirections.js +50 -0
- package/dist/types/Client.d.ts +5 -0
- package/dist/types/Client.js +2 -0
- package/dist/types/Config.d.ts +15 -0
- package/dist/types/Config.js +2 -0
- package/dist/types/ContentItem.d.ts +19 -0
- package/dist/types/ContentItem.js +2 -0
- package/dist/types/ContentList.d.ts +12 -0
- package/dist/types/ContentList.js +9 -0
- package/dist/types/ContentZone.d.ts +12 -0
- package/dist/types/ContentZone.js +2 -0
- package/dist/types/EnvConfig.d.ts +6 -0
- package/dist/types/EnvConfig.js +2 -0
- package/dist/types/Filter.d.ts +14 -0
- package/{src → dist}/types/Filter.js +10 -13
- package/{src/types/FilterLogicOperator.js → dist/types/FilterLogicOperator.d.ts} +17 -21
- package/dist/types/FilterLogicOperator.js +13 -0
- package/dist/types/FilterOperator.d.ts +28 -0
- package/{src → dist}/types/FilterOperator.js +30 -30
- package/dist/types/Gallery.d.ts +21 -0
- package/dist/types/Gallery.js +12 -0
- package/dist/types/MediaItem.d.ts +22 -0
- package/dist/types/MediaItem.js +13 -0
- package/dist/types/MediaItemMetaData.d.ts +17 -0
- package/dist/types/MediaItemMetaData.js +12 -0
- package/dist/types/Page.d.ts +38 -0
- package/dist/types/Page.js +20 -0
- package/dist/types/SEO.d.ts +16 -0
- package/dist/types/SEO.js +11 -0
- package/dist/types/SitemapFlat.d.ts +9 -0
- package/dist/types/SitemapFlat.js +10 -0
- package/dist/types/SitemapFlatItem.d.ts +29 -0
- package/dist/types/SitemapFlatItem.js +17 -0
- package/dist/types/SitemapNested.d.ts +7 -0
- package/dist/types/SitemapNested.js +7 -0
- package/dist/types/SitemapNestedItem.d.ts +30 -0
- package/dist/types/SitemapNestedItem.js +2 -0
- package/dist/types/SitemapVisibility.d.ts +11 -0
- package/dist/types/SitemapVisibility.js +9 -0
- package/{src/types/SortDirection.js → dist/types/SortDirection.d.ts} +17 -21
- package/dist/types/SortDirection.js +13 -0
- package/dist/types/SyncContent.d.ts +12 -0
- package/dist/types/SyncContent.js +9 -0
- package/dist/types/SyncPages.d.ts +12 -0
- package/dist/types/SyncPages.js +9 -0
- package/dist/types/SystemProperties.d.ts +15 -0
- package/dist/types/SystemProperties.js +11 -0
- package/dist/types/UrlRedirection.d.ts +15 -0
- package/dist/types/UrlRedirection.js +11 -0
- package/dist/types/UrlRedirectionResponse.d.ts +12 -0
- package/dist/types/UrlRedirectionResponse.js +9 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +10 -0
- package/dist/utils.d.ts +7 -0
- package/dist/utils.js +81 -0
- package/jest.config.js +6 -0
- package/package.json +33 -32
- package/test/{apiClients.config.js → apiClients.config.ts} +13 -16
- package/test/{getApi.tests.js → getApi.tests.ts} +42 -74
- package/test/getContentItem.tests.ts +103 -0
- package/test/getContentList.tests.ts +251 -0
- package/test/getGallery.tests.ts +22 -0
- package/test/getPage.tests.ts +39 -0
- package/test/getSitemapFlat.tests.ts +30 -0
- package/test/getSitemapNested.tests.ts +30 -0
- package/test/getSyncContentItems.tests.ts +25 -0
- package/test/getSyncPageItems.tests.ts +27 -0
- package/test/getUrlRedirections.tests.ts +40 -0
- package/tsconfig.json +15 -0
- package/.babelrc +0 -7
- package/.vscode/launch.json +0 -35
- package/src/api-client.js +0 -161
- package/src/content-fetch.js +0 -90
- package/src/methods/getContentItem.js +0 -72
- package/src/methods/getContentList.js +0 -140
- package/src/methods/getGallery.js +0 -59
- package/src/methods/getPage.js +0 -69
- package/src/methods/getUrlRedirections.js +0 -91
- package/src/types/ContentItem.js +0 -10
- package/src/types/ContentList.js +0 -8
- package/src/types/ContentZone.js +0 -8
- package/src/types/Gallery.js +0 -11
- package/src/types/MediaItem.js +0 -12
- package/src/types/MediaItemMetaData.js +0 -11
- package/src/types/Page.js +0 -19
- package/src/types/SitemapFlat.js +0 -6
- package/src/types/SitemapFlatItem.js +0 -15
- package/src/types/SitemapNested.js +0 -6
- package/src/types/SitemapNestedItem.js +0 -15
- package/src/types/SitemapVisibility.js +0 -8
- package/src/types/SyncContent.js +0 -8
- package/src/types/SyncPages.js +0 -8
- package/src/types/SystemProperties.js +0 -10
- package/src/types/UrlRedirection.js +0 -11
- package/src/types/UrlRedirectionResponse.js +0 -9
- package/src/utils.js +0 -88
- package/test/getContentItem.tests.js +0 -200
- package/test/getContentList.tests.js +0 -371
- package/test/getGallery.tests.js +0 -33
- package/test/getPage.tests.js +0 -93
- package/test/getSitemapFlat.tests.js +0 -73
- package/test/getSitemapNested.tests.js +0 -73
- package/test/getSyncContentItems.tests.js +0 -44
- package/test/getSyncPageItems.tests.js +0 -45
- package/test/getUrlRedirections.tests.js +0 -60
- package/webpack.config.js +0 -58
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the common **System Properties** of pages and content items in the CMS.
|
|
3
|
+
* @typedef SystemProperties
|
|
4
|
+
* @memberof AgilityFetch.Types
|
|
5
|
+
* @property {datetime} created - The date/time this item was created.
|
|
6
|
+
* @property {datetime} modified - The date/time this item was last modified.
|
|
7
|
+
* @property {number} state - The **state** of this content item. **1** = *Staging*, **2** = *Published*, **3** = *Deleted*, **4** = *Approved*, **5** = *AwaitingApproval*, **6** = *Declined*, **7** = *Unpublished*
|
|
8
|
+
* @property {number} versionID - The unique versionID of this content item.
|
|
9
|
+
*/
|
|
10
|
+
export interface SystemProperties {
|
|
11
|
+
created: Date;
|
|
12
|
+
modified: Date;
|
|
13
|
+
state: 1 | 2 | 3 | 4 | 5 | 6 | 7;
|
|
14
|
+
versionID: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Defines the common **System Properties** of pages and content items in the CMS.
|
|
4
|
+
* @typedef SystemProperties
|
|
5
|
+
* @memberof AgilityFetch.Types
|
|
6
|
+
* @property {datetime} created - The date/time this item was created.
|
|
7
|
+
* @property {datetime} modified - The date/time this item was last modified.
|
|
8
|
+
* @property {number} state - The **state** of this content item. **1** = *Staging*, **2** = *Published*, **3** = *Deleted*, **4** = *Approved*, **5** = *AwaitingApproval*, **6** = *Declined*, **7** = *Unpublished*
|
|
9
|
+
* @property {number} versionID - The unique versionID of this content item.
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines **URL Redirection** .
|
|
3
|
+
* @typedef URLRedirection
|
|
4
|
+
* @memberof AgilityFetch.Types
|
|
5
|
+
* @property {Number} id - The id of this URL Redirection
|
|
6
|
+
* @property {String} originUrl - The URL to redirect from
|
|
7
|
+
* @property {String} destinationUrl - The URL to redirect to
|
|
8
|
+
* @property {Number} statusCode - Either a 301 or 302 status code for the redirect
|
|
9
|
+
*/
|
|
10
|
+
export interface URLRedirection {
|
|
11
|
+
id: number;
|
|
12
|
+
originUrl: string;
|
|
13
|
+
destinationUrl: string;
|
|
14
|
+
statusCode: 301 | 302;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Defines **URL Redirection** .
|
|
4
|
+
* @typedef URLRedirection
|
|
5
|
+
* @memberof AgilityFetch.Types
|
|
6
|
+
* @property {Number} id - The id of this URL Redirection
|
|
7
|
+
* @property {String} originUrl - The URL to redirect from
|
|
8
|
+
* @property {String} destinationUrl - The URL to redirect to
|
|
9
|
+
* @property {Number} statusCode - Either a 301 or 302 status code for the redirect
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines **URL Redirection** response.
|
|
3
|
+
* @typedef URLRedirectionResponse
|
|
4
|
+
* @memberof AgilityFetch.Types
|
|
5
|
+
* @property {Array} syncToken - The sync token to be used in the next call as a continuation token for syncing content. If this is empty, you are up to date.
|
|
6
|
+
* @property {Array.<AgilityFetch.Types.Page>} items - The paginated array of items returned by the request.
|
|
7
|
+
*/
|
|
8
|
+
import { Page } from "./Page";
|
|
9
|
+
export interface URLRedirectionResponse {
|
|
10
|
+
syncToken: any;
|
|
11
|
+
items: Page[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Defines **URL Redirection** response.
|
|
4
|
+
* @typedef URLRedirectionResponse
|
|
5
|
+
* @memberof AgilityFetch.Types
|
|
6
|
+
* @property {Array} syncToken - The sync token to be used in the next call as a continuation token for syncing content. If this is empty, you are up to date.
|
|
7
|
+
* @property {Array.<AgilityFetch.Types.Page>} items - The paginated array of items returned by the request.
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.FilterLogicOperators = exports.FilterOperators = void 0;
|
|
7
|
+
var FilterOperator_1 = __importDefault(require("./FilterOperator"));
|
|
8
|
+
exports.FilterOperators = FilterOperator_1.default;
|
|
9
|
+
var FilterLogicOperator_1 = require("./FilterLogicOperator");
|
|
10
|
+
Object.defineProperty(exports, "FilterLogicOperators", { enumerable: true, get: function () { return FilterLogicOperator_1.FilterLogicOperators; } });
|
package/dist/utils.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare function logError(consoleMessage: any): void;
|
|
2
|
+
declare function logDebug(consoleMessage: any): void;
|
|
3
|
+
declare function buildRequestUrlPath(config: any, locale: any): string;
|
|
4
|
+
declare function buildPathUrl(contentType: any, referenceName: any, skip: any, take: any, sort: any, direction: any, filters: any, filtersLogicOperator: any, contentLinkDepth: any, expandAllContentLinks: any): string;
|
|
5
|
+
declare function buildAuthHeader(config: any): any;
|
|
6
|
+
declare function isHttps(url: any): boolean;
|
|
7
|
+
export { buildPathUrl, buildAuthHeader, buildRequestUrlPath, isHttps, logError, logDebug };
|
package/dist/utils.js
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __assign = (this && this.__assign) || function () {
|
|
3
|
+
__assign = Object.assign || function(t) {
|
|
4
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
s = arguments[i];
|
|
6
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
+
t[p] = s[p];
|
|
8
|
+
}
|
|
9
|
+
return t;
|
|
10
|
+
};
|
|
11
|
+
return __assign.apply(this, arguments);
|
|
12
|
+
};
|
|
13
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
+
exports.logDebug = exports.logError = exports.isHttps = exports.buildRequestUrlPath = exports.buildAuthHeader = exports.buildPathUrl = void 0;
|
|
15
|
+
function logError(consoleMessage) {
|
|
16
|
+
console.error('\x1b[41m%s\x1b[0m', consoleMessage);
|
|
17
|
+
}
|
|
18
|
+
exports.logError = logError;
|
|
19
|
+
function logDebug(consoleMessage) {
|
|
20
|
+
console.log('\x1b[33m%s\x1b[0m', consoleMessage);
|
|
21
|
+
}
|
|
22
|
+
exports.logDebug = logDebug;
|
|
23
|
+
function buildRequestUrlPath(config, locale) {
|
|
24
|
+
var apiFetchOrPreview = '';
|
|
25
|
+
if (config.isPreview === true || config.isPreview === 'true') {
|
|
26
|
+
apiFetchOrPreview = 'preview';
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
apiFetchOrPreview = 'fetch';
|
|
30
|
+
}
|
|
31
|
+
var urlPath = "".concat(config.baseUrl, "/").concat(apiFetchOrPreview, "/").concat(locale);
|
|
32
|
+
return urlPath;
|
|
33
|
+
}
|
|
34
|
+
exports.buildRequestUrlPath = buildRequestUrlPath;
|
|
35
|
+
function buildPathUrl(contentType, referenceName, skip, take, sort, direction, filters, filtersLogicOperator, contentLinkDepth, expandAllContentLinks) {
|
|
36
|
+
var url = "/".concat(contentType, "/").concat(referenceName, "?contentLinkDepth=").concat(contentLinkDepth, "&");
|
|
37
|
+
filtersLogicOperator = filtersLogicOperator ? " ".concat(filtersLogicOperator, " ") : ' AND ';
|
|
38
|
+
if (sort) {
|
|
39
|
+
url += "sort=".concat(sort, "&");
|
|
40
|
+
if (direction) {
|
|
41
|
+
url += "direction=".concat(direction, "&");
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
if (skip) {
|
|
45
|
+
url += "skip=".concat(skip, "&");
|
|
46
|
+
}
|
|
47
|
+
if (take) {
|
|
48
|
+
url += "take=".concat(take, "&");
|
|
49
|
+
}
|
|
50
|
+
if (filters && filters.length > 0) {
|
|
51
|
+
url += 'filter=';
|
|
52
|
+
for (var i = 0; i < filters.length; i++) {
|
|
53
|
+
var filter = filters[i];
|
|
54
|
+
url += "".concat(filter.property, "[").concat(filter.operator, "]").concat(filter.value) + (i < filters.length - 1 ? filtersLogicOperator : '');
|
|
55
|
+
}
|
|
56
|
+
url += '&';
|
|
57
|
+
}
|
|
58
|
+
if (expandAllContentLinks) {
|
|
59
|
+
url += "expandAllContentLinks=".concat(expandAllContentLinks, "&");
|
|
60
|
+
}
|
|
61
|
+
return url;
|
|
62
|
+
}
|
|
63
|
+
exports.buildPathUrl = buildPathUrl;
|
|
64
|
+
function buildAuthHeader(config) {
|
|
65
|
+
var defaultAuthHeaders = {
|
|
66
|
+
APIKey: config.apiKey,
|
|
67
|
+
Guid: ''
|
|
68
|
+
};
|
|
69
|
+
if (config.requiresGuidInHeaders) {
|
|
70
|
+
defaultAuthHeaders.Guid = config.guid;
|
|
71
|
+
}
|
|
72
|
+
return __assign(__assign({}, defaultAuthHeaders), config.headers);
|
|
73
|
+
}
|
|
74
|
+
exports.buildAuthHeader = buildAuthHeader;
|
|
75
|
+
function isHttps(url) {
|
|
76
|
+
if (!url.toLowerCase().startsWith('https://')) {
|
|
77
|
+
return false;
|
|
78
|
+
}
|
|
79
|
+
return true;
|
|
80
|
+
}
|
|
81
|
+
exports.isHttps = isHttps;
|
package/jest.config.js
ADDED
package/package.json
CHANGED
|
@@ -1,49 +1,50 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agility/content-fetch",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-rc1",
|
|
4
4
|
"description": "JavaScript library for the Agility Fetch API (node and browser)",
|
|
5
|
-
"main": "dist/agility-content-fetch.node.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"test": "nyc --reporter=html --reporter=text mocha --require @babel/register --recursive ./test/",
|
|
8
|
-
"test-r": "nyc --reporter=html --reporter=text mocha --require @babel/register --recursive ./test/getUrlRedirections.tests.js",
|
|
9
|
-
"test-cl": "nyc --reporter=html --reporter=text mocha --require @babel/register --recursive ./test/getContentList.tests.js",
|
|
10
|
-
"test-ci": "nyc --reporter=html --reporter=text mocha --require @babel/register --recursive ./test/getContentItem.tests.js",
|
|
11
|
-
"test-pg": "nyc --reporter=html --reporter=text mocha --require @babel/register --recursive ./test/getPage.tests.js",
|
|
12
|
-
"generate-docs": "node_modules/.bin/jsdoc --configure .jsdoc.json --verbose",
|
|
13
|
-
"build": "webpack --config webpack.config -p"
|
|
14
|
-
},
|
|
15
5
|
"repository": {
|
|
16
6
|
"type": "git",
|
|
17
|
-
"url": "
|
|
7
|
+
"url": "https://github.com/agility/agility-content-fetch-js-sdk.git"
|
|
8
|
+
},
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/agility/agility-content-fetch-js-sdk.git/issues"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://github.com/agility/agility-content-fetch-js-sdk.git#readme",
|
|
13
|
+
"main": "dist/index.js",
|
|
14
|
+
"scripts": {
|
|
15
|
+
"clean": "git clean -Xf && rm -rf ./dist",
|
|
16
|
+
"build": "tsc",
|
|
17
|
+
"prepare": "yarn build",
|
|
18
|
+
"test": "jest",
|
|
19
|
+
"generate-docs": "node_modules/.bin/jsdoc --configure .jsdoc.json --verbose"
|
|
18
20
|
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"typescript",
|
|
23
|
+
"agility",
|
|
24
|
+
"cms",
|
|
25
|
+
"headlesscms",
|
|
26
|
+
"fetch-sdk"
|
|
27
|
+
],
|
|
19
28
|
"author": "Agility CMS",
|
|
20
29
|
"contributors": [
|
|
30
|
+
"Kevin Tran",
|
|
21
31
|
"James Vidler",
|
|
22
32
|
"Joel Varty",
|
|
23
33
|
"Joshua Isaac"
|
|
24
34
|
],
|
|
25
35
|
"license": "MIT",
|
|
26
|
-
"
|
|
27
|
-
"
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@types/jest": "^29.5.3",
|
|
38
|
+
"axios": "^0.27.2",
|
|
39
|
+
"axios-cache-adapter": "^2.7.3",
|
|
40
|
+
"install": "^0.13.0",
|
|
41
|
+
"jest": "^29.6.2",
|
|
42
|
+
"npm": "^9.8.1",
|
|
43
|
+
"ts-jest": "^29.1.1",
|
|
44
|
+
"typescript": "^5.1.6"
|
|
28
45
|
},
|
|
29
|
-
"homepage": "https://github.com/agility/agility-content-fetch-js-sdk#readme",
|
|
30
46
|
"devDependencies": {
|
|
31
|
-
"@
|
|
32
|
-
"
|
|
33
|
-
"@babel/node": "^7.2.2",
|
|
34
|
-
"@babel/preset-env": "^7.3.4",
|
|
35
|
-
"@babel/register": "^7.0.0",
|
|
36
|
-
"agility-jsdoc-template": "1.0.3",
|
|
37
|
-
"babel-loader": "^8.0.5",
|
|
38
|
-
"chai": "^4.2.0",
|
|
39
|
-
"jsdoc": "^3.5.5",
|
|
40
|
-
"mocha": "^6.0.2",
|
|
41
|
-
"nyc": "^13.3.0",
|
|
42
|
-
"webpack": "^4.29.6",
|
|
43
|
-
"webpack-cli": "^3.2.3"
|
|
44
|
-
},
|
|
45
|
-
"dependencies": {
|
|
46
|
-
"axios": "^0.21.1",
|
|
47
|
-
"axios-cache-adapter": "^2.4.1"
|
|
47
|
+
"@types/node": "^18.11.9",
|
|
48
|
+
"agility-jsdoc-template": "1.0.3"
|
|
48
49
|
}
|
|
49
50
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import agilityFetch from '../src/index';
|
|
2
2
|
|
|
3
3
|
// Agility Instance = 'Headless Integration Testing' [Dev]
|
|
4
4
|
const guid = 'c741222b-1080-45f6-9a7f-982381c5a485';
|
|
@@ -6,8 +6,9 @@ const apiKeyFetch = 'UnitTestsFetch.2ace650991363fbcffa6776d411d1b0d616b8e3424ce
|
|
|
6
6
|
const apiKeyPreview = 'UnitTestsPreview.69e6bca345ced0b7ca5ab358b351ea5c870790a5945c25d749a865332906b124';
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
function createApiClient() {
|
|
10
|
-
|
|
9
|
+
export function createApiClient() {
|
|
10
|
+
console.log(`Creating API Client for ${guid}`);
|
|
11
|
+
var api = agilityFetch.getApi({
|
|
11
12
|
guid: guid,
|
|
12
13
|
apiKey: apiKeyFetch,
|
|
13
14
|
baseUrl: `https://api-dev.aglty.io/${guid}`
|
|
@@ -15,16 +16,18 @@ function createApiClient() {
|
|
|
15
16
|
return api;
|
|
16
17
|
}
|
|
17
18
|
|
|
18
|
-
function createApiClientWithNewCdn() {
|
|
19
|
-
|
|
19
|
+
export function createApiClientWithNewCdn() {
|
|
20
|
+
console.log(`Creating API Client for ${guid}`);
|
|
21
|
+
var api = agilityFetch.getApi({
|
|
20
22
|
guid: '2b64a4d8-d',
|
|
21
23
|
apiKey: 'JSSDK.e27e61f56d4c9b58ab98961aaf86a0d3c544dfe7d0eb385ece42123dad5d1af7'
|
|
22
24
|
});
|
|
23
25
|
return api;
|
|
24
26
|
}
|
|
25
27
|
|
|
26
|
-
function createCachedApiClient() {
|
|
27
|
-
|
|
28
|
+
export function createCachedApiClient() {
|
|
29
|
+
console.log(`Creating API Client for ${guid}`);
|
|
30
|
+
var api = agilityFetch.getApi({
|
|
28
31
|
guid: guid,
|
|
29
32
|
apiKey: apiKeyFetch,
|
|
30
33
|
caching: {
|
|
@@ -35,19 +38,13 @@ function createCachedApiClient() {
|
|
|
35
38
|
return api;
|
|
36
39
|
}
|
|
37
40
|
|
|
38
|
-
function createPreviewApiClient() {
|
|
39
|
-
|
|
41
|
+
export function createPreviewApiClient() {
|
|
42
|
+
console.log(`Creating API Client for ${guid}`);
|
|
43
|
+
var api = agilityFetch.getApi({
|
|
40
44
|
guid: guid,
|
|
41
45
|
apiKey: apiKeyPreview,
|
|
42
46
|
isPreview: true,
|
|
43
47
|
baseUrl: `https://api-dev.aglty.io/${guid}`
|
|
44
48
|
});
|
|
45
49
|
return api;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export {
|
|
49
|
-
createApiClient,
|
|
50
|
-
createCachedApiClient,
|
|
51
|
-
createPreviewApiClient,
|
|
52
|
-
createApiClientWithNewCdn
|
|
53
50
|
}
|
|
@@ -1,185 +1,153 @@
|
|
|
1
|
-
import
|
|
2
|
-
const assert = chai.assert;
|
|
3
|
-
const expect = chai.expect;
|
|
4
|
-
|
|
5
|
-
import agility from '../src/content-fetch'
|
|
6
|
-
|
|
1
|
+
import agilityFetch from '../src/index';
|
|
7
2
|
|
|
8
3
|
//This is a synchronous test
|
|
9
4
|
describe('getApi:', function() {
|
|
10
5
|
|
|
11
|
-
|
|
6
|
+
jest.setTimeout(120000);
|
|
12
7
|
|
|
13
|
-
it('should return an api client object with required params',
|
|
14
|
-
const api =
|
|
8
|
+
it('should return an api client object with required params', () => {
|
|
9
|
+
const api = agilityFetch.getApi({
|
|
15
10
|
guid: 'some-guid',
|
|
16
11
|
apiKey: 'some-access-token'
|
|
17
12
|
});
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
})
|
|
13
|
+
expect(typeof api).toBe("object");
|
|
14
|
+
});
|
|
21
15
|
|
|
22
|
-
it('should return an api client object in preview mode',
|
|
23
|
-
const api =
|
|
16
|
+
it('should return an api client object in preview mode', () => {
|
|
17
|
+
const api = agilityFetch.getApi({
|
|
24
18
|
guid: 'some-guid',
|
|
25
19
|
apiKey: 'some-access-token',
|
|
26
20
|
isPreview: true
|
|
27
21
|
});
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
})
|
|
22
|
+
expect(api.config.isPreview).toBe(true);
|
|
23
|
+
});
|
|
31
24
|
|
|
32
25
|
it('should contain method for getContentItem', function(done) {
|
|
33
|
-
const api =
|
|
26
|
+
const api = agilityFetch.getApi({
|
|
34
27
|
guid: 'some-guid',
|
|
35
28
|
apiKey: 'some-access-token'
|
|
36
29
|
});
|
|
37
|
-
|
|
30
|
+
expect(typeof(api.getContentItem)).toBe("function");
|
|
38
31
|
done();
|
|
39
32
|
})
|
|
40
33
|
|
|
41
34
|
it('should contain method for getContentList', function(done) {
|
|
42
|
-
const api =
|
|
35
|
+
const api = agilityFetch.getApi({
|
|
43
36
|
guid: 'some-guid',
|
|
44
37
|
apiKey: 'some-access-token'
|
|
45
38
|
});
|
|
46
|
-
|
|
39
|
+
expect(typeof(api.getContentList)).toBe("function");
|
|
47
40
|
done();
|
|
48
41
|
})
|
|
49
42
|
|
|
50
43
|
it('should contain method for getPage', function(done) {
|
|
51
|
-
const api =
|
|
44
|
+
const api = agilityFetch.getApi({
|
|
52
45
|
guid: 'some-guid',
|
|
53
46
|
apiKey: 'some-access-token'
|
|
54
47
|
});
|
|
55
|
-
|
|
48
|
+
expect(typeof(api.getPage)).toBe("function");
|
|
56
49
|
done();
|
|
57
50
|
})
|
|
58
51
|
|
|
59
52
|
it('should contain method for getSitemapFlat', function(done) {
|
|
60
|
-
const api =
|
|
53
|
+
const api = agilityFetch.getApi({
|
|
61
54
|
guid: 'some-guid',
|
|
62
55
|
apiKey: 'some-access-token'
|
|
63
56
|
});
|
|
64
|
-
|
|
57
|
+
expect(typeof(api.getSitemapFlat)).toBe("function");
|
|
65
58
|
done();
|
|
66
59
|
})
|
|
67
60
|
|
|
68
61
|
it('should contain method for getSitemapNested', function(done) {
|
|
69
|
-
const api =
|
|
62
|
+
const api = agilityFetch.getApi({
|
|
70
63
|
guid: 'some-guid',
|
|
71
64
|
apiKey: 'some-access-token'
|
|
72
65
|
});
|
|
73
|
-
|
|
66
|
+
expect(typeof(api.getSitemapNested)).toBe("function");
|
|
74
67
|
done();
|
|
75
68
|
})
|
|
76
69
|
|
|
77
70
|
it('should return an api client with the baseUrl overidden if passed-in correctly as params', function(done) {
|
|
78
71
|
const baseUrl = 'https://fake-url.agilitycms.com';
|
|
79
|
-
const api =
|
|
72
|
+
const api = agilityFetch.getApi({
|
|
80
73
|
guid: 'some-guid',
|
|
81
74
|
apiKey: 'some-access-token',
|
|
82
75
|
baseUrl: baseUrl
|
|
83
76
|
});
|
|
84
|
-
|
|
77
|
+
expect(api.config.baseUrl).toBe(baseUrl);
|
|
85
78
|
done();
|
|
86
79
|
});
|
|
87
80
|
|
|
88
81
|
it('should return an api client with new stackpath baseUrl based on canada', function(done) {
|
|
89
82
|
const baseUrl = 'https://api-ca.aglty.io/some-guid-c';
|
|
90
|
-
const api =
|
|
83
|
+
const api = agilityFetch.getApi({
|
|
91
84
|
guid: 'some-guid-c',
|
|
92
85
|
apiKey: 'some-access-token',
|
|
93
86
|
baseUrl: null
|
|
94
87
|
});
|
|
95
|
-
|
|
88
|
+
expect(api.config.baseUrl).toBe(baseUrl);
|
|
96
89
|
done();
|
|
97
90
|
});
|
|
98
91
|
|
|
99
92
|
it('should return an api client with new stackpath baseUrl based on usa', function(done) {
|
|
100
93
|
const baseUrl = 'https://api.aglty.io/some-guid-u';
|
|
101
|
-
const api =
|
|
94
|
+
const api = agilityFetch.getApi({
|
|
102
95
|
guid: 'some-guid-u',
|
|
103
96
|
apiKey: 'some-access-token',
|
|
104
97
|
baseUrl: null
|
|
105
98
|
});
|
|
106
|
-
|
|
99
|
+
expect(api.config.baseUrl).toBe(baseUrl);
|
|
107
100
|
done();
|
|
108
101
|
});
|
|
109
102
|
|
|
110
103
|
it('should return an api client with new stackpath baseUrl based on dev', function(done) {
|
|
111
104
|
const baseUrl = 'https://api-dev.aglty.io/some-guid-d';
|
|
112
|
-
const api =
|
|
105
|
+
const api = agilityFetch.getApi({
|
|
113
106
|
guid: 'some-guid-d',
|
|
114
107
|
apiKey: 'some-access-token',
|
|
115
108
|
baseUrl: null
|
|
116
109
|
});
|
|
117
|
-
|
|
110
|
+
expect(api.config.baseUrl).toBe(baseUrl);
|
|
118
111
|
done();
|
|
119
112
|
});
|
|
120
113
|
|
|
121
114
|
it('should return an api client with legacy stackpath baseUrl', function(done) {
|
|
122
115
|
const baseUrl = 'https://some-guid-api.agilitycms.cloud';
|
|
123
|
-
const api =
|
|
116
|
+
const api = agilityFetch.getApi({
|
|
124
117
|
guid: 'some-guid',
|
|
125
118
|
apiKey: 'some-access-token',
|
|
126
119
|
baseUrl: null
|
|
127
120
|
});
|
|
128
|
-
|
|
121
|
+
expect(api.config.baseUrl).toBe(baseUrl);
|
|
129
122
|
done();
|
|
130
123
|
});
|
|
131
124
|
|
|
132
125
|
// TESTING EXCEPTIONS ----------------------------------------------------
|
|
133
126
|
|
|
134
|
-
it('should throw an error if guid is not passed-in',
|
|
135
|
-
expect(
|
|
136
|
-
|
|
127
|
+
it('should throw an error if guid is not passed-in', () => {
|
|
128
|
+
expect(() => {
|
|
129
|
+
agilityFetch.getApi({
|
|
137
130
|
apiKey: 'some-access-token'
|
|
138
131
|
});
|
|
139
|
-
|
|
140
|
-
done();
|
|
141
|
-
}).to.throw( TypeError );
|
|
142
|
-
done();
|
|
143
|
-
});
|
|
144
|
-
|
|
145
|
-
it('should throw an error if apiKey is not passed-in', function(done) {
|
|
146
|
-
expect(function() {
|
|
147
|
-
var api = agility.getApi({
|
|
148
|
-
guid: 'some-guid',
|
|
149
|
-
});
|
|
150
|
-
assert.strictEqual(typeof(api), "object");
|
|
151
|
-
done();
|
|
152
|
-
}).to.throw( TypeError );
|
|
153
|
-
done();
|
|
132
|
+
}).toThrow(TypeError);
|
|
154
133
|
});
|
|
155
134
|
|
|
156
|
-
it('should throw an error if
|
|
157
|
-
expect(
|
|
158
|
-
|
|
135
|
+
it('should throw an error if apiKey is not passed-in', () => {
|
|
136
|
+
expect(() => {
|
|
137
|
+
agilityFetch.getApi({
|
|
159
138
|
guid: 'some-guid',
|
|
160
|
-
apiKey: 'some-access-token',
|
|
161
|
-
caching: {
|
|
162
|
-
maxAge: 'ten thousand miliseconds'
|
|
163
|
-
}
|
|
164
139
|
});
|
|
165
|
-
|
|
166
|
-
done();
|
|
167
|
-
}).to.throw( TypeError );
|
|
168
|
-
done();
|
|
140
|
+
}).toThrow(TypeError);
|
|
169
141
|
});
|
|
170
142
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
var api = agility.getApi({
|
|
143
|
+
it('should throw an error if baseUrl is passed-in and does not start with "https"', () => {
|
|
144
|
+
expect(() => {
|
|
145
|
+
agilityFetch.getApi({
|
|
175
146
|
guid: 'some-guid',
|
|
176
147
|
apiKey: 'some-access-token',
|
|
177
148
|
baseUrl: 'http://insecuresite.com'
|
|
178
149
|
});
|
|
179
|
-
|
|
180
|
-
done();
|
|
181
|
-
}).to.throw( TypeError );
|
|
182
|
-
done();
|
|
150
|
+
}).toThrow(TypeError);
|
|
183
151
|
});
|
|
184
152
|
|
|
185
153
|
});
|