@shopify/react-html
Advanced tools
Comparing version 11.1.15 to 11.1.16
@@ -1,6 +0,5 @@ | ||
import { FirstArgument } from '@shopify/useful-types'; | ||
import { useBodyAttributes } from '../hooks'; | ||
declare type Props = FirstArgument<typeof useBodyAttributes>; | ||
declare type Props = Parameters<typeof useBodyAttributes>[0]; | ||
export declare function BodyAttributes(props: Props): null; | ||
export {}; | ||
//# sourceMappingURL=BodyAttributes.d.ts.map |
@@ -1,6 +0,5 @@ | ||
import { FirstArgument } from '@shopify/useful-types'; | ||
import { useHtmlAttributes } from '../hooks'; | ||
declare type Props = FirstArgument<typeof useHtmlAttributes>; | ||
declare type Props = Parameters<typeof useHtmlAttributes>[0]; | ||
export declare function HtmlAttributes(props: Props): null; | ||
export {}; | ||
//# sourceMappingURL=HtmlAttributes.d.ts.map |
/// <reference types="react" /> | ||
import { FirstArgument } from '@shopify/useful-types'; | ||
import { HtmlManager } from './manager'; | ||
@@ -12,6 +11,6 @@ export declare function useDomEffect(perform: (manager: HtmlManager) => () => void, inputs?: unknown[]): void; | ||
export declare function useLocale(locale: string): void; | ||
export declare function useHtmlAttributes(htmlAttributes: FirstArgument<HtmlManager['addHtmlAttributes']>): void; | ||
export declare function useBodyAttributes(bodyAttributes: FirstArgument<HtmlManager['addBodyAttributes']>): void; | ||
export declare function useHtmlAttributes(htmlAttributes: Parameters<HtmlManager['addHtmlAttributes']>[0]): void; | ||
export declare function useBodyAttributes(bodyAttributes: Parameters<HtmlManager['addBodyAttributes']>[0]): void; | ||
export declare function useClientDomEffect(perform: (manager: HtmlManager) => () => void, inputs?: unknown[]): void; | ||
export declare function useServerDomEffect(perform: (manager: HtmlManager) => () => void): void; | ||
//# sourceMappingURL=hooks.d.ts.map |
{ | ||
"name": "@shopify/react-html", | ||
"version": "11.1.15", | ||
"version": "11.1.16", | ||
"license": "MIT", | ||
@@ -34,4 +34,3 @@ "description": "A component to render your React app with no static HTML", | ||
"@shopify/react-effect": "^4.1.9", | ||
"@shopify/react-hydrate": "^2.1.14", | ||
"@shopify/useful-types": "^3.1.0", | ||
"@shopify/react-hydrate": "^2.1.15", | ||
"@types/multistream": "^2.1.1", | ||
@@ -46,3 +45,3 @@ "multistream": "^2.1.1", | ||
"devDependencies": { | ||
"@shopify/react-testing": "^3.3.4", | ||
"@shopify/react-testing": "^3.3.5", | ||
"@shopify/with-env": "^2.0.6" | ||
@@ -77,3 +76,3 @@ }, | ||
}, | ||
"gitHead": "330b095ff92c3538d5c21efcbf70d72ec2ecb9c6" | ||
"gitHead": "cb73949bad1988bd4a36fe4fa5daaa3fd0fd4752" | ||
} |
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
7
118749
1867
- Removed@shopify/useful-types@^3.1.0
- Removed@shopify/useful-types@3.1.0(transitive)