Socket
Socket
Sign inDemoInstall

@shopify/react-html

Package Overview
Dependencies
Maintainers
19
Versions
191
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/react-html - npm Package Compare versions

Comparing version 10.2.9 to 10.2.11

LICENSE.md

3

build/cjs/hooks.js

@@ -45,3 +45,4 @@ "use strict";

(0, _reactEffect.useServerEffect)(effect, manager.effect);
(0, _reactEffect.useServerEffect)(effect, manager.effect); // eslint-disable-next-line react-hooks/exhaustive-deps
(0, _react.useEffect)(effect, [manager].concat(_toConsumableArray(inputs)));

@@ -48,0 +49,0 @@ }

@@ -30,3 +30,4 @@ "use strict";

(0, _reactEffect.useServerEffect)(effect, manager.effect);
(0, _reactEffect.useServerEffect)(effect, manager.effect); // eslint-disable-next-line react-hooks/exhaustive-deps
(0, _react.useEffect)(effect, [manager, ...inputs]);

@@ -33,0 +34,0 @@ }

@@ -8,2 +8,3 @@ import { useEffect, useContext } from 'react';

useServerEffect(effect, manager.effect);
// eslint-disable-next-line react-hooks/exhaustive-deps
useEffect(effect, [manager, ...inputs]);

@@ -10,0 +11,0 @@ }

@@ -5,5 +5,5 @@ /// <reference types="react" />

title?: string;
metas: React.HTMLProps<HTMLMetaElement>[];
links: React.HTMLProps<HTMLLinkElement>[];
inlineStyles: React.HTMLProps<HTMLStyleElement>[];
metas: Array<React.HTMLProps<HTMLMetaElement>>;
links: Array<React.HTMLProps<HTMLLinkElement>>;
inlineStyles: Array<React.HTMLProps<HTMLStyleElement>>;
bodyAttributes: React.HTMLProps<HTMLBodyElement>;

@@ -10,0 +10,0 @@ htmlAttributes: React.HtmlHTMLAttributes<HTMLHtmlElement>;

@@ -7,3 +7,3 @@ /// <reference types="react" />

export declare function showPage(): Promise<void>;
export declare function removeDuplicate(metas: React.HTMLProps<HTMLMetaElement>[]): import("react").HTMLProps<HTMLMetaElement>[];
export declare function removeDuplicate(metas: Array<React.HTMLProps<HTMLMetaElement>>): import("react").HTMLProps<HTMLMetaElement>[];
//# sourceMappingURL=utilities.d.ts.map
{
"name": "@shopify/react-html",
"version": "10.2.9",
"version": "10.2.11",
"license": "MIT",

@@ -23,5 +23,5 @@ "description": "A component to render your React app with no static HTML",

"dependencies": {
"@shopify/react-effect": "^3.3.4",
"@shopify/react-hydrate": "^1.2.5",
"@shopify/useful-types": "^2.4.0",
"@shopify/react-effect": "^3.3.6",
"@shopify/react-hydrate": "^1.2.7",
"@shopify/useful-types": "^2.4.2",
"@types/multistream": "^2.1.1",

@@ -36,3 +36,3 @@ "multistream": "^2.1.1",

"devDependencies": {
"@shopify/react-testing": "^2.3.3",
"@shopify/react-testing": "^2.3.5",
"@shopify/with-env": "^1.2.4"

@@ -67,3 +67,4 @@ },

}
}
},
"gitHead": "f9d2332644de773a9e03a5f44df1e3c2f0392529"
}

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

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