diff --git a/scripts/sample-images/package-lock.json b/scripts/sample-images/package-lock.json index 7f1193a114b..905bf5e6387 100644 --- a/scripts/sample-images/package-lock.json +++ b/scripts/sample-images/package-lock.json @@ -11,23 +11,10 @@ "dependencies": { "es6-promise": "^4.2.8", "isomorphic-fetch": "^3.0.0", - "unsplash-js": "^7.0.15" + "unsplash-js": "^8.0.0" }, "devDependencies": {} }, - "node_modules/@types/content-type": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/@types/content-type/-/content-type-1.1.5.tgz", - "integrity": "sha512-dgMN+syt1xb7Hk8LU6AODOfPlvz5z1CbXpPuJE5ZrX9STfBOIXF09pEB8N7a97WT9dbngt3ksDCm6GW6yMrxfQ==" - }, - "node_modules/content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", - "engines": { - "node": ">= 0.6" - } - }, "node_modules/es6-promise": { "version": "4.2.8", "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", @@ -61,21 +48,33 @@ } } }, + "node_modules/openapi-fetch": { + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/openapi-fetch/-/openapi-fetch-0.17.0.tgz", + "integrity": "sha512-PsbZR1wAPcG91eEthKhN+Zn92FMHxv+/faECIwjXdxfTODGSGegYv0sc1Olz+HYPvKOuoXfp+0pA2XVt2cI0Ig==", + "dependencies": { + "openapi-typescript-helpers": "^0.1.0" + } + }, + "node_modules/openapi-typescript-helpers": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/openapi-typescript-helpers/-/openapi-typescript-helpers-0.1.0.tgz", + "integrity": "sha512-OKTGPthhivLw/fHz6c3OPtg72vi86qaMlqbJuVJ23qOvQ+53uw1n7HdmkJFibloF7QEjDrDkzJiOJuockM/ljw==" + }, "node_modules/tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, "node_modules/unsplash-js": { - "version": "7.0.15", - "resolved": "https://registry.npmjs.org/unsplash-js/-/unsplash-js-7.0.15.tgz", - "integrity": "sha512-WGqKp9wl2m2tAUPyw2eMZs/KICR+A52tCaRapzVXWxkA4pjHqsaGwiJXTEW7hBy4Pu0QmP6KxTt2jST3tluawA==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/unsplash-js/-/unsplash-js-8.0.0.tgz", + "integrity": "sha512-WJQD4lIcwv66+hhSvcX4j1XsHl0jTEhEHXrChBJnMvMnmPV5nvLcX2hh50h7hMYlwGh5sRM/LUO++xUH0Y+s0Q==", "dependencies": { - "@types/content-type": "^1.1.3", - "content-type": "^1.0.4" + "openapi-fetch": "^0.17.0" }, "engines": { - "node": ">=10" + "node": ">=20" } }, "node_modules/webidl-conversions": { @@ -99,16 +98,6 @@ } }, "dependencies": { - "@types/content-type": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/@types/content-type/-/content-type-1.1.5.tgz", - "integrity": "sha512-dgMN+syt1xb7Hk8LU6AODOfPlvz5z1CbXpPuJE5ZrX9STfBOIXF09pEB8N7a97WT9dbngt3ksDCm6GW6yMrxfQ==" - }, - "content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==" - }, "es6-promise": { "version": "4.2.8", "resolved": "https://registry.npmjs.org/es6-promise/-/es6-promise-4.2.8.tgz", @@ -131,18 +120,30 @@ "whatwg-url": "^5.0.0" } }, + "openapi-fetch": { + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/openapi-fetch/-/openapi-fetch-0.17.0.tgz", + "integrity": "sha512-PsbZR1wAPcG91eEthKhN+Zn92FMHxv+/faECIwjXdxfTODGSGegYv0sc1Olz+HYPvKOuoXfp+0pA2XVt2cI0Ig==", + "requires": { + "openapi-typescript-helpers": "^0.1.0" + } + }, + "openapi-typescript-helpers": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/openapi-typescript-helpers/-/openapi-typescript-helpers-0.1.0.tgz", + "integrity": "sha512-OKTGPthhivLw/fHz6c3OPtg72vi86qaMlqbJuVJ23qOvQ+53uw1n7HdmkJFibloF7QEjDrDkzJiOJuockM/ljw==" + }, "tr46": { "version": "0.0.3", "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==" }, "unsplash-js": { - "version": "7.0.15", - "resolved": "https://registry.npmjs.org/unsplash-js/-/unsplash-js-7.0.15.tgz", - "integrity": "sha512-WGqKp9wl2m2tAUPyw2eMZs/KICR+A52tCaRapzVXWxkA4pjHqsaGwiJXTEW7hBy4Pu0QmP6KxTt2jST3tluawA==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/unsplash-js/-/unsplash-js-8.0.0.tgz", + "integrity": "sha512-WJQD4lIcwv66+hhSvcX4j1XsHl0jTEhEHXrChBJnMvMnmPV5nvLcX2hh50h7hMYlwGh5sRM/LUO++xUH0Y+s0Q==", "requires": { - "@types/content-type": "^1.1.3", - "content-type": "^1.0.4" + "openapi-fetch": "^0.17.0" } }, "webidl-conversions": { diff --git a/scripts/sample-images/package.json b/scripts/sample-images/package.json index 3a9c5911828..8bb56a4cb61 100644 --- a/scripts/sample-images/package.json +++ b/scripts/sample-images/package.json @@ -6,7 +6,7 @@ "dependencies": { "es6-promise": "^4.2.8", "isomorphic-fetch": "^3.0.0", - "unsplash-js": "^7.0.15" + "unsplash-js": "^8.0.0" }, "devDependencies": {}, "scripts": {