@visualautomate/plugin-sdk 0.3.1 → 0.4.1

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.
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
23
  ALLOWED_PACKAGES: () => ALLOWED_PACKAGES,
24
24
  ALLOWED_PACKAGE_NAMES: () => ALLOWED_PACKAGE_NAMES,
25
25
  BLOCKED_GLOBALS: () => BLOCKED_GLOBALS,
@@ -32,7 +32,7 @@ __export(src_exports, {
32
32
  simulate: () => simulate,
33
33
  validatePluginCode: () => validatePluginCode
34
34
  });
35
- module.exports = __toCommonJS(src_exports);
35
+ module.exports = __toCommonJS(index_exports);
36
36
 
37
37
  // src/simulate.ts
38
38
  function toBytes(data) {
@@ -1531,4 +1531,4 @@ var BLOCKED_GLOBALS = [
1531
1531
  { name: "Buffer", instead: "Use Uint8Array and TextEncoder/TextDecoder." },
1532
1532
  { name: "__dirname", instead: "There is no meaningful filesystem." }
1533
1533
  ];
1534
- //# sourceMappingURL=index.js.map
1534
+ //# sourceMappingURL=index.cjs.map
package/package.json CHANGED
@@ -1,18 +1,19 @@
1
1
  {
2
2
  "name": "@visualautomate/plugin-sdk",
3
- "version": "0.3.1",
3
+ "version": "0.4.1",
4
4
  "description": "Types and a local runner for building VisualAutomate plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
- "main": "./dist/index.js",
7
+ "main": "./dist/index.cjs",
8
8
  "module": "./dist/index.mjs",
9
9
  "types": "./dist/index.d.ts",
10
10
  "exports": {
11
11
  ".": {
12
12
  "types": "./dist/index.d.ts",
13
13
  "import": "./dist/index.mjs",
14
- "require": "./dist/index.js"
15
- }
14
+ "require": "./dist/index.cjs"
15
+ },
16
+ "./package.json": "./package.json"
16
17
  },
17
18
  "files": [
18
19
  "dist",
@@ -30,11 +31,11 @@
30
31
  "workflow"
31
32
  ],
32
33
  "engines": {
33
- "node": ">=22"
34
+ "node": ">=20"
34
35
  },
35
36
  "devDependencies": {
36
37
  "@types/node": "^22",
37
- "esbuild": "^0.23.0",
38
+ "esbuild": "^0.28.2",
38
39
  "typescript": "^5"
39
40
  },
40
41
  "repository": {
File without changes