Comparing version 6.3.1 to 6.3.2
@@ -34,3 +34,3 @@ "use strict"; | ||
var isNumberLikeKey = typeof key === 'string' && numberString.test(key); | ||
var keyInterop = isNumberLikeKey ? global.Number(key) : key; | ||
var keyInterop = isNumberLikeKey ? globalThis.Number(key) : key; | ||
if (isNumberLikeKey | ||
@@ -37,0 +37,0 @@ ? !keyRuntype.guard(keyInterop) && !keyRuntype.guard(key) |
@@ -12,3 +12,3 @@ "use strict"; | ||
else { | ||
var keyForValue = global.Symbol.keyFor(value); | ||
var keyForValue = globalThis.Symbol.keyFor(value); | ||
if (keyForValue !== key) | ||
@@ -15,0 +15,0 @@ return util_1.FAILURE.VALUE_INCORRECT('symbol key', quoteIfPresent(key), quoteIfPresent(keyForValue)); |
{ | ||
"name": "runtypes", | ||
"version": "6.3.1", | ||
"version": "6.3.2", | ||
"description": "Runtime validation for static types", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -469,1 +469,2 @@ # Runtypes [![Build Status](https://travis-ci.org/pelotom/runtypes.svg?branch=master)](https://travis-ci.org/pelotom/runtypes) [![Coverage Status](https://coveralls.io/repos/github/pelotom/runtypes/badge.svg?branch=master)](https://coveralls.io/github/pelotom/runtypes?branch=master) | ||
- [runtypes-generate](https://github.com/typeetfunc/runtypes-generate) Generates random data by `Runtype` for property-based testing | ||
- [runtyping](https://github.com/johngeorgewright/runtyping) Generate runtypes from static types & JSON schema |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94330
470