prototype-helper 0.3.7 → 0.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/.vscode/settings.json +6 -6
  2. package/LICENSE +21 -21
  3. package/README.md +198 -198
  4. package/dist/extension/array.d.ts +1 -1
  5. package/dist/extension/array.js +103 -103
  6. package/dist/extension/array.js.map +1 -1
  7. package/dist/extension/index.d.ts +4 -4
  8. package/dist/extension/index.js +6 -6
  9. package/dist/extension/number.d.ts +1 -1
  10. package/dist/extension/number.js +71 -65
  11. package/dist/extension/number.js.map +1 -1
  12. package/dist/extension/number.test.d.ts +3 -3
  13. package/dist/extension/number.test.js +21 -21
  14. package/dist/extension/object.d.ts +1 -1
  15. package/dist/extension/object.js +12 -16
  16. package/dist/extension/object.js.map +1 -1
  17. package/dist/extension/string.d.ts +18 -18
  18. package/dist/extension/string.js +38 -38
  19. package/dist/extension/string.test.d.ts +2 -2
  20. package/dist/extension/string.test.js +17 -17
  21. package/dist/index.d.ts +3 -3
  22. package/dist/index.js +5 -5
  23. package/dist/interface/array.d.ts +19 -19
  24. package/dist/interface/array.js +1 -1
  25. package/dist/interface/index.d.ts +3 -3
  26. package/dist/interface/index.js +5 -5
  27. package/dist/interface/number.d.ts +23 -21
  28. package/dist/interface/number.js +1 -1
  29. package/dist/interface/object.d.ts +0 -4
  30. package/dist/interface/object.js +5 -1
  31. package/dist/interface/object.js.map +1 -1
  32. package/dist/override/console.d.ts +17 -17
  33. package/dist/override/console.js +70 -70
  34. package/dist/override/index.d.ts +3 -3
  35. package/dist/override/index.js +5 -5
  36. package/dist/override/linq.d.ts +1 -1
  37. package/dist/override/linq.js +2 -2
  38. package/dist/override/math.d.ts +10 -10
  39. package/dist/override/math.js +38 -38
  40. package/dist/test.d.ts +1 -1
  41. package/dist/test.js +105 -105
  42. package/dist/test.js.map +1 -1
  43. package/dist/utils/deepCopy.d.ts +2 -0
  44. package/dist/utils/deepCopy.js +14 -0
  45. package/dist/utils/deepCopy.js.map +1 -0
  46. package/package.json +79 -79
  47. package/tsconfig.json +32 -32
package/package.json CHANGED
@@ -1,79 +1,79 @@
1
- {
2
- "name": "prototype-helper",
3
- "version": "0.3.7",
4
- "private": false,
5
- "main": "./dist/index.js",
6
- "types": "./dist/index.d.ts",
7
- "repository": {
8
- "type": "git",
9
- "url": "git+https://github.com/k22pr/prototype-helper.git"
10
- },
11
- "keywords": [
12
- "typescript",
13
- "prototype",
14
- "extension",
15
- "override",
16
- "helper"
17
- ],
18
- "author": "서버지기",
19
- "license": "MIT",
20
- "bugs": {
21
- "url": "https://github.com/k22pr/prototype-helper/issues"
22
- },
23
- "homepage": "https://github.com/k22pr/prototype-helper#readme",
24
- "dependencies": {
25
- "decimal.js": "^10.3.1",
26
- "deep-clone": "^3.0.3"
27
- },
28
- "devDependencies": {
29
- "@types/jest": "^26.0.23",
30
- "@types/node": "^14.6.0",
31
- "jest": "^27.0.4",
32
- "nodemon": "^1.19.1",
33
- "supertest": "^6.1.3",
34
- "ts-jest": "^27.0.3",
35
- "ts-loader": "^6.0.4",
36
- "ts-node": "^10.0.0",
37
- "typescript": "^3.5.2"
38
- },
39
- "scripts": {
40
- "build": "jest && tsc",
41
- "dev": "nodemon --exec ts-node ./src/test.ts",
42
- "test": "jest --detectOpenHandles --forceExit",
43
- "publish": "jest && tsc && npm publish"
44
- },
45
- "nodemonConfig": {
46
- "ignore": [
47
- "**/*.test.ts",
48
- "**/*.spec.ts",
49
- ".git",
50
- "node_modules"
51
- ],
52
- "watch": [
53
- "src"
54
- ],
55
- "ext": "ts"
56
- },
57
- "jest": {
58
- "transform": {
59
- "^.+\\.ts$": "ts-jest"
60
- },
61
- "testRegex": "\\.test\\.ts$",
62
- "moduleFileExtensions": [
63
- "ts",
64
- "tsx",
65
- "js",
66
- "json"
67
- ],
68
- "moduleDirectories": [
69
- "node_modules",
70
- "bower_components",
71
- "src"
72
- ],
73
- "globals": {
74
- "ts-jest": {
75
- "diagnostics": true
76
- }
77
- }
78
- }
79
- }
1
+ {
2
+ "name": "prototype-helper",
3
+ "version": "0.3.9",
4
+ "private": false,
5
+ "main": "./dist/index.js",
6
+ "types": "./dist/index.d.ts",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/k22pr/prototype-helper.git"
10
+ },
11
+ "keywords": [
12
+ "typescript",
13
+ "prototype",
14
+ "extension",
15
+ "override",
16
+ "helper"
17
+ ],
18
+ "author": "서버지기",
19
+ "license": "MIT",
20
+ "bugs": {
21
+ "url": "https://github.com/k22pr/prototype-helper/issues"
22
+ },
23
+ "homepage": "https://github.com/k22pr/prototype-helper#readme",
24
+ "dependencies": {
25
+ "decimal.js": "^10.3.1",
26
+ "deep-clone": "^3.0.3"
27
+ },
28
+ "devDependencies": {
29
+ "@types/jest": "^26.0.23",
30
+ "@types/node": "^14.6.0",
31
+ "jest": "^27.0.4",
32
+ "nodemon": "^1.19.1",
33
+ "supertest": "^6.1.3",
34
+ "ts-jest": "^27.0.3",
35
+ "ts-loader": "^6.0.4",
36
+ "ts-node": "^10.0.0",
37
+ "typescript": "^3.5.2"
38
+ },
39
+ "scripts": {
40
+ "build": "jest && tsc",
41
+ "dev": "nodemon --exec ts-node ./src/test.ts",
42
+ "test": "jest --detectOpenHandles --forceExit",
43
+ "publish": "jest && tsc && npm publish"
44
+ },
45
+ "nodemonConfig": {
46
+ "ignore": [
47
+ "**/*.test.ts",
48
+ "**/*.spec.ts",
49
+ ".git",
50
+ "node_modules"
51
+ ],
52
+ "watch": [
53
+ "src"
54
+ ],
55
+ "ext": "ts"
56
+ },
57
+ "jest": {
58
+ "transform": {
59
+ "^.+\\.ts$": "ts-jest"
60
+ },
61
+ "testRegex": "\\.test\\.ts$",
62
+ "moduleFileExtensions": [
63
+ "ts",
64
+ "tsx",
65
+ "js",
66
+ "json"
67
+ ],
68
+ "moduleDirectories": [
69
+ "node_modules",
70
+ "bower_components",
71
+ "src"
72
+ ],
73
+ "globals": {
74
+ "ts-jest": {
75
+ "diagnostics": true
76
+ }
77
+ }
78
+ }
79
+ }
package/tsconfig.json CHANGED
@@ -1,32 +1,32 @@
1
- {
2
- "compilerOptions": {
3
- "baseUrl": ".",
4
- "outDir": "./dist",
5
- "target": "ES2016",
6
- "module": "commonjs",
7
- "moduleResolution": "Node",
8
- "sourceMap": true,
9
- "lib": ["es2016"],
10
- "paths": {
11
- "@/*": ["/src/*"],
12
- "~/*": ["/src/*"]
13
- },
14
- "noImplicitAny": false,
15
- "esModuleInterop": true,
16
- "experimentalDecorators": true,
17
- "emitDecoratorMetadata": true,
18
- "strict": true,
19
- "allowSyntheticDefaultImports": true,
20
- "resolveJsonModule": true,
21
- "declaration": true
22
- },
23
- "include": ["./src/**/*.ts"],
24
- "exclude": ["node_modules", "**/*.spec.ts"],
25
- "typeRoots": ["./node_modules/@types"],
26
- "types": ["@types/node"],
27
- "repository": {
28
- "type": "git",
29
- "url": "git+https://github.com/k22pr/ts-proto"
30
- },
31
- "license": "MIT"
32
- }
1
+ {
2
+ "compilerOptions": {
3
+ "baseUrl": ".",
4
+ "outDir": "./dist",
5
+ "target": "ES2016",
6
+ "module": "commonjs",
7
+ "moduleResolution": "Node",
8
+ "sourceMap": true,
9
+ "lib": ["es2016"],
10
+ "paths": {
11
+ "@/*": ["/src/*"],
12
+ "~/*": ["/src/*"]
13
+ },
14
+ "noImplicitAny": false,
15
+ "esModuleInterop": true,
16
+ "experimentalDecorators": true,
17
+ "emitDecoratorMetadata": true,
18
+ "strict": true,
19
+ "allowSyntheticDefaultImports": true,
20
+ "resolveJsonModule": true,
21
+ "declaration": true
22
+ },
23
+ "include": ["./src/**/*.ts"],
24
+ "exclude": ["node_modules", "**/*.spec.ts"],
25
+ "typeRoots": ["./node_modules/@types"],
26
+ "types": ["@types/node"],
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git+https://github.com/k22pr/ts-proto"
30
+ },
31
+ "license": "MIT"
32
+ }