@wp-playground/blueprints 0.5.5 → 0.5.6

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 (3) hide show
  1. package/index.cjs +1 -1
  2. package/index.js +2 -2
  3. package/package.json +2 -2
package/index.cjs CHANGED
@@ -831,7 +831,7 @@ the Dockerfile, you'll need to trigger this error again with long stack
831
831
  traces enabled. In node.js, you can do it using the --stack-trace-limit=100
832
832
  CLI option:
833
833
 
834
- `,Us="\x1B[41m",wa="\x1B[1m",Ls="\x1B[0m",Hs="\x1B[K";let zs=!1;function ba(t){if(!zs){zs=!0,console.log(`${Us}
834
+ `,Us="\x1B[41m",wa="\x1B[1m",Ls="\x1B[0m",Hs="\x1B[K";let zs=!1;function ba(t){if(!zs&&(zs=!0,!(t!=null&&t.trim().startsWith("Program terminated with exit")))){console.log(`${Us}
835
835
  ${Hs}
836
836
  ${wa} WASM ERROR${Ls}${Us}`);for(const e of t.split(`
837
837
  `))console.log(`${Hs} ${e} `);console.log(`${Ls}`)}}function Pa(t){try{const e=t.split(`
package/index.js CHANGED
@@ -1776,8 +1776,8 @@ CLI option:
1776
1776
  `, Ds = "\x1B[41m", wa = "\x1B[1m", As = "\x1B[0m", Fs = "\x1B[K";
1777
1777
  let qs = !1;
1778
1778
  function ba(t) {
1779
- if (!qs) {
1780
- qs = !0, console.log(`${Ds}
1779
+ if (!qs && (qs = !0, !(t != null && t.trim().startsWith("Program terminated with exit")))) {
1780
+ console.log(`${Ds}
1781
1781
  ${Fs}
1782
1782
  ${wa} WASM ERROR${As}${Ds}`);
1783
1783
  for (const e of t.split(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wp-playground/blueprints",
3
- "version": "0.5.5",
3
+ "version": "0.5.6",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./index.js",
@@ -21,7 +21,7 @@
21
21
  "access": "public",
22
22
  "directory": "../../../dist/packages/playground/blueprints"
23
23
  },
24
- "gitHead": "1ec8131ad189a9d77ec1ecbfdf0f82abb6aeb96a",
24
+ "gitHead": "72e190ebb407051ccb5ef544e2a62018395395a0",
25
25
  "engines": {
26
26
  "node": ">=18.18.2",
27
27
  "npm": ">=8.11.0"