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

use-sync-external-store

Package Overview
Dependencies
Maintainers
1
Versions
1425
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

use-sync-external-store - npm Package Compare versions

Comparing version 0.0.0-experimental-255221c86-20211103 to 0.0.0-experimental-27b569969-20220211

29

cjs/use-sync-external-store-shim.development.js

@@ -1,2 +0,3 @@

/** @license React vundefined
/**
* @license React
* use-sync-external-store-shim.development.js

@@ -15,13 +16,5 @@ *

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
if (

@@ -34,6 +27,4 @@ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&

}
'use strict';
var React = require('react');
var React = require('react');
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

@@ -238,13 +229,3 @@

exports.useSyncExternalStore = useSyncExternalStore$2;
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (

@@ -251,0 +232,0 @@ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&

@@ -1,2 +0,3 @@

/** @license React vundefined
/**
* @license React
* use-sync-external-store-shim.native.development.js

@@ -15,13 +16,5 @@ *

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
if (

@@ -34,6 +27,4 @@ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&

}
'use strict';
var React = require('react');
var React = require('react');
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

@@ -226,13 +217,3 @@

exports.useSyncExternalStore = useSyncExternalStore$1;
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (

@@ -239,0 +220,0 @@ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&

3

cjs/use-sync-external-store-shim.native.production.min.js

@@ -1,2 +0,3 @@

/** @license React vundefined
/**
* @license React
* use-sync-external-store-shim.native.production.min.js

@@ -3,0 +4,0 @@ *

@@ -1,2 +0,3 @@

/** @license React vundefined
/**
* @license React
* use-sync-external-store-shim.production.min.js

@@ -3,0 +4,0 @@ *

@@ -1,2 +0,3 @@

/** @license React vundefined
/**
* @license React
* use-sync-external-store-shim/with-selector.development.js

@@ -15,13 +16,5 @@ *

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
if (

@@ -34,5 +27,3 @@ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&

}
'use strict';
var React = require('react');
var React = require('react');
var shim = require('use-sync-external-store/shim');

@@ -166,13 +157,3 @@

exports.useSyncExternalStoreWithSelector = useSyncExternalStoreWithSelector;
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (

@@ -179,0 +160,0 @@ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&

@@ -1,2 +0,3 @@

/** @license React vundefined
/**
* @license React
* use-sync-external-store-shim/with-selector.production.min.js

@@ -3,0 +4,0 @@ *

@@ -1,2 +0,3 @@

/** @license React vundefined
/**
* @license React
* use-sync-external-store-with-selector.development.js

@@ -15,13 +16,5 @@ *

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
if (

@@ -34,6 +27,4 @@ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&

}
'use strict';
var React = require('react');
var React = require('react');
/**

@@ -165,13 +156,3 @@ * inlined Object.is polyfill to avoid requiring consumers ship their own

exports.useSyncExternalStoreWithSelector = useSyncExternalStoreWithSelector;
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (

@@ -178,0 +159,0 @@ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&

@@ -1,2 +0,3 @@

/** @license React vundefined
/**
* @license React
* use-sync-external-store-with-selector.production.min.js

@@ -3,0 +4,0 @@ *

@@ -1,2 +0,3 @@

/** @license React vundefined
/**
* @license React
* use-sync-external-store.development.js

@@ -15,13 +16,5 @@ *

/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
if (

@@ -34,6 +27,4 @@ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&

}
'use strict';
var React = require('react');
var React = require('react');
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;

@@ -85,13 +76,3 @@

exports.useSyncExternalStore = useSyncExternalStore;
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (

@@ -98,0 +79,0 @@ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' &&

@@ -1,2 +0,3 @@

/** @license React vundefined
/**
* @license React
* use-sync-external-store.production.min.js

@@ -3,0 +4,0 @@ *

{
"name": "use-sync-external-store",
"description": "Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks.",
"version": "0.0.0-experimental-255221c86-20211103",
"version": "0.0.0-experimental-27b569969-20220211",
"repository": {

@@ -13,3 +13,2 @@ "type": "git",

"README.md",
"build-info.json",
"index.js",

@@ -24,4 +23,4 @@ "index.native.js",

"peerDependencies": {
"react": "0.0.0-experimental-255221c86-20211103"
"react": "0.0.0-experimental-27b569969-20220211"
}
}
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