pareto-core-shorthands 0.2.3 → 0.2.5

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,12 +1,12 @@
1
- import * as _pi from "pareto-core-internals/dist/interface";
1
+ import * as _pi from "pareto-core/dist/interface";
2
2
  export type Raw_Or_Normal_Dictionary<T> = {
3
3
  [key: string]: T;
4
4
  } | _pi.Dictionary<T>;
5
5
  export type Raw_Or_Normal_List<T> = T[] | _pi.List<T>;
6
6
  export type Raw_Optional<T> = null | undefined | T;
7
7
  export declare namespace optional {
8
- const set: typeof import("pareto-core-internals/dist/__internals/sync/expression/literals/optional").set;
9
- const not_set: typeof import("pareto-core-internals/dist/__internals/sync/expression/literals/optional").not_set;
8
+ const set: typeof import("pareto-core/dist/__internals/sync/expression/literals/optional").set;
9
+ const not_set: typeof import("pareto-core/dist/__internals/sync/expression/literals/optional").not_set;
10
10
  const literal: <T>($: Raw_Optional<T>) => _pi.Optional_Value<T>;
11
11
  }
12
12
  export declare namespace dictionary {
@@ -15,16 +15,26 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.list = exports.dictionary = exports.optional = void 0;
27
- const _pinternals = __importStar(require("pareto-core-internals/dist/__internals/sync/expression/initialize"));
37
+ const _pinternals = __importStar(require("pareto-core/dist/__internals/sync/expression/initialize"));
28
38
  var optional;
29
39
  (function (optional) {
30
40
  optional.set = _pinternals.optional.set;
@@ -1,4 +1,4 @@
1
- import * as _pi from "pareto-core-internals/dist/interface";
1
+ import * as _pi from "pareto-core/dist/interface";
2
2
  export type Raw_Or_Normal_Dictionary<T> = {
3
3
  [key: string]: T;
4
4
  } | _pi.Dictionary<T>;
@@ -27,8 +27,8 @@ export type List<G_Source, T_L> = {
27
27
  readonly 'location': G_Source;
28
28
  };
29
29
  export declare namespace optional {
30
- const set: typeof import("pareto-core-internals/dist/__internals/sync/expression/literals/optional").set;
31
- const not_set: typeof import("pareto-core-internals/dist/__internals/sync/expression/literals/optional").not_set;
30
+ const set: typeof import("pareto-core/dist/__internals/sync/expression/literals/optional").set;
31
+ const not_set: typeof import("pareto-core/dist/__internals/sync/expression/literals/optional").not_set;
32
32
  const literal: <T>($: Raw_Optional<T>) => _pi.Optional_Value<T>;
33
33
  }
34
34
  export declare const wrap_dictionary: <T>($: Raw_Or_Normal_Dictionary<T>) => Dictionary<_pi.Deprecated_Source_Location, T>;
@@ -15,17 +15,27 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  exports.wrap_stack_reference = exports.wrap_reference = exports.wrap_optional = exports.wrap_state_group = exports.wrap_list = exports.wrap_dictionary = exports.optional = void 0;
27
- const _pinternals = __importStar(require("pareto-core-internals/dist/__internals/sync/expression/initialize"));
28
- const get_location_info_1 = require("pareto-core-internals/dist/__internals/sync/get_location_info");
37
+ const _pinternals = __importStar(require("pareto-core/dist/__internals/sync/expression/initialize"));
38
+ const get_location_info_1 = require("pareto-core/dist/__internals/sync/get_location_info");
29
39
  //implementations
30
40
  const depth = 1;
31
41
  var optional;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pareto-core-shorthands",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
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.25.0"
26
+ "pareto-core": "^0.1.0"
27
27
  }
28
28
  }