@cognite/underscore 1.0.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.
- package/README.md +40 -0
- package/dist/arrays.d.ts +41 -0
- package/dist/arrays.js +23 -0
- package/dist/assert.d.ts +8 -0
- package/dist/assert.js +6 -0
- package/dist/brand.d.ts +42 -0
- package/dist/chunk-and-process-in-parallel.d.ts +112 -0
- package/dist/chunk-and-process-in-parallel.js +30 -0
- package/dist/chunk-array.d.ts +27 -0
- package/dist/chunk-array.js +7 -0
- package/dist/class.d.ts +12 -0
- package/dist/class.js +6 -0
- package/dist/exhaustive-guard.d.ts +17 -0
- package/dist/exhaustive-guard.js +6 -0
- package/dist/exponential-backoff-with-jitter.d.ts +15 -0
- package/dist/exponential-backoff-with-jitter.js +8 -0
- package/dist/generate-unique-name.d.ts +19 -0
- package/dist/generate-unique-name.js +11 -0
- package/dist/get-numbers-between.d.ts +17 -0
- package/dist/get-numbers-between.js +6 -0
- package/dist/humanize-value.d.ts +5 -0
- package/dist/humanize-value.js +16 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +23 -0
- package/dist/is-function.d.ts +7 -0
- package/dist/is-function.js +6 -0
- package/dist/is-primitive.d.ts +9 -0
- package/dist/is-primitive.js +7 -0
- package/dist/is-valid-url.d.ts +16 -0
- package/dist/is-valid-url.js +17 -0
- package/dist/iterators.d.ts +9 -0
- package/dist/iterators.js +7 -0
- package/dist/math.d.ts +14 -0
- package/dist/math.js +9 -0
- package/dist/random.d.ts +32 -0
- package/dist/random.js +22 -0
- package/dist/react/use-debounce.d.ts +23 -0
- package/dist/react/use-debounce.js +15 -0
- package/dist/react/use-derived-promise.d.ts +34 -0
- package/dist/react/use-derived-promise.js +34 -0
- package/dist/react/use-stable-sync-external-store.d.ts +27 -0
- package/dist/react/use-stable-sync-external-store.js +12 -0
- package/dist/react.d.ts +3 -0
- package/dist/react.js +4 -0
- package/dist/repeat.d.ts +7 -0
- package/dist/repeat.js +6 -0
- package/dist/retry-async.d.ts +92 -0
- package/dist/retry-async.js +18 -0
- package/dist/sleep.d.ts +7 -0
- package/dist/sleep.js +6 -0
- package/dist/string.d.ts +41 -0
- package/dist/string.js +12 -0
- package/dist/structMap/index.d.ts +3 -0
- package/dist/structMap/stableStringify.d.ts +23 -0
- package/dist/structMap/stableStringify.js +24 -0
- package/dist/structMap/structMap.d.ts +110 -0
- package/dist/structMap/structMap.js +29 -0
- package/dist/structMap/testUtils.d.ts +17 -0
- package/dist/structMap/types.d.ts +7 -0
- package/package.json +45 -0
package/package.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cognite/underscore",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "A collection of useful plain TypeScript utility functions.",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"type": "module",
|
|
8
|
+
"publishConfig": {
|
|
9
|
+
"access": "public"
|
|
10
|
+
},
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./react": {
|
|
17
|
+
"types": "./dist/react.d.ts",
|
|
18
|
+
"import": "./dist/react.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist"
|
|
23
|
+
],
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@nx/devkit": "22.7.8",
|
|
26
|
+
"@nx/eslint-plugin": "22.7.8",
|
|
27
|
+
"@testing-library/react": "16.0.1",
|
|
28
|
+
"@types/lodash-es": "^4.17.12",
|
|
29
|
+
"@types/react": "18.3.14",
|
|
30
|
+
"@vitejs/plugin-react": "^5.2.0",
|
|
31
|
+
"fast-check": "^4.0.0",
|
|
32
|
+
"lodash-es": "^4.18.1",
|
|
33
|
+
"react": "^18.3.1",
|
|
34
|
+
"typedoc": "^0.27.6",
|
|
35
|
+
"typedoc-plugin-markdown": "^4.4.1",
|
|
36
|
+
"typescript": "6.0.3",
|
|
37
|
+
"vite": "8.2.2",
|
|
38
|
+
"vite-plugin-dts": "^4.5.4",
|
|
39
|
+
"vitest": "^4.1.10"
|
|
40
|
+
},
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"lodash-es": "^4.18.1",
|
|
43
|
+
"react": "^18.3.1"
|
|
44
|
+
}
|
|
45
|
+
}
|