Socket
Socket
Sign inDemoInstall

ngrx-store-localstorage

Package Overview
Dependencies
7
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

3

dist/index.js
"use strict";
var _this = this;
var INIT_ACTION = "@ngrx/store/init";

@@ -8,3 +7,3 @@ var detectDate = /(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})/;

return JSON.parse(jsonData, function (key, value) {
if (typeof value === 'string' && (_this.detectDate.test(value))) {
if (typeof value === 'string' && (detectDate.test(value))) {
return new Date(value);

@@ -11,0 +10,0 @@ }

{
"name": "ngrx-store-localstorage",
"version": "0.1.0",
"version": "0.1.1",
"description": "State and local storage syncing for @ngrx/store",

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

@@ -7,3 +7,3 @@ const INIT_ACTION = "@ngrx/store/init";

return JSON.parse(jsonData, (key: any, value: any) => {
if (typeof value === 'string' && (this.detectDate.test(value))) {
if (typeof value === 'string' && (detectDate.test(value))) {
return new Date(value);

@@ -10,0 +10,0 @@ }

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc