@stdlib/array-to-fancy 0.1.0 → 0.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.
- package/README.md +75 -11
- package/dist/index.js +57 -55
- package/dist/index.js.map +4 -4
- package/docs/types/index.d.ts +22 -133
- package/lib/error_message.js +1 -1
- package/lib/get_elements.js +2 -3
- package/lib/index.js +2 -0
- package/lib/set.js +5 -0
- package/lib/set_elements.js +130 -0
- package/lib/set_slice.js +3 -2
- package/lib/validator.js +36 -6
- package/package.json +51 -81
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/array-to-fancy",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Convert an array to an object supporting fancy indexing.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -15,19 +15,12 @@
|
|
|
15
15
|
],
|
|
16
16
|
"main": "./lib",
|
|
17
17
|
"directories": {
|
|
18
|
-
"benchmark": "./benchmark",
|
|
19
18
|
"doc": "./docs",
|
|
20
|
-
"example": "./examples",
|
|
21
19
|
"lib": "./lib",
|
|
22
|
-
"
|
|
20
|
+
"dist": "./dist"
|
|
23
21
|
},
|
|
24
22
|
"types": "./docs/types",
|
|
25
|
-
"scripts": {
|
|
26
|
-
"test": "make test",
|
|
27
|
-
"test-cov": "make test-cov",
|
|
28
|
-
"examples": "make examples",
|
|
29
|
-
"benchmark": "make benchmark"
|
|
30
|
-
},
|
|
23
|
+
"scripts": {},
|
|
31
24
|
"homepage": "https://stdlib.io",
|
|
32
25
|
"repository": {
|
|
33
26
|
"type": "git",
|
|
@@ -37,78 +30,55 @@
|
|
|
37
30
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
38
31
|
},
|
|
39
32
|
"dependencies": {
|
|
40
|
-
"@stdlib/array-base-arraylike2object": "^0.2.
|
|
41
|
-
"@stdlib/array-base-assert-is-
|
|
42
|
-
"@stdlib/array-base-assert-is-
|
|
43
|
-
"@stdlib/array-base-assert-is-safe-data-type-cast": "^0.
|
|
44
|
-
"@stdlib/array-base-assert-is-
|
|
45
|
-
"@stdlib/array-base-assert-is-
|
|
46
|
-
"@stdlib/array-base-
|
|
47
|
-
"@stdlib/array-base-
|
|
48
|
-
"@stdlib/array-base-
|
|
49
|
-
"@stdlib/array-base-
|
|
50
|
-
"@stdlib/array-base-
|
|
51
|
-
"@stdlib/array-
|
|
52
|
-
"@stdlib/array-
|
|
53
|
-
"@stdlib/array-
|
|
54
|
-
"@stdlib/array-
|
|
55
|
-
"@stdlib/
|
|
56
|
-
"@stdlib/
|
|
57
|
-
"@stdlib/
|
|
58
|
-
"@stdlib/
|
|
59
|
-
"@stdlib/
|
|
60
|
-
"@stdlib/
|
|
61
|
-
"@stdlib/
|
|
62
|
-
"@stdlib/
|
|
63
|
-
"@stdlib/assert-
|
|
64
|
-
"@stdlib/assert-
|
|
65
|
-
"@stdlib/assert-is-
|
|
66
|
-
"@stdlib/assert-is-
|
|
67
|
-
"@stdlib/
|
|
68
|
-
"@stdlib/
|
|
69
|
-
"@stdlib/
|
|
70
|
-
"@stdlib/
|
|
71
|
-
"@stdlib/
|
|
72
|
-
"@stdlib/
|
|
73
|
-
"@stdlib/
|
|
74
|
-
"@stdlib/
|
|
75
|
-
"@stdlib/
|
|
76
|
-
"@stdlib/
|
|
77
|
-
"@stdlib/
|
|
78
|
-
"@stdlib/
|
|
79
|
-
"@stdlib/
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
"@stdlib/
|
|
83
|
-
"@stdlib/
|
|
84
|
-
"@stdlib/
|
|
85
|
-
"@stdlib/
|
|
86
|
-
"@stdlib/
|
|
87
|
-
"@stdlib/array-int32": "^0.2.0",
|
|
88
|
-
"@stdlib/array-int8": "^0.2.0",
|
|
89
|
-
"@stdlib/array-uint16": "^0.2.0",
|
|
90
|
-
"@stdlib/array-uint32": "^0.2.0",
|
|
91
|
-
"@stdlib/array-uint8": "^0.2.0",
|
|
92
|
-
"@stdlib/array-zero-to": "^0.1.0",
|
|
93
|
-
"@stdlib/assert-has-proxy-support": "^0.2.0",
|
|
94
|
-
"@stdlib/assert-has-symbol-support": "^0.2.0",
|
|
95
|
-
"@stdlib/assert-is-nan": "^0.2.0",
|
|
96
|
-
"@stdlib/assert-is-range-error": "^0.2.0",
|
|
97
|
-
"@stdlib/assert-is-same-complex128array": "^0.1.0",
|
|
98
|
-
"@stdlib/assert-is-same-complex64array": "^0.1.0",
|
|
99
|
-
"@stdlib/assert-is-syntax-error": "^0.2.0",
|
|
100
|
-
"@stdlib/assert-is-type-error": "^0.2.0",
|
|
101
|
-
"@stdlib/complex-float64": "^0.2.0",
|
|
102
|
-
"@stdlib/slice-ctor": "^0.2.0",
|
|
103
|
-
"@stdlib/symbol-ctor": "^0.2.0",
|
|
104
|
-
"@stdlib/utils-properties-in": "^0.2.0",
|
|
105
|
-
"proxyquire": "^2.0.0",
|
|
106
|
-
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
|
|
107
|
-
"istanbul": "^0.4.1",
|
|
108
|
-
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
|
|
109
|
-
"@stdlib/bench-harness": "^0.2.0",
|
|
110
|
-
"@stdlib/bench": "^0.3.1"
|
|
33
|
+
"@stdlib/array-base-arraylike2object": "^0.2.1",
|
|
34
|
+
"@stdlib/array-base-assert-is-boolean-data-type": "^0.0.1",
|
|
35
|
+
"@stdlib/array-base-assert-is-complex-floating-point-data-type": "^0.2.1",
|
|
36
|
+
"@stdlib/array-base-assert-is-mostly-safe-data-type-cast": "^0.2.2",
|
|
37
|
+
"@stdlib/array-base-assert-is-real-data-type": "^0.2.1",
|
|
38
|
+
"@stdlib/array-base-assert-is-real-floating-point-data-type": "^0.2.1",
|
|
39
|
+
"@stdlib/array-base-assert-is-safe-data-type-cast": "^0.3.2",
|
|
40
|
+
"@stdlib/array-base-assert-is-signed-integer-data-type": "^0.2.1",
|
|
41
|
+
"@stdlib/array-base-assert-is-unsigned-integer-data-type": "^0.2.1",
|
|
42
|
+
"@stdlib/array-base-fancy-slice": "^0.3.1",
|
|
43
|
+
"@stdlib/array-base-fancy-slice-assign": "^0.2.1",
|
|
44
|
+
"@stdlib/array-base-min-signed-integer-dtype": "^0.2.2",
|
|
45
|
+
"@stdlib/array-base-where": "^0.0.2",
|
|
46
|
+
"@stdlib/array-convert": "^0.2.1",
|
|
47
|
+
"@stdlib/array-dtype": "^0.3.0",
|
|
48
|
+
"@stdlib/array-from-scalar": "^0.2.1",
|
|
49
|
+
"@stdlib/array-index": "^0.3.0",
|
|
50
|
+
"@stdlib/array-min-dtype": "^0.3.0",
|
|
51
|
+
"@stdlib/array-mskfilter": "^0.1.1",
|
|
52
|
+
"@stdlib/array-mskreject": "^0.1.2",
|
|
53
|
+
"@stdlib/array-place": "^0.1.1",
|
|
54
|
+
"@stdlib/array-put": "^0.0.2",
|
|
55
|
+
"@stdlib/array-take": "^0.1.2",
|
|
56
|
+
"@stdlib/assert-has-own-property": "^0.2.2",
|
|
57
|
+
"@stdlib/assert-has-property": "^0.2.2",
|
|
58
|
+
"@stdlib/assert-is-array-like": "^0.2.2",
|
|
59
|
+
"@stdlib/assert-is-boolean": "^0.2.2",
|
|
60
|
+
"@stdlib/assert-is-collection": "^0.2.2",
|
|
61
|
+
"@stdlib/assert-is-complex-like": "^0.2.2",
|
|
62
|
+
"@stdlib/assert-is-function": "^0.2.2",
|
|
63
|
+
"@stdlib/assert-is-integer": "^0.2.2",
|
|
64
|
+
"@stdlib/assert-is-method-in": "^0.2.2",
|
|
65
|
+
"@stdlib/assert-is-number": "^0.2.2",
|
|
66
|
+
"@stdlib/assert-is-plain-object": "^0.2.2",
|
|
67
|
+
"@stdlib/assert-is-string": "^0.2.2",
|
|
68
|
+
"@stdlib/complex-dtype": "^0.2.2",
|
|
69
|
+
"@stdlib/ndarray-base-normalize-index": "^0.2.2",
|
|
70
|
+
"@stdlib/object-assign": "^0.2.2",
|
|
71
|
+
"@stdlib/proxy-ctor": "^0.2.2",
|
|
72
|
+
"@stdlib/slice-base-seq2slice": "^0.2.2",
|
|
73
|
+
"@stdlib/slice-base-str2slice": "^0.2.2",
|
|
74
|
+
"@stdlib/string-base-replace": "^0.2.2",
|
|
75
|
+
"@stdlib/string-base-starts-with": "^0.2.2",
|
|
76
|
+
"@stdlib/string-base-trim": "^0.2.2",
|
|
77
|
+
"@stdlib/string-format": "^0.2.2",
|
|
78
|
+
"@stdlib/utils-define-nonenumerable-read-only-property": "^0.2.2",
|
|
79
|
+
"@stdlib/error-tools-fmtprodmsg": "^0.2.2"
|
|
111
80
|
},
|
|
81
|
+
"devDependencies": {},
|
|
112
82
|
"engines": {
|
|
113
83
|
"node": ">=0.10.0",
|
|
114
84
|
"npm": ">2.7.0"
|