@simplism/core
Advanced tools
Comparing version 10.1.16 to 10.1.23
@@ -469,5 +469,8 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
var __extends = (this && this.__extends) || (function () { | ||
var extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
var extendStatics = function (d, b) { | ||
extendStatics = Object.setPrototypeOf || | ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; | ||
return extendStatics(d, b); | ||
} | ||
return function (d, b) { | ||
@@ -1112,9 +1115,12 @@ extendStatics(d, b); | ||
var __assign = (this && this.__assign) || Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
@@ -1349,9 +1355,12 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
var __assign = (this && this.__assign) || Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
var __assign = (this && this.__assign) || function () { | ||
__assign = Object.assign || function(t) { | ||
for (var s, i = 1, n = arguments.length; i < n; i++) { | ||
s = arguments[i]; | ||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) | ||
t[p] = s[p]; | ||
} | ||
return t; | ||
}; | ||
return __assign.apply(this, arguments); | ||
}; | ||
@@ -1513,3 +1522,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
catch (err) { | ||
if (err.message.includes("123")) { | ||
if (err instanceof TypeError && err.message.includes("Cannot read property") && err.message.includes("of undefined")) { | ||
return undefined; | ||
@@ -1516,0 +1525,0 @@ } |
{ | ||
"name": "@simplism/core", | ||
"version": "10.1.16", | ||
"version": "10.1.23", | ||
"description": "Simplism Core Package", | ||
@@ -5,0 +5,0 @@ "repository": "github:kslhunter/simplism", |
@@ -108,3 +108,3 @@ import {Type} from "../type/Type"; | ||
Array.prototype.toMap = function (keySelector: (item: any, index: number) => any, valueSelector?: (item: any, index: number) => any): Map<any, any> { | ||
const result = new Map<string, any>(); | ||
const result = new Map<string>(); | ||
@@ -111,0 +111,0 @@ for (let i = 0; i < this.length; i++) { |
@@ -8,3 +8,3 @@ export type ChainedRequired<T> = { [P in keyof T]-?: ChainedRequired<T[P]> }; | ||
catch (err) { | ||
if (err.message.includes("123")) { | ||
if (err instanceof TypeError && err.message.includes("Cannot read property") && err.message.includes("of undefined")) { | ||
return undefined; | ||
@@ -11,0 +11,0 @@ } |
Sorry, the diff of this file is not supported yet
224684
3194