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

react-esc-resolver

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-esc-resolver - npm Package Compare versions

Comparing version 1.3.1 to 1.4.0

6

package.json
{
"name": "react-esc-resolver",
"version": "1.3.1",
"version": "1.4.0",
"description": "Easy to use Client and Server Resolver",

@@ -42,5 +42,5 @@ "homepage": "https://github.com/TriPSs/react-esc-resolver",

"prop-types": "^15.6.0",
"react": "^16.0.0",
"react-dom": "^16.0.0"
"react": "^16.x",
"react-dom": "^16.x"
}
}

@@ -9,2 +9,4 @@ 'use strict';

var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

@@ -121,3 +123,3 @@

if (!state.resolved.hasOwnProperty(name) && !state.pending.hasOwnProperty(name) && !cached) {
if (!state.resolved.hasOwnProperty(name) && !state.pending.hasOwnProperty(name) && !_this2.isValidCache(cached)) {
nextState.pending[name] = resolve[name];

@@ -137,2 +139,7 @@ } else if (cached) {

}, {
key: 'isValidCache',
value: function isValidCache(cache) {
return cache !== null && typeof cache !== 'undefined' && ((typeof cache === 'undefined' ? 'undefined' : _typeof(cache)) !== 'object' || Object.keys(cache).length > 0) && (!Array.isArray(cache) || cache.length > 0);
}
}, {
key: 'isPending',

@@ -139,0 +146,0 @@ value: function isPending() {

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