pareto-core-shorthands 0.1.12 → 0.1.14

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,7 +1,7 @@
1
1
  import * as _pi from 'pareto-core-interface';
2
2
  export declare namespace optional {
3
- const set: typeof import("pareto-core-internals/dist/target/optional/set").$$;
4
- const not_set: typeof import("pareto-core-internals/dist/target/optional/not_set").$$;
3
+ const set: typeof import("pareto-core-internals/dist/sync/expression/literals/optional").set;
4
+ const not_set: typeof import("pareto-core-internals/dist/sync/expression/literals/optional").not_set;
5
5
  }
6
6
  export type Raw_Or_Normal_Dictionary<T> = {
7
7
  [key: string]: T;
@@ -24,7 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.list = exports.dictionary = exports.optional = void 0;
27
- const _pinternals = __importStar(require("pareto-core-internals/dist/literal"));
27
+ const _pinternals = __importStar(require("pareto-core-internals/dist/sync/expression/initialize"));
28
28
  var optional;
29
29
  (function (optional) {
30
30
  optional.set = _pinternals.optional.set;
@@ -26,8 +26,8 @@ export type List<G_Source, T_L> = {
26
26
  readonly 'location': G_Source;
27
27
  };
28
28
  export declare namespace optional {
29
- const set: typeof import("pareto-core-internals/dist/target/optional/set").$$;
30
- const not_set: typeof import("pareto-core-internals/dist/target/optional/not_set").$$;
29
+ const set: typeof import("pareto-core-internals/dist/sync/expression/literals/optional").set;
30
+ const not_set: typeof import("pareto-core-internals/dist/sync/expression/literals/optional").not_set;
31
31
  }
32
32
  export declare const wrap_dictionary: <T>($: Raw_Or_Normal_Dictionary<T>) => Dictionary<_pi.Deprecated_Source_Location, T>;
33
33
  export declare const wrap_list: <T>($: Raw_Or_Normal_List<T>) => List<_pi.Deprecated_Source_Location, T>;
@@ -24,8 +24,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.wrap_stack_reference = exports.wrap_reference = exports.wrap_state_group = exports.wrap_list = exports.wrap_dictionary = exports.optional = void 0;
27
- const _pinternals = __importStar(require("pareto-core-internals/dist/literal"));
28
- const get_location_info_1 = require("pareto-core-internals/dist/misc/get_location_info");
27
+ const _pinternals = __importStar(require("pareto-core-internals/dist/sync/expression/initialize"));
28
+ const get_location_info_1 = require("pareto-core-internals/dist/sync/get_location_info");
29
29
  //implementations
30
30
  const depth = 1;
31
31
  var optional;
@@ -41,7 +41,7 @@ const wrap_dictionary = ($) => {
41
41
  if (is_normal($)) {
42
42
  return {
43
43
  'location': location,
44
- 'dictionary': $.map(($) => ({
44
+ 'dictionary': $.__d_map(($) => ({
45
45
  'location': location,
46
46
  'entry': $,
47
47
  }))
@@ -50,7 +50,7 @@ const wrap_dictionary = ($) => {
50
50
  else {
51
51
  return {
52
52
  'location': location,
53
- 'dictionary': _pinternals.dictionary.literal($).map(($) => ({
53
+ 'dictionary': _pinternals.dictionary.literal($).__d_map(($) => ({
54
54
  'location': location,
55
55
  'entry': $,
56
56
  }))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pareto-core-shorthands",
3
- "version": "0.1.12",
3
+ "version": "0.1.14",
4
4
  "license": "ISC",
5
5
  "description": "the pareto package used for building datasets",
6
6
  "author": "Corno",
@@ -23,6 +23,6 @@
23
23
  "url": "git+https://github.com/corno/pareto-core-shorthands.git"
24
24
  },
25
25
  "dependencies": {
26
- "pareto-core-internals": "^0.24.39"
26
+ "pareto-core-internals": "^0.24.45"
27
27
  }
28
28
  }