diff --git a/package-lock.json b/package-lock.json index eb8d6dc..fafe787 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.8", "license": "BSD-3-Clause", "dependencies": { - "isomorphic-fetch": "^3.0.0", + "isomorphic-fetch": "^1.7.0", "jsonata": "^1.8.4", "jsonwebtoken": "^9.0.2", "url-search-params-polyfill": "^7.0.0" @@ -49,12 +49,12 @@ } }, "node_modules/isomorphic-fetch": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-3.0.0.tgz", - "integrity": "sha512-qvUtwJ3j6qwsF3jLxkZ72qCgjMysPzDfeV240JHiGZsANBYd+EEuu35v7dfrJ9Up0Ak07D7GGSkGhCHTqg/5wA==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-1.7.0.tgz", + "integrity": "sha512-810ZxUH/dOsq84SgdCE+P73I6mZtWhntElwd9lDTophDtU5/j1IpaR9TLdjwNPOGca1Zm2VxtpzAL8E9AjluPg==", "dependencies": { - "node-fetch": "^2.6.1", - "whatwg-fetch": "^3.4.1" + "whatwg-fetch": "git+https://github.com/matthew-andrews/fetch#ie9", + "xmlhttprequest": "git+https://github.com/matthew-andrews/node-XMLHttpRequest" } }, "node_modules/jsonata": { @@ -145,25 +145,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" }, - "node_modules/node-fetch": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.7.0.tgz", - "integrity": "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A==", - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, "node_modules/safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", @@ -213,11 +194,6 @@ "source-map": "^0.6.0" } }, - "node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" - }, "node_modules/typescript": { "version": "3.9.10", "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.10.tgz", @@ -236,23 +212,15 @@ "resolved": "https://registry.npmjs.org/url-search-params-polyfill/-/url-search-params-polyfill-7.0.1.tgz", "integrity": "sha512-bAw7L2E+jn9XHG5P9zrPnHdO0yJub4U+yXJOdpcpkr7OBd9T8oll4lUos0iSGRcDvfZoLUKfx9a6aNmIhJ4+mQ==" }, - "node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==" - }, "node_modules/whatwg-fetch": { - "version": "3.6.20", - "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz", - "integrity": "sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg==" + "version": "0.7.0", + "resolved": "git+ssh://git@github.com/matthew-andrews/fetch.git#8ebf5cbbc1e8496bf5dc4c48fd38af349106787d" }, - "node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" + "node_modules/xmlhttprequest": { + "version": "1.7.0", + "resolved": "git+ssh://git@github.com/matthew-andrews/node-XMLHttpRequest.git#79a415ca98d689651e4a9f6a1ec0fe71d416b120", + "engines": { + "node": ">=0.4.0" } } } diff --git a/package.json b/package.json index b1c47c8..25661ab 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "lamp": "cli.js" }, "dependencies": { - "isomorphic-fetch": "^3.0.0", + "isomorphic-fetch": "^1.7.0", "jsonata": "^1.8.4", "jsonwebtoken": "^9.0.2", "url-search-params-polyfill": "^7.0.0"