@gez/router-vue
Advanced tools
Comparing version 0.0.70 to 0.0.71
@@ -47,23 +47,23 @@ import { type RouterRawLocation } from '@gez/router'; | ||
to: { | ||
type: PropType<RouterLinkProps["to"]>; | ||
type: PropType<RouterRawLocation>; | ||
required: true; | ||
}; | ||
tag: { | ||
type: PropType<RouterLinkProps["tag"]>; | ||
type: PropType<string>; | ||
default: string; | ||
}; | ||
replace: { | ||
type: PropType<RouterLinkProps["replace"]>; | ||
type: PropType<boolean>; | ||
default: boolean; | ||
}; | ||
exact: { | ||
type: PropType<RouterLinkProps["exact"]>; | ||
type: PropType<"include" | "route" | "exact">; | ||
default: string; | ||
}; | ||
activeClass: { | ||
type: PropType<RouterLinkProps["activeClass"]>; | ||
type: PropType<string>; | ||
default: string; | ||
}; | ||
event: { | ||
type: PropType<RouterLinkProps["event"]>; | ||
type: PropType<string | string[]>; | ||
default: string; | ||
@@ -73,23 +73,23 @@ }; | ||
to: { | ||
type: PropType<RouterLinkProps["to"]>; | ||
type: PropType<RouterRawLocation>; | ||
required: true; | ||
}; | ||
tag: { | ||
type: PropType<RouterLinkProps["tag"]>; | ||
type: PropType<string>; | ||
default: string; | ||
}; | ||
replace: { | ||
type: PropType<RouterLinkProps["replace"]>; | ||
type: PropType<boolean>; | ||
default: boolean; | ||
}; | ||
exact: { | ||
type: PropType<RouterLinkProps["exact"]>; | ||
type: PropType<"include" | "route" | "exact">; | ||
default: string; | ||
}; | ||
activeClass: { | ||
type: PropType<RouterLinkProps["activeClass"]>; | ||
type: PropType<string>; | ||
default: string; | ||
}; | ||
event: { | ||
type: PropType<RouterLinkProps["event"]>; | ||
type: PropType<string | string[]>; | ||
default: string; | ||
@@ -96,0 +96,0 @@ }; |
import type { Route, RouterInstance } from '@gez/router'; | ||
import type { VueConstructor } from 'vue'; | ||
import { type VueConstructor } from 'vue'; | ||
interface VueWithRouter extends Vue { | ||
@@ -4,0 +4,0 @@ _routerRoot: VueWithRouter; |
@@ -47,23 +47,23 @@ import { type RouterRawLocation } from '@gez/router'; | ||
to: { | ||
type: PropType<RouterLinkProps["to"]>; | ||
type: PropType<RouterRawLocation>; | ||
required: true; | ||
}; | ||
tag: { | ||
type: PropType<RouterLinkProps["tag"]>; | ||
type: PropType<string>; | ||
default: string; | ||
}; | ||
replace: { | ||
type: PropType<RouterLinkProps["replace"]>; | ||
type: PropType<boolean>; | ||
default: boolean; | ||
}; | ||
exact: { | ||
type: PropType<RouterLinkProps["exact"]>; | ||
type: PropType<"include" | "route" | "exact">; | ||
default: string; | ||
}; | ||
activeClass: { | ||
type: PropType<RouterLinkProps["activeClass"]>; | ||
type: PropType<string>; | ||
default: string; | ||
}; | ||
event: { | ||
type: PropType<RouterLinkProps["event"]>; | ||
type: PropType<string | string[]>; | ||
default: string; | ||
@@ -73,23 +73,23 @@ }; | ||
to: { | ||
type: PropType<RouterLinkProps["to"]>; | ||
type: PropType<RouterRawLocation>; | ||
required: true; | ||
}; | ||
tag: { | ||
type: PropType<RouterLinkProps["tag"]>; | ||
type: PropType<string>; | ||
default: string; | ||
}; | ||
replace: { | ||
type: PropType<RouterLinkProps["replace"]>; | ||
type: PropType<boolean>; | ||
default: boolean; | ||
}; | ||
exact: { | ||
type: PropType<RouterLinkProps["exact"]>; | ||
type: PropType<"include" | "route" | "exact">; | ||
default: string; | ||
}; | ||
activeClass: { | ||
type: PropType<RouterLinkProps["activeClass"]>; | ||
type: PropType<string>; | ||
default: string; | ||
}; | ||
event: { | ||
type: PropType<RouterLinkProps["event"]>; | ||
type: PropType<string | string[]>; | ||
default: string; | ||
@@ -96,0 +96,0 @@ }; |
import type { Route, RouterInstance } from '@gez/router'; | ||
import type { VueConstructor } from 'vue'; | ||
import { type VueConstructor } from 'vue'; | ||
interface VueWithRouter extends Vue { | ||
@@ -4,0 +4,0 @@ _routerRoot: VueWithRouter; |
@@ -47,23 +47,23 @@ import { type RouterRawLocation } from '@gez/router'; | ||
to: { | ||
type: PropType<RouterLinkProps["to"]>; | ||
type: PropType<RouterRawLocation>; | ||
required: true; | ||
}; | ||
tag: { | ||
type: PropType<RouterLinkProps["tag"]>; | ||
type: PropType<string>; | ||
default: string; | ||
}; | ||
replace: { | ||
type: PropType<RouterLinkProps["replace"]>; | ||
type: PropType<boolean>; | ||
default: boolean; | ||
}; | ||
exact: { | ||
type: PropType<RouterLinkProps["exact"]>; | ||
type: PropType<"include" | "route" | "exact">; | ||
default: string; | ||
}; | ||
activeClass: { | ||
type: PropType<RouterLinkProps["activeClass"]>; | ||
type: PropType<string>; | ||
default: string; | ||
}; | ||
event: { | ||
type: PropType<RouterLinkProps["event"]>; | ||
type: PropType<string | string[]>; | ||
default: string; | ||
@@ -73,23 +73,23 @@ }; | ||
to: { | ||
type: PropType<RouterLinkProps["to"]>; | ||
type: PropType<RouterRawLocation>; | ||
required: true; | ||
}; | ||
tag: { | ||
type: PropType<RouterLinkProps["tag"]>; | ||
type: PropType<string>; | ||
default: string; | ||
}; | ||
replace: { | ||
type: PropType<RouterLinkProps["replace"]>; | ||
type: PropType<boolean>; | ||
default: boolean; | ||
}; | ||
exact: { | ||
type: PropType<RouterLinkProps["exact"]>; | ||
type: PropType<"include" | "route" | "exact">; | ||
default: string; | ||
}; | ||
activeClass: { | ||
type: PropType<RouterLinkProps["activeClass"]>; | ||
type: PropType<string>; | ||
default: string; | ||
}; | ||
event: { | ||
type: PropType<RouterLinkProps["event"]>; | ||
type: PropType<string | string[]>; | ||
default: string; | ||
@@ -96,0 +96,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
import type { Route } from '@gez/router'; | ||
import { type Route } from '@gez/router'; | ||
import { type PropType } from 'vue'; | ||
@@ -3,0 +3,0 @@ export declare const RouterView: import("vue").DefineComponent<{ |
@@ -6,4 +6,4 @@ { | ||
"build": "unbuild", | ||
"postinstall": "node './bin/postinstall.mjs'", | ||
"lint:js": "biome check --write --no-errors-on-unmatched", | ||
"postinstall": "node './bin/postinstall.js'", | ||
"lint:js": "eslint . --ext .js,.mjs,.cjs,.ts,.vue --fix", | ||
"lint:css": "stylelint '**/*.{css,vue}' --fix --aei", | ||
@@ -23,14 +23,14 @@ "lint:type": "tsc --noEmit", | ||
"devDependencies": { | ||
"@biomejs/biome": "1.9.4", | ||
"@gez/lint": "3.0.0-beta.49", | ||
"@gez/router": "0.0.70", | ||
"@types/node": "22.9.0", | ||
"@vitest/coverage-v8": "2.1.5", | ||
"stylelint": "16.10.0", | ||
"typescript": "5.7.3", | ||
"@gez/lint": "0.0.9", | ||
"@gez/router": "0.0.71", | ||
"@types/node": "20.12.12", | ||
"@vitest/coverage-v8": "1.6.0", | ||
"eslint": "8.57.0", | ||
"stylelint": "16.5.0", | ||
"typescript": "5.4.5", | ||
"unbuild": "2.0.0", | ||
"vitest": "2.1.5", | ||
"vitest": "1.6.0", | ||
"vue": "^2.7.8" | ||
}, | ||
"version": "0.0.70", | ||
"version": "0.0.71", | ||
"type": "module", | ||
@@ -40,4 +40,6 @@ "private": false, | ||
".": { | ||
"import": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts" | ||
"types": "./lib/index.d.ts", | ||
"require": "./lib/index.cjs", | ||
"import": "./lib/index.mjs", | ||
"browser": "./lib/index.mjs" | ||
}, | ||
@@ -47,15 +49,16 @@ "./*": "./*" | ||
"bin": { | ||
"router-vue-fix": "bin/postinstall.mjs" | ||
"router-vue-fix": "bin/postinstall.js" | ||
}, | ||
"module": "dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"main": "./lib/index.cjs", | ||
"module": "lib/index.mjs", | ||
"types": "./lib/index.d.ts", | ||
"files": [ | ||
"src", | ||
"lib", | ||
"src", | ||
"bin", | ||
"dist", | ||
"*.mjs", | ||
"template", | ||
"public" | ||
"template" | ||
], | ||
"gitHead": "b6297430c351d53302c32fc02d4847558883e8dc" | ||
"gitHead": "ff0890e91f48140ba071331135cd5f9b2a2d8e67" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
64201
53
2077
0
10