@use-everywhere/core 0.7.0 → 0.9.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@use-everywhere/core",
3
- "version": "0.7.0",
3
+ "version": "0.9.0",
4
4
  "description": "Cross-tab shared state, events, presence, and cross-origin window channels",
5
5
  "license": "MIT",
6
6
  "author": "Jonatan Kruszewski <jonakrusze@gmail.com>",
@@ -58,67 +58,83 @@
58
58
  "name": "everything (import *)",
59
59
  "path": "dist/index.js",
60
60
  "import": "*",
61
- "limit": "7.2 kB"
61
+ "limit": "8.78 kB"
62
62
  },
63
63
  {
64
64
  "name": "createLeader",
65
65
  "path": "dist/index.js",
66
66
  "import": "{ createLeader }",
67
- "limit": "3.33 kB"
67
+ "limit": "3.23 kB"
68
68
  },
69
69
  {
70
70
  "name": "createSharedStore",
71
71
  "path": "dist/index.js",
72
72
  "import": "{ createSharedStore }",
73
- "limit": "3.3 kB"
73
+ "limit": "3.90 kB"
74
+ },
75
+ {
76
+ "name": "createSharedReducer",
77
+ "path": "dist/index.js",
78
+ "import": "{ createSharedReducer }",
79
+ "limit": "3.79 kB"
74
80
  },
75
81
  {
76
82
  "name": "createChannel",
77
83
  "path": "dist/index.js",
78
84
  "import": "{ createChannel }",
79
- "limit": "2.1 kB"
85
+ "limit": "2.74 kB"
80
86
  },
81
87
  {
82
88
  "name": "createPresence",
83
89
  "path": "dist/index.js",
84
90
  "import": "{ createPresence }",
85
- "limit": "2.28 kB"
91
+ "limit": "2.47 kB"
86
92
  },
87
93
  {
88
94
  "name": "openWindow (opener side)",
89
95
  "path": "dist/index.js",
90
96
  "import": "{ openWindow }",
91
- "limit": "1.49 kB"
97
+ "limit": "1.23 kB"
92
98
  },
93
99
  {
94
100
  "name": "connectToOpener (child side)",
95
101
  "path": "dist/index.js",
96
102
  "import": "{ connectToOpener }",
97
- "limit": "1.32 kB"
103
+ "limit": "1.09 kB"
98
104
  },
99
105
  {
100
106
  "name": "observeBus + enableDebug",
101
107
  "path": "dist/index.js",
102
108
  "import": "{ observeBus, enableDebug }",
103
- "limit": "500 B"
109
+ "limit": "316 B"
104
110
  },
105
111
  {
106
112
  "name": "localStorageAdapter",
107
113
  "path": "dist/index.js",
108
114
  "import": "{ localStorageAdapter }",
109
- "limit": "500 B"
115
+ "limit": "655 B"
116
+ },
117
+ {
118
+ "name": "indexedDbAdapter",
119
+ "path": "dist/index.js",
120
+ "import": "{ indexedDbAdapter }",
121
+ "limit": "447 B"
110
122
  },
111
123
  {
112
124
  "name": "MemoryHub (testing subpath)",
113
125
  "path": "dist/testing.js",
114
126
  "import": "{ MemoryHub }",
115
- "limit": "350 B"
127
+ "limit": "267 B"
116
128
  }
117
129
  ],
118
130
  "devDependencies": {
119
131
  "@arethetypeswrong/cli": "^0.18.5",
120
132
  "@size-limit/preset-small-lib": "^13.0.1",
133
+ "@stryker-mutator/core": "^9.6.1",
134
+ "@stryker-mutator/vitest-runner": "^9.6.1",
121
135
  "@vitest/coverage-v8": "^4.1.10",
136
+ "esbuild": "^0.28.1",
137
+ "fake-indexeddb": "^6.2.5",
122
138
  "fast-check": "^4.9.0",
123
139
  "happy-dom": "^20.11.1",
124
140
  "publint": "^0.3.21",
@@ -140,6 +156,7 @@
140
156
  "typecheck": "tsc --noEmit",
141
157
  "size": "size-limit",
142
158
  "check:exports": "publint --strict && attw --pack .",
143
- "pack:smoke": "node --import tsx ../tooling/pack-smoke.ts"
159
+ "pack:smoke": "node --import tsx ../tooling/pack-smoke.ts",
160
+ "mutation": "stryker run && node --import tsx ../tooling/check-mutation.ts reports/mutation/mutation.json"
144
161
  }
145
162
  }