sanity-io / plugin-kit

Enhanced Sanity.io plugin development experience.
MIT License
76 stars 7 forks source link

fix(deps): Update dependency @sanity/pkg-utils to v4 - autoclosed #159

Closed renovate[bot] closed 7 months ago

renovate[bot] commented 7 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sanity/pkg-utils 3.3.8 -> 4.4.4 age adoption passing confidence

Release Notes

sanity-io/pkg-utils (@​sanity/pkg-utils) ### [`v4.4.4`](https://togithub.com/sanity-io/pkg-utils/compare/d5cd4218f8aac97d027208d9969061038bdc5586...86be838419b2de702135cc0107bf99f503e1fe07) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/d5cd4218f8aac97d027208d9969061038bdc5586...86be838419b2de702135cc0107bf99f503e1fe07) ### [`v4.4.3`](https://togithub.com/sanity-io/pkg-utils/compare/7af6ff493fe931ae6f55c85055a71e63a8610fb4...d5cd4218f8aac97d027208d9969061038bdc5586) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/7af6ff493fe931ae6f55c85055a71e63a8610fb4...d5cd4218f8aac97d027208d9969061038bdc5586) ### [`v4.4.2`](https://togithub.com/sanity-io/pkg-utils/compare/v4.4.1...7af6ff493fe931ae6f55c85055a71e63a8610fb4) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.4.1...7af6ff493fe931ae6f55c85055a71e63a8610fb4) ### [`v4.4.1`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#441-2024-03-06) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.4.0...v4.4.1) ##### Bug Fixes - **deps:** update dependency astro to ^4.4.10 ([#​558](https://togithub.com/sanity-io/pkg-utils/issues/558)) ([6f2d2b6](https://togithub.com/sanity-io/pkg-utils/commit/6f2d2b644016b55ea92fc7f8609c3493a3d505a5)) - **deps:** update dependency rollup to ^4.12.1 ([#​565](https://togithub.com/sanity-io/pkg-utils/issues/565)) ([85d3255](https://togithub.com/sanity-io/pkg-utils/commit/85d3255a74d2b59b3c5b91c7368811d48ee16263)) ### [`v4.4.0`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#440-2024-03-04) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.3.1...v4.4.0) ##### Features - add support for svelte ([#​546](https://togithub.com/sanity-io/pkg-utils/issues/546)) ([d765af0](https://togithub.com/sanity-io/pkg-utils/commit/d765af0d2496d087a878a707df9937fcce6db844)) ##### Bug Fixes - **deps:** update dependency [@​microsoft/api-extractor](https://togithub.com/microsoft/api-extractor) to ^7.42.3 ([#​543](https://togithub.com/sanity-io/pkg-utils/issues/543)) ([9ad938c](https://togithub.com/sanity-io/pkg-utils/commit/9ad938ca284a42357b7bca4ba744ed17849bbc68)) ### [`v4.3.1`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#431-2024-03-01) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.3.0...v4.3.1) ##### Bug Fixes - **deps:** update dependency [@​microsoft/api-extractor](https://togithub.com/microsoft/api-extractor) to ^7.42.1 ([#​538](https://togithub.com/sanity-io/pkg-utils/issues/538)) ([841b846](https://togithub.com/sanity-io/pkg-utils/commit/841b846a2672654c0ffc16cfbedb635ed42046d9)) ### [`v4.3.0`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#430-2024-02-26) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.2.11...v4.3.0) ##### Features - make `[hash]` in chunk file names opt-in ([5181ac4](https://togithub.com/sanity-io/pkg-utils/commit/5181ac41c7d1cc5934f585a0149be2041aa4cc09)) ##### Bug Fixes - **deps:** update dependency [@​microsoft/api-extractor](https://togithub.com/microsoft/api-extractor) to ^7.41.0 ([#​531](https://togithub.com/sanity-io/pkg-utils/issues/531)) ([e982e76](https://togithub.com/sanity-io/pkg-utils/commit/e982e7621412317d448ce371b41ede210b8cd8a2)) ### [`v4.2.11`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#4211-2024-02-23) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.2.10...v4.2.11) ##### Bug Fixes - **deps:** update dependency prettier-plugin-packagejson to ^2.4.12 ([#​525](https://togithub.com/sanity-io/pkg-utils/issues/525)) ([502e2a5](https://togithub.com/sanity-io/pkg-utils/commit/502e2a5f96714f31fa27c64b6d1cf4655afba005)) ### [`v4.2.10`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#4210-2024-02-22) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.2.9...v4.2.10) ##### Bug Fixes - **deps:** update dependency [@​microsoft/api-extractor](https://togithub.com/microsoft/api-extractor) to ^7.40.6 ([#​521](https://togithub.com/sanity-io/pkg-utils/issues/521)) ([50bde33](https://togithub.com/sanity-io/pkg-utils/commit/50bde33ee8f7f8465b1edeba24196f5c6bfa434a)) ### [`v4.2.9`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#429-2024-02-21) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.2.8...v4.2.9) ##### Bug Fixes - only minifyInternalExports when compact is true ([8a9d83d](https://togithub.com/sanity-io/pkg-utils/commit/8a9d83dfa55ea97b991415381ede5f418079e45d)) ### [`v4.2.8`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#428-2024-02-21) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.2.7...v4.2.8) ##### Bug Fixes - always mark template literal as supported ([f9b809e](https://togithub.com/sanity-io/pkg-utils/commit/f9b809e282b59d884564b4e727411f2125489a7a)) - **deps:** update dependency [@​sanity/browserslist-config](https://togithub.com/sanity/browserslist-config) to ^1.0.3 ([7b438b4](https://togithub.com/sanity-io/pkg-utils/commit/7b438b4aa81b01b1571f91d5e1639e0093e4e75e)) - ensure browserslist defaults are set ([271518f](https://togithub.com/sanity-io/pkg-utils/commit/271518f5504eb30b994ae7f0e0de52d1adbb6cb0)) ### [`v4.2.7`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#427-2024-02-21) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.2.6...v4.2.7) ##### Bug Fixes - minify syntax by default ([09ffc73](https://togithub.com/sanity-io/pkg-utils/commit/09ffc73a7ee665414239dedc0df34c1ed76fcde2)) ### [`v4.2.6`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#426-2024-02-21) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.2.5...v4.2.6) ##### Bug Fixes - set terser compress directives to false ([b707e4d](https://togithub.com/sanity-io/pkg-utils/commit/b707e4df42eca5422f9f4c544e65b9db07b1149d)) ### [`v4.2.5`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#425-2024-02-21) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.2.4...v4.2.5) ##### Bug Fixes - **deps:** update dependency [@​microsoft/api-extractor](https://togithub.com/microsoft/api-extractor) to ^7.40.5 ([#​513](https://togithub.com/sanity-io/pkg-utils/issues/513)) ([0a24a40](https://togithub.com/sanity-io/pkg-utils/commit/0a24a40560549c156ded3d25ea893b3b45980c68)) - enable esbuild syntax minifier ([da6f2f4](https://togithub.com/sanity-io/pkg-utils/commit/da6f2f4d731effe0d77671bb1dec6f3739e9fe2c)) - enable esbuild tree shaking ([51ff892](https://togithub.com/sanity-io/pkg-utils/commit/51ff892b3ff6bbfa778c416bb3d24a6f3ed66bc8)) ### [`v4.2.4`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#424-2024-02-20) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.2.3...v4.2.4) ##### Bug Fixes - **deps:** update dependency [@​microsoft/api-extractor](https://togithub.com/microsoft/api-extractor) to ^7.40.2 ([#​504](https://togithub.com/sanity-io/pkg-utils/issues/504)) ([e66b744](https://togithub.com/sanity-io/pkg-utils/commit/e66b7442f868e044dc6a7235183aca430ac74ee7)) - **deps:** update dependency [@​microsoft/api-extractor](https://togithub.com/microsoft/api-extractor) to ^7.40.3 ([#​508](https://togithub.com/sanity-io/pkg-utils/issues/508)) ([df20db0](https://togithub.com/sanity-io/pkg-utils/commit/df20db00f140feb59fff76567e3a10e8d96ec655)) - **deps:** update dependency [@​sanity/browserslist-config](https://togithub.com/sanity/browserslist-config) to ^1.0.2 ([d58beee](https://togithub.com/sanity-io/pkg-utils/commit/d58beeeb2b9060436059f42eb9d6743cd521c181)) - **deps:** update dependency esbuild to ^0.20.1 ([#​509](https://togithub.com/sanity-io/pkg-utils/issues/509)) ([f062233](https://togithub.com/sanity-io/pkg-utils/commit/f062233be6e0108c39d478826edca771980000e2)) ### [`v4.2.3`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#423-2024-02-16) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.2.2...v4.2.3) ##### Bug Fixes - **deps:** update dependency prettier-plugin-packagejson to ^2.4.11 ([#​497](https://togithub.com/sanity-io/pkg-utils/issues/497)) ([e938910](https://togithub.com/sanity-io/pkg-utils/commit/e9389108add9f0b7b5068b8b053c398f02d09a66)) ### [`v4.2.2`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#422-2024-02-15) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.2.0...v4.2.2) ##### Bug Fixes - **deps:** update dependency astro to ^4.3.6 ([#​485](https://togithub.com/sanity-io/pkg-utils/issues/485)) ([3c9cc66](https://togithub.com/sanity-io/pkg-utils/commit/3c9cc66e85b8958502483b7d3b3bca98db753c0c)) - **deps:** update dependency browserslist to ^4.23.0 ([#​492](https://togithub.com/sanity-io/pkg-utils/issues/492)) ([22078df](https://togithub.com/sanity-io/pkg-utils/commit/22078dfffa4bccf581fcb8a01c66ca14d4fce70e)) - **deps:** update dependency rollup to ^4.11.0 ([#​493](https://togithub.com/sanity-io/pkg-utils/issues/493)) ([c01619f](https://togithub.com/sanity-io/pkg-utils/commit/c01619fbc2926e5041b19ac5fa27fa7931d4035f)) ### [`v4.2.0`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#420-2024-02-09) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.1.5...v4.2.0) ##### Features - improve treeshaking ([#​463](https://togithub.com/sanity-io/pkg-utils/issues/463)) ([91831a3](https://togithub.com/sanity-io/pkg-utils/commit/91831a37b7d0a87d78a727ccb39d1e4593fbd172)) ### [`v4.1.5`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#415-2024-02-08) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.1.4...v4.1.5) ##### Bug Fixes - **deps:** update dependency [@​microsoft/api-extractor](https://togithub.com/microsoft/api-extractor) to ^7.40.1 ([#​470](https://togithub.com/sanity-io/pkg-utils/issues/470)) ([566c8b9](https://togithub.com/sanity-io/pkg-utils/commit/566c8b977721e039c9ede51db0190b8e062e1aa2)) ### [`v4.1.4`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#414-2024-02-07) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.1.3...v4.1.4) ##### Bug Fixes - **deps:** update dependency [@​microsoft/api-extractor](https://togithub.com/microsoft/api-extractor) to ^7.40.0 ([#​464](https://togithub.com/sanity-io/pkg-utils/issues/464)) ([f2af378](https://togithub.com/sanity-io/pkg-utils/commit/f2af378cb21f0f7afdfefc211475838b52ab23f1)) - **deps:** update dependency [@​sanity/browserslist-config](https://togithub.com/sanity/browserslist-config) to ^1.0.1 ([#​468](https://togithub.com/sanity-io/pkg-utils/issues/468)) ([95d28f2](https://togithub.com/sanity-io/pkg-utils/commit/95d28f243ea9188bb3a96dcf48d9cc5be64d408b)) - **deps:** update dependency chokidar to ^3.6.0 ([#​465](https://togithub.com/sanity-io/pkg-utils/issues/465)) ([ec07deb](https://togithub.com/sanity-io/pkg-utils/commit/ec07debbe5bb9d7fe3ec8683a8507b907dc28df9)) ### [`v4.1.3`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#413-2024-02-06) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.1.2...v4.1.3) ##### Bug Fixes - **deps:** update dependency [@​microsoft/api-extractor](https://togithub.com/microsoft/api-extractor) to ^7.39.5 ([#​459](https://togithub.com/sanity-io/pkg-utils/issues/459)) ([7cbb1ec](https://togithub.com/sanity-io/pkg-utils/commit/7cbb1ecb375ca204943b8c8d066c595fc80a963a)) ### [`v4.1.2`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#412-2024-02-01) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.1.1...v4.1.2) ##### Bug Fixes - **deps:** update dependency prettier-plugin-packagejson to ^2.4.10 ([#​446](https://togithub.com/sanity-io/pkg-utils/issues/446)) ([269ca72](https://togithub.com/sanity-io/pkg-utils/commit/269ca72a0a5a75847c028b511f365815bf5cc9bf)) ### [`v4.1.1`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#411-2024-01-29) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.1.0...v4.1.1) ##### Bug Fixes - **deps:** update dependency browserslist to ^4.22.3 ([#​438](https://togithub.com/sanity-io/pkg-utils/issues/438)) ([82de0e7](https://togithub.com/sanity-io/pkg-utils/commit/82de0e7108cf3389124b516776c85c1f5318a60b)) - **deps:** update dependency esbuild to ^0.20.0 ([#​439](https://togithub.com/sanity-io/pkg-utils/issues/439)) ([679c7c9](https://togithub.com/sanity-io/pkg-utils/commit/679c7c9836f1c3515c20faa3ebb30e1857337919)) ### [`v4.1.0`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#410-2024-01-25) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v4.0.0...v4.1.0) ##### Features - add support for shared browerslist configs ([#​430](https://togithub.com/sanity-io/pkg-utils/issues/430)) ([d35abef](https://togithub.com/sanity-io/pkg-utils/commit/d35abefa1aef3ea7f9d86b8a6d4eb82b1b27b87a)) ##### Bug Fixes - use `browserslist-to-esbuild` ([#​426](https://togithub.com/sanity-io/pkg-utils/issues/426)) ([fe3a8d9](https://togithub.com/sanity-io/pkg-utils/commit/fe3a8d9583ad6be7afc228412bcd6cd56d6332e7)) ### [`v4.0.0`](https://togithub.com/sanity-io/pkg-utils/blob/HEAD/CHANGELOG.md#400-2024-01-25) [Compare Source](https://togithub.com/sanity-io/pkg-utils/compare/v3.3.8...v4.0.0) ##### ⚠ BREAKING CHANGES - only run babel if a custom babel plugin is specified - remove `@babel/preset-env` ##### Bug Fixes - **deps:** update dependency [@​microsoft/api-extractor](https://togithub.com/microsoft/api-extractor) to ^7.39.4 ([#​418](https://togithub.com/sanity-io/pkg-utils/issues/418)) ([31cd33f](https://togithub.com/sanity-io/pkg-utils/commit/31cd33f3817cdde9f8d2e4e1110026368e3d26be)) - **deps:** update dependency esbuild to ^0.19.12 ([#​422](https://togithub.com/sanity-io/pkg-utils/issues/422)) ([565e307](https://togithub.com/sanity-io/pkg-utils/commit/565e307ed5b69ef0a36f404a0c7aa597d2ac5f8b)) - **deps:** update dependency jsonc-parser to ^3.2.1 ([#​423](https://togithub.com/sanity-io/pkg-utils/issues/423)) ([63d307a](https://togithub.com/sanity-io/pkg-utils/commit/63d307aef78f1faa33c87c383139e8656936fbb4)) - only run babel if a custom babel plugin is specified ([6436993](https://togithub.com/sanity-io/pkg-utils/commit/643699383b60de54194b0d7719387b8f41444e09)) - remove `@babel/preset-env` ([276042e](https://togithub.com/sanity-io/pkg-utils/commit/276042e232feccb65b9a422da8bff58258055c11))

Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here

socket-security[bot] commented 7 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@sanity/pkg-utils@4.4.4 filesystem Transitive: environment, eval, network, shell, unsafe +77 276 MB stipsan

🚮 Removed packages: npm/@sanity/pkg-utils@3.3.8, npm/@types/tap@15.0.11, npm/@typescript-eslint/eslint-plugin@6.21.0, npm/@typescript-eslint/parser@6.21.0

View full report↗︎

socket-security[bot] commented 7 months ago

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/esbuild@0.20.2

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/esbuild@0.20.2