@skmtc/core 0.0.587 → 0.0.588

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,3 +1,4 @@
1
+ import "../_dnt.polyfills.js";
1
2
  import type { RefName } from '../types/RefName.js';
2
3
  export declare const toRefName: ($ref: string) => RefName;
3
4
  type Ref = {
@@ -1 +1 @@
1
- {"version":3,"file":"refFns.d.ts","sourceRoot":"","sources":["../../src/helpers/refFns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAElD,eAAO,MAAM,SAAS,SAAU,MAAM,KAAG,OASxC,CAAA;AAED,KAAK,GAAG,GAAG;IACT,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,eAAO,MAAM,KAAK,UAAW,OAAO,KAAG,KAAK,IAAI,GAW/C,CAAA"}
1
+ {"version":3,"file":"refFns.d.ts","sourceRoot":"","sources":["../../src/helpers/refFns.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAElD,eAAO,MAAM,SAAS,SAAU,MAAM,KAAG,OASxC,CAAA;AAED,KAAK,GAAG,GAAG;IACT,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,eAAO,MAAM,KAAK,UAAW,OAAO,KAAG,KAAK,IAAI,GAW/C,CAAA"}
@@ -1,3 +1,4 @@
1
+ import "../_dnt.polyfills.js";
1
2
  export const toRefName = ($ref) => {
2
3
  // TODO: Add validation here to ensure reference exists
3
4
  const refName = $ref.split('/').slice(-1)[0];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skmtc/core",
3
- "version": "0.0.587",
3
+ "version": "0.0.588",
4
4
  "main": "./script/mod.js",
5
5
  "module": "./esm/mod.js",
6
6
  "exports": {
@@ -44,6 +44,10 @@
44
44
  "import": "./esm/types/Settings.js",
45
45
  "require": "./script/types/Settings.js"
46
46
  },
47
+ "./refFns": {
48
+ "import": "./esm/helpers/refFns.js",
49
+ "require": "./script/helpers/refFns.js"
50
+ },
47
51
  "./Preview": {
48
52
  "import": "./esm/types/Preview.js",
49
53
  "require": "./script/types/Preview.js"
@@ -1,3 +1,4 @@
1
+ import "../_dnt.polyfills.js";
1
2
  import type { RefName } from '../types/RefName.js';
2
3
  export declare const toRefName: ($ref: string) => RefName;
3
4
  type Ref = {
@@ -1 +1 @@
1
- {"version":3,"file":"refFns.d.ts","sourceRoot":"","sources":["../../src/helpers/refFns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAElD,eAAO,MAAM,SAAS,SAAU,MAAM,KAAG,OASxC,CAAA;AAED,KAAK,GAAG,GAAG;IACT,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,eAAO,MAAM,KAAK,UAAW,OAAO,KAAG,KAAK,IAAI,GAW/C,CAAA"}
1
+ {"version":3,"file":"refFns.d.ts","sourceRoot":"","sources":["../../src/helpers/refFns.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAElD,eAAO,MAAM,SAAS,SAAU,MAAM,KAAG,OASxC,CAAA;AAED,KAAK,GAAG,GAAG;IACT,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,eAAO,MAAM,KAAK,UAAW,OAAO,KAAG,KAAK,IAAI,GAW/C,CAAA"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isRef = exports.toRefName = void 0;
4
+ require("../_dnt.polyfills.js");
4
5
  const toRefName = ($ref) => {
5
6
  // TODO: Add validation here to ensure reference exists
6
7
  const refName = $ref.split('/').slice(-1)[0];