diff options
Diffstat (limited to 'node_modules/camel-case/dist.es2015')
| -rw-r--r-- | node_modules/camel-case/dist.es2015/index.d.ts | 5 | ||||
| -rw-r--r-- | node_modules/camel-case/dist.es2015/index.js | 17 | ||||
| -rw-r--r-- | node_modules/camel-case/dist.es2015/index.js.map | 1 | ||||
| -rw-r--r-- | node_modules/camel-case/dist.es2015/index.spec.d.ts | 1 | ||||
| -rw-r--r-- | node_modules/camel-case/dist.es2015/index.spec.js | 24 | ||||
| -rw-r--r-- | node_modules/camel-case/dist.es2015/index.spec.js.map | 1 |
6 files changed, 0 insertions, 49 deletions
diff --git a/node_modules/camel-case/dist.es2015/index.d.ts b/node_modules/camel-case/dist.es2015/index.d.ts deleted file mode 100644 index 23c665c6..00000000 --- a/node_modules/camel-case/dist.es2015/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { Options } from "pascal-case"; -export { Options }; -export declare function camelCaseTransform(input: string, index: number): string; -export declare function camelCaseTransformMerge(input: string, index: number): string; -export declare function camelCase(input: string, options?: Options): string; diff --git a/node_modules/camel-case/dist.es2015/index.js b/node_modules/camel-case/dist.es2015/index.js deleted file mode 100644 index c5fd0a4c..00000000 --- a/node_modules/camel-case/dist.es2015/index.js +++ /dev/null @@ -1,17 +0,0 @@ -import { __assign } from "tslib"; -import { pascalCase, pascalCaseTransform, pascalCaseTransformMerge, } from "pascal-case"; -export function camelCaseTransform(input, index) { - if (index === 0) - return input.toLowerCase(); - return pascalCaseTransform(input, index); -} -export function camelCaseTransformMerge(input, index) { - if (index === 0) - return input.toLowerCase(); - return pascalCaseTransformMerge(input); -} -export function camelCase(input, options) { - if (options === void 0) { options = {}; } - return pascalCase(input, __assign({ transform: camelCaseTransform }, options)); -} -//# sourceMappingURL=index.js.map
\ No newline at end of file diff --git a/node_modules/camel-case/dist.es2015/index.js.map b/node_modules/camel-case/dist.es2015/index.js.map deleted file mode 100644 index b9ef1deb..00000000 --- a/node_modules/camel-case/dist.es2015/index.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,EACL,UAAU,EACV,mBAAmB,EACnB,wBAAwB,GAEzB,MAAM,aAAa,CAAC;AAIrB,MAAM,UAAU,kBAAkB,CAAC,KAAa,EAAE,KAAa;IAC7D,IAAI,KAAK,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC,WAAW,EAAE,CAAC;IAC5C,OAAO,mBAAmB,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AAC3C,CAAC;AAED,MAAM,UAAU,uBAAuB,CAAC,KAAa,EAAE,KAAa;IAClE,IAAI,KAAK,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC,WAAW,EAAE,CAAC;IAC5C,OAAO,wBAAwB,CAAC,KAAK,CAAC,CAAC;AACzC,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,KAAa,EAAE,OAAqB;IAArB,wBAAA,EAAA,YAAqB;IAC5D,OAAO,UAAU,CAAC,KAAK,aACrB,SAAS,EAAE,kBAAkB,IAC1B,OAAO,EACV,CAAC;AACL,CAAC","sourcesContent":["import {\n pascalCase,\n pascalCaseTransform,\n pascalCaseTransformMerge,\n Options,\n} from \"pascal-case\";\n\nexport { Options };\n\nexport function camelCaseTransform(input: string, index: number) {\n if (index === 0) return input.toLowerCase();\n return pascalCaseTransform(input, index);\n}\n\nexport function camelCaseTransformMerge(input: string, index: number) {\n if (index === 0) return input.toLowerCase();\n return pascalCaseTransformMerge(input);\n}\n\nexport function camelCase(input: string, options: Options = {}) {\n return pascalCase(input, {\n transform: camelCaseTransform,\n ...options,\n });\n}\n"]}
\ No newline at end of file diff --git a/node_modules/camel-case/dist.es2015/index.spec.d.ts b/node_modules/camel-case/dist.es2015/index.spec.d.ts deleted file mode 100644 index cb0ff5c3..00000000 --- a/node_modules/camel-case/dist.es2015/index.spec.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/node_modules/camel-case/dist.es2015/index.spec.js b/node_modules/camel-case/dist.es2015/index.spec.js deleted file mode 100644 index 0396a8ac..00000000 --- a/node_modules/camel-case/dist.es2015/index.spec.js +++ /dev/null @@ -1,24 +0,0 @@ -import { camelCase, camelCaseTransformMerge } from "."; -var TEST_CASES = [ - ["", ""], - ["test", "test"], - ["test string", "testString"], - ["Test String", "testString"], - ["TestV2", "testV2"], - ["_foo_bar_", "fooBar"], - ["version 1.2.10", "version_1_2_10"], - ["version 1.21.0", "version_1_21_0"], - ["version 1.2.10", "version1210", { transform: camelCaseTransformMerge }], -]; -describe("camel case", function () { - var _loop_1 = function (input, result, options) { - it(input + " -> " + result, function () { - expect(camelCase(input, options)).toEqual(result); - }); - }; - for (var _i = 0, TEST_CASES_1 = TEST_CASES; _i < TEST_CASES_1.length; _i++) { - var _a = TEST_CASES_1[_i], input = _a[0], result = _a[1], options = _a[2]; - _loop_1(input, result, options); - } -}); -//# sourceMappingURL=index.spec.js.map
\ No newline at end of file diff --git a/node_modules/camel-case/dist.es2015/index.spec.js.map b/node_modules/camel-case/dist.es2015/index.spec.js.map deleted file mode 100644 index 13472d71..00000000 --- a/node_modules/camel-case/dist.es2015/index.spec.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../src/index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAW,MAAM,GAAG,CAAC;AAEhE,IAAM,UAAU,GAAiC;IAC/C,CAAC,EAAE,EAAE,EAAE,CAAC;IACR,CAAC,MAAM,EAAE,MAAM,CAAC;IAChB,CAAC,aAAa,EAAE,YAAY,CAAC;IAC7B,CAAC,aAAa,EAAE,YAAY,CAAC;IAC7B,CAAC,QAAQ,EAAE,QAAQ,CAAC;IACpB,CAAC,WAAW,EAAE,QAAQ,CAAC;IACvB,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IACpC,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IACpC,CAAC,gBAAgB,EAAE,aAAa,EAAE,EAAE,SAAS,EAAE,uBAAuB,EAAE,CAAC;CAC1E,CAAC;AAEF,QAAQ,CAAC,YAAY,EAAE;4BACT,KAAK,EAAE,MAAM,EAAE,OAAO;QAChC,EAAE,CAAI,KAAK,YAAO,MAAQ,EAAE;YAC1B,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACpD,CAAC,CAAC,CAAC;;IAHL,KAAuC,UAAU,EAAV,yBAAU,EAAV,wBAAU,EAAV,IAAU;QAAtC,IAAA,qBAAwB,EAAvB,KAAK,QAAA,EAAE,MAAM,QAAA,EAAE,OAAO,QAAA;gBAAtB,KAAK,EAAE,MAAM,EAAE,OAAO;KAIjC;AACH,CAAC,CAAC,CAAC","sourcesContent":["import { camelCase, camelCaseTransformMerge, Options } from \".\";\n\nconst TEST_CASES: [string, string, Options?][] = [\n [\"\", \"\"],\n [\"test\", \"test\"],\n [\"test string\", \"testString\"],\n [\"Test String\", \"testString\"],\n [\"TestV2\", \"testV2\"],\n [\"_foo_bar_\", \"fooBar\"],\n [\"version 1.2.10\", \"version_1_2_10\"],\n [\"version 1.21.0\", \"version_1_21_0\"],\n [\"version 1.2.10\", \"version1210\", { transform: camelCaseTransformMerge }],\n];\n\ndescribe(\"camel case\", () => {\n for (const [input, result, options] of TEST_CASES) {\n it(`${input} -> ${result}`, () => {\n expect(camelCase(input, options)).toEqual(result);\n });\n }\n});\n"]}
\ No newline at end of file |
