react-dom-polyfill
Advanced tools
Comparing version 1.0.0-beta.4 to 1.0.0-beta.5
@@ -9,4 +9,5 @@ 'use strict'; | ||
try { | ||
// eslint-disable-next-line global-require, import/no-extraneous-dependencies | ||
/* eslint-disable global-require, import/no-extraneous-dependencies, import/no-unresolved */ | ||
return require('react-dom'); | ||
/* eslint-enable global-require, import/no-extraneous-dependencies, import/no-unresolved */ | ||
} catch (e) { | ||
@@ -13,0 +14,0 @@ return null; |
{ | ||
"name": "react-dom-polyfill", | ||
"version": "1.0.0-beta.4", | ||
"version": "1.0.0-beta.5", | ||
"description": "Publish React libs that work with all React versions (0.12+)", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/skidding/react-cosmos/tree/master/packages/react-dom-polyfill", |
@@ -1,2 +0,2 @@ | ||
# React DOM Polyfill | ||
# react-dom-polyfill | ||
@@ -3,0 +3,0 @@ Publish React libs that work with *almost* all React versions. |
@@ -7,4 +7,5 @@ module.exports = (React) => { | ||
try { | ||
// eslint-disable-next-line global-require, import/no-extraneous-dependencies | ||
/* eslint-disable global-require, import/no-extraneous-dependencies, import/no-unresolved */ | ||
return require('react-dom'); | ||
/* eslint-enable global-require, import/no-extraneous-dependencies, import/no-unresolved */ | ||
} catch (e) { | ||
@@ -11,0 +12,0 @@ return null; |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
6344
123
0