@commercelayer/cli-core
Advanced tools
Comparing version 4.5.2 to 4.6.0
declare const capitalize: (str: string | undefined) => string | undefined; | ||
declare const pluralize: (str: string, plural?: string | undefined) => string; | ||
declare const singularize: (str: string, singular?: string | undefined) => string; | ||
export { capitalize, pluralize, singularize }; | ||
declare const camelize: (str: string, lowFirstLetter?: boolean | undefined) => string; | ||
export { capitalize, pluralize, singularize, camelize }; | ||
export { symbols } from './symbol'; |
@@ -1,1 +0,1 @@ | ||
"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.symbols=exports.singularize=exports.pluralize=exports.capitalize=void 0;const inflector_1=__importDefault(require("./inflector")),capitalize=e=>{if(!e)return e;let r=e.toLowerCase();return r=r.substring(0,1).toUpperCase()+r.substring(1),r};exports.capitalize=capitalize;const pluralize=inflector_1.default.pluralize;exports.pluralize=pluralize;const singularize=inflector_1.default.singularize;exports.singularize=singularize;var symbol_1=require("./symbol");Object.defineProperty(exports,"symbols",{enumerable:!0,get:function(){return symbol_1.symbols}}); | ||
"use strict";var __importDefault=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.symbols=exports.camelize=exports.singularize=exports.pluralize=exports.capitalize=void 0;const inflector_1=__importDefault(require("./inflector")),capitalize=e=>{if(!e)return e;let t=e.toLowerCase();return t=t.substring(0,1).toUpperCase()+t.substring(1),t};exports.capitalize=capitalize;const pluralize=inflector_1.default.pluralize;exports.pluralize=pluralize;const singularize=inflector_1.default.singularize;exports.singularize=singularize;const camelize=inflector_1.default.camelize;exports.camelize=camelize;var symbol_1=require("./symbol");Object.defineProperty(exports,"symbols",{enumerable:!0,get:function(){return symbol_1.symbols}}); |
declare const capitalize: (str: string | undefined) => string | undefined; | ||
declare const pluralize: (str: string, plural?: string | undefined) => string; | ||
declare const singularize: (str: string, singular?: string | undefined) => string; | ||
export { capitalize, pluralize, singularize }; | ||
declare const camelize: (str: string, lowFirstLetter?: boolean | undefined) => string; | ||
export { capitalize, pluralize, singularize, camelize }; | ||
export { symbols } from './symbol'; |
@@ -1,1 +0,1 @@ | ||
import o from"./inflector";const t=e=>{if(!e)return e;let r=e.toLowerCase();return r=r.substring(0,1).toUpperCase()+r.substring(1),r},i=o.pluralize,s=o.singularize;export{t as capitalize,i as pluralize,s as singularize};export{symbols}from"./symbol"; | ||
import i from"./inflector";const o=r=>{if(!r)return r;let e=r.toLowerCase();return e=e.substring(0,1).toUpperCase()+e.substring(1),e},t=i.pluralize,s=i.singularize,l=i.camelize;export{o as capitalize,t as pluralize,s as singularize,l as camelize};export{symbols}from"./symbol"; |
{ | ||
"name": "@commercelayer/cli-core", | ||
"version": "4.5.2", | ||
"version": "4.6.0", | ||
"main": "lib/cjs/index.js", | ||
@@ -36,3 +36,3 @@ "types": "lib/cjs/index.d.ts", | ||
"devDependencies": { | ||
"@babel/preset-env": "^7.23.3", | ||
"@babel/preset-env": "^7.23.5", | ||
"@babel/preset-typescript": "^7.23.3", | ||
@@ -45,4 +45,4 @@ "@commercelayer/eslint-config-ts": "^1.2.0", | ||
"@types/jsonwebtoken": "^9.0.5", | ||
"@types/node": "^20.9.4", | ||
"@typescript-eslint/eslint-plugin": "^6.12.0", | ||
"@types/node": "^20.10.0", | ||
"@typescript-eslint/eslint-plugin": "^6.13.1", | ||
"dotenv": "^16.3.1", | ||
@@ -49,0 +49,0 @@ "eslint": "^8.54.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
195052
985