We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a7073f commit c86a1c4Copy full SHA for c86a1c4
src/commands/optimize.ts
@@ -30,7 +30,9 @@ const SOCKET_REGISTRY_NAME = '@socketregistry'
30
31
const SOCKET_REGISTRY_MAJOR_VERSION = '^1'
32
33
-const allPackages = getManifestData('npm')!.map(({ 1: d }) => d.package)
+const allPackages = getManifestData('npm')!
34
+ .filter(({ 1: d }) => d.engines?.node?.startsWith('>=18'))
35
+ .map(({ 1: d }) => d.package)
36
37
type NpmOverrides = { [key: string]: string | StringKeyValueObject }
38
type PnpmOrYarnOverrides = { [key: string]: string }
0 commit comments