Socket
Socket
Sign inDemoInstall

vue-router

Package Overview
Dependencies
Maintainers
2
Versions
185
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-router - npm Package Compare versions

Comparing version 4.4.1 to 4.4.2

30

dist/vue-router.d.ts

@@ -164,8 +164,2 @@ import { AllowedComponentProps } from 'vue';

/**
* Returns `true` if the passed `RouteMeta` type has been augmented with required fields. Return `false` otherwise.
* @internal
*/
declare type IsRouteMetaRequired<RM> = Partial<RM> extends RM ? false : true;
declare type Lazy<T> = () => Promise<T>;

@@ -897,12 +891,6 @@

*/
export declare interface RouteMeta extends _RouteMetaBase {
export declare interface RouteMeta extends Record<string | number | symbol, unknown> {
}
/**
* Default type for RouteMeta when not augmented.
* @internal
*/
export declare type _RouteMetaBase = Record<string | number | symbol, unknown>;
/**
* Generate a type safe params for a route location. Requires the name of the route to be passed as a generic.

@@ -1118,3 +1106,3 @@ * @see {@link RouteParamsGeneric}

*/
export declare interface _RouteRecordBase extends PathParserOptions, _RouteRecordBaseMeta {
export declare interface _RouteRecordBase extends PathParserOptions {
/**

@@ -1151,2 +1139,3 @@ * Path of the record. Should start with `/` unless the record is the child of

*/
meta?: RouteMeta;
/**

@@ -1162,15 +1151,2 @@ * Array of nested routes.

declare type _RouteRecordBaseMeta = IsRouteMetaRequired<RouteMeta> extends true ? {
/**
* Arbitrary data attached to the record. Required because the `RouteMeta` type has been augmented with required
* fields.
*/
meta: RouteMeta;
} : {
/**
* Arbitrary data attached to the record.
*/
meta?: RouteMeta;
};
/**

@@ -1177,0 +1153,0 @@ * Helper type to define a Typed `RouteRecord`

2

dist/vue-router.global.prod.js
/*!
* vue-router v4.4.1
* vue-router v4.4.2
* (c) 2024 Eduardo San Martin Morote

@@ -4,0 +4,0 @@ * @license MIT

{
"name": "vue-router",
"version": "4.4.1",
"version": "4.4.2",
"main": "index.js",

@@ -5,0 +5,0 @@ "unpkg": "dist/vue-router.global.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc