@cedarjs/cli 3.1.1-rc.4 → 3.1.1-rc.5

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.
@@ -80,13 +80,11 @@ function insertAfterLastImport(expression, program) {
80
80
  }
81
81
  function prune(path) {
82
82
  switch (path.parentPath.type) {
83
- // If pruning 'path' would yield an ill-formed parent (e.g, '{foo:}' or 'const x;'), prune it.
84
83
  case "ObjectProperty":
85
84
  case "VariableDeclarator":
86
85
  return path.parentPath.remove();
87
86
  default:
88
87
  console.log(`Warning: default prune strategy for ${path.parentPath.type}`);
89
- // eslint-disable-next-line no-fallthrough
90
88
  case "Program":
91
89
  case "ArrayExpression":
92
90
  return path.remove();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli",
3
- "version": "3.1.1-rc.4",
3
+ "version": "3.1.1-rc.5",
4
4
  "description": "The CedarJS Command Line",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,16 +33,16 @@
33
33
  "dependencies": {
34
34
  "@babel/parser": "7.29.2",
35
35
  "@babel/preset-typescript": "7.28.5",
36
- "@cedarjs/api-server": "3.1.1-rc.4",
37
- "@cedarjs/cli-helpers": "3.1.1-rc.4",
38
- "@cedarjs/fastify-web": "3.1.1-rc.4",
39
- "@cedarjs/internal": "3.1.1-rc.4",
40
- "@cedarjs/prerender": "3.1.1-rc.4",
41
- "@cedarjs/project-config": "3.1.1-rc.4",
42
- "@cedarjs/structure": "3.1.1-rc.4",
43
- "@cedarjs/telemetry": "3.1.1-rc.4",
44
- "@cedarjs/utils": "3.1.1-rc.4",
45
- "@cedarjs/web-server": "3.1.1-rc.4",
36
+ "@cedarjs/api-server": "3.1.1-rc.5",
37
+ "@cedarjs/cli-helpers": "3.1.1-rc.5",
38
+ "@cedarjs/fastify-web": "3.1.1-rc.5",
39
+ "@cedarjs/internal": "3.1.1-rc.5",
40
+ "@cedarjs/prerender": "3.1.1-rc.5",
41
+ "@cedarjs/project-config": "3.1.1-rc.5",
42
+ "@cedarjs/structure": "3.1.1-rc.5",
43
+ "@cedarjs/telemetry": "3.1.1-rc.5",
44
+ "@cedarjs/utils": "3.1.1-rc.5",
45
+ "@cedarjs/web-server": "3.1.1-rc.5",
46
46
  "@listr2/prompt-adapter-enquirer": "4.2.1",
47
47
  "@opentelemetry/api": "1.9.0",
48
48
  "@opentelemetry/core": "1.30.1",
@@ -108,5 +108,5 @@
108
108
  "publishConfig": {
109
109
  "access": "public"
110
110
  },
111
- "gitHead": "0a458e403b60d58278f0d6f17232c640f3523b19"
111
+ "gitHead": "6eef6b029defde8c2c677b1424dcc5b5258fb564"
112
112
  }