@visulima/object 1.0.5 → 1.0.6
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/CHANGELOG.md +10 -0
- package/LICENSE.md +7 -18
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
## @visulima/object [1.0.6](https://github.com/visulima/visulima/compare/@visulima/object@1.0.5...@visulima/object@1.0.6) (2024-10-05)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* updated dev dependencies, updated packem to v1.0.7, fixed naming of some lint config files ([c071a9c](https://github.com/visulima/visulima/commit/c071a9c8e129014a962ff654a16f302ca18a5c67))
|
|
6
|
+
|
|
7
|
+
### Miscellaneous Chores
|
|
8
|
+
|
|
9
|
+
* updated dev dependencies ([736c6ce](https://github.com/visulima/visulima/commit/736c6ce7270b3e525a8ea9f79646a2a3fde47d4e))
|
|
10
|
+
|
|
1
11
|
## @visulima/object [1.0.5](https://github.com/visulima/visulima/compare/@visulima/object@1.0.4...@visulima/object@1.0.5) (2024-09-24)
|
|
2
12
|
|
|
3
13
|
### Bug Fixes
|
package/LICENSE.md
CHANGED
|
@@ -23,22 +23,18 @@ SOFTWARE.
|
|
|
23
23
|
<!-- DEPENDENCIES -->
|
|
24
24
|
|
|
25
25
|
# Licenses of bundled dependencies
|
|
26
|
-
|
|
27
26
|
The published @visulima/object artifact additionally contains code with the following licenses:
|
|
28
27
|
MIT
|
|
29
28
|
|
|
30
29
|
# Bundled dependencies:
|
|
31
|
-
|
|
32
30
|
## deeks
|
|
33
|
-
|
|
34
31
|
License: MIT
|
|
35
32
|
By: mrodrig
|
|
36
33
|
Repository: git+https://github.com/mrodrig/deeks.git
|
|
37
34
|
|
|
38
|
-
|
|
35
|
+
---------------------------------------
|
|
39
36
|
|
|
40
37
|
## dot-prop
|
|
41
|
-
|
|
42
38
|
License: MIT
|
|
43
39
|
By: Sindre Sorhus
|
|
44
40
|
Repository: sindresorhus/dot-prop
|
|
@@ -53,10 +49,9 @@ Repository: sindresorhus/dot-prop
|
|
|
53
49
|
>
|
|
54
50
|
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
55
51
|
|
|
56
|
-
|
|
52
|
+
---------------------------------------
|
|
57
53
|
|
|
58
54
|
## is-plain-obj
|
|
59
|
-
|
|
60
55
|
License: MIT
|
|
61
56
|
By: Sindre Sorhus
|
|
62
57
|
Repository: sindresorhus/is-plain-obj
|
|
@@ -71,27 +66,23 @@ Repository: sindresorhus/is-plain-obj
|
|
|
71
66
|
>
|
|
72
67
|
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
73
68
|
|
|
74
|
-
<!-- DEPENDENCIES -->
|
|
69
|
+
<!-- /DEPENDENCIES -->
|
|
75
70
|
|
|
76
71
|
<!-- TYPE_DEPENDENCIES -->
|
|
77
72
|
|
|
78
73
|
# Licenses of bundled types
|
|
79
|
-
|
|
80
74
|
The published @visulima/object artifact additionally contains code with the following licenses:
|
|
81
75
|
MIT, (MIT OR CC0-1.0)
|
|
82
76
|
|
|
83
77
|
# Bundled types:
|
|
84
|
-
|
|
85
78
|
## deeks
|
|
86
|
-
|
|
87
79
|
License: MIT
|
|
88
80
|
By: mrodrig
|
|
89
81
|
Repository: git+https://github.com/mrodrig/deeks.git
|
|
90
82
|
|
|
91
|
-
|
|
83
|
+
---------------------------------------
|
|
92
84
|
|
|
93
85
|
## dot-prop
|
|
94
|
-
|
|
95
86
|
License: MIT
|
|
96
87
|
By: Sindre Sorhus
|
|
97
88
|
Repository: sindresorhus/dot-prop
|
|
@@ -106,10 +97,9 @@ Repository: sindresorhus/dot-prop
|
|
|
106
97
|
>
|
|
107
98
|
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
108
99
|
|
|
109
|
-
|
|
100
|
+
---------------------------------------
|
|
110
101
|
|
|
111
102
|
## is-plain-obj
|
|
112
|
-
|
|
113
103
|
License: MIT
|
|
114
104
|
By: Sindre Sorhus
|
|
115
105
|
Repository: sindresorhus/is-plain-obj
|
|
@@ -124,12 +114,11 @@ Repository: sindresorhus/is-plain-obj
|
|
|
124
114
|
>
|
|
125
115
|
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
126
116
|
|
|
127
|
-
|
|
117
|
+
---------------------------------------
|
|
128
118
|
|
|
129
119
|
## type-fest
|
|
130
|
-
|
|
131
120
|
License: (MIT OR CC0-1.0)
|
|
132
121
|
By: Sindre Sorhus
|
|
133
122
|
Repository: sindresorhus/type-fest
|
|
134
123
|
|
|
135
|
-
<!-- TYPE_DEPENDENCIES -->
|
|
124
|
+
<!-- /TYPE_DEPENDENCIES -->
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var S=Object.defineProperty;var u=(a,l)=>S(a,"name",{value:l,configurable:!0});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("./packem_shared/omit-Cwc8rJUb.cjs"),R=require("./packem_shared/pick-CkwC0jUm.cjs"),y=require("./packem_shared/getProperty-D34HTBAJ.cjs"),T=require("./packem_shared/isPlainObject-BTLAczOE.cjs");var s={},o={},A;function L(){if(A)return o;A=1,Object.defineProperty(o,"__esModule",{value:!0}),o.isDocumentToRecurOn=o.flatten=o.unique=void 0;function a(f){return[...new Set(f)]}u(a,"unique"),o.unique=a;function l(f){return[].concat(...f)}u(l,"flatten"),o.flatten=l;function d(f){return typeof f=="object"&&f!==null&&!Array.isArray(f)&&Object.keys(f).length}return u(d,"isDocumentToRecurOn"),o.isDocumentToRecurOn=d,o}u(L,"requireUtils");var O={},q;function w(){return q||(q=1,Object.defineProperty(O,"__esModule",{value:!0})),O}u(w,"requireTypes");var h;function x(){return h||(h=1,function(a){var l=s&&s.__createBinding||(Object.create?function(r,e,t,i){i===void 0&&(i=t);var n=Object.getOwnPropertyDescriptor(e,t);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:u(function(){return e[t]},"get")}),Object.defineProperty(r,i,n)}:function(r,e,t,i){i===void 0&&(i=t),r[i]=e[t]}),d=s&&s.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),f=s&&s.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&l(e,r,t);return d(e,r),e},m=s&&s.__exportStar||function(r,e){for(var t in r)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&l(e,r,t)};Object.defineProperty(a,"__esModule",{value:!0}),a.deepKeysFromList=a.deepKeys=void 0;const c=f(L());m(w(),a);function g(r,e){const t=P(e);return typeof r=="object"&&r!==null?b("",r,t):[]}u(g,"deepKeys"),a.deepKeys=g;function _(r,e){const t=P(e);return r.map(i=>typeof i=="object"&&i!==null?g(i,t):[])}u(_,"deepKeysFromList"),a.deepKeysFromList=_;function b(r,e,t){const i=Object.keys(e).map(n=>{const p=v(r,j(n,t));return t.expandNestedObjects&&c.isDocumentToRecurOn(e[n])||t.arrayIndexesAsKeys&&Array.isArray(e[n])&&e[n].length?b(p,e[n],t):t.expandArrayObjects&&Array.isArray(e[n])?M(e[n],p,t):t.ignoreEmptyArrays&&Array.isArray(e[n])&&!e[n].length?[]:p});return c.flatten(i)}u(b,"generateDeepKeysList");function M(r,e,t){let i=_(r,t);return r.length?r.length&&c.flatten(i).length===0?[e]:(i=i.map(n=>Array.isArray(n)&&n.length===0?[e]:n.map(p=>v(e,j(p,t)))),c.unique(c.flatten(i))):t.ignoreEmptyArraysWhenExpanding?[]:[e]}u(M,"processArrayKeys");function j(r,e){return e.escapeNestedDots?r.replace(/\./g,"\\."):r}u(j,"escapeNestedDotsIfSpecified");function v(r,e){return r?r+"."+e:e}u(v,"buildKeyName");function P(r){return{arrayIndexesAsKeys:!1,expandNestedObjects:!0,expandArrayObjects:!1,ignoreEmptyArraysWhenExpanding:!1,escapeNestedDots:!1,ignoreEmptyArrays:!1,...r??{}}}u(P,"mergeOptions")}(s)),s}u(x,"requireDeeks");var D=x();exports.omit=E;exports.pick=R;exports.deleteProperty=y.deleteProperty;exports.escapePath=y.escapePath;exports.getProperty=y.getProperty;exports.hasProperty=y.hasProperty;exports.setProperty=y.setProperty;exports.isPlainObject=T;exports.deepKeys=D.deepKeys;exports.deepKeysFromList=D.deepKeysFromList;
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var x=Object.defineProperty;var u=(f,l)=>x(f,"name",{value:l,configurable:!0});import{default as N}from"./packem_shared/omit-Df-0bpNu.mjs";import{default as B}from"./packem_shared/pick-CS1_JC9v.mjs";import{deleteProperty as W,escapePath as K,getProperty as z,hasProperty as C,setProperty as G}from"./packem_shared/getProperty-C5Q_YpVO.mjs";import{default as J}from"./packem_shared/isPlainObject-CFPUbgRS.mjs";var s={},o={},A;function E(){if(A)return o;A=1,Object.defineProperty(o,"__esModule",{value:!0}),o.isDocumentToRecurOn=o.flatten=o.unique=void 0;function f(a){return[...new Set(a)]}u(f,"unique"),o.unique=f;function l(a){return[].concat(...a)}u(l,"flatten"),o.flatten=l;function y(a){return typeof a=="object"&&a!==null&&!Array.isArray(a)&&Object.keys(a).length}return u(y,"isDocumentToRecurOn"),o.isDocumentToRecurOn=y,o}u(E,"requireUtils");var d={},m;function M(){return m||(m=1,Object.defineProperty(d,"__esModule",{value:!0})),d}u(M,"requireTypes");var D;function R(){return D||(D=1,function(f){var l=s&&s.__createBinding||(Object.create?function(r,e,t,i){i===void 0&&(i=t);var n=Object.getOwnPropertyDescriptor(e,t);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:u(function(){return e[t]},"get")}),Object.defineProperty(r,i,n)}:function(r,e,t,i){i===void 0&&(i=t),r[i]=e[t]}),y=s&&s.__setModuleDefault||(Object.create?function(r,e){Object.defineProperty(r,"default",{enumerable:!0,value:e})}:function(r,e){r.default=e}),a=s&&s.__importStar||function(r){if(r&&r.__esModule)return r;var e={};if(r!=null)for(var t in r)t!=="default"&&Object.prototype.hasOwnProperty.call(r,t)&&l(e,r,t);return y(e,r),e},P=s&&s.__exportStar||function(r,e){for(var t in r)t!=="default"&&!Object.prototype.hasOwnProperty.call(e,t)&&l(e,r,t)};Object.defineProperty(f,"__esModule",{value:!0}),f.deepKeysFromList=f.deepKeys=void 0;const c=a(E());P(M(),f);function O(r,e){const t=v(e);return typeof r=="object"&&r!==null?g("",r,t):[]}u(O,"deepKeys"),f.deepKeys=O;function _(r,e){const t=v(e);return r.map(i=>typeof i=="object"&&i!==null?O(i,t):[])}u(_,"deepKeysFromList"),f.deepKeysFromList=_;function g(r,e,t){const i=Object.keys(e).map(n=>{const p=j(r,b(n,t));return t.expandNestedObjects&&c.isDocumentToRecurOn(e[n])||t.arrayIndexesAsKeys&&Array.isArray(e[n])&&e[n].length?g(p,e[n],t):t.expandArrayObjects&&Array.isArray(e[n])?q(e[n],p,t):t.ignoreEmptyArrays&&Array.isArray(e[n])&&!e[n].length?[]:p});return c.flatten(i)}u(g,"generateDeepKeysList");function q(r,e,t){let i=_(r,t);return r.length?r.length&&c.flatten(i).length===0?[e]:(i=i.map(n=>Array.isArray(n)&&n.length===0?[e]:n.map(p=>j(e,b(p,t)))),c.unique(c.flatten(i))):t.ignoreEmptyArraysWhenExpanding?[]:[e]}u(q,"processArrayKeys");function b(r,e){return e.escapeNestedDots?r.replace(/\./g,"\\."):r}u(b,"escapeNestedDotsIfSpecified");function j(r,e){return r?r+"."+e:e}u(j,"buildKeyName");function v(r){return{arrayIndexesAsKeys:!1,expandNestedObjects:!0,expandArrayObjects:!1,ignoreEmptyArraysWhenExpanding:!1,escapeNestedDots:!1,ignoreEmptyArrays:!1,...r??{}}}u(v,"mergeOptions")}(s)),s}u(R,"requireDeeks");var h=R();const S=h.deepKeys,T=h.deepKeysFromList;export{S as deepKeys,T as deepKeysFromList,W as deleteProperty,K as escapePath,z as getProperty,C as hasProperty,J as isPlainObject,N as omit,B as pick,G as setProperty};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visulima/object",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Helper functions for working with objects and arrays.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"visulima",
|
|
@@ -82,14 +82,14 @@
|
|
|
82
82
|
"@anolilab/semantic-release-pnpm": "1.1.3",
|
|
83
83
|
"@anolilab/semantic-release-preset": "^9.0.0",
|
|
84
84
|
"@arethetypeswrong/cli": "^0.16.4",
|
|
85
|
-
"@babel/core": "^7.25.
|
|
85
|
+
"@babel/core": "^7.25.7",
|
|
86
86
|
"@rushstack/eslint-plugin-security": "^0.8.3",
|
|
87
|
-
"@secretlint/secretlint-rule-preset-recommend": "^8.
|
|
87
|
+
"@secretlint/secretlint-rule-preset-recommend": "^8.3.0",
|
|
88
88
|
"@total-typescript/ts-reset": "^0.6.1",
|
|
89
89
|
"@types/node": "18.19.39",
|
|
90
|
-
"@visulima/packem": "1.0.
|
|
91
|
-
"@vitest/coverage-v8": "^2.1.
|
|
92
|
-
"@vitest/ui": "^2.1.
|
|
90
|
+
"@visulima/packem": "1.0.7",
|
|
91
|
+
"@vitest/coverage-v8": "^2.1.2",
|
|
92
|
+
"@vitest/ui": "^2.1.2",
|
|
93
93
|
"conventional-changelog-conventionalcommits": "8.0.0",
|
|
94
94
|
"cross-env": "^7.0.3",
|
|
95
95
|
"deeks": "^3.1.1",
|
|
@@ -107,10 +107,10 @@
|
|
|
107
107
|
"prettier": "^3.3.3",
|
|
108
108
|
"rimraf": "5.0.9",
|
|
109
109
|
"secretlint": "8.2.4",
|
|
110
|
-
"semantic-release": "^24.1.
|
|
110
|
+
"semantic-release": "^24.1.2",
|
|
111
111
|
"type-fest": "^4.26.1",
|
|
112
112
|
"typescript": "5.5.4",
|
|
113
|
-
"vitest": "^2.1.
|
|
113
|
+
"vitest": "^2.1.2"
|
|
114
114
|
},
|
|
115
115
|
"engines": {
|
|
116
116
|
"node": ">=18.* <=22.*"
|