@zerolith/devtools 0.1.0-alpha.8 → 0.1.0-alpha.9

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.
@@ -1,2 +1,2 @@
1
- import{DIAGNOSTIC_URL as e}from"zerolith";import{version as t}from"zerolith/internal";export const version=`0.1.0-alpha.8`;export function checkCoreVersion(n=`0.1.0-alpha.8`,r=t){if(r!==n)throw Error(`zerolith: package_version_mismatch: @zerolith/devtools ${n} requires zerolith ${n}, and zerolith ${r} is installed. Install one version of both, with npm install @zerolith/devtools@${r} or npm install zerolith@${n}. ${e}package_version_mismatch`)}
1
+ import{DIAGNOSTIC_URL as e}from"zerolith";import{version as t}from"zerolith/internal";export const version=`0.1.0-alpha.9`;export function checkCoreVersion(n=`0.1.0-alpha.9`,r=t){if(r!==n)throw Error(`zerolith: package_version_mismatch: @zerolith/devtools ${n} requires zerolith ${n}, and zerolith ${r} is installed. Install one version of both, with npm install @zerolith/devtools@${r} or npm install zerolith@${n}. ${e}package_version_mismatch`)}
2
2
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sources":["../../src/version.ts"],"sourcesContent":["/**\n * The inspector and the core share `zerolith/internal`, which can change\n * with every version, so the inspector requires the zerolith it was\n * released with.\n */\nimport { DIAGNOSTIC_URL } from \"zerolith\";\nimport { version as installed } from \"zerolith/internal\";\n\n/** The version of this package, which the version script keeps equal to its manifest's. */\nexport const version: string = \"0.1.0-alpha.8\";\n\n/** Throws `package_version_mismatch` when the installed zerolith is not the inspector's own version. */\nexport function checkCoreVersion(own: string = version, core: string = installed): void\n{\n if (core !== own)\n {\n throw new Error(`zerolith: package_version_mismatch: @zerolith/devtools ${own} requires zerolith ${own}, and zerolith ${core} is installed. Install one version of both, with npm install @zerolith/devtools@${core} or npm install zerolith@${own}. ${DIAGNOSTIC_URL}package_version_mismatch`);\n }\n}\n"],"names":["installed","core","own","DIAGNOSTIC_URL"],"mappings":"AAKA,OAAS,wBAAsB,WAC/B,OAAS,WAAWA,MAAiB,oBAGrC,OAAO,MAAM,QAAkB,gBAG/B,OAAM,SAAU,iBAAiB,EAAc,gBAAS,EAAeA,EAAS,CAE5E,GAAIC,IAASC,EAET,MAAU,MAAM,0DAA0DA,EAAG,qBAAsBA,EAAG,iBAAkBD,EAAI,kFAAmFA,EAAI,2BAA4BC,EAAG,IAAKC,EAAc,yBAA0B,CAEvS"}
1
+ {"version":3,"file":"version.js","sources":["../../src/version.ts"],"sourcesContent":["/**\n * The inspector and the core share `zerolith/internal`, which can change\n * with every version, so the inspector requires the zerolith it was\n * released with.\n */\nimport { DIAGNOSTIC_URL } from \"zerolith\";\nimport { version as installed } from \"zerolith/internal\";\n\n/** The version of this package, which the version script keeps equal to its manifest's. */\nexport const version: string = \"0.1.0-alpha.9\";\n\n/** Throws `package_version_mismatch` when the installed zerolith is not the inspector's own version. */\nexport function checkCoreVersion(own: string = version, core: string = installed): void\n{\n if (core !== own)\n {\n throw new Error(`zerolith: package_version_mismatch: @zerolith/devtools ${own} requires zerolith ${own}, and zerolith ${core} is installed. Install one version of both, with npm install @zerolith/devtools@${core} or npm install zerolith@${own}. ${DIAGNOSTIC_URL}package_version_mismatch`);\n }\n}\n"],"names":["installed","core","own","DIAGNOSTIC_URL"],"mappings":"AAKA,OAAS,wBAAsB,WAC/B,OAAS,WAAWA,MAAiB,oBAGrC,OAAO,MAAM,QAAkB,gBAG/B,OAAM,SAAU,iBAAiB,EAAc,gBAAS,EAAeA,EAAS,CAE5E,GAAIC,IAASC,EAET,MAAU,MAAM,0DAA0DA,EAAG,qBAAsBA,EAAG,iBAAkBD,EAAI,kFAAmFA,EAAI,2BAA4BC,EAAG,IAAKC,EAAc,yBAA0B,CAEvS"}
package/dist/version.js CHANGED
@@ -6,7 +6,7 @@
6
6
  import { DIAGNOSTIC_URL } from "zerolith";
7
7
  import { version as installed } from "zerolith/internal";
8
8
  /** The version of this package, which the version script keeps equal to its manifest's. */
9
- export const version = "0.1.0-alpha.8";
9
+ export const version = "0.1.0-alpha.9";
10
10
  /** Throws `package_version_mismatch` when the installed zerolith is not the inspector's own version. */
11
11
  export function checkCoreVersion(own = version, core = installed) {
12
12
  if (core !== own) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zerolith/devtools",
3
- "version": "0.1.0-alpha.8",
3
+ "version": "0.1.0-alpha.9",
4
4
  "description": "An in-page inspector for zerolith applications: signals, roots, and diagnostics, working wherever the app is served",
5
5
  "license": "Apache-2.0",
6
6
  "author": "molexxxx",
@@ -41,9 +41,9 @@
41
41
  "build": "tsc -p tsconfig.build.json && node ../../scripts/production.ts"
42
42
  },
43
43
  "peerDependencies": {
44
- "zerolith": "0.1.0-alpha.8"
44
+ "zerolith": "0.1.0-alpha.9"
45
45
  },
46
46
  "devDependencies": {
47
- "zerolith": "0.1.0-alpha.8"
47
+ "zerolith": "0.1.0-alpha.9"
48
48
  }
49
49
  }
package/src/version.ts CHANGED
@@ -7,7 +7,7 @@ import { DIAGNOSTIC_URL } from "zerolith";
7
7
  import { version as installed } from "zerolith/internal";
8
8
 
9
9
  /** The version of this package, which the version script keeps equal to its manifest's. */
10
- export const version: string = "0.1.0-alpha.8";
10
+ export const version: string = "0.1.0-alpha.9";
11
11
 
12
12
  /** Throws `package_version_mismatch` when the installed zerolith is not the inspector's own version. */
13
13
  export function checkCoreVersion(own: string = version, core: string = installed): void