@shopify/react-hydrate
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -10,5 +10,5 @@ "use strict"; | ||
var _manager = require("./manager"); | ||
var _manager = require("./manager.js"); | ||
var HydrationContext = /*#__PURE__*/(0, _react.createContext)(new _manager.HydrationManager()); | ||
exports.HydrationContext = HydrationContext; |
@@ -10,3 +10,3 @@ "use strict"; | ||
var _context = require("./context"); | ||
var _context = require("./context.js"); | ||
@@ -13,0 +13,0 @@ function useHydrationManager() { |
@@ -10,3 +10,3 @@ "use strict"; | ||
var _hooks = require("./hooks"); | ||
var _hooks = require("./hooks.js"); | ||
@@ -13,0 +13,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } |
@@ -14,5 +14,5 @@ "use strict"; | ||
var _context = require("./context"); | ||
var _context = require("./context.js"); | ||
var _shared = require("./shared"); | ||
var _shared = require("./shared.js"); | ||
@@ -19,0 +19,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; } |
@@ -43,10 +43,10 @@ "use strict"; | ||
var _context = require("./context"); | ||
var _context = require("./context.js"); | ||
var _manager = require("./manager"); | ||
var _manager = require("./manager.js"); | ||
var _hooks = require("./hooks"); | ||
var _hooks = require("./hooks.js"); | ||
var _Hydrator = require("./Hydrator"); | ||
var _Hydrator = require("./Hydrator.js"); | ||
var _HydrationTracker = require("./HydrationTracker"); | ||
var _HydrationTracker = require("./HydrationTracker.js"); |
@@ -8,3 +8,3 @@ "use strict"; | ||
var _shared = require("./shared"); | ||
var _shared = require("./shared.js"); | ||
@@ -11,0 +11,0 @@ function _createForOfIteratorHelper(o, allowArrayLike) { var it; if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = o[Symbol.iterator](); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; } |
@@ -10,5 +10,5 @@ "use strict"; | ||
var _manager = require("./manager"); | ||
var _manager = require("./manager.js"); | ||
const HydrationContext = /*#__PURE__*/(0, _react.createContext)(new _manager.HydrationManager()); | ||
exports.HydrationContext = HydrationContext; |
@@ -10,3 +10,3 @@ "use strict"; | ||
var _context = require("./context"); | ||
var _context = require("./context.js"); | ||
@@ -13,0 +13,0 @@ function useHydrationManager() { |
@@ -10,3 +10,3 @@ "use strict"; | ||
var _hooks = require("./hooks"); | ||
var _hooks = require("./hooks.js"); | ||
@@ -13,0 +13,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
@@ -14,5 +14,5 @@ "use strict"; | ||
var _context = require("./context"); | ||
var _context = require("./context.js"); | ||
var _shared = require("./shared"); | ||
var _shared = require("./shared.js"); | ||
@@ -19,0 +19,0 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } |
@@ -43,10 +43,10 @@ "use strict"; | ||
var _context = require("./context"); | ||
var _context = require("./context.js"); | ||
var _manager = require("./manager"); | ||
var _manager = require("./manager.js"); | ||
var _hooks = require("./hooks"); | ||
var _hooks = require("./hooks.js"); | ||
var _Hydrator = require("./Hydrator"); | ||
var _Hydrator = require("./Hydrator.js"); | ||
var _HydrationTracker = require("./HydrationTracker"); | ||
var _HydrationTracker = require("./HydrationTracker.js"); |
@@ -8,3 +8,3 @@ "use strict"; | ||
var _shared = require("./shared"); | ||
var _shared = require("./shared.js"); | ||
@@ -11,0 +11,0 @@ const DEFAULT_HYDRATION_ID = Symbol('defaultId'); |
@@ -8,2 +8,8 @@ # Changelog | ||
## [1.2.2] - 2021-03-03 | ||
### Fixed | ||
- Updated multi-build outputs to include mandatory extensions to fix "Module not found" issues reported by ESM supported bundlers [#1759](https://github.com/Shopify/quilt/pull/1759) | ||
## [1.2.0] - 2020-12-18 | ||
@@ -10,0 +16,0 @@ |
@@ -1,1 +0,1 @@ | ||
module.exports = require("./build/node/index"); | ||
module.exports = require("./build/node/index.js"); |
{ | ||
"name": "@shopify/react-hydrate", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"license": "MIT", | ||
@@ -27,4 +27,4 @@ "description": "Utilities for hydrating server-rendered React apps", | ||
"dependencies": { | ||
"@shopify/react-effect": "^3.3.1", | ||
"@shopify/react-hooks": "^1.12.1", | ||
"@shopify/react-effect": "^3.3.2", | ||
"@shopify/react-hooks": "^1.12.2", | ||
"tslib": "^1.14.1" | ||
@@ -31,0 +31,0 @@ }, |
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
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
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
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
38100
Updated@shopify/react-effect@^3.3.2
Updated@shopify/react-hooks@^1.12.2