diff --git a/packages/cli/package-lock.json b/packages/cli/package-lock.json index 3b501a6a5..5449c0f8f 100644 --- a/packages/cli/package-lock.json +++ b/packages/cli/package-lock.json @@ -1,19 +1,19 @@ { "name": "@abaplint/transpiler-cli", - "version": "2.10.7", + "version": "2.10.9", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@abaplint/transpiler-cli", - "version": "2.10.7", + "version": "2.10.9", "license": "MIT", "bin": { "abap_transpile": "abap_transpile" }, "devDependencies": { "@abaplint/core": "^2.112.10", - "@abaplint/transpiler": "^2.10.7", + "@abaplint/transpiler": "^2.10.8", "@types/glob": "^8.1.0", "@types/node": "^22.1.0", "@types/progress": "^2.0.7", @@ -45,9 +45,9 @@ } }, "node_modules/@abaplint/transpiler": { - "version": "2.10.7", - "resolved": "https://registry.npmjs.org/@abaplint/transpiler/-/transpiler-2.10.7.tgz", - "integrity": "sha512-sj+rxkJFzxxvhpp69yY/DwisMIgySChMUQuFHHEYGjjV9EKwR2+BnCjPPZmDL+q4/vwfcLW2K8uM7laI+TP+3A==", + "version": "2.10.8", + "resolved": "https://registry.npmjs.org/@abaplint/transpiler/-/transpiler-2.10.8.tgz", + "integrity": "sha512-yx0dqLBmMkflS1/sWHz1AKlWTWhtvVQBeURgWV8XrKRQNFlYpId7pOGFoAwUghrrX41tJBvOxQr20ubjBFCB1g==", "dev": true, "dependencies": { "@abaplint/core": "^2.112.10", @@ -1598,9 +1598,9 @@ } }, "@abaplint/transpiler": { - "version": "2.10.7", - "resolved": "https://registry.npmjs.org/@abaplint/transpiler/-/transpiler-2.10.7.tgz", - "integrity": "sha512-sj+rxkJFzxxvhpp69yY/DwisMIgySChMUQuFHHEYGjjV9EKwR2+BnCjPPZmDL+q4/vwfcLW2K8uM7laI+TP+3A==", + "version": "2.10.8", + "resolved": "https://registry.npmjs.org/@abaplint/transpiler/-/transpiler-2.10.8.tgz", + "integrity": "sha512-yx0dqLBmMkflS1/sWHz1AKlWTWhtvVQBeURgWV8XrKRQNFlYpId7pOGFoAwUghrrX41tJBvOxQr20ubjBFCB1g==", "dev": true, "requires": { "@abaplint/core": "^2.112.10", diff --git a/packages/cli/package.json b/packages/cli/package.json index 81c87d1af..8ee13847b 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@abaplint/transpiler-cli", - "version": "2.10.7", + "version": "2.10.9", "description": "Transpiler - Command Line Interface", "funding": "https://github.com/sponsors/larshp", "bin": { @@ -26,7 +26,7 @@ "author": "abaplint", "license": "MIT", "devDependencies": { - "@abaplint/transpiler": "^2.10.7", + "@abaplint/transpiler": "^2.10.8", "@types/glob": "^8.1.0", "glob": "=7.2.0", "@types/progress": "^2.0.7", diff --git a/packages/runtime/package-lock.json b/packages/runtime/package-lock.json index 7f385de14..41ddf7346 100644 --- a/packages/runtime/package-lock.json +++ b/packages/runtime/package-lock.json @@ -1,12 +1,12 @@ { "name": "@abaplint/runtime", - "version": "2.10.7", + "version": "2.10.9", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@abaplint/runtime", - "version": "2.10.7", + "version": "2.10.9", "license": "MIT", "dependencies": { "temporal-polyfill": "^0.2.5" diff --git a/packages/runtime/package.json b/packages/runtime/package.json index fbe41c9e3..f176fef96 100644 --- a/packages/runtime/package.json +++ b/packages/runtime/package.json @@ -1,6 +1,6 @@ { "name": "@abaplint/runtime", - "version": "2.10.7", + "version": "2.10.9", "description": "Transpiler - Runtime", "main": "build/src/index.js", "typings": "build/src/index.d.ts", diff --git a/packages/runtime/src/statements/create_data.ts b/packages/runtime/src/statements/create_data.ts index ab7e92299..c9a1e1a0b 100644 --- a/packages/runtime/src/statements/create_data.ts +++ b/packages/runtime/src/statements/create_data.ts @@ -1,6 +1,6 @@ import {clone} from "../clone"; import {throwError} from "../throw_error"; -import {ABAPObject, Character, DataReference, Date, String, FieldSymbol, Float, Integer, Structure, Table, Time, XString, Hex, Packed, Numc, Integer8} from "../types"; +import {ABAPObject, Character, DataReference, Date, String, FieldSymbol, Float, Integer, Structure, Table, Time, XString, Hex, Packed, Numc, Integer8, UTCLong} from "../types"; import {ICharacter} from "../types/_character"; import {INumeric} from "../types/_numeric"; @@ -67,6 +67,8 @@ export function createData(target: DataReference | FieldSymbol, options?: ICreat target.assign(new String()); } else if (options.name.trimEnd() === "XSTRING") { target.assign(new XString()); + } else if (options.name.trimEnd() === "UTCLONG") { + target.assign(new UTCLong()); } else if (options.name.trimEnd() === "I") { target.assign(new Integer()); } else if (options.name.trimEnd() === "T") { @@ -155,6 +157,9 @@ export function createData(target: DataReference | FieldSymbol, options?: ICreat case "XSTRING": target.assign(new XString()); break; + case "UTCLONG": + target.assign(new UTCLong()); + break; default: // @ts-ignore if (abap.DDIC[options.typeName.trimEnd()]) { diff --git a/packages/transpiler/package-lock.json b/packages/transpiler/package-lock.json index 3a6683b27..18cd91706 100644 --- a/packages/transpiler/package-lock.json +++ b/packages/transpiler/package-lock.json @@ -1,12 +1,12 @@ { "name": "@abaplint/transpiler", - "version": "2.10.7", + "version": "2.10.9", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@abaplint/transpiler", - "version": "2.10.7", + "version": "2.10.9", "license": "MIT", "dependencies": { "@abaplint/core": "^2.112.10", diff --git a/packages/transpiler/package.json b/packages/transpiler/package.json index 2620eb147..49ffae340 100644 --- a/packages/transpiler/package.json +++ b/packages/transpiler/package.json @@ -1,6 +1,6 @@ { "name": "@abaplint/transpiler", - "version": "2.10.7", + "version": "2.10.9", "description": "Transpiler", "main": "build/src/index.js", "typings": "build/src/index.d.ts",