Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redux-persist-immutable

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-persist-immutable - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

14

index.js

@@ -1,10 +0,16 @@

var transit = require('transit-immutable-js');
var transit = require('transit-immutable-js')
module.exports = {
in: function(state){
return transit.toJSON(state)
if(typeof state === 'object'){
return transit.toJSON(state)
}
return state
},
out: function(state){
return transit.fromJSON(state)
out: function(raw){
if(typeof raw === 'string'){
return transit.fromJSON(raw)
}
return raw
}
}
{
"name": "redux-persist-immutable",
"version": "1.0.2",
"version": "1.0.3",
"description": "immutable.js transform for redux-persist",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc