From efbc2ffe6a1ee5ec38a4396305561d6515d0943e Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 30 Aug 2024 17:21:18 +0800 Subject: node fixes, updates --- node_modules/dot-case/dist.es2015/index.d.ts | 3 +++ node_modules/dot-case/dist.es2015/index.js | 7 +++++++ node_modules/dot-case/dist.es2015/index.js.map | 1 + node_modules/dot-case/dist.es2015/index.spec.d.ts | 1 + node_modules/dot-case/dist.es2015/index.spec.js | 24 ++++++++++++++++++++++ .../dot-case/dist.es2015/index.spec.js.map | 1 + 6 files changed, 37 insertions(+) create mode 100644 node_modules/dot-case/dist.es2015/index.d.ts create mode 100644 node_modules/dot-case/dist.es2015/index.js create mode 100644 node_modules/dot-case/dist.es2015/index.js.map create mode 100644 node_modules/dot-case/dist.es2015/index.spec.d.ts create mode 100644 node_modules/dot-case/dist.es2015/index.spec.js create mode 100644 node_modules/dot-case/dist.es2015/index.spec.js.map (limited to 'node_modules/dot-case/dist.es2015') diff --git a/node_modules/dot-case/dist.es2015/index.d.ts b/node_modules/dot-case/dist.es2015/index.d.ts new file mode 100644 index 00000000..55c551a6 --- /dev/null +++ b/node_modules/dot-case/dist.es2015/index.d.ts @@ -0,0 +1,3 @@ +import { Options } from "no-case"; +export { Options }; +export declare function dotCase(input: string, options?: Options): string; diff --git a/node_modules/dot-case/dist.es2015/index.js b/node_modules/dot-case/dist.es2015/index.js new file mode 100644 index 00000000..a5cc13e4 --- /dev/null +++ b/node_modules/dot-case/dist.es2015/index.js @@ -0,0 +1,7 @@ +import { __assign } from "tslib"; +import { noCase } from "no-case"; +export function dotCase(input, options) { + if (options === void 0) { options = {}; } + return noCase(input, __assign({ delimiter: "." }, options)); +} +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/node_modules/dot-case/dist.es2015/index.js.map b/node_modules/dot-case/dist.es2015/index.js.map new file mode 100644 index 00000000..e9bbda4b --- /dev/null +++ b/node_modules/dot-case/dist.es2015/index.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAW,MAAM,SAAS,CAAC;AAI1C,MAAM,UAAU,OAAO,CAAC,KAAa,EAAE,OAAqB;IAArB,wBAAA,EAAA,YAAqB;IAC1D,OAAO,MAAM,CAAC,KAAK,aACjB,SAAS,EAAE,GAAG,IACX,OAAO,EACV,CAAC;AACL,CAAC","sourcesContent":["import { noCase, Options } from \"no-case\";\n\nexport { Options };\n\nexport function dotCase(input: string, options: Options = {}) {\n return noCase(input, {\n delimiter: \".\",\n ...options,\n });\n}\n"]} \ No newline at end of file diff --git a/node_modules/dot-case/dist.es2015/index.spec.d.ts b/node_modules/dot-case/dist.es2015/index.spec.d.ts new file mode 100644 index 00000000..cb0ff5c3 --- /dev/null +++ b/node_modules/dot-case/dist.es2015/index.spec.d.ts @@ -0,0 +1 @@ +export {}; diff --git a/node_modules/dot-case/dist.es2015/index.spec.js b/node_modules/dot-case/dist.es2015/index.spec.js new file mode 100644 index 00000000..b1fd48e6 --- /dev/null +++ b/node_modules/dot-case/dist.es2015/index.spec.js @@ -0,0 +1,24 @@ +import { dotCase } from "."; +var TEST_CASES = [ + ["", ""], + ["test", "test"], + ["test string", "test.string"], + ["Test String", "test.string"], + ["dot.case", "dot.case"], + ["path/case", "path.case"], + ["TestV2", "test.v2"], + ["version 1.2.10", "version.1.2.10"], + ["version 1.21.0", "version.1.21.0"], +]; +describe("dot case", function () { + var _loop_1 = function (input, result) { + it(input + " -> " + result, function () { + expect(dotCase(input)).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]; + _loop_1(input, result); + } +}); +//# sourceMappingURL=index.spec.js.map \ No newline at end of file diff --git a/node_modules/dot-case/dist.es2015/index.spec.js.map b/node_modules/dot-case/dist.es2015/index.spec.js.map new file mode 100644 index 00000000..4e246c0c --- /dev/null +++ b/node_modules/dot-case/dist.es2015/index.spec.js.map @@ -0,0 +1 @@ +{"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../src/index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,GAAG,CAAC;AAE5B,IAAM,UAAU,GAAuB;IACrC,CAAC,EAAE,EAAE,EAAE,CAAC;IACR,CAAC,MAAM,EAAE,MAAM,CAAC;IAChB,CAAC,aAAa,EAAE,aAAa,CAAC;IAC9B,CAAC,aAAa,EAAE,aAAa,CAAC;IAC9B,CAAC,UAAU,EAAE,UAAU,CAAC;IACxB,CAAC,WAAW,EAAE,WAAW,CAAC;IAC1B,CAAC,QAAQ,EAAE,SAAS,CAAC;IACrB,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IACpC,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;CACrC,CAAC;AAEF,QAAQ,CAAC,UAAU,EAAE;4BACP,KAAK,EAAE,MAAM;QACvB,EAAE,CAAI,KAAK,YAAO,MAAQ,EAAE;YAC1B,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QACzC,CAAC,CAAC,CAAC;;IAHL,KAA8B,UAAU,EAAV,yBAAU,EAAV,wBAAU,EAAV,IAAU;QAA7B,IAAA,qBAAe,EAAd,KAAK,QAAA,EAAE,MAAM,QAAA;gBAAb,KAAK,EAAE,MAAM;KAIxB;AACH,CAAC,CAAC,CAAC","sourcesContent":["import { dotCase } from \".\";\n\nconst TEST_CASES: [string, string][] = [\n [\"\", \"\"],\n [\"test\", \"test\"],\n [\"test string\", \"test.string\"],\n [\"Test String\", \"test.string\"],\n [\"dot.case\", \"dot.case\"],\n [\"path/case\", \"path.case\"],\n [\"TestV2\", \"test.v2\"],\n [\"version 1.2.10\", \"version.1.2.10\"],\n [\"version 1.21.0\", \"version.1.21.0\"],\n];\n\ndescribe(\"dot case\", () => {\n for (const [input, result] of TEST_CASES) {\n it(`${input} -> ${result}`, () => {\n expect(dotCase(input)).toEqual(result);\n });\n }\n});\n"]} \ No newline at end of file -- cgit v1.2.3