@remix-run/react
Advanced tools
Comparing version 0.0.0-experimental-56ff64d1 to 0.0.0-experimental-5d79f855
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -491,10 +491,9 @@ * Copyright (c) Remix Software Inc. | ||
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, Object.keys(meta).map(name => { | ||
let value = meta[name]; // Open Graph tags use the `property` attribute, while other meta tags | ||
return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, Object.entries(meta).map(([name, value]) => { | ||
// Open Graph tags use the `property` attribute, while other meta tags | ||
// use `name`. See https://ogp.me/ | ||
let isOpenGraphTag = name.startsWith("og:"); | ||
return name === "title" ? /*#__PURE__*/React__default["default"].createElement("title", { | ||
key: "title" | ||
}, meta[name]) : Array.isArray(value) ? value.map(content => isOpenGraphTag ? /*#__PURE__*/React__default["default"].createElement("meta", { | ||
}, value) : Array.isArray(value) ? value.map(content => isOpenGraphTag ? /*#__PURE__*/React__default["default"].createElement("meta", { | ||
key: name + content, | ||
@@ -501,0 +500,0 @@ property: name, |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -483,10 +483,9 @@ * Copyright (c) Remix Software Inc. | ||
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, Object.keys(meta).map(name => { | ||
let value = meta[name]; // Open Graph tags use the `property` attribute, while other meta tags | ||
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, Object.entries(meta).map(([name, value]) => { | ||
// Open Graph tags use the `property` attribute, while other meta tags | ||
// use `name`. See https://ogp.me/ | ||
let isOpenGraphTag = name.startsWith("og:"); | ||
return name === "title" ? /*#__PURE__*/React__default.createElement("title", { | ||
key: "title" | ||
}, meta[name]) : Array.isArray(value) ? value.map(content => isOpenGraphTag ? /*#__PURE__*/React__default.createElement("meta", { | ||
}, value) : Array.isArray(value) ? value.map(content => isOpenGraphTag ? /*#__PURE__*/React__default.createElement("meta", { | ||
key: name + content, | ||
@@ -493,0 +492,0 @@ property: name, |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -29,4 +29,6 @@ * Copyright (c) Remix Software Inc. | ||
let descriptors = matches.map(match => { | ||
var _module$links; | ||
let module = routeModules[match.route.id]; | ||
return module.links && module.links() || []; | ||
return ((_module$links = module.links) === null || _module$links === void 0 ? void 0 : _module$links.call(module)) || []; | ||
}).flat(1); | ||
@@ -33,0 +35,0 @@ let preloads = getCurrentPageModulePreloadHrefs(matches, manifest); |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -33,4 +33,6 @@ * Copyright (c) Remix Software Inc. | ||
let descriptors = matches.map(match => { | ||
var _module$links; | ||
let module = routeModules[match.route.id]; | ||
return module.links && module.links() || []; | ||
return ((_module$links = module.links) === null || _module$links === void 0 ? void 0 : _module$links.call(module)) || []; | ||
}).flat(1); | ||
@@ -37,0 +39,0 @@ let preloads = getCurrentPageModulePreloadHrefs(matches, manifest); |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
{ | ||
"name": "@remix-run/react", | ||
"description": "React DOM bindings for Remix", | ||
"version": "0.0.0-experimental-56ff64d1", | ||
"version": "0.0.0-experimental-5d79f855", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": { |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
@@ -49,3 +49,3 @@ import type { Location } from "history"; | ||
location: Location; | ||
}): HtmlMetaDescriptor; | ||
}): HtmlMetaDescriptor | undefined; | ||
} | ||
@@ -52,0 +52,0 @@ /** |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v0.0.0-experimental-56ff64d1 | ||
* @remix-run/react v0.0.0-experimental-5d79f855 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
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
238361
6688