immutable-devtools
Advanced tools
Comparing version 0.1.2 to 0.1.3
@@ -129,6 +129,8 @@ (function webpackUniversalModuleDefinition(root, factory) { | ||
var isRecord = function isRecord(maybeRecord) { | ||
if (maybeRecord && maybeRecord._values === undefined) { | ||
// don't detect Immutable.Record.prototype as a Recod instance | ||
return; | ||
} | ||
if (maybeRecord && maybeRecord._values === undefined // in v3 record | ||
&& maybeRecord._map === undefined // in v4 record | ||
) { | ||
// don't detect Immutable.Record.prototype as a Record instance | ||
return; | ||
} | ||
// Immutable v4 | ||
@@ -135,0 +137,0 @@ if (maybeRecord['@@__IMMUTABLE_RECORD__@@']) { |
{ | ||
"name": "immutable-devtools", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "Chrome Dev Tools formatter for the Immutable JS library", | ||
@@ -24,3 +24,4 @@ "main": "dist/index.js", | ||
"babel-preset-es2015": "^6.1.4", | ||
"immutable": "^4.0.0-rc.9" | ||
"immutable": "^4.0.0-rc.9", | ||
"immutable3": "^3.8.1" | ||
}, | ||
@@ -27,0 +28,0 @@ "repository" : { |
133077
259
6