Socket
Socket
Sign inDemoInstall

use-sync-external-store

Package Overview
Dependencies
Maintainers
1
Versions
1361
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-a0d991fe6-20211031 to 0.0.0-experimental-a3bde7974-20220208

33

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,15 +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.
*
* @flow
*/
'use strict';
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
if (

@@ -36,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;

@@ -240,15 +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.
*
* @flow
*/
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (

@@ -255,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,15 +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.
*
* @flow
*/
'use strict';
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
if (

@@ -36,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;

@@ -228,15 +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.
*
* @flow
*/
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (

@@ -243,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,15 +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.
*
* @flow
*/
'use strict';
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
if (

@@ -36,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');

@@ -168,15 +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.
*
* @flow
*/
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (

@@ -183,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,15 +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.
*
* @flow
*/
'use strict';
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
if (

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

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

@@ -167,15 +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.
*
* @flow
*/
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (

@@ -182,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,15 +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.
*
* @flow
*/
'use strict';
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
if (

@@ -36,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;

@@ -87,15 +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.
*
* @flow
*/
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
// Don't require this file directly; it's embedded by Rollup during build.
/* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */
if (

@@ -102,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-a0d991fe6-20211031",
"version": "0.0.0-experimental-a3bde7974-20220208",
"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-a0d991fe6-20211031"
"react": "0.0.0-experimental-a3bde7974-20220208"
}
}
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