@valkyriestudios/utils 11.1.0 → 11.2.0

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 (130) hide show
  1. package/package.json +1 -114
  2. package/tsconfig.types.json +0 -12
  3. package/tsconfig.types_all.json +0 -12
  4. /package/{dist/array → array}/dedupe.d.ts +0 -0
  5. /package/{dist/array → array}/dedupe.js +0 -0
  6. /package/{dist/array → array}/is.d.ts +0 -0
  7. /package/{dist/array → array}/is.js +0 -0
  8. /package/{dist/array → array}/isNotEmpty.d.ts +0 -0
  9. /package/{dist/array → array}/isNotEmpty.js +0 -0
  10. /package/{dist/array → array}/join.d.ts +0 -0
  11. /package/{dist/array → array}/join.js +0 -0
  12. /package/{dist/array → array}/mapFn.d.ts +0 -0
  13. /package/{dist/array → array}/mapFn.js +0 -0
  14. /package/{dist/array → array}/mapKey.d.ts +0 -0
  15. /package/{dist/array → array}/mapKey.js +0 -0
  16. /package/{dist/array → array}/mapPrimitive.d.ts +0 -0
  17. /package/{dist/array → array}/mapPrimitive.js +0 -0
  18. /package/{dist/array → array}/shuffle.d.ts +0 -0
  19. /package/{dist/array → array}/shuffle.js +0 -0
  20. /package/{dist/array → array}/sort.d.ts +0 -0
  21. /package/{dist/array → array}/sort.js +0 -0
  22. /package/{dist/boolean → boolean}/is.d.ts +0 -0
  23. /package/{dist/boolean → boolean}/is.js +0 -0
  24. /package/{dist/caching → caching}/memoize.d.ts +0 -0
  25. /package/{dist/caching → caching}/memoize.js +0 -0
  26. /package/{dist/date → date}/addUTC.d.ts +0 -0
  27. /package/{dist/date → date}/addUTC.js +0 -0
  28. /package/{dist/date → date}/diff.d.ts +0 -0
  29. /package/{dist/date → date}/diff.js +0 -0
  30. /package/{dist/date → date}/endOfUTC.d.ts +0 -0
  31. /package/{dist/date → date}/endOfUTC.js +0 -0
  32. /package/{dist/date → date}/is.d.ts +0 -0
  33. /package/{dist/date → date}/is.js +0 -0
  34. /package/{dist/date → date}/nowUnix.d.ts +0 -0
  35. /package/{dist/date → date}/nowUnix.js +0 -0
  36. /package/{dist/date → date}/nowUnixMs.d.ts +0 -0
  37. /package/{dist/date → date}/nowUnixMs.js +0 -0
  38. /package/{dist/date → date}/startOfUTC.d.ts +0 -0
  39. /package/{dist/date → date}/startOfUTC.js +0 -0
  40. /package/{dist/date → date}/toUTC.d.ts +0 -0
  41. /package/{dist/date → date}/toUTC.js +0 -0
  42. /package/{dist/date → date}/toUnix.d.ts +0 -0
  43. /package/{dist/date → date}/toUnix.js +0 -0
  44. /package/{dist/deep → deep}/freeze.d.ts +0 -0
  45. /package/{dist/deep → deep}/freeze.js +0 -0
  46. /package/{dist/deep → deep}/get.d.ts +0 -0
  47. /package/{dist/deep → deep}/get.js +0 -0
  48. /package/{dist/deep → deep}/seal.d.ts +0 -0
  49. /package/{dist/deep → deep}/seal.js +0 -0
  50. /package/{dist/deep → deep}/set.d.ts +0 -0
  51. /package/{dist/deep → deep}/set.js +0 -0
  52. /package/{dist/equal.d.ts → equal.d.ts} +0 -0
  53. /package/{dist/equal.js → equal.js} +0 -0
  54. /package/{dist/function → function}/is.d.ts +0 -0
  55. /package/{dist/function → function}/is.js +0 -0
  56. /package/{dist/function → function}/noop.d.ts +0 -0
  57. /package/{dist/function → function}/noop.js +0 -0
  58. /package/{dist/function → function}/noopresolve.d.ts +0 -0
  59. /package/{dist/function → function}/noopresolve.js +0 -0
  60. /package/{dist/function → function}/noopreturn.d.ts +0 -0
  61. /package/{dist/function → function}/noopreturn.js +0 -0
  62. /package/{dist/function → function}/sleep.d.ts +0 -0
  63. /package/{dist/function → function}/sleep.js +0 -0
  64. /package/{dist/hash → hash}/fnv1A.d.ts +0 -0
  65. /package/{dist/hash → hash}/fnv1A.js +0 -0
  66. /package/{dist/hash → hash}/guid.d.ts +0 -0
  67. /package/{dist/hash → hash}/guid.js +0 -0
  68. /package/{dist/index.d.ts → index.d.ts} +0 -0
  69. /package/{dist/is.d.ts → is.d.ts} +0 -0
  70. /package/{dist/is.js → is.js} +0 -0
  71. /package/{dist/number → number}/is.d.ts +0 -0
  72. /package/{dist/number → number}/is.js +0 -0
  73. /package/{dist/number → number}/isAbove.d.ts +0 -0
  74. /package/{dist/number → number}/isAbove.js +0 -0
  75. /package/{dist/number → number}/isAboveOrEqual.d.ts +0 -0
  76. /package/{dist/number → number}/isAboveOrEqual.js +0 -0
  77. /package/{dist/number → number}/isBelow.d.ts +0 -0
  78. /package/{dist/number → number}/isBelow.js +0 -0
  79. /package/{dist/number → number}/isBelowOrEqual.d.ts +0 -0
  80. /package/{dist/number → number}/isBelowOrEqual.js +0 -0
  81. /package/{dist/number → number}/isBetween.d.ts +0 -0
  82. /package/{dist/number → number}/isBetween.js +0 -0
  83. /package/{dist/number → number}/isInteger.d.ts +0 -0
  84. /package/{dist/number → number}/isInteger.js +0 -0
  85. /package/{dist/number → number}/isIntegerAbove.d.ts +0 -0
  86. /package/{dist/number → number}/isIntegerAbove.js +0 -0
  87. /package/{dist/number → number}/isIntegerAboveOrEqual.d.ts +0 -0
  88. /package/{dist/number → number}/isIntegerAboveOrEqual.js +0 -0
  89. /package/{dist/number → number}/isIntegerBelow.d.ts +0 -0
  90. /package/{dist/number → number}/isIntegerBelow.js +0 -0
  91. /package/{dist/number → number}/isIntegerBelowOrEqual.d.ts +0 -0
  92. /package/{dist/number → number}/isIntegerBelowOrEqual.js +0 -0
  93. /package/{dist/number → number}/isIntegerBetween.d.ts +0 -0
  94. /package/{dist/number → number}/isIntegerBetween.js +0 -0
  95. /package/{dist/number → number}/isNumericalNaN.d.ts +0 -0
  96. /package/{dist/number → number}/isNumericalNaN.js +0 -0
  97. /package/{dist/number → number}/randomBetween.d.ts +0 -0
  98. /package/{dist/number → number}/randomBetween.js +0 -0
  99. /package/{dist/number → number}/randomIntBetween.d.ts +0 -0
  100. /package/{dist/number → number}/randomIntBetween.js +0 -0
  101. /package/{dist/number → number}/round.d.ts +0 -0
  102. /package/{dist/number → number}/round.js +0 -0
  103. /package/{dist/number → number}/toPercentage.d.ts +0 -0
  104. /package/{dist/number → number}/toPercentage.js +0 -0
  105. /package/{dist/object → object}/define.d.ts +0 -0
  106. /package/{dist/object → object}/define.js +0 -0
  107. /package/{dist/object → object}/is.d.ts +0 -0
  108. /package/{dist/object → object}/is.js +0 -0
  109. /package/{dist/object → object}/isNotEmpty.d.ts +0 -0
  110. /package/{dist/object → object}/isNotEmpty.js +0 -0
  111. /package/{dist/object → object}/merge.d.ts +0 -0
  112. /package/{dist/object → object}/merge.js +0 -0
  113. /package/{dist/object → object}/pick.d.ts +0 -0
  114. /package/{dist/object → object}/pick.js +0 -0
  115. /package/{dist/regexp → regexp}/is.d.ts +0 -0
  116. /package/{dist/regexp → regexp}/is.js +0 -0
  117. /package/{dist/regexp → regexp}/sanitize.d.ts +0 -0
  118. /package/{dist/regexp → regexp}/sanitize.js +0 -0
  119. /package/{dist/string → string}/humanizeBytes.d.ts +0 -0
  120. /package/{dist/string → string}/humanizeBytes.js +0 -0
  121. /package/{dist/string → string}/humanizeNumber.d.ts +0 -0
  122. /package/{dist/string → string}/humanizeNumber.js +0 -0
  123. /package/{dist/string → string}/is.d.ts +0 -0
  124. /package/{dist/string → string}/is.js +0 -0
  125. /package/{dist/string → string}/isBetween.d.ts +0 -0
  126. /package/{dist/string → string}/isBetween.js +0 -0
  127. /package/{dist/string → string}/isNotEmpty.d.ts +0 -0
  128. /package/{dist/string → string}/isNotEmpty.js +0 -0
  129. /package/{dist/string → string}/shorten.d.ts +0 -0
  130. /package/{dist/string → string}/shorten.js +0 -0
package/package.json CHANGED
@@ -1,114 +1 @@
1
- {
2
- "name": "@valkyriestudios/utils",
3
- "version": "11.1.0",
4
- "description": "A collection of single-function utilities for common tasks",
5
- "author": {
6
- "name": "Peter Vermeulen",
7
- "email": "contact@valkyriestudios.be",
8
- "url": "www.valkyriestudios.be"
9
- },
10
- "keywords": [
11
- "utility",
12
- "library",
13
- "javascript",
14
- "js",
15
- "node",
16
- "bun"
17
- ],
18
- "license": "MIT",
19
- "types": "./dist/index.d.ts",
20
- "scripts": {
21
- "build": "npm run lint && npm run test && tsc -p ./tsconfig.build.json && tsc -p ./tsconfig.types.json && tsc -p ./tsconfig.types_all.json",
22
- "test": "node --require esbuild-register --test ./test/lib/**/*.ts ./test/lib/*.ts",
23
- "test:only": "node --require esbuild-register --test --test-only ./test/lib/**/*.ts ./test/lib/*.ts",
24
- "test:coverage": "nyc npm run test",
25
- "lint": "npm run lint:src && npm run lint:test",
26
- "lint:src": "./node_modules/.bin/eslint --ext .js,.ts,.mjs ./lib",
27
- "lint:test": "./node_modules/.bin/eslint --ext .js,.ts,.mjs ./test",
28
- "codecov": "codecov",
29
- "benchmark": "node --require esbuild-register ./test/benchmark.ts"
30
- },
31
- "repository": {
32
- "type": "git",
33
- "url": "git+https://github.com/ValkyrieStudios/utils.git"
34
- },
35
- "bugs": {
36
- "url": "https://github.com/ValkyrieStudios/utils/issues"
37
- },
38
- "homepage": "https://github.com/ValkyrieStudios/utils#readme",
39
- "exports": {
40
- "./is": "./dist/is.js",
41
- "./equal": "./dist/equal.js",
42
- "./array/dedupe": "./dist/array/dedupe.js",
43
- "./array/is": "./dist/array/is.js",
44
- "./array/isNotEmpty": "./dist/array/isNotEmpty.js",
45
- "./array/join": "./dist/array/join.js",
46
- "./array/mapFn": "./dist/array/mapFn.js",
47
- "./array/mapKey": "./dist/array/mapKey.js",
48
- "./array/mapPrimitive": "./dist/array/mapPrimitive.js",
49
- "./array/shuffle": "./dist/array/shuffle.js",
50
- "./array/sort": "./dist/array/sort.js",
51
- "./boolean/is": "./dist/boolean/is.js",
52
- "./caching/memoize": "./dist/caching/memoize.js",
53
- "./date/addUTC": "./dist/date/addUTC.js",
54
- "./date/diff": "./dist/date/diff.js",
55
- "./date/endOfUTC": "./dist/date/endOfUTC.js",
56
- "./date/is": "./dist/date/is.js",
57
- "./date/nowUnix": "./dist/date/nowUnix.js",
58
- "./date/nowUnixMs": "./dist/date/nowUnixMs.js",
59
- "./date/startOfUTC": "./dist/date/startOfUTC.js",
60
- "./date/toUnix": "./dist/date/toUnix.js",
61
- "./date/toUTC": "./dist/date/toUTC.js",
62
- "./deep/define": "./dist/deep/define.js",
63
- "./deep/freeze": "./dist/deep/freeze.js",
64
- "./deep/get": "./dist/deep/get.js",
65
- "./deep/seal": "./dist/deep/seal.js",
66
- "./deep/set": "./dist/deep/set.js",
67
- "./function/is": "./dist/function/is.js",
68
- "./function/noop": "./dist/function/noop.js",
69
- "./function/noopresolve": "./dist/function/noopresolve.js",
70
- "./function/noopreturn": "./dist/function/noopreturn.js",
71
- "./function/sleep": "./dist/function/sleep.js",
72
- "./hash/fnv1A": "./dist/hash/fnv1A.js",
73
- "./hash/guid": "./dist/hash/guid.js",
74
- "./number/isAbove": "./dist/number/isAbove.js",
75
- "./number/isAboveOrEqual": "./dist/number/isAboveOrEqual.js",
76
- "./number/isBelow": "./dist/number/isBelow.js",
77
- "./number/isBelowOrEqual": "./dist/number/isBelowOrEqual.js",
78
- "./number/isBetween": "./dist/number/isBetween.js",
79
- "./number/isIntegerAbove": "./dist/number/isIntegerAbove.js",
80
- "./number/isIntegerAboveOrEqual": "./dist/number/isIntegerAboveOrEqual.js",
81
- "./number/isIntegerBelow": "./dist/number/isIntegerBelow.js",
82
- "./number/isIntegerBelowOrEqual": "./dist/number/isIntegerBelowOrEqual.js",
83
- "./number/isIntegerBetween": "./dist/number/isIntegerBetween.js",
84
- "./number/isInteger": "./dist/number/isInteger.js",
85
- "./number/is": "./dist/number/is.js",
86
- "./number/isNumericalNaN": "./dist/number/isNumericalNaN.js",
87
- "./number/randomBetween": "./dist/number/randomBetween.js",
88
- "./number/randomIntBetween": "./dist/number/randomIntBetween.js",
89
- "./number/round": "./dist/number/round.js",
90
- "./number/toPercentage": "./dist/number/toPercentage.js",
91
- "./object/define": "./dist/object/define.js",
92
- "./object/is": "./dist/object/is.js",
93
- "./object/isNotEmpty": "./dist/object/isNotEmpty.js",
94
- "./object/merge": "./dist/object/merge.js",
95
- "./object/pick": "./dist/object/pick.js",
96
- "./regexp/is": "./dist/regexp/is.js",
97
- "./regexp/sanitize": "./dist/regexp/sanitize.js",
98
- "./string/humanizeBytes": "./dist/string/humanizeBytes.js",
99
- "./string/humanizeNumber": "./dist/string/humanizeNumber.js",
100
- "./string/isBetween": "./dist/string/isBetween.js",
101
- "./string/is": "./dist/string/is.js",
102
- "./string/isNotEmpty": "./dist/string/isNotEmpty.js",
103
- "./string/shorten": "./dist/string/shorten.js"
104
- },
105
- "devDependencies": {
106
- "@types/node": "^20.11.16",
107
- "@typescript-eslint/eslint-plugin": "^6.21.0",
108
- "@typescript-eslint/parser": "^6.21.0",
109
- "esbuild-register": "^3.5.0",
110
- "eslint": "^8.56.0",
111
- "nyc": "^15.1.0",
112
- "typescript": "^5.3.3"
113
- }
114
- }
1
+ { "name": "@valkyriestudios/utils", "version": "11.2.0", "description": "A collection of single-function utilities for common tasks", "author": { "name": "Peter Vermeulen", "email": "contact@valkyriestudios.be", "url": "www.valkyriestudios.be" }, "keywords": [ "utility", "library", "javascript", "js", "node", "bun" ], "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/ValkyrieStudios/utils.git" }, "bugs": { "url": "https://github.com/ValkyrieStudios/utils/issues" }, "homepage": "https://github.com/ValkyrieStudios/utils#readme", "types": "index.d.ts" }
@@ -1,12 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "esModuleInterop": false,
5
- "sourceMap": false,
6
- "outDir": "dist/",
7
- "outFile": "dist/index.d.ts",
8
- "declaration": true,
9
- "emitDeclarationOnly": true,
10
- "noEmit": false
11
- }
12
- }
@@ -1,12 +0,0 @@
1
- {
2
- "extends": "./tsconfig.json",
3
- "compilerOptions": {
4
- "esModuleInterop": false,
5
- "sourceMap": false,
6
- "outDir": "dist/",
7
- "declaration": true,
8
- "removeComments": false,
9
- "emitDeclarationOnly": true,
10
- "noEmit": false
11
- }
12
- }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes