@ilha/router 0.3.1 → 0.3.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.
Files changed (2) hide show
  1. package/dist/vite.d.ts +23 -19
  2. package/package.json +3 -3
package/dist/vite.d.ts CHANGED
@@ -17,7 +17,7 @@ import SassEmbedded from "sass-embedded";
17
17
  import Less from "less";
18
18
  import Stylus from "stylus";
19
19
 
20
- //#region ../../node_modules/.bun/vite@8.0.10+9357385a17cbd143/node_modules/vite/types/hmrPayload.d.ts
20
+ //#region ../../node_modules/.bun/vite@8.0.12+9357385a17cbd143/node_modules/vite/types/hmrPayload.d.ts
21
21
  type HotPayload = ConnectedPayload | PingPayload | UpdatePayload | FullReloadPayload | CustomPayload | ErrorPayload | PrunePayload;
22
22
  interface ConnectedPayload {
23
23
  type: 'connected';
@@ -82,7 +82,7 @@ interface ErrorPayload {
82
82
  };
83
83
  }
84
84
  //#endregion
85
- //#region ../../node_modules/.bun/vite@8.0.10+9357385a17cbd143/node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts
85
+ //#region ../../node_modules/.bun/vite@8.0.12+9357385a17cbd143/node_modules/vite/dist/node/chunks/moduleRunnerTransport.d.ts
86
86
  //#region src/shared/invokeMethods.d.ts
