@reticlehq/vite-plugin 2.6.0 → 2.7.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -5
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -136,13 +136,13 @@ export interface ReticleVitePlugin {
136
136
  */
137
137
  export interface ViteDevServerLike {
138
138
  middlewares: {
139
- use: (handler: (req: {
140
- url?: string;
141
- }, res: unknown, next: () => void) => void) => void;
139
+ use(handler: (req: {
140
+ url?: string | undefined;
141
+ }, res: unknown, next: () => void) => void): void;
142
142
  };
143
143
  moduleGraph: {
144
- getModuleById: (id: string) => object | undefined;
145
- invalidateModule: (mod: object) => void;
144
+ getModuleById(id: string): object | undefined;
145
+ invalidateModule(mod: object): void;
146
146
  };
147
147
  }
148
148
  interface HtmlTag {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reticlehq/vite-plugin",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "Vite plugin for Reticle: dev-only source-map stamping plus auto-injected reticle.connect(). apply:'serve' guarantees it never ships to production.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -35,8 +35,8 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@babel/core": "^7.26.0",
38
- "@reticlehq/babel-plugin": "2.6.0",
39
- "@reticlehq/core": "2.6.0"
38
+ "@reticlehq/babel-plugin": "2.7.0",
39
+ "@reticlehq/core": "2.7.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/babel__core": "^7.20.5",