@locker/cli 0.29.0 → 0.29.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@locker/cli",
3
- "version": "0.29.0",
3
+ "version": "0.29.2",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "author": "Salesforce UI Security Team",
6
6
  "description": "Lightning Web Security CLI",
@@ -27,21 +27,21 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@babel/parser": "7.28.0",
30
- "@locker/rollup-plugin": "0.29.0",
31
- "@locker/sandbox": "0.29.0",
32
- "@locker/shared": "0.29.0",
33
- "@lwc/engine-dom": "8.21.1",
34
- "@lwc/rollup-plugin": "8.21.1",
30
+ "@locker/rollup-plugin": "0.29.2",
31
+ "@locker/sandbox": "0.29.2",
32
+ "@locker/shared": "0.29.2",
33
+ "@lwc/engine-dom": "9.4.3",
34
+ "@lwc/rollup-plugin": "9.4.3",
35
35
  "@rollup/plugin-commonjs": "21.1.0",
36
36
  "@rollup/plugin-node-resolve": "15.1.0",
37
37
  "@rollup/plugin-replace": "5.0.5",
38
38
  "chokidar": "3.5.3",
39
39
  "dompurify": "3.4.11",
40
- "lwc": "8.21.1",
40
+ "lwc": "9.4.3",
41
41
  "playwright": "1.49.1",
42
42
  "rollup": "2.79.1",
43
43
  "rollup-plugin-ts": "3.4.5",
44
44
  "yargs": "17.7.2"
45
45
  },
46
- "gitHead": "a8526231582840513d23e47fd0d8293241fb5c10"
46
+ "gitHead": "7209151650f135445a7635f9448c0e1922aef036"
47
47
  }
@@ -3,13 +3,16 @@ import { createRequire } from 'node:module';
3
3
  import os from 'node:os';
4
4
  import path from 'node:path';
5
5
 
6
+ // @lwc/rollup-plugin is ESM-only as of 9.x, so it must be imported, not
7
+ // require()'d. Its two sibling plugins below are still CommonJS and stay on
8
+ // the createRequire path. The default export is the plugin factory.
9
+ import lwcRollupPlugin from '@lwc/rollup-plugin';
6
10
  import { rollup } from 'rollup';
7
11
 
8
12
  import { createWireMockPlugin } from './wire-mock.mjs';
9
13
 
10
14
  const require = createRequire(import.meta.url);
11
15
  const lockerRollupPlugin = require('@locker/rollup-plugin');
12
- const lwcRollupPlugin = require('@lwc/rollup-plugin');
13
16
  const { nodeResolve } = require('@rollup/plugin-node-resolve');
14
17
 
15
18
  const DEFAULT_NAMESPACE = 'c';