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

react-portalize

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-portalize - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

dist/cjs/index.js
"use strict";
var _interopRequireWildcard = require("@babel/runtime-corejs2/helpers/interopRequireWildcard");
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard");

@@ -5,0 +5,0 @@ exports.__esModule = true;

"use strict";
var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

@@ -8,3 +8,3 @@ exports.__esModule = true;

var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/inheritsLoose"));
var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose"));

@@ -11,0 +11,0 @@ var _react = _interopRequireDefault(require("react"));

{
"version": "1.0.5",
"version": "1.0.6",
"main": "dist/cjs/index.js",

@@ -12,3 +12,4 @@ "module": "dist/es/index.js",

"build:server": "rimraf server && cross-env NODE_ENV=production BABEL_ENV=node-cjs babel server-src --out-dir server",
"watch": "rimraf dist/es && rimraf server && cross-env NODE_ENV=production BABEL_ENV=es babel src -w --out-dir dist/es & cross-env NODE_ENV=production BABEL_ENV=es babel server-src -w --out-dir server"
"watch": "rimraf dist/es && rimraf server && cross-env NODE_ENV=production BABEL_ENV=es babel src -w --out-dir dist/es & cross-env NODE_ENV=production BABEL_ENV=es babel server-src -w --out-dir server",
"prepublishOnly": "yarn build"
},

@@ -29,4 +30,4 @@ "author": "Jared Lunde <jared@BeStellar.co> (https://github.com/jaredLunde)",

"devDependencies": {
"@stellar-apps/babel-preset-es": "^1.0.1",
"@stellar-apps/babel-preset-react": "^1.0.0",
"@stellar-apps/babel-preset-es": "^1.0.4",
"@stellar-apps/babel-preset-react": "^1.0.1",
"cross-env": "^5.2.0",

@@ -37,3 +38,2 @@ "rimraf": "^2.6.2"

"@babel/runtime": "^7.3.1",
"@babel/runtime-corejs2": "^7.3.1",
"cheerio": "^1.0.0-rc.2"

@@ -40,0 +40,0 @@ },

"use strict";
var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");
exports.__esModule = true;
exports.renderPortalsToString = renderPortalsToString;
var _keys = _interopRequireDefault(require("@babel/runtime-corejs2/core-js/object/keys"));
var _server = require("react-dom/server");

@@ -17,3 +13,3 @@

function renderPortalsToString(html) {
const selectors = (0, _keys.default)(_reactPortalize.PORTALS);
const selectors = Object.keys(_reactPortalize.PORTALS);
if (selectors.length === 0) return html;

@@ -20,0 +16,0 @@ const doc = (0, _cheerio.load)(html);

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