@onivoro/isomorphic-common 0.0.13 → 0.0.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onivoro/isomorphic-common",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "main": "./src/index.js",
5
5
  "type": "commonjs"
6
6
  }
package/src/index.d.ts CHANGED
@@ -7,6 +7,7 @@ export * from './lib/functions/convert-object-to-literal.function';
7
7
  export * from './lib/functions/from-boolean-string.function';
8
8
  export * from './lib/functions/from-calendar-date.function';
9
9
  export * from './lib/functions/from-csv-string.function';
10
+ export * from './lib/functions/kebab-case.function';
10
11
  export * from './lib/functions/parse-bool.function';
11
12
  export * from './lib/functions/properties-to-array.function';
12
13
  export * from './lib/functions/sanitize-filename.function';
package/src/index.js CHANGED
@@ -10,6 +10,7 @@ tslib_1.__exportStar(require("./lib/functions/convert-object-to-literal.function
10
10
  tslib_1.__exportStar(require("./lib/functions/from-boolean-string.function"), exports);
11
11
  tslib_1.__exportStar(require("./lib/functions/from-calendar-date.function"), exports);
12
12
  tslib_1.__exportStar(require("./lib/functions/from-csv-string.function"), exports);
13
+ tslib_1.__exportStar(require("./lib/functions/kebab-case.function"), exports);
13
14
  tslib_1.__exportStar(require("./lib/functions/parse-bool.function"), exports);
14
15
  tslib_1.__exportStar(require("./lib/functions/properties-to-array.function"), exports);
15
16
  tslib_1.__exportStar(require("./lib/functions/sanitize-filename.function"), exports);
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/isomorphic-common/src/index.ts"],"names":[],"mappings":";;;AAAA,kFAAwD;AACxD,mFAAyD;AACzD,qFAA2D;AAE3D,8EAAoD;AACpD,8EAAoD;AACpD,6FAAmE;AACnE,uFAA6D;AAC7D,sFAA4D;AAC5D,mFAAyD;AACzD,8EAAoD;AACpD,uFAA6D;AAC7D,qFAA2D;AAC3D,8EAAoD;AACpD,mFAAyD;AACzD,qFAA2D;AAC3D,oFAA0D;AAC1D,iFAAuD;AACvD,mFAAyD;AACzD,yFAA+D;AAC/D,yFAA+D;AAC/D,mFAAyD;AACzD,kFAAwD;AACxD,8EAAoD;AACpD,+EAAqD;AACrD,yEAA+C;AAE/C,kGAAwE;AACxE,qFAA2D;AAC3D,wEAA8C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../libs/isomorphic-common/src/index.ts"],"names":[],"mappings":";;;AAAA,kFAAwD;AACxD,mFAAyD;AACzD,qFAA2D;AAE3D,8EAAoD;AACpD,8EAAoD;AACpD,6FAAmE;AACnE,uFAA6D;AAC7D,sFAA4D;AAC5D,mFAAyD;AACzD,8EAAoD;AACpD,8EAAoD;AACpD,uFAA6D;AAC7D,qFAA2D;AAC3D,8EAAoD;AACpD,mFAAyD;AACzD,qFAA2D;AAC3D,oFAA0D;AAC1D,iFAAuD;AACvD,mFAAyD;AACzD,yFAA+D;AAC/D,yFAA+D;AAC/D,mFAAyD;AACzD,kFAAwD;AACxD,8EAAoD;AACpD,+EAAqD;AACrD,yEAA+C;AAE/C,kGAAwE;AACxE,qFAA2D;AAC3D,wEAA8C"}
@@ -0,0 +1 @@
1
+ export declare function kebabCase(string: any): any;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.kebabCase = void 0;
4
+ const snake_case_function_1 = require("./snake-case.function");
5
+ function kebabCase(string) {
6
+ return (0, snake_case_function_1.snakeCase)(string).replace(/_/g, '-');
7
+ }
8
+ exports.kebabCase = kebabCase;
9
+ //# sourceMappingURL=kebab-case.function.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kebab-case.function.js","sourceRoot":"","sources":["../../../../../../libs/isomorphic-common/src/lib/functions/kebab-case.function.ts"],"names":[],"mappings":";;;AAAA,+DAAkD;AAElD,SAAgB,SAAS,CAAC,MAAM;IAC9B,OAAO,IAAA,+BAAS,EAAC,MAAM,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;AAC9C,CAAC;AAFD,8BAEC"}