@skmtc/core 0.0.415 → 0.0.416

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
  export declare const capitalize: (str: string) => string;
2
3
  export declare const decapitalize: (str: string) => string;
3
4
  type CamelCaseOptions = {
@@ -1 +1 @@
1
- {"version":3,"file":"strings.d.ts","sourceRoot":"","sources":["../../src/helpers/strings.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,QAAS,MAAM,KAAG,MAExC,CAAA;AAED,eAAO,MAAM,YAAY,QAAS,MAAM,KAAG,MAE1C,CAAA;AAED,KAAK,gBAAgB,GAAG;IACtB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,SAAS,QAAS,MAAM,mBAAkB,gBAAgB,KAAQ,MAY9E,CAAA"}
1
+ {"version":3,"file":"strings.d.ts","sourceRoot":"","sources":["../../src/helpers/strings.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,eAAO,MAAM,UAAU,QAAS,MAAM,KAAG,MAExC,CAAA;AAED,eAAO,MAAM,YAAY,QAAS,MAAM,KAAG,MAE1C,CAAA;AAED,KAAK,gBAAgB,GAAG;IACtB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,SAAS,QAAS,MAAM,mBAAkB,gBAAgB,KAAQ,MAY9E,CAAA"}
@@ -1,3 +1,4 @@
1
+ import "../_dnt.polyfills.js";
1
2
  export const capitalize = (str) => {
2
3
  return str.charAt(0).toUpperCase() + str.slice(1);
3
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skmtc/core",
3
- "version": "0.0.415",
3
+ "version": "0.0.416",
4
4
  "main": "./script/mod.js",
5
5
  "module": "./esm/mod.js",
6
6
  "exports": {
@@ -36,6 +36,10 @@
36
36
  "import": "./esm/helpers/toResolvedArtifactPath.js",
37
37
  "require": "./script/helpers/toResolvedArtifactPath.js"
38
38
  },
39
+ "./strings": {
40
+ "import": "./esm/helpers/strings.js",
41
+ "require": "./script/helpers/strings.js"
42
+ },
39
43
  "./Settings": {
40
44
  "import": "./esm/types/Settings.js",
41
45
  "require": "./script/types/Settings.js"
@@ -1,3 +1,4 @@
1
+ import "../_dnt.polyfills.js";
1
2
  export declare const capitalize: (str: string) => string;
2
3
  export declare const decapitalize: (str: string) => string;
3
4
  type CamelCaseOptions = {
@@ -1 +1 @@
1
- {"version":3,"file":"strings.d.ts","sourceRoot":"","sources":["../../src/helpers/strings.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,QAAS,MAAM,KAAG,MAExC,CAAA;AAED,eAAO,MAAM,YAAY,QAAS,MAAM,KAAG,MAE1C,CAAA;AAED,KAAK,gBAAgB,GAAG;IACtB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,SAAS,QAAS,MAAM,mBAAkB,gBAAgB,KAAQ,MAY9E,CAAA"}
1
+ {"version":3,"file":"strings.d.ts","sourceRoot":"","sources":["../../src/helpers/strings.ts"],"names":[],"mappings":"AAAA,OAAO,sBAAsB,CAAC;AAC9B,eAAO,MAAM,UAAU,QAAS,MAAM,KAAG,MAExC,CAAA;AAED,eAAO,MAAM,YAAY,QAAS,MAAM,KAAG,MAE1C,CAAA;AAED,KAAK,gBAAgB,GAAG;IACtB,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAA;AAED,eAAO,MAAM,SAAS,QAAS,MAAM,mBAAkB,gBAAgB,KAAQ,MAY9E,CAAA"}
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.camelCase = exports.decapitalize = exports.capitalize = void 0;
4
+ require("../_dnt.polyfills.js");
4
5
  const capitalize = (str) => {
5
6
  return str.charAt(0).toUpperCase() + str.slice(1);
6
7
  };