Skip to content

Commit 1973e8f

Browse files
committed
update js libs
1 parent 03b8a03 commit 1973e8f

File tree

4 files changed

+6389
-4898
lines changed

4 files changed

+6389
-4898
lines changed

MyApp/wwwroot/lib/mjs/servicestack-client.min.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

MyApp/wwwroot/lib/mjs/servicestack-client.mjs

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2247,30 +2247,34 @@ export function safeVarName(s) {
22472247
}
22482248
export function pick(o, keys) {
22492249
const to = {};
2250-
for (const k in o) {
2251-
if (o.hasOwnProperty(k) && keys.indexOf(k) >= 0) {
2250+
Object.keys(o).forEach(k => {
2251+
if (keys.indexOf(k) >= 0) {
22522252
to[k] = o[k];
22532253
}
2254-
}
2254+
});
22552255
return to;
22562256
}
22572257
export function omit(o, keys) {
22582258
const to = {};
2259-
for (const k in o) {
2260-
if (o.hasOwnProperty(k) && keys.indexOf(k) < 0) {
2259+
if (!o)
2260+
return to;
2261+
Object.keys(o).forEach(k => {
2262+
if (keys.indexOf(k) < 0) {
22612263
to[k] = o[k];
22622264
}
2263-
}
2265+
});
22642266
return to;
22652267
}
22662268
export function omitEmpty(o) {
22672269
const to = {};
2268-
for (const k in o) {
2270+
if (!o)
2271+
return to;
2272+
Object.keys(o).forEach(k => {
22692273
const v = o[k];
22702274
if (v != null && v !== '') {
22712275
to[k] = v;
22722276
}
2273-
}
2277+
});
22742278
return to;
22752279
}
22762280
export function apply(x, fn) {

MyApp/wwwroot/lib/mjs/vue.min.mjs

Lines changed: 6 additions & 8 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)