Socket
Socket
Sign inDemoInstall

@gisatcz/cross-package-react-context

Package Overview
Dependencies
Maintainers
5
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gisatcz/cross-package-react-context - npm Package Compare versions

Comparing version 0.0.2 to 0.1.0

2

dist/index.es.js

@@ -22,3 +22,3 @@ import React from 'react';

export default index;
export { index as default };
//# sourceMappingURL=index.es.js.map

@@ -15,3 +15,3 @@ 'use strict';

var createContext = function createContext(key, initialValue) {
contexts[key] = /*#__PURE__*/React__default['default'].createContext(initialValue);
contexts[key] = /*#__PURE__*/React__default["default"].createContext(initialValue);
return contexts[key];

@@ -31,3 +31,3 @@ };

exports.default = index;
exports["default"] = index;
//# sourceMappingURL=index.js.map
{
"name": "@gisatcz/cross-package-react-context",
"version": "0.0.2",
"version": "0.1.0",
"description": "Singleton React context manager for use across packages",

@@ -22,19 +22,21 @@ "keywords": [

},
"dependencies": {
"react": "^16.13.1"
"peerDependencies": {
"react": "^16.13.1 || ^17.0.2"
},
"dependencies": {},
"devDependencies": {
"@babel/cli": "^7.13.10",
"@babel/core": "^7.13.10",
"@babel/preset-env": "^7.13.10",
"@babel/preset-react": "^7.12.13",
"@rollup/plugin-commonjs": "^17.1.0",
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-react": "^7.14.5",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.0",
"babel-loader": "^8.2.2",
"cross-env": "^7.0.3",
"glob": "^7.1.6",
"glob": "^7.2.0",
"npm-run-all": "^4.1.5",
"react": "^17.0.2",
"rimraf": "^3.0.2",
"rollup": "^2.42.2",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-filesize": "^9.1.1",
"rollup-plugin-node-externals": "^2.1.3"
"rollup": "^2.58.0",
"rollup-plugin-filesize": "^9.1.1"
},

@@ -41,0 +43,0 @@ "scripts": {

@@ -0,0 +0,0 @@ # Cross-package React Context

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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