87
87
  interface FetchFunctionOptions {
88
88
  cached?: boolean;
@@ -135,7 +135,7 @@ interface ViteFetchResult {
135
135
  invalidate: boolean;
136
136
  }
137
137
  //#endregion
138
- //#region ../../node_modules/.bun/vite@8.0.10+9357385a17cbd143/node_modules/vite/types/customEvent.d.ts
138
+ //#region ../../node_modules/.bun/vite@8.0.12+9357385a17cbd143/node_modules/vite/types/customEvent.d.ts
139
139
  interface CustomEventMap {
140
140
  // client events
141
141
  'vite:beforeUpdate': UpdatePayload;
@@ -196,7 +196,7 @@ type ForwardConsolePayload = {
196
196
  */
197
197
  type InferCustomEventPayload<T extends string> = T extends keyof CustomEventMap ? CustomEventMap[T] : any;
198
198
  //#endregion
199
- //#region ../../node_modules/.bun/rolldown@1.0.0-rc.17/node_modules/rolldown/dist/shared/logging-C6h4g8dA.d.mts
199
+ //#region ../../node_modules/.bun/rolldown@1.0.0/node_modules/rolldown/dist/shared/logging-C6h4g8dA.d.mts
200
200
  //#region src/log/logging.d.ts
201
201
  /** @inline */
202
202
  type LogLevel$1 = "info" | "debug" | "warn";
@@ -246,7 +246,7 @@ interface RolldownError extends RolldownLog {
246
246
  }
247
247
  type LogOrStringHandler = (level: LogLevelWithError, log: RolldownLogWithString) => void; //#endregion
248
248
  //#endregion
249
- //#region ../../node_modules/.bun/@oxc-project+types@0.127.0/node_modules/@oxc-project/types/types.d.ts
249
+ //#region ../../node_modules/.bun/@oxc-project+types@0.129.0/node_modules/@oxc-project/types/types.d.ts
250
250
  // Auto-generated code, DO NOT EDIT DIRECTLY!
251
251
  // To edit this generated file you have to edit `tasks/ast_tools/src/generators/typescript.rs`.
252
252
  interface Program extends Span {
@@ -1545,7 +1545,7 @@ type UnaryOperator = "+" | "-" | "!" | "~" | "typeof" | "void" | "delete";
1545
1545
  type UpdateOperator = "++" | "--";
1546
1546
  type Node$1 = Program | IdentifierName | IdentifierReference | BindingIdentifier | LabelIdentifier | ThisExpression | ArrayExpression | ObjectExpression | ObjectProperty | TemplateLiteral | TaggedTemplateExpression | TemplateElement | ComputedMemberExpression | StaticMemberExpression | PrivateFieldExpression | CallExpression | NewExpression | MetaProperty | SpreadElement | UpdateExpression | UnaryExpression | BinaryExpression | PrivateInExpression | LogicalExpression | ConditionalExpression | AssignmentExpression | ArrayAssignmentTarget | ObjectAssignmentTarget | AssignmentTargetRest | AssignmentTargetWithDefault | AssignmentTargetPropertyIdentifier | AssignmentTargetPropertyProperty | SequenceExpression | Super | AwaitExpression | ChainExpression | ParenthesizedExpression | Directive | Hashbang | BlockStatement | VariableDeclaration | VariableDeclarator | EmptyStatement | ExpressionStatement | IfStatement | DoWhileStatement | WhileStatement | ForStatement | ForInStatement | ForOfStatement | ContinueStatement | BreakStatement | ReturnStatement | WithStatement | SwitchStatement | SwitchCase | LabeledStatement | ThrowStatement | TryStatement | CatchClause | DebuggerStatement | AssignmentPattern | ObjectPattern | BindingProperty | ArrayPattern | BindingRestElement | Function$1 | FunctionBody | ArrowFunctionExpression | YieldExpression | Class | ClassBody | MethodDefinition | PropertyDefinition | PrivateIdentifier | StaticBlock | AccessorProperty | ImportExpression | ImportDeclaration | ImportSpecifier | ImportDefaultSpecifier | ImportNamespaceSpecifier | ImportAttribute | ExportNamedDeclaration | ExportDefaultDeclaration | ExportAllDeclaration | ExportSpecifier | V8IntrinsicExpression | BooleanLiteral | NullLiteral | NumericLiteral | StringLiteral | BigIntLiteral | RegExpLiteral | JSXElement | JSXOpeningElement | JSXClosingElement | JSXFragment | JSXOpeningFragment | JSXClosingFragment | JSXNamespacedName | JSXMemberExpression | JSXExpressionContainer | JSXEmptyExpression | JSXAttribute | JSXSpreadAttribute | JSXIdentifier | JSXSpreadChild | JSXText | TSThisParameter | TSEnumDeclaration | TSEnumBody | TSEnumMember | TSTypeAnnotation | TSLiteralType | TSConditionalType | TSUnionType | TSIntersectionType | TSParenthesizedType | TSTypeOperator | TSArrayType | TSIndexedAccessType | TSTupleType | TSNamedTupleMember | TSOptionalType | TSRestType | TSAnyKeyword | TSStringKeyword | TSBooleanKeyword | TSNumberKeyword | TSNeverKeyword | TSIntrinsicKeyword | TSUnknownKeyword | TSNullKeyword | TSUndefinedKeyword | TSVoidKeyword | TSSymbolKeyword | TSThisType | TSObjectKeyword | TSBigIntKeyword | TSTypeReference | TSQualifiedName | TSTypeParameterInstantiation | TSTypeParameter | TSTypeParameterDeclaration | TSTypeAliasDeclaration | TSClassImplements | TSInterfaceDeclaration | TSInterfaceBody | TSPropertySignature | TSIndexSignature | TSCallSignatureDeclaration | TSMethodSignature | TSConstructSignatureDeclaration | TSIndexSignatureName | TSInterfaceHeritage | TSTypePredicate | TSModuleDeclaration | TSGlobalDeclaration | TSModuleBlock | TSTypeLiteral | TSInferType | TSTypeQuery | TSImportType | TSImportTypeQualifiedName | TSFunctionType | TSConstructorType | TSMappedType | TSTemplateLiteralType | TSAsExpression | TSSatisfiesExpression | TSTypeAssertion | TSImportEqualsDeclaration | TSExternalModuleReference | TSNonNullExpression | Decorator | TSExportAssignment | TSNamespaceExportDeclaration | TSInstantiationExpression | JSDocNullableType | JSDocNonNullableType | JSDocUnknownType | ParamPattern;
1547
1547
  //#endregion
1548
- //#region ../../node_modules/.bun/rolldown@1.0.0-rc.17/node_modules/rolldown/dist/shared/binding-zH1vcmbM.d.mts
1548
+ //#region ../../node_modules/.bun/rolldown@1.0.0/node_modules/rolldown/dist/shared/binding-zH1vcmbM.d.mts
1549
1549
  interface CodegenOptions {
1550
1550
  /**
1551
1551
  * Remove whitespace.
@@ -2587,7 +2587,7 @@ interface ViteImportGlobMeta {
2587
2587
  isSubImportsPattern?: boolean;
2588
2588
  } //#endregion
2589
2589
  //#endregion
2590
- //#region ../../node_modules/.bun/@rolldown+pluginutils@1.0.0-rc.17/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.d.ts
2590
+ //#region ../../node_modules/.bun/@rolldown+pluginutils@1.0.0/node_modules/@rolldown/pluginutils/dist/filter/composable-filters.d.ts
2591
2591
  type StringOrRegExp$1 = string | RegExp;
2592
2592
  type PluginModuleType = 'js' | 'jsx' | 'ts' | 'tsx' | 'json' | 'text' | 'base64' | 'dataurl' | 'binary' | 'empty' | (string & {});
2593
2593
  type FilterExpression = And | Or | Not | Id | ImporterId | ModuleType$1 | Code | Query;
@@ -2649,7 +2649,7 @@ declare class Exclude$1 {
2649
2649
  constructor(expr: FilterExpression);
2650
2650
  }
2651
2651
  //#endregion
2652
- //#region ../../node_modules/.bun/rolldown@1.0.0-rc.17/node_modules/rolldown/dist/shared/define-config-5HJ1b9vG.d.mts
2652
+ //#region ../../node_modules/.bun/rolldown@1.0.0/node_modules/rolldown/dist/shared/define-config-5HJ1b9vG.d.mts
2653
2653
  //#region src/types/misc.d.ts
2654
2654
  /** @inline */
2655
2655
  type SourcemapPathTransformOption = (relativeSourcePath: string, sourcemapPath: string) => string;
@@ -6228,7 +6228,7 @@ interface RolldownOptions extends InputOptions {
6228
6228
  * @category Config
6229
6229
  */
6230
6230
  //#endregion
6231
- //#region ../../node_modules/.bun/rolldown@1.0.0-rc.17/node_modules/rolldown/dist/shared/transform-DgZ3paSD.d.mts
6231
+ //#region ../../node_modules/.bun/rolldown@1.0.0/node_modules/rolldown/dist/shared/transform-DgZ3paSD.d.mts
6232
6232
  //#endregion
6233
6233
  //#region src/utils/transform.d.ts
6234
6234
  /**
@@ -6264,13 +6264,13 @@ declare global {
6264
6264
  interface URL {}
6265
6265
  }
6266
6266
  //#endregion
6267
- //#region ../../node_modules/.bun/vite@8.0.10+9357385a17cbd143/node_modules/vite/types/internal/esbuildOptions.d.ts
6267
+ //#region ../../node_modules/.bun/vite@8.0.12+9357385a17cbd143/node_modules/vite/types/internal/esbuildOptions.d.ts
6268
6268
  /* eslint-enable @typescript-eslint/ban-ts-comment */
6269
6269
  type EsbuildTarget = string | string[];
6270
6270
  type EsbuildTransformOptions = esbuild.TransformOptions;
6271
6271
  type DepsOptimizerEsbuildOptions = Omit<esbuild.BuildOptions, 'bundle' | 'entryPoints' | 'external' | 'write' | 'watch' | 'outdir' | 'outfile' | 'outbase' | 'outExtension' | 'metafile'>;
6272
6272
  //#endregion
6273
- //#region ../../node_modules/.bun/vite@8.0.10+9357385a17cbd143/node_modules/vite/types/metadata.d.ts
6273
+ //#region ../../node_modules/.bun/vite@8.0.12+9357385a17cbd143/node_modules/vite/types/metadata.d.ts
6274
6274
  interface AssetMetadata {
6275
6275
  importedAssets: Set<string>;
6276
6276
  importedCss: Set<string>;
@@ -6313,16 +6313,16 @@ declare module 'rolldown' {
6313
6313
  }
6314
6314
  }
6315
6315
  //#endregion
6316
- //#region ../../node_modules/.bun/vite@8.0.10+9357385a17cbd143/node_modules/vite/types/internal/terserOptions.d.ts
6316
+ //#region ../../node_modules/.bun/vite@8.0.12+9357385a17cbd143/node_modules/vite/types/internal/terserOptions.d.ts
6317
6317
  /* eslint-enable @typescript-eslint/ban-ts-comment */
6318
6318
  type TerserMinifyOptions = Terser.MinifyOptions;
6319
6319
  //#endregion
6320
- //#region ../../node_modules/.bun/vite@8.0.10+9357385a17cbd143/node_modules/vite/types/internal/lightningcssOptions.d.ts
6320
+ //#region ../../node_modules/.bun/vite@8.0.12+9357385a17cbd143/node_modules/vite/types/internal/lightningcssOptions.d.ts
6321
6321
  /* eslint-enable @typescript-eslint/ban-ts-comment */
6322
6322
  type LightningCSSOptions = Omit<Lightningcss.BundleAsyncOptions<Lightningcss.CustomAtRules>, 'filename' | 'resolver' | 'minify' | 'sourceMap' | 'analyzeDependencies' // properties not overridden by Vite, but does not make sense to set by end users
6323
6323
  | 'inputSourceMap' | 'projectRoot'>;
6324
6324
  //#endregion
6325
- //#region ../../node_modules/.bun/vite@8.0.10+9357385a17cbd143/node_modules/vite/types/internal/cssPreprocessorOptions.d.ts
6325
+ //#region ../../node_modules/.bun/vite@8.0.12+9357385a17cbd143/node_modules/vite/types/internal/cssPreprocessorOptions.d.ts
6326
6326
  /* eslint-enable @typescript-eslint/ban-ts-comment */
6327
6327
  // https://github.com/type-challenges/type-challenges/issues/29285
6328
6328
  type IsAny<T> = boolean extends (T extends never ? true : false) ? true : false;
@@ -6341,7 +6341,7 @@ declare global {
6341
6341
  interface HTMLLinkElement {}
6342
6342
  }
6343
6343
  //#endregion
6344
- //#region ../../node_modules/.bun/vite@8.0.10+9357385a17cbd143/node_modules/vite/types/importGlob.d.ts
6344
+ //#region ../../node_modules/.bun/vite@8.0.12+9357385a17cbd143/node_modules/vite/types/importGlob.d.ts
6345
6345
  /**
6346
6346
  * Declare Worker in case DOM is not added to the tsconfig lib causing
6347
6347
  * Worker interface is not defined. For developers with DOM lib added,
@@ -6352,10 +6352,10 @@ declare global {
6352
6352
  interface Worker {}
6353
6353
  }
6354
6354
  //#endregion
6355
- //#region ../../node_modules/.bun/vite@8.0.10+9357385a17cbd143/node_modules/vite/dist/node/index.d.ts
6355
+ //#region ../../node_modules/.bun/vite@8.0.12+9357385a17cbd143/node_modules/vite/dist/node/index.d.ts
6356
6356
  //#region \0rolldown/runtime.js
6357
6357
  //#endregion
6358
- //#region ../../node_modules/.pnpm/@vitejs+devtools@0.1.14_typescript@6.0.2_vite@packages+vite/node_modules/@vitejs/devtools/dist/cli-commands.d.ts
6358
+ //#region ../../node_modules/.pnpm/@vitejs+devtools@0.1.21_typescript@6.0.2_vite@packages+vite/node_modules/@vitejs/devtools/dist/cli-commands.d.ts
6359
6359
  //#region src/node/cli-commands.d.ts
6360
6360
  interface StartOptions {
6361
6361
  root?: string;
@@ -6364,10 +6364,14 @@ interface StartOptions {
6364
6364
  port?: string | number;
6365
6365
  open?: boolean;
6366
6366
  } //#endregion
6367
- //#region ../../node_modules/.pnpm/@vitejs+devtools@0.1.14_typescript@6.0.2_vite@packages+vite/node_modules/@vitejs/devtools/dist/config.d.ts
6367
+ //#region ../../node_modules/.pnpm/@vitejs+devtools@0.1.21_typescript@6.0.2_vite@packages+vite/node_modules/@vitejs/devtools/dist/config.d.ts
6368
6368
  //#region src/node/config.d.ts
6369
6369
  interface DevToolsConfig extends Partial<StartOptions> {
6370
6370
  enabled: boolean;
6371
+ /**
6372
+ * Vite environments to enable DevTools for. Defaults to all environments.
6373
+ */
6374
+ environments?: string[];
6371
6375
  /**
6372
6376
  * Disable client authentication.
6373
6377
  *
@@ -7204,7 +7208,7 @@ interface DepOptimizationConfig {
7204
7208
  type DepOptimizationOptions = DepOptimizationConfig & {
7205
7209
  /**
7206
7210
  * By default, Vite will crawl your `index.html` to detect dependencies that
7207
- * need to be pre-bundled. If `build.rollupOptions.input` is specified, Vite
7211
+ * need to be pre-bundled. If `build.rolldownOptions.input` is specified, Vite
7208
7212
  * will crawl those entry points instead.
7209
7213
  *
7210
7214
  * If neither of these fit your needs, you can specify custom entries using
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ilha/router",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "A tiny SPA router for Ilha",
5
5
  "license": "MIT",
6
6
  "author": "Ryuz <ryuzer@proton.me>",
@@ -27,10 +27,10 @@
27
27
  "test": "bun test"
28
28
  },
29
29
  "dependencies": {
30
- "ilha": "0.4.2",
30
+ "ilha": "0.4.3",
31
31
  "rou3": "0.8.1"
32
32
  },
33
33
  "devDependencies": {
34
- "vite": "^8.0.10"
34
+ "vite": "^8.0.12"
35
35
  }
36
36
  }