New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-new-window

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-new-window - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

es/react-new-window.js

33

package.json
{
"name": "react-new-window",
"description": "🔲 Pop a new window React using window.open",
"version": "0.0.5",
"main": "dist/react-new-window.js",
"module": "dist/react-new-window.esm.js",
"browser": "dist/react-new-window.umd.js",
"version": "0.0.6",
"keywords": [
"react",
"window",
"open",
"popup"
],
"main": "src/react-new-window.js",
"module": "es/react-new-window.js",
"browser": "umd/react-new-window.js",
"repository": "git@github.com:rmariuzzo/react-new-window.git",

@@ -12,4 +18,9 @@ "author": "Rubens Mariuzzo <rubens@mariuzzo.com>",

"files": [
"dist"
"src",
"es",
"umd"
],
"dependencies": {
"prop-types": "^15.6.1"
},
"devDependencies": {

@@ -20,2 +31,3 @@ "@storybook/addon-actions": "^3.2.14",

"babel-core": "^6.26.0",
"babel-eslint": "^8.2.2",
"babel-jest": "^21.2.0",

@@ -28,3 +40,8 @@ "babel-plugin-transform-class-properties": "^6.24.1",

"cross-env": "^5.1.1",
"eslint": "^4.19.1",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.7.0",
"jest": "^22.4.2",
"np": "^2.20.1",
"prettier": "^1.11.1",
"react": "^16.0.0",

@@ -35,3 +52,6 @@ "react-dom": "^16.0.0",

"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-commonjs": "^9.1.0",
"rollup-plugin-filesize": "^1.4.2",
"rollup-plugin-node-resolve": "^3.3.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^3.0.0",

@@ -46,2 +66,5 @@ "uglify-es": "^3.3.10"

"build": "cross-env NODE_ENV=production rollup -c",
"release": "np",
"prerelease": "npm run lint && npm run build",
"lint": "eslint ./src",
"storybook": "cross-env NODE_ENV=test start-storybook -p 6006",

@@ -48,0 +71,0 @@ "build-storybook": "cross-env NODE_ENV=test build-storybook -o docs"

2

README.md

@@ -13,3 +13,3 @@ <div align=center>

- **Only 3.7KB** (that's 1.6KB gzipped!).
- **Only 2.68KB** (gzipped!).
- **Support the full `window.open` api**.

@@ -16,0 +16,0 @@ - **Built for React 16** (uses `ReactDOM.createPortal`).

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