mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
enh: update to micro-dash@16
This commit is contained in:
parent
64ed150bd6
commit
0c2e70c83f
@ -54,7 +54,7 @@
|
||||
"typescript": "^5.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@s-libs/micro-dash": "^15.1.0",
|
||||
"@s-libs/micro-dash": "^16.1.0",
|
||||
"hygen": "^6.2.11",
|
||||
"ora": "^7.0.1",
|
||||
"pocketbase": "^0.18.0"
|
||||
|
@ -102,7 +102,16 @@ function assert(v, msg) {
|
||||
throw new Error(msg || 'Assertion failure')
|
||||
}
|
||||
}
|
||||
// ../../node_modules/@s-libs/micro-dash/fesm2015/micro-dash.mjs
|
||||
// ../../node_modules/@s-libs/micro-dash/fesm2022/micro-dash.mjs
|
||||
function keysOfNonArray(object) {
|
||||
return object ? Object.getOwnPropertyNames(object) : []
|
||||
}
|
||||
function forOwnOfNonArray(object, iteratee) {
|
||||
forEachOfArray(keysOfNonArray(object), function (key) {
|
||||
return iteratee(object[key], key)
|
||||
})
|
||||
return object
|
||||
}
|
||||
function forEach(collection, iteratee) {
|
||||
if (Array.isArray(collection)) {
|
||||
forEachOfArray(collection, iteratee)
|
||||
@ -118,15 +127,6 @@ function forEachOfArray(array, iteratee) {
|
||||
}
|
||||
}
|
||||
}
|
||||
function keysOfNonArray(object) {
|
||||
return object ? Object.getOwnPropertyNames(object) : []
|
||||
}
|
||||
function forOwnOfNonArray(object, iteratee) {
|
||||
forEachOfArray(keysOfNonArray(object), function (key) {
|
||||
return iteratee(object[key], key)
|
||||
})
|
||||
return object
|
||||
}
|
||||
// src/hooks/src/lib.ts
|
||||
var newModel = function (schema) {
|
||||
return new DynamicModel(schema)
|
||||
|
@ -482,10 +482,10 @@
|
||||
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45"
|
||||
integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==
|
||||
|
||||
"@s-libs/micro-dash@^15.1.0":
|
||||
version "15.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@s-libs/micro-dash/-/micro-dash-15.1.0.tgz#393e0173a37f573148f9d5857e2a627ed115fcff"
|
||||
integrity sha512-aAVutALpYYaqP9D2w9lBPtm/KaBFis25pyl+AjOEnnOJD4cQFBblMYJkNGUMH0gihmUrnvdWEvNscTJE1ZVadw==
|
||||
"@s-libs/micro-dash@^16.1.0":
|
||||
version "16.1.0"
|
||||
resolved "https://registry.yarnpkg.com/@s-libs/micro-dash/-/micro-dash-16.1.0.tgz#2a81ab697716ec2caf6f7b7d8e8a1e74833c8e01"
|
||||
integrity sha512-GmmtRb/vNl1RxErvm/d+ITfjbo4og/CXyYdqs4vpeFrJla0uSEbXwf9aJUXYvgORQDgXV6h9tdgDY6T88FRU3Q==
|
||||
dependencies:
|
||||
tslib "^2.3.0"
|
||||
utility-types "^3.10.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user