basyx-typescript-sdk 2.2.2 → 2.2.4

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,6 +1,6 @@
1
1
  import { jsonization } from '@aas-core-works/aas-core3.1-typescript';
2
2
  import { AdministrativeInformation, AnnotatedRelationshipElement, AssetAdministrationShell, AssetInformation, AssetKind, BasicEventElement, Blob, Capability, ConceptDescription, DataSpecificationIec61360, EmbeddedDataSpecification, Entity, Extension, File, Key, KeyTypes, LangStringDefinitionTypeIec61360, LangStringNameType, LangStringPreferredNameTypeIec61360, LangStringShortNameTypeIec61360, LangStringTextType, LevelType, MultiLanguageProperty, Operation, OperationVariable, Property, Qualifier, Range, Reference, ReferenceElement, ReferenceTypes, RelationshipElement, Resource, SpecificAssetId, Submodel, SubmodelElementCollection, SubmodelElementList, ValueList, ValueReferencePair, } from '@aas-core-works/aas-core3.1-typescript/types';
3
- import { buildObject, buildXmlNode, parseXmlString, serializeXml as serializeXmlNode } from 'xml-sax-ts';
3
+ import { buildObject, buildXmlNode, parseXmlString, serializeXml as serializeXmlNode, } from 'xmlsax-typescript';
4
4
  import { BaSyxEnvironment } from '../../models/BaSyxEnvironment';
5
5
  export function serializeXml(data, namespacePrefix = 'aas') {
6
6
  // Return empty string for empty environment
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "basyx-typescript-sdk",
3
- "version": "2.2.2",
3
+ "version": "2.2.4",
4
4
  "description": "BaSyx TypeScript SDK for developing applications and components for the Asset Administration Shell (AAS)",
5
5
  "main": "bundle/index.cjs",
6
6
  "module": "bundle/index.mjs",
@@ -15,6 +15,7 @@
15
15
  "repository": "https://github.com/eclipse-basyx/basyx-typescript-sdk.git",
16
16
  "author": "Aaron Zielstorff <aaron.zielstorff@iese.fraunhofer.de>",
17
17
  "license": "MIT",
18
+ "packageManager": "pnpm@11.0.0-rc.0",
18
19
  "files": [
19
20
  "bundle",
20
21
  "dist",
@@ -23,10 +24,18 @@
23
24
  ],
24
25
  "scripts": {
25
26
  "build": "tsc",
26
- "bundle": "rollup -c",
27
+ "bundle": "rolldown -c rolldown.config.mjs",
28
+ "verify:compat": "node scripts/verify-consumer-compat.mjs",
27
29
  "lint:check": "eslint ./",
28
30
  "lint:fix": "eslint --fix ./",
29
- "test": "jest --coverage",
31
+ "format": "prettier --write .",
32
+ "format:check": "prettier --check .",
33
+ "type-check": "tsc -p tsconfig.json --noEmit",
34
+ "test": "vitest run --coverage",
35
+ "test:coverage": "vitest run --coverage",
36
+ "test:watch": "vitest",
37
+ "test:unit": "vitest run --project unit-tests",
38
+ "test:integration": "vitest run --project integration-tests",
30
39
  "docs": "typedoc --options typedoc.json",
31
40
  "gen-aasrepo": "openapi-generator-cli generate -i openapi/aasrepository.yaml -g typescript-fetch -o src/generated/AasRepositoryService --additional-properties=withoutRuntimeChecks=true",
32
41
  "gen-submodelrepo": "openapi-generator-cli generate -i openapi/smrepository.yaml -g typescript-fetch -o src/generated/SubmodelRepositoryService --additional-properties=withoutRuntimeChecks=true",
@@ -43,28 +52,30 @@
43
52
  "@aas-core-works/aas-core3.1-typescript": "^1.0.0",
44
53
  "@eslint/js": "^10.0.1",
45
54
  "@openapitools/openapi-generator-cli": "^2.18.4",
46
- "@rollup/plugin-node-resolve": "^16.0.0",
47
- "@types/jest": "^30.0.0",
55
+ "@vitest/coverage-v8": "^4.1.5",
48
56
  "@types/node": "^25.0.0",
49
- "@typescript-eslint/eslint-plugin": "^8.21.0",
50
- "@typescript-eslint/parser": "^8.20.0",
51
- "eslint": "^10.0.0",
57
+ "@typescript-eslint/eslint-plugin": "^8.59.0",
58
+ "@typescript-eslint/parser": "^8.59.0",
59
+ "eslint": "^10.2.1",
52
60
  "eslint-config-prettier": "^10.0.1",
53
- "eslint-plugin-prettier": "^5.2.3",
54
61
  "eslint-plugin-simple-import-sort": "^13.0.0",
55
- "jest": "^30.0.0",
56
62
  "jiti": "^2.4.2",
57
- "prettier": "^3.4.2",
58
- "rollup": "^4.34.6",
59
- "rollup-plugin-string": "^3.0.0",
60
- "ts-jest": "^29.2.5",
63
+ "prettier": "^3.8.3",
64
+ "rolldown": "^1.0.0-rc.17",
61
65
  "ts-node": "^10.9.2",
62
66
  "tsconfig-paths": "^4.2.0",
63
67
  "typedoc": "^0.28.1",
64
- "typescript": "^5.7.3",
65
- "typescript-eslint": "^8.21.0"
68
+ "typescript": "^6.0.3",
69
+ "typescript-eslint": "^8.59.0",
70
+ "vitest": "^4.1.5"
66
71
  },
67
72
  "dependencies": {
68
- "xml-sax-ts": "^0.4.0"
73
+ "xmlsax-typescript": "^1.0.0-rc.1"
74
+ },
75
+ "pnpm": {
76
+ "onlyBuiltDependencies": [
77
+ "@nestjs/core",
78
+ "@openapitools/openapi-generator-cli"
79
+ ]
69
80
  }
70
81
  }