unhead 1.10.2 → 1.10.3

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.cjs CHANGED
@@ -694,7 +694,7 @@ function useScript(_input, _options) {
694
694
  script.proxy = proxyChain(script.instance);
695
695
  const res = new Proxy(script, {
696
696
  get(_, k) {
697
- const target = k in script ? script : script.proxy;
697
+ const target = k in script || String(k)[0] === "_" ? script : script.proxy;
698
698
  if (k === "then" || k === "catch") {
699
699
  return script[k].bind(script);
700
700
  }
package/dist/index.mjs CHANGED
@@ -693,7 +693,7 @@ function useScript(_input, _options) {
693
693
  script.proxy = proxyChain(script.instance);
694
694
  const res = new Proxy(script, {
695
695
  get(_, k) {
696
- const target = k in script ? script : script.proxy;
696
+ const target = k in script || String(k)[0] === "_" ? script : script.proxy;
697
697
  if (k === "then" || k === "catch") {
698
698
  return script[k].bind(script);
699
699
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "unhead",
3
3
  "type": "module",
4
- "version": "1.10.2",
4
+ "version": "1.10.3",
5
5
  "author": {
6
6
  "name": "Harlan Wilton",
7
7
  "email": "harlan@harlanzw.com",
@@ -34,9 +34,9 @@
34
34
  ],
35
35
  "dependencies": {
36
36
  "hookable": "^5.5.3",
37
- "@unhead/dom": "1.10.2",
38
- "@unhead/shared": "1.10.2",
39
- "@unhead/schema": "1.10.2"
37
+ "@unhead/dom": "1.10.3",
38
+ "@unhead/schema": "1.10.3",
39
+ "@unhead/shared": "1.10.3"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "unbuild .",