first commit
This commit is contained in:
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"]}
|
||||
Reference in New Issue
Block a user