first commit
This commit is contained in:
21
app_vue/node_modules/param-case/LICENSE
generated
vendored
Normal file
21
app_vue/node_modules/param-case/LICENSE
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2014 Blake Embrey (hello@blakeembrey.com)
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in
|
||||
all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
37
app_vue/node_modules/param-case/README.md
generated
vendored
Normal file
37
app_vue/node_modules/param-case/README.md
generated
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
# Param Case
|
||||
|
||||
[![NPM version][npm-image]][npm-url]
|
||||
[![NPM downloads][downloads-image]][downloads-url]
|
||||
[![Bundle size][bundlephobia-image]][bundlephobia-url]
|
||||
|
||||
> Transform into a lower cased string with dashes between words.
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
npm install param-case --save
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
import { paramCase } from "param-case";
|
||||
|
||||
paramCase("string"); //=> "string"
|
||||
paramCase("dot.case"); //=> "dot-case"
|
||||
paramCase("PascalCase"); //=> "pascal-case"
|
||||
paramCase("version 1.2.10"); //=> "version-1-2-10"
|
||||
```
|
||||
|
||||
The function also accepts [`options`](https://github.com/blakeembrey/change-case#options).
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
[npm-image]: https://img.shields.io/npm/v/param-case.svg?style=flat
|
||||
[npm-url]: https://npmjs.org/package/param-case
|
||||
[downloads-image]: https://img.shields.io/npm/dm/param-case.svg?style=flat
|
||||
[downloads-url]: https://npmjs.org/package/param-case
|
||||
[bundlephobia-image]: https://img.shields.io/bundlephobia/minzip/param-case.svg
|
||||
[bundlephobia-url]: https://bundlephobia.com/result?p=param-case
|
3
app_vue/node_modules/param-case/dist.es2015/index.d.ts
generated
vendored
Normal file
3
app_vue/node_modules/param-case/dist.es2015/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
import { Options } from "dot-case";
|
||||
export { Options };
|
||||
export declare function paramCase(input: string, options?: Options): string;
|
7
app_vue/node_modules/param-case/dist.es2015/index.js
generated
vendored
Normal file
7
app_vue/node_modules/param-case/dist.es2015/index.js
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
import { __assign } from "tslib";
|
||||
import { dotCase } from "dot-case";
|
||||
export function paramCase(input, options) {
|
||||
if (options === void 0) { options = {}; }
|
||||
return dotCase(input, __assign({ delimiter: "-" }, options));
|
||||
}
|
||||
//# sourceMappingURL=index.js.map
|
1
app_vue/node_modules/param-case/dist.es2015/index.js.map
generated
vendored
Normal file
1
app_vue/node_modules/param-case/dist.es2015/index.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAW,MAAM,UAAU,CAAC;AAI5C,MAAM,UAAU,SAAS,CAAC,KAAa,EAAE,OAAqB;IAArB,wBAAA,EAAA,YAAqB;IAC5D,OAAO,OAAO,CAAC,KAAK,aAClB,SAAS,EAAE,GAAG,IACX,OAAO,EACV,CAAC;AACL,CAAC","sourcesContent":["import { dotCase, Options } from \"dot-case\";\n\nexport { Options };\n\nexport function paramCase(input: string, options: Options = {}) {\n return dotCase(input, {\n delimiter: \"-\",\n ...options,\n });\n}\n"]}
|
1
app_vue/node_modules/param-case/dist.es2015/index.spec.d.ts
generated
vendored
Normal file
1
app_vue/node_modules/param-case/dist.es2015/index.spec.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export {};
|
22
app_vue/node_modules/param-case/dist.es2015/index.spec.js
generated
vendored
Normal file
22
app_vue/node_modules/param-case/dist.es2015/index.spec.js
generated
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
import { paramCase } from ".";
|
||||
var TEST_CASES = [
|
||||
["", ""],
|
||||
["test", "test"],
|
||||
["test string", "test-string"],
|
||||
["Test String", "test-string"],
|
||||
["TestV2", "test-v2"],
|
||||
["version 1.2.10", "version-1-2-10"],
|
||||
["version 1.21.0", "version-1-21-0"],
|
||||
];
|
||||
describe("param case", function () {
|
||||
var _loop_1 = function (input, result) {
|
||||
it(input + " -> " + result, function () {
|
||||
expect(paramCase(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
|
1
app_vue/node_modules/param-case/dist.es2015/index.spec.js.map
generated
vendored
Normal file
1
app_vue/node_modules/param-case/dist.es2015/index.spec.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../src/index.spec.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,GAAG,CAAC;AAE9B,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,QAAQ,EAAE,SAAS,CAAC;IACrB,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IACpC,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;CACrC,CAAC;AAEF,QAAQ,CAAC,YAAY,EAAE;4BACT,KAAK,EAAE,MAAM;QACvB,EAAE,CAAI,KAAK,YAAO,MAAQ,EAAE;YAC1B,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAC3C,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 { paramCase } from \".\";\n\nconst TEST_CASES: [string, string][] = [\n [\"\", \"\"],\n [\"test\", \"test\"],\n [\"test string\", \"test-string\"],\n [\"Test String\", \"test-string\"],\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(\"param case\", () => {\n for (const [input, result] of TEST_CASES) {\n it(`${input} -> ${result}`, () => {\n expect(paramCase(input)).toEqual(result);\n });\n }\n});\n"]}
|
3
app_vue/node_modules/param-case/dist/index.d.ts
generated
vendored
Normal file
3
app_vue/node_modules/param-case/dist/index.d.ts
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
import { Options } from "dot-case";
|
||||
export { Options };
|
||||
export declare function paramCase(input: string, options?: Options): string;
|
11
app_vue/node_modules/param-case/dist/index.js
generated
vendored
Normal file
11
app_vue/node_modules/param-case/dist/index.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.paramCase = void 0;
|
||||
var tslib_1 = require("tslib");
|
||||
var dot_case_1 = require("dot-case");
|
||||
function paramCase(input, options) {
|
||||
if (options === void 0) { options = {}; }
|
||||
return dot_case_1.dotCase(input, tslib_1.__assign({ delimiter: "-" }, options));
|
||||
}
|
||||
exports.paramCase = paramCase;
|
||||
//# sourceMappingURL=index.js.map
|
1
app_vue/node_modules/param-case/dist/index.js.map
generated
vendored
Normal file
1
app_vue/node_modules/param-case/dist/index.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,qCAA4C;AAI5C,SAAgB,SAAS,CAAC,KAAa,EAAE,OAAqB;IAArB,wBAAA,EAAA,YAAqB;IAC5D,OAAO,kBAAO,CAAC,KAAK,qBAClB,SAAS,EAAE,GAAG,IACX,OAAO,EACV,CAAC;AACL,CAAC;AALD,8BAKC","sourcesContent":["import { dotCase, Options } from \"dot-case\";\n\nexport { Options };\n\nexport function paramCase(input: string, options: Options = {}) {\n return dotCase(input, {\n delimiter: \"-\",\n ...options,\n });\n}\n"]}
|
1
app_vue/node_modules/param-case/dist/index.spec.d.ts
generated
vendored
Normal file
1
app_vue/node_modules/param-case/dist/index.spec.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export {};
|
24
app_vue/node_modules/param-case/dist/index.spec.js
generated
vendored
Normal file
24
app_vue/node_modules/param-case/dist/index.spec.js
generated
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var _1 = require(".");
|
||||
var TEST_CASES = [
|
||||
["", ""],
|
||||
["test", "test"],
|
||||
["test string", "test-string"],
|
||||
["Test String", "test-string"],
|
||||
["TestV2", "test-v2"],
|
||||
["version 1.2.10", "version-1-2-10"],
|
||||
["version 1.21.0", "version-1-21-0"],
|
||||
];
|
||||
describe("param case", function () {
|
||||
var _loop_1 = function (input, result) {
|
||||
it(input + " -> " + result, function () {
|
||||
expect(_1.paramCase(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
|
1
app_vue/node_modules/param-case/dist/index.spec.js.map
generated
vendored
Normal file
1
app_vue/node_modules/param-case/dist/index.spec.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.spec.js","sourceRoot":"","sources":["../src/index.spec.ts"],"names":[],"mappings":";;AAAA,sBAA8B;AAE9B,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,QAAQ,EAAE,SAAS,CAAC;IACrB,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;IACpC,CAAC,gBAAgB,EAAE,gBAAgB,CAAC;CACrC,CAAC;AAEF,QAAQ,CAAC,YAAY,EAAE;4BACT,KAAK,EAAE,MAAM;QACvB,EAAE,CAAI,KAAK,YAAO,MAAQ,EAAE;YAC1B,MAAM,CAAC,YAAS,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAC3C,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 { paramCase } from \".\";\n\nconst TEST_CASES: [string, string][] = [\n [\"\", \"\"],\n [\"test\", \"test\"],\n [\"test string\", \"test-string\"],\n [\"Test String\", \"test-string\"],\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(\"param case\", () => {\n for (const [input, result] of TEST_CASES) {\n it(`${input} -> ${result}`, () => {\n expect(paramCase(input)).toEqual(result);\n });\n }\n});\n"]}
|
91
app_vue/node_modules/param-case/package.json
generated
vendored
Normal file
91
app_vue/node_modules/param-case/package.json
generated
vendored
Normal file
@ -0,0 +1,91 @@
|
||||
{
|
||||
"name": "param-case",
|
||||
"version": "3.0.4",
|
||||
"description": "Transform into a lower cased string with dashes between words",
|
||||
"main": "dist/index.js",
|
||||
"typings": "dist/index.d.ts",
|
||||
"module": "dist.es2015/index.js",
|
||||
"sideEffects": false,
|
||||
"jsnext:main": "dist.es2015/index.js",
|
||||
"files": [
|
||||
"dist/",
|
||||
"dist.es2015/",
|
||||
"LICENSE"
|
||||
],
|
||||
"scripts": {
|
||||
"lint": "tslint \"src/**/*\" --project tsconfig.json",
|
||||
"build": "rimraf dist/ dist.es2015/ && tsc && tsc -P tsconfig.es2015.json",
|
||||
"specs": "jest --coverage",
|
||||
"test": "npm run build && npm run lint && npm run specs",
|
||||
"size": "size-limit",
|
||||
"prepare": "npm run build"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/blakeembrey/change-case.git"
|
||||
},
|
||||
"keywords": [
|
||||
"param",
|
||||
"case",
|
||||
"kebab",
|
||||
"hyphen",
|
||||
"dash",
|
||||
"dash-case",
|
||||
"param-case",
|
||||
"convert",
|
||||
"transform"
|
||||
],
|
||||
"author": {
|
||||
"name": "Blake Embrey",
|
||||
"email": "hello@blakeembrey.com",
|
||||
"url": "http://blakeembrey.me"
|
||||
},
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/blakeembrey/change-case/issues"
|
||||
},
|
||||
"homepage": "https://github.com/blakeembrey/change-case/tree/master/packages/param-case#readme",
|
||||
"size-limit": [
|
||||
{
|
||||
"path": "dist/index.js",
|
||||
"limit": "400 B"
|
||||
}
|
||||
],
|
||||
"jest": {
|
||||
"roots": [
|
||||
"<rootDir>/src/"
|
||||
],
|
||||
"transform": {
|
||||
"\\.tsx?$": "ts-jest"
|
||||
},
|
||||
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
|
||||
"moduleFileExtensions": [
|
||||
"ts",
|
||||
"tsx",
|
||||
"js",
|
||||
"jsx",
|
||||
"json",
|
||||
"node"
|
||||
]
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"dependencies": {
|
||||
"dot-case": "^3.0.4",
|
||||
"tslib": "^2.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@size-limit/preset-small-lib": "^2.2.1",
|
||||
"@types/jest": "^24.0.23",
|
||||
"@types/node": "^12.12.14",
|
||||
"jest": "^24.9.0",
|
||||
"rimraf": "^3.0.0",
|
||||
"ts-jest": "^24.2.0",
|
||||
"tslint": "^5.20.1",
|
||||
"tslint-config-prettier": "^1.18.0",
|
||||
"tslint-config-standard": "^9.0.0",
|
||||
"typescript": "^4.1.2"
|
||||
},
|
||||
"gitHead": "76a21a7f6f2a226521ef6abd345ff309cbd01fb0"
|
||||
}
|
Reference in New Issue
Block a user