runtime-shared
Advanced tools
Comparing version 0.5.0-beta to 0.5.0
@@ -682,3 +682,4 @@ module.exports = function() { | ||
function encodeKey(key) { | ||
return Number.isNaN(key) ? NaNMarker : key; | ||
// Number.isNaN not extist in iOS 8.x | ||
return key !== key ? NaNMarker : key; | ||
} | ||
@@ -846,3 +847,4 @@ | ||
function encodeVal(data) { | ||
return Number.isNaN(data) ? NaNMarker : data; | ||
// Number.isNaN not extist in iOS 8.x | ||
return data !== data ? NaNMarker : data; | ||
} | ||
@@ -849,0 +851,0 @@ |
@@ -17,3 +17,4 @@ 'use strict'; | ||
function encodeKey(key) { | ||
return Number.isNaN(key) ? NaNMarker : key; | ||
// Number.isNaN not extist in iOS 8.x | ||
return key !== key ? NaNMarker : key; | ||
} | ||
@@ -20,0 +21,0 @@ |
@@ -19,3 +19,4 @@ 'use strict'; | ||
function encodeVal(data) { | ||
return Number.isNaN(data) ? NaNMarker : data; | ||
// Number.isNaN not extist in iOS 8.x | ||
return data !== data ? NaNMarker : data; | ||
} | ||
@@ -22,0 +23,0 @@ |
{ | ||
"name": "runtime-shared", | ||
"version": "0.5.0-beta", | ||
"version": "0.5.0", | ||
"description": "Shared Runtime.", | ||
@@ -5,0 +5,0 @@ "license": "BSD-3-Clause", |
@@ -11,3 +11,4 @@ /* eslint no-extend-native: "off" */ | ||
function encodeKey(key) { | ||
return Number.isNaN(key) ? NaNMarker : key; | ||
// Number.isNaN not extist in iOS 8.x | ||
return key !== key ? NaNMarker : key; | ||
} | ||
@@ -14,0 +15,0 @@ |
@@ -13,3 +13,4 @@ /* eslint no-extend-native: "off" */ | ||
function encodeVal(data) { | ||
return Number.isNaN(data) ? NaNMarker : data; | ||
// Number.isNaN not extist in iOS 8.x | ||
return data !== data ? NaNMarker : data; | ||
} | ||
@@ -16,0 +17,0 @@ |
Sorry, the diff of this file is not supported yet
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
230253
4361