@digicatapult/dtdl-parser 0.0.22 → 0.0.24
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.
- package/build/interop/_framework/DTDLParserJSInterop.pdb +0 -0
- package/build/interop/_framework/DTDLParserJSInterop.wasm +0 -0
- package/build/interop/_framework/blazor.boot.json +3 -3
- package/build/interop.js +3 -0
- package/build/interop.js.map +1 -0
- package/package.json +6 -6
- package/build/DtdlErr.d.js +0 -3
- package/build/DtdlErr.d.js.map +0 -1
- package/build/DtdlOm.d.js +0 -3
- package/build/DtdlOm.d.js.map +0 -1
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"mainAssemblyName": "DTDLParserJSInterop.dll",
|
|
3
3
|
"resources": {
|
|
4
|
-
"hash": "sha256-
|
|
4
|
+
"hash": "sha256-sDlzRJPVRZ9u/R2INsg4J0d5ymcOMfOcLasleeyHM5k=",
|
|
5
5
|
"jsModuleNative": {
|
|
6
6
|
"dotnet.native.js": "sha256-79LdZogK41buIci0KtOWmQvQc2swMI3jvDQCoN23NBM="
|
|
7
7
|
},
|
|
@@ -181,10 +181,10 @@
|
|
|
181
181
|
"mscorlib.wasm": "sha256-KvqZaNpjwhrOuzE4b4aMFsI+VUTyiWfoDI4zn4l9BM8=",
|
|
182
182
|
"netstandard.wasm": "sha256-v+s7sWxtOM6bnOvC0jFrtnm6uMfbDymwl2nHNgbS2LM=",
|
|
183
183
|
"System.Private.CoreLib.wasm": "sha256-pklll63uFQoY6vaD3vbluS9osYiJWLLLmob1yHFgepI=",
|
|
184
|
-
"DTDLParserJSInterop.wasm": "sha256-
|
|
184
|
+
"DTDLParserJSInterop.wasm": "sha256-UF5GBjJv0oOnK9WOo+Lbx9Mb1HNPlSsoUtRcPLJR1zM="
|
|
185
185
|
},
|
|
186
186
|
"pdb": {
|
|
187
|
-
"DTDLParserJSInterop.pdb": "sha256-
|
|
187
|
+
"DTDLParserJSInterop.pdb": "sha256-CAWWkO9im6ZsIjjs1rrKFy0ah3ziuyyfE2ss4DUK3oY="
|
|
188
188
|
},
|
|
189
189
|
"vfs": {
|
|
190
190
|
"runtimeconfig.bin": {
|
package/build/interop.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/interop.ts"],"sourcesContent":["export const getInterop = async (): Promise<Parser> => {\n const module = await import('./interop/modelParser.js')\n return module as Parser\n}\n\nexport interface Parser {\n parse: (file: string) => string\n parserVersion: () => string\n}\n"],"names":["getInterop"],"mappings":"AAAA,OAAO,MAAMA,aAAa,UACT,MAAM,MAAM,CAAC,4BAE7B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digicatapult/dtdl-parser",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
4
4
|
"description": "JS tool to parse DTDL defined Ontologies",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"build:declarations": "tsc --emitDeclarationOnly",
|
|
19
19
|
"interop:debug": "dotnet build interop",
|
|
20
20
|
"interop:build": "dotnet build src/interop --configuration Release",
|
|
21
|
-
"build:ts": "swc ./src
|
|
21
|
+
"build:ts": "swc ./src -d ./build --strip-leading-paths",
|
|
22
22
|
"check": "tsc --noEmit",
|
|
23
23
|
"clean": "rimraf -rf ./build",
|
|
24
24
|
"lint": "eslint .",
|
|
@@ -43,18 +43,18 @@
|
|
|
43
43
|
"homepage": "https://github.com/digicatapult/dtdl-parser#readme",
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@eslint/eslintrc": "^3.1.0",
|
|
46
|
-
"@eslint/js": "^9.
|
|
46
|
+
"@eslint/js": "^9.13.0",
|
|
47
47
|
"@swc-node/register": "^1.10.9",
|
|
48
48
|
"@swc/cli": "^0.4.1-nightly.20240914",
|
|
49
49
|
"@swc/core": "^1.7.36",
|
|
50
50
|
"@types/chai": "^5.0.0",
|
|
51
51
|
"@types/mocha": "^10.0.9",
|
|
52
52
|
"@types/node": "^22.7.6",
|
|
53
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
54
|
-
"@typescript-eslint/parser": "^8.
|
|
53
|
+
"@typescript-eslint/eslint-plugin": "^8.10.0",
|
|
54
|
+
"@typescript-eslint/parser": "^8.10.0",
|
|
55
55
|
"chai": "^5.1.1",
|
|
56
56
|
"depcheck": "^1.4.7",
|
|
57
|
-
"eslint": "^9.
|
|
57
|
+
"eslint": "^9.13.0",
|
|
58
58
|
"eslint-config-prettier": "^9.1.0",
|
|
59
59
|
"eslint-plugin-prettier": "^5.2.1",
|
|
60
60
|
"globals": "^15.11.0",
|
package/build/DtdlErr.d.js
DELETED
package/build/DtdlErr.d.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../types/DtdlErr.d.ts"],"names":[],"mappings":""}
|
package/build/DtdlOm.d.js
DELETED
package/build/DtdlOm.d.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../types/DtdlOm.d.ts"],"names":[],"mappings":""}
|