@unhead/react 3.0.1 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,6 @@
1
1
  import react__default, { ReactNode } from 'react';
2
2
  import { UseHeadInput, HeadEntryOptions, ActiveHeadEntry, HeadSafe, UseScriptInput, UseScriptOptions, UseScriptReturn, UseSeoMetaInput, Unhead } from 'unhead/types';
3
+ export { defineLink, defineScript } from 'unhead';
3
4
 
4
5
  declare const hookImports: {
5
6
  '@unhead/react': string[];
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import react__default, { ReactNode } from 'react';
2
2
  import { UseHeadInput, HeadEntryOptions, ActiveHeadEntry, HeadSafe, UseScriptInput, UseScriptOptions, UseScriptReturn, UseSeoMetaInput, Unhead } from 'unhead/types';
3
+ export { defineLink, defineScript } from 'unhead';
3
4
 
4
5
  declare const hookImports: {
5
6
  '@unhead/react': string[];
package/dist/index.mjs CHANGED
@@ -1,6 +1,7 @@
1
1
  import React, { useEffect, useContext, useRef, useMemo, useCallback } from 'react';
2
2
  import { ValidHeadTags, TagsWithInnerContent, HasElementTags } from 'unhead/utils';
3
3
  import { useScript as useScript$1, useHead as useHead$1, useHeadSafe as useHeadSafe$1, useSeoMeta as useSeoMeta$1 } from 'unhead';
4
+ export { defineLink, defineScript } from 'unhead';
4
5
  import { U as UnheadContext } from './shared/react.DF9T1fqs.mjs';
5
6
 
6
7
  const hookImports = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unhead/react",
3
3
  "type": "module",
4
- "version": "3.0.1",
4
+ "version": "3.0.2",
5
5
  "description": "Full-stack <head> manager built for React.",
6
6
  "author": "Harlan Wilton <harlan@harlanzw.com>",
7
7
  "license": "MIT",
@@ -114,8 +114,8 @@
114
114
  "magic-string": "^0.30.21",
115
115
  "oxc-parser": "^0.124.0",
116
116
  "oxc-walker": "^0.7.0",
117
- "@unhead/bundler": "3.0.1",
118
- "unhead": "3.0.1"
117
+ "@unhead/bundler": "3.0.2",
118
+ "unhead": "3.0.2"
119
119
  },
120
120
  "devDependencies": {
121
121
  "@testing-library/react": "^16.3.2",