From d8be9cb7a3560b10312d96716ffcc3a1c733e326 Mon Sep 17 00:00:00 2001 From: Stephen Fraser Date: Mon, 23 May 2022 13:46:55 +0100 Subject: [PATCH] Fixed lodash import --- package-lock.json | 134 ++------------------------------------- pkg-tests/index.umd.html | 10 ++- tsconfig.json | 1 + 3 files changed, 17 insertions(+), 128 deletions(-) diff --git a/package-lock.json b/package-lock.json index c4aef9fb..664b6f4a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4,82 +4,16 @@ "lockfileVersion": 1, "requires": true, "dependencies": { - "@babel/runtime": { - "version": "7.17.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.0.tgz", - "integrity": "sha512-etcO/ohMNaNA2UBdaXBBSX/3aEzFMRrVfaPv8Ptc0k+cWpWW0QFiGZ2XnVqQZI1Cf734LbPGmqBKWESfW4x/dQ==", - "requires": { - "regenerator-runtime": "^0.13.4" - } - }, "@edsilv/http-status-codes": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/@edsilv/http-status-codes/-/http-status-codes-1.0.3.tgz", "integrity": "sha512-HLK2FS5sZqxPqD53D6hhZxC6C8THTVwlyZDZ7J0iWsrB8JmMA69m/CQuNKZc1kki9WSVeck2fXna26NL0SE7cg==" }, - "@iiif/parser": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@iiif/parser/-/parser-1.0.0.tgz", - "integrity": "sha512-QX9bkBW13NOl4z4HONckSrk2qatcWrqItf/cLitW1vNwDj9SxTk5Qj0/8E6bbZROh/uRmweeUJICXozbvshVUQ==", - "requires": { - "@iiif/presentation-2": "^1.0.0", - "@iiif/presentation-3": "^1.0.0", - "@types/geojson": "^7946.0.8" - } - }, - "@iiif/presentation-2": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@iiif/presentation-2/-/presentation-2-1.0.0.tgz", - "integrity": "sha512-HZdjlvPwxRweO4ZjV3uvy6r4Rm/iE+CefRHVBZ0x5irEUZuUKEQySMdFqFJpV2/kDFTlGHcZPgbkTbNeEtfLIA==", - "requires": { - "@iiif/presentation-3": "1.0.0" - } - }, - "@iiif/presentation-3": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@iiif/presentation-3/-/presentation-3-1.0.0.tgz", - "integrity": "sha512-EHiqGTMZx+3EDd6oYRzmJ7c0d9bTJA7NdkOXN0xOQlCbgbBUB2xeBFbacACqW6Rh04+nplv046C392Z+QoUCBg==", - "requires": { - "@types/geojson": "^7946.0.7" - } - }, - "@iiif/vault": { - "version": "0.9.5", - "resolved": "https://registry.npmjs.org/@iiif/vault/-/vault-0.9.5.tgz", - "integrity": "sha512-WnjlAbk7Yux/sZeV6qDWiz+HAzLY0tPv+D2f09IBAfmXoApC6pikT78c7EWkEox63NWxQBnHhL1djKvBtL12XQ==", - "requires": { - "@iiif/parser": "^1.0.0", - "@iiif/presentation-2": "^1.0.0", - "@iiif/presentation-3": "^1.0.0", - "mitt": "^3.0.0", - "node-fetch": "^3.1.1", - "redux": "^4.1.2", - "tiny-invariant": "^1.2.0", - "typesafe-actions": "^5.1.0" - }, - "dependencies": { - "node-fetch": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.0.tgz", - "integrity": "sha512-8xeimMwMItMw8hRrOl3C9/xzU49HV/yE6ORew/l+dxWimO5A4Ra8ld2rerlJvc/O7et5Z1zrWsPX43v1QBjCxw==", - "requires": { - "data-uri-to-buffer": "^4.0.0", - "fetch-blob": "^3.1.4", - "formdata-polyfill": "^4.0.10" - } - } - } - }, "@iiif/vocabulary": { "version": "1.0.20", "resolved": "https://registry.npmjs.org/@iiif/vocabulary/-/vocabulary-1.0.20.tgz", "integrity": "sha512-cL30/fL+7D+3tJvgGNZE6jWWGe/03ooEmwIfZEezbSE8mNzJB1pKthOrERKbeoMPdk1Qc++ySPgbgeawtYiFzA==" }, - "@types/geojson": { - "version": "7946.0.8", - "resolved": "https://registry.npmjs.org/@types/geojson/-/geojson-7946.0.8.tgz", - "integrity": "sha512-1rkryxURpr6aWP7R786/UQOkJ3PcpQiWkAXBmdWc7ryFWqN6a4xfK7BtjXvFBKO9LjQ+MWQSWxYeZX1OApnArA==" - }, "@types/minimatch": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.3.tgz", @@ -1178,11 +1112,6 @@ "type": "^1.0.1" } }, - "data-uri-to-buffer": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/data-uri-to-buffer/-/data-uri-to-buffer-4.0.0.tgz", - "integrity": "sha512-Vr3mLBA8qWmcuschSLAOogKgQ/Jwxulv3RNE4FXnYWRGujzrRWQI4m12fQqRkwX06C0KanhLr4hK+GydchZsaA==" - }, "date-now": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz", @@ -1693,15 +1622,6 @@ "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", "dev": true }, - "fetch-blob": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/fetch-blob/-/fetch-blob-3.1.4.tgz", - "integrity": "sha512-Eq5Xv5+VlSrYWEqKrusxY1C3Hm/hjeAsCGVG3ft7pZahlUAChpGZT/Ms1WmSLnEAisEXszjzu/s+ce6HZB2VHA==", - "requires": { - "node-domexception": "^1.0.0", - "web-streams-polyfill": "^3.0.3" - } - }, "figgy-pudding": { "version": "3.5.1", "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.1.tgz", @@ -1815,14 +1735,6 @@ "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", "dev": true }, - "formdata-polyfill": { - "version": "4.0.10", - "resolved": "https://registry.npmjs.org/formdata-polyfill/-/formdata-polyfill-4.0.10.tgz", - "integrity": "sha512-buewHzMvYL29jdeQTVILecSaZKnt/RJWjoZCF5OW60Z67/GmSLBkOFM7qh1PI3zFNtJbaZL5eQu1vLfazOwj4g==", - "requires": { - "fetch-blob": "^3.1.2" - } - }, "fragment-cache": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", @@ -2501,7 +2413,13 @@ "lodash": { "version": "4.17.21", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", + "dev": true + }, + "lodash-es": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.21.tgz", + "integrity": "sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==" }, "log-symbols": { "version": "2.2.0", @@ -2717,11 +2635,6 @@ "through2": "^2.0.0" } }, - "mitt": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.0.tgz", - "integrity": "sha512-7dX2/10ITVyqh4aOSVI9gdape+t9l2/8QxHrFmUXu4EEUpdlxl6RudZUPZoc+zuY2hk1j7XxVroIVIan/pD/SQ==" - }, "mixin-deep": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", @@ -2940,11 +2853,6 @@ "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", "dev": true }, - "node-domexception": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/node-domexception/-/node-domexception-1.0.0.tgz", - "integrity": "sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==" - }, "node-fetch": { "version": "2.6.1", "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", @@ -3536,19 +3444,6 @@ "resolve": "^1.1.6" } }, - "redux": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/redux/-/redux-4.1.2.tgz", - "integrity": "sha512-SH8PglcebESbd/shgf6mii6EIoRM0zrQyjcuQ+ojmfxjTtE0z9Y8pa62iA/OJ58qjP6j27uyW4kUF4jl/jd6sw==", - "requires": { - "@babel/runtime": "^7.9.2" - } - }, - "regenerator-runtime": { - "version": "0.13.9", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz", - "integrity": "sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA==" - }, "regex-not": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", @@ -4283,11 +4178,6 @@ "setimmediate": "^1.0.4" } }, - "tiny-invariant": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.2.0.tgz", - "integrity": "sha512-1Uhn/aqw5C6RI4KejVeTg6mIS7IqxnLJ8Mv2tV5rTc0qWobay7pDUz6Wi392Cnc8ak1H0F2cjoRzb2/AW4+Fvg==" - }, "to-arraybuffer": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", @@ -4426,11 +4316,6 @@ "underscore": "^1.9.1" } }, - "typesafe-actions": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/typesafe-actions/-/typesafe-actions-5.1.0.tgz", - "integrity": "sha512-bna6Yi1pRznoo6Bz1cE6btB/Yy8Xywytyfrzu/wc+NFW3ZF0I+2iCGImhBsoYYCOWuICtRO4yHcnDlzgo1AdNg==" - }, "typescript": { "version": "3.6.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.6.3.tgz", @@ -4714,11 +4599,6 @@ "neo-async": "^2.5.0" } }, - "web-streams-polyfill": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/web-streams-polyfill/-/web-streams-polyfill-3.2.0.tgz", - "integrity": "sha512-EqPmREeOzttaLRm5HS7io98goBgZ7IVz79aDvqjD0kYXLtFZTc0T/U6wHTPKyIjb+MdN7DFIIX6hgdBEpWmfPA==" - }, "webpack": { "version": "4.41.0", "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.41.0.tgz", diff --git a/pkg-tests/index.umd.html b/pkg-tests/index.umd.html index e9290f87..1461ac5d 100644 --- a/pkg-tests/index.umd.html +++ b/pkg-tests/index.umd.html @@ -10,7 +10,15 @@ diff --git a/tsconfig.json b/tsconfig.json index 20a01d51..1fc52da4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,6 +15,7 @@ "outDir": "dist-commonjs", "skipLibCheck": true, "sourceMap": true, + "esModuleInterop": true, "strictNullChecks": true, "suppressImplicitAnyIndexErrors": true, "target": "es5"