@visualautomate/cli 0.4.0 → 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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1999,7 +1999,7 @@ function permits(policy, host) {
1999
1999
  return policy.hosts.some((allowed) => host === allowed || host.endsWith(`.${allowed}`));
2000
2000
  }
2001
2001
  function guardFetch(policy, base, onDenied) {
2002
- return (resource, init) => {
2002
+ return ((resource, init) => {
2003
2003
  const raw = typeof resource === "string" ? resource : resource instanceof URL ? resource.href : resource.url;
2004
2004
  const host = hostOf(raw);
2005
2005
  if (host && !permits(policy, host)) {
@@ -2011,7 +2011,7 @@ function guardFetch(policy, base, onDenied) {
2011
2011
  }
2012
2012
  }
2013
2013
  return base(resource, init);
2014
- };
2014
+ });
2015
2015
  }
2016
2016
 
2017
2017
  // src/persist.ts
@@ -2148,7 +2148,7 @@ function runInDocker(run) {
2148
2148
  }
2149
2149
 
2150
2150
  // src/index.ts
2151
- var VERSION = true ? "0.4.0" : "0.0.0-dev";
2151
+ var VERSION = true ? "0.4.1" : "0.0.0-dev";
2152
2152
  var DEFAULT_API_URL = "https://visualautomate.com";
2153
2153
  function configPath() {
2154
2154
  return join3(homedir(), ".visualautomate", "config.json");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visualautomate/cli",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Build and publish VisualAutomate plugins.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -26,7 +26,7 @@
26
26
  "node": ">=20"
27
27
  },
28
28
  "dependencies": {
29
- "esbuild": "^0.23.0"
29
+ "esbuild": "^0.28.2"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/node": "^22",