use-sync-external-store
Advanced tools
Comparing version 0.0.0-experimental-996da67b2-20211018 to 0.0.0-experimental-9c8161ba8-20211028
@@ -14,4 +14,25 @@ /** @license React vundefined | ||
(function() { | ||
'use strict'; | ||
/** | ||
* 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. | ||
* | ||
* @flow | ||
*/ | ||
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ | ||
// Don't require this file directly; it's embedded by Rollup during build. | ||
if ( | ||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && | ||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === | ||
'function' | ||
) { | ||
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); | ||
} | ||
'use strict'; | ||
var React = require('react'); | ||
@@ -144,3 +165,24 @@ var useSyncExternalStore = require('use-sync-external-store'); | ||
exports.useSyncExternalStoreExtra = useSyncExternalStoreExtra; | ||
/** | ||
* 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. | ||
* | ||
* @flow | ||
*/ | ||
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ | ||
// Don't require this file directly; it's embedded by Rollup during build. | ||
if ( | ||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && | ||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === | ||
'function' | ||
) { | ||
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); | ||
} | ||
})(); | ||
} |
@@ -14,4 +14,25 @@ /** @license React vundefined | ||
(function() { | ||
'use strict'; | ||
/** | ||
* 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. | ||
* | ||
* @flow | ||
*/ | ||
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ | ||
// Don't require this file directly; it's embedded by Rollup during build. | ||
if ( | ||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && | ||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === | ||
'function' | ||
) { | ||
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); | ||
} | ||
'use strict'; | ||
var React = require('react'); | ||
@@ -212,3 +233,24 @@ | ||
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. | ||
* | ||
* @flow | ||
*/ | ||
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ | ||
// Don't require this file directly; it's embedded by Rollup during build. | ||
if ( | ||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && | ||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === | ||
'function' | ||
) { | ||
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); | ||
} | ||
})(); | ||
} |
@@ -14,4 +14,25 @@ /** @license React vundefined | ||
(function() { | ||
'use strict'; | ||
/** | ||
* 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. | ||
* | ||
* @flow | ||
*/ | ||
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ | ||
// Don't require this file directly; it's embedded by Rollup during build. | ||
if ( | ||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && | ||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === | ||
'function' | ||
) { | ||
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); | ||
} | ||
'use strict'; | ||
var React = require('react'); | ||
@@ -203,3 +224,24 @@ | ||
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. | ||
* | ||
* @flow | ||
*/ | ||
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */ | ||
// Don't require this file directly; it's embedded by Rollup during build. | ||
if ( | ||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== 'undefined' && | ||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === | ||
'function' | ||
) { | ||
__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error()); | ||
} | ||
})(); | ||
} |
{ | ||
"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-996da67b2-20211018", | ||
"version": "0.0.0-experimental-9c8161ba8-20211028", | ||
"repository": { | ||
@@ -21,4 +21,4 @@ "type": "git", | ||
"peerDependencies": { | ||
"react": "0.0.0-experimental-996da67b2-20211018" | ||
"react": "0.0.0-experimental-9c8161ba8-20211028" | ||
} | ||
} |
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
28682
618