@abaplint/runtime 2.0.69 → 2.0.72

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/README.md CHANGED
@@ -1,3 +1,3 @@
1
- # @abaplint/runtime
2
-
1
+ # @abaplint/runtime
2
+
3
3
  Runtime
@@ -0,0 +1,2 @@
1
+ import { ICharacter } from "../types/_character";
2
+ export declare function getLocale(target: ICharacter): void;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getLocale = void 0;
4
+ function getLocale(target) {
5
+ // todo
6
+ target.set("E");
7
+ }
8
+ exports.getLocale = getLocale;
9
+ //# sourceMappingURL=get_locale.js.map
@@ -12,6 +12,8 @@ import { describe } from "./describe";
12
12
  import { find } from "./find";
13
13
  import { cast } from "./cast";
14
14
  import { getBit } from "./get_bit";
15
+ import { getLocale } from "./get_locale";
16
+ import { setLocale } from "./set_locale";
15
17
  import { getRunTime } from "./get_run_time";
16
18
  import { getTime } from "./get_time";
17
19
  import { IInsertDatabaseOptions } from "./insert_database";
@@ -53,6 +55,7 @@ export declare class Statements {
53
55
  describe: typeof describe;
54
56
  find: typeof find;
55
57
  getBit: typeof getBit;
58
+ getLocale: typeof getLocale;
56
59
  getRunTime: typeof getRunTime;
57
60
  getTime: typeof getTime;
58
61
  insertInternal: typeof insertInternal;
@@ -63,6 +66,7 @@ export declare class Statements {
63
66
  replace: typeof replace;
64
67
  rollback: typeof rollback;
65
68
  setBit: typeof setBit;
69
+ setLocale: typeof setLocale;
66
70
  shift: typeof shift;
67
71
  sort: typeof sort;
68
72
  split: typeof split;
@@ -15,6 +15,8 @@ const describe_1 = require("./describe");
15
15
  const find_1 = require("./find");
16
16
  const cast_1 = require("./cast");
17
17
  const get_bit_1 = require("./get_bit");
18
+ const get_locale_1 = require("./get_locale");
19
+ const set_locale_1 = require("./set_locale");
18
20
  const get_run_time_1 = require("./get_run_time");
19
21
  const get_time_1 = require("./get_time");
20
22
  const insert_database_1 = require("./insert_database");
@@ -55,6 +57,7 @@ class Statements {
55
57
  this.describe = describe_1.describe;
56
58
  this.find = find_1.find;
57
59
  this.getBit = get_bit_1.getBit;
60
+ this.getLocale = get_locale_1.getLocale;
58
61
  this.getRunTime = get_run_time_1.getRunTime;
59
62
  this.getTime = get_time_1.getTime;
60
63
  this.insertInternal = insert_internal_1.insertInternal;
@@ -65,6 +68,7 @@ class Statements {
65
68
  this.replace = replace_1.replace;
66
69
  this.rollback = rollback_1.rollback;
67
70
  this.setBit = set_bit_1.setBit;
71
+ this.setLocale = set_locale_1.setLocale;
68
72
  this.shift = shift_1.shift;
69
73
  this.sort = sort_1.sort;
70
74
  this.split = split_1.split;
@@ -0,0 +1,2 @@
1
+ import { ICharacter } from "../types/_character";
2
+ export declare function setLocale(_source: ICharacter): void;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.setLocale = void 0;
4
+ function setLocale(_source) {
5
+ // todo
6
+ }
7
+ exports.setLocale = setLocale;
8
+ //# sourceMappingURL=set_locale.js.map
package/package.json CHANGED
@@ -1,38 +1,38 @@
1
- {
2
- "name": "@abaplint/runtime",
3
- "version": "2.0.69",
4
- "description": "Transpiler - Runtime",
5
- "main": "build/src/index.js",
6
- "typings": "build/src/index.d.ts",
7
- "repository": {
8
- "type": "git",
9
- "url": "git+https://github.com/abaplint/transpiler.git"
10
- },
11
- "scripts": {
12
- "compile": "tsc",
13
- "publish:major": "npm --no-git-tag-version version major && rm -rf build && npm install && npm run test && npm publish --access public",
14
- "publish:minor": "npm --no-git-tag-version version minor && rm -rf build && npm install && npm run test && npm publish --access public",
15
- "publish:patch": "npm --no-git-tag-version version patch && rm -rf build && npm install && npm run test && npm publish --access public",
16
- "test": "npm run compile && mocha"
17
- },
18
- "mocha": {
19
- "recursive": true,
20
- "reporter": "progress",
21
- "spec": "build/test/**/*.js",
22
- "require": "source-map-support/register"
23
- },
24
- "keywords": [
25
- "ABAP",
26
- "abaplint"
27
- ],
28
- "author": "abaplint",
29
- "license": "MIT",
30
- "devDependencies": {
31
- "@types/chai": "^4.3.1",
32
- "@types/mocha": "^9.1.1",
33
- "chai": "^4.3.6",
34
- "mocha": "^10.0.0",
35
- "source-map-support": "^0.5.21",
36
- "typescript": "^4.7.4"
37
- }
38
- }
1
+ {
2
+ "name": "@abaplint/runtime",
3
+ "version": "2.0.72",
4
+ "description": "Transpiler - Runtime",
5
+ "main": "build/src/index.js",
6
+ "typings": "build/src/index.d.ts",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/abaplint/transpiler.git"
10
+ },
11
+ "scripts": {
12
+ "compile": "tsc",
13
+ "publish:major": "npm --no-git-tag-version version major && rm -rf build && npm install && npm run test && npm publish --access public",
14
+ "publish:minor": "npm --no-git-tag-version version minor && rm -rf build && npm install && npm run test && npm publish --access public",
15
+ "publish:patch": "npm --no-git-tag-version version patch && rm -rf build && npm install && npm run test && npm publish --access public",
16
+ "test": "npm run compile && mocha"
17
+ },
18
+ "mocha": {
19
+ "recursive": true,
20
+ "reporter": "progress",
21
+ "spec": "build/test/**/*.js",
22
+ "require": "source-map-support/register"
23
+ },
24
+ "keywords": [
25
+ "ABAP",
26
+ "abaplint"
27
+ ],
28
+ "author": "abaplint",
29
+ "license": "MIT",
30
+ "devDependencies": {
31
+ "@types/chai": "^4.3.1",
32
+ "@types/mocha": "^9.1.1",
33
+ "chai": "^4.3.6",
34
+ "mocha": "^10.0.0",
35
+ "source-map-support": "^0.5.21",
36
+ "typescript": "^4.7.4"
37
+ }
38
+ }