@tamagui/proxy-worm 1.0.0-alpha.64 → 1.0.0-beta.152

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.
@@ -1 +1 @@
1
- @tamagui/proxy-worm:build: cache hit, replaying output 226a9111ef044a22
1
+ @tamagui/proxy-worm:build: cache hit, replaying output c595dbc6331d28a6
package/index.js CHANGED
@@ -1,15 +1,21 @@
1
- module.exports = empty()
1
+ module.exports = worm(true)
2
2
 
3
- function empty() {
4
- return new Proxy(
5
- {},
6
- {
7
- get() {
8
- return empty()
9
- },
10
- apply() {
11
- return empty()
12
- },
13
- }
14
- )
3
+ function worm(root = false) {
4
+ const obj = root
5
+ ? {
6
+ get default() {
7
+ return worm()
8
+ },
9
+ }
10
+ : function () {
11
+ return worm()
12
+ }
13
+ return new Proxy(obj, {
14
+ get() {
15
+ return worm()
16
+ },
17
+ apply() {
18
+ return worm()
19
+ },
20
+ })
15
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/proxy-worm",
3
- "version": "1.0.0-alpha.64",
3
+ "version": "1.0.0-beta.152+a2b40988",
4
4
  "main": "index.js",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -9,5 +9,5 @@
9
9
  "build": "true",
10
10
  "watch": "true"
11
11
  },
12
- "gitHead": "9363f43117f9504de9bd4949ca210cd1ebbf753b"
12
+ "gitHead": "a2b4098860fef97c4b24e6370873ee3e4fd31349"
13
13
  }