first commit
This commit is contained in:
21
node_modules/upper-case-first/LICENSE
generated
vendored
Normal file
21
node_modules/upper-case-first/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.
|
||||
32
node_modules/upper-case-first/README.md
generated
vendored
Normal file
32
node_modules/upper-case-first/README.md
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
# Upper Case First
|
||||
|
||||
[![NPM version][npm-image]][npm-url]
|
||||
[![NPM downloads][downloads-image]][downloads-url]
|
||||
[![Bundle size][bundlephobia-image]][bundlephobia-url]
|
||||
|
||||
> Transforms the string with the first character in upper cased.
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
npm install upper-case-first --save
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
import { upperCaseFirst } from "upper-case-first";
|
||||
|
||||
upperCaseFirst("test"); //=> "Test"
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
|
||||
[npm-image]: https://img.shields.io/npm/v/upper-case-first.svg?style=flat
|
||||
[npm-url]: https://npmjs.org/package/upper-case-first
|
||||
[downloads-image]: https://img.shields.io/npm/dm/upper-case-first.svg?style=flat
|
||||
[downloads-url]: https://npmjs.org/package/upper-case-first
|
||||
[bundlephobia-image]: https://img.shields.io/bundlephobia/minzip/upper-case-first.svg
|
||||
[bundlephobia-url]: https://bundlephobia.com/result?p=upper-case-first
|
||||
4
node_modules/upper-case-first/dist.es2015/index.d.ts
generated
vendored
Normal file
4
node_modules/upper-case-first/dist.es2015/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* Upper case the first character of an input string.
|
||||
*/
|
||||
export declare function upperCaseFirst(input: string): string;
|
||||
7
node_modules/upper-case-first/dist.es2015/index.js
generated
vendored
Normal file
7
node_modules/upper-case-first/dist.es2015/index.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
/**
|
||||
* Upper case the first character of an input string.
|
||||
*/
|
||||
export function upperCaseFirst(input) {
|
||||
return input.charAt(0).toUpperCase() + input.substr(1);
|
||||
}
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
node_modules/upper-case-first/dist.es2015/index.js.map
generated
vendored
Normal file
1
node_modules/upper-case-first/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;;GAEG;AACH,MAAM,UAAU,cAAc,CAAC,KAAa;IAC1C,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AACzD,CAAC","sourcesContent":["/**\n * Upper case the first character of an input string.\n */\nexport function upperCaseFirst(input: string) {\n return input.charAt(0).toUpperCase() + input.substr(1);\n}\n"]}
|
||||
1
node_modules/upper-case-first/dist.es2015/index.spec.d.ts
generated
vendored
Normal file
1
node_modules/upper-case-first/dist.es2015/index.spec.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
||||
18
node_modules/upper-case-first/dist.es2015/index.spec.js
generated
vendored
Normal file
18
node_modules/upper-case-first/dist.es2015/index.spec.js
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import { upperCaseFirst } from ".";
|
||||
var TEST_CASES = [
|
||||
["", ""],
|
||||
["test", "Test"],
|
||||
["TEST", "TEST"],
|
||||
];
|
||||
describe("upper case first", function () {
|
||||
var _loop_1 = function (input, result) {
|
||||
it(input + " -> " + result, function () {
|
||||
expect(upperCaseFirst(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
node_modules/upper-case-first/dist.es2015/index.spec.js.map
generated
vendored
Normal file
1
node_modules/upper-case-first/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,cAAc,EAAE,MAAM,GAAG,CAAC;AAEnC,IAAM,UAAU,GAAuB;IACrC,CAAC,EAAE,EAAE,EAAE,CAAC;IACR,CAAC,MAAM,EAAE,MAAM,CAAC;IAChB,CAAC,MAAM,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,QAAQ,CAAC,kBAAkB,EAAE;4BACf,KAAK,EAAE,MAAM;QACvB,EAAE,CAAI,KAAK,YAAO,MAAQ,EAAE;YAC1B,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAChD,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 { upperCaseFirst } from \".\";\n\nconst TEST_CASES: [string, string][] = [\n [\"\", \"\"],\n [\"test\", \"Test\"],\n [\"TEST\", \"TEST\"],\n];\n\ndescribe(\"upper case first\", () => {\n for (const [input, result] of TEST_CASES) {\n it(`${input} -> ${result}`, () => {\n expect(upperCaseFirst(input)).toEqual(result);\n });\n }\n});\n"]}
|
||||
4
node_modules/upper-case-first/dist/index.d.ts
generated
vendored
Normal file
4
node_modules/upper-case-first/dist/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
/**
|
||||
* Upper case the first character of an input string.
|
||||
*/
|
||||
export declare function upperCaseFirst(input: string): string;
|
||||
11
node_modules/upper-case-first/dist/index.js
generated
vendored
Normal file
11
node_modules/upper-case-first/dist/index.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.upperCaseFirst = void 0;
|
||||
/**
|
||||
* Upper case the first character of an input string.
|
||||
*/
|
||||
function upperCaseFirst(input) {
|
||||
return input.charAt(0).toUpperCase() + input.substr(1);
|
||||
}
|
||||
exports.upperCaseFirst = upperCaseFirst;
|
||||
//# sourceMappingURL=index.js.map
|
||||
1
node_modules/upper-case-first/dist/index.js.map
generated
vendored
Normal file
1
node_modules/upper-case-first/dist/index.js.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,SAAgB,cAAc,CAAC,KAAa;IAC1C,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;AACzD,CAAC;AAFD,wCAEC","sourcesContent":["/**\n * Upper case the first character of an input string.\n */\nexport function upperCaseFirst(input: string) {\n return input.charAt(0).toUpperCase() + input.substr(1);\n}\n"]}
|
||||
1
node_modules/upper-case-first/dist/index.spec.d.ts
generated
vendored
Normal file
1
node_modules/upper-case-first/dist/index.spec.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export {};
|
||||
20
node_modules/upper-case-first/dist/index.spec.js
generated
vendored
Normal file
20
node_modules/upper-case-first/dist/index.spec.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
var _1 = require(".");
|
||||
var TEST_CASES = [
|
||||
["", ""],
|
||||
["test", "Test"],
|
||||
["TEST", "TEST"],
|
||||
];
|
||||
describe("upper case first", function () {
|
||||
var _loop_1 = function (input, result) {
|
||||
it(input + " -> " + result, function () {
|
||||
expect(_1.upperCaseFirst(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
node_modules/upper-case-first/dist/index.spec.js.map
generated
vendored
Normal file
1
node_modules/upper-case-first/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,sBAAmC;AAEnC,IAAM,UAAU,GAAuB;IACrC,CAAC,EAAE,EAAE,EAAE,CAAC;IACR,CAAC,MAAM,EAAE,MAAM,CAAC;IAChB,CAAC,MAAM,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,QAAQ,CAAC,kBAAkB,EAAE;4BACf,KAAK,EAAE,MAAM;QACvB,EAAE,CAAI,KAAK,YAAO,MAAQ,EAAE;YAC1B,MAAM,CAAC,iBAAc,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAChD,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 { upperCaseFirst } from \".\";\n\nconst TEST_CASES: [string, string][] = [\n [\"\", \"\"],\n [\"test\", \"Test\"],\n [\"TEST\", \"TEST\"],\n];\n\ndescribe(\"upper case first\", () => {\n for (const [input, result] of TEST_CASES) {\n it(`${input} -> ${result}`, () => {\n expect(upperCaseFirst(input)).toEqual(result);\n });\n }\n});\n"]}
|
||||
87
node_modules/upper-case-first/package.json
generated
vendored
Normal file
87
node_modules/upper-case-first/package.json
generated
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"name": "upper-case-first",
|
||||
"version": "2.0.2",
|
||||
"description": "Transforms the string with the first character in upper cased",
|
||||
"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": [
|
||||
"upper",
|
||||
"case",
|
||||
"first",
|
||||
"capitalize",
|
||||
"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/upper-case-first#readme",
|
||||
"size-limit": [
|
||||
{
|
||||
"path": "dist/index.js",
|
||||
"limit": "100 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"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"dependencies": {
|
||||
"tslib": "^2.0.3"
|
||||
},
|
||||
"gitHead": "76a21a7f6f2a226521ef6abd345ff309cbd01fb0"
|
||||
}
|
||||
Reference in New Issue
Block a user