Skip to content

Commit dc02fb2

Browse files
committed
Update LavaMoat policies
1 parent 2236d77 commit dc02fb2

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

lavamoat/build-system/policy.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@
806806
"@babel/core>@babel/template": true,
807807
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/types": true,
808808
"nock>debug": true,
809-
"lavamoat>lavamoat-tofu>@babel/traverse>globals": true
809+
"@babel/preset-env>@babel/plugin-transform-classes>globals": true
810810
}
811811
},
812812
"@babel/core>@babel/types": {
@@ -905,7 +905,7 @@
905905
"eslint-plugin-prettier": true,
906906
"eslint-plugin-react": true,
907907
"eslint-plugin-react-hooks": true,
908-
"eslint>globals": true,
908+
"eslint>@eslint/eslintrc>globals": true,
909909
"eslint>ignore": true,
910910
"eslint>minimatch": true,
911911
"mocha>strip-json-comments": true
@@ -2518,7 +2518,7 @@
25182518
"@metamask/object-multiplex>once": true
25192519
}
25202520
},
2521-
"webpack>enhanced-resolve": {
2521+
"eslint-plugin-n>enhanced-resolve": {
25222522
"builtin": {
25232523
"module.findPnpApi": true,
25242524
"path.basename": true,
@@ -2887,7 +2887,7 @@
28872887
},
28882888
"packages": {
28892889
"eslint>@eslint-community/eslint-utils": true,
2890-
"webpack>enhanced-resolve": true,
2890+
"eslint-plugin-n>enhanced-resolve": true,
28912891
"eslint-plugin-n>eslint-plugin-es-x": true,
28922892
"tsx>get-tsconfig": true,
28932893
"eslint-plugin-n>globals": true,

lavamoat/webpack/build/policy.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@
236236
"@babel/core>@babel/template": true,
237237
"lavamoat>lavamoat-tofu>@babel/traverse>@babel/types": true,
238238
"nock>debug": true,
239-
"lavamoat>lavamoat-tofu>@babel/traverse>globals": true
239+
"@babel/preset-env>@babel/plugin-transform-classes>globals": true
240240
}
241241
},
242242
"@babel/core>@babel/types": {
@@ -1336,9 +1336,7 @@
13361336
"builtin": {
13371337
"module.findPnpApi": true,
13381338
"path.basename": true,
1339-
"path.posix.dirname": true,
13401339
"path.posix.normalize": true,
1341-
"path.win32.dirname": true,
13421340
"path.win32.normalize": true,
13431341
"process.nextTick": true,
13441342
"process.versions.pnp": true,
@@ -1348,7 +1346,6 @@
13481346
"Buffer.isBuffer": true,
13491347
"URL": true,
13501348
"clearTimeout": true,
1351-
"process.cwd": true,
13521349
"setTimeout": true
13531350
},
13541351
"packages": {

0 commit comments

Comments
 (0)