use-sync-external-store
Advanced tools
Comparing version 0.0.0-experimental-255221c86-20211103 to 0.0.0-experimental-27b569969-20220211
@@ -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' && |
@@ -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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
37968
814