Comparing version
import { isMap, isArray, isPlainObject, isSet } from './is.js'; | ||
import { includes } from './util.js'; | ||
const getNthKey = (value, n) => { | ||
if (n > value.size) | ||
throw new Error('index out of bounds'); | ||
const keys = value.keys(); | ||
@@ -5,0 +7,0 @@ while (n > 0) { |
@@ -133,3 +133,3 @@ import { isBigint, isDate, isInfinite, isMap, isNaNValue, isRegExp, isSet, isUndefined, isSymbol, isArray, isError, isTypedArray, isURL, } from './is.js'; | ||
if (!clazz) { | ||
throw new Error('Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564'); | ||
throw new Error(`Trying to deserialize unknown class '${a[1]}' - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564`); | ||
} | ||
@@ -136,0 +136,0 @@ return Object.assign(Object.create(clazz.prototype), v); |
{ | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"license": "MIT", | ||
@@ -4,0 +4,0 @@ "type": "module", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
89952
0.21%952
0.21%0
-100%