Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@factor/app

Package Overview
Dependencies
Maintainers
2
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@factor/app - npm Package Compare versions

Comparing version 1.8.11 to 1.8.15

16

index.ts

@@ -8,2 +8,4 @@ import { setting } from "@factor/api/settings"

type FactorRouteConfig = RouteConfig & { priority?: number }
const waitForMountApp = (): Promise<void> => {

@@ -50,3 +52,3 @@ return new Promise((resolve) => onEvent("app-mounted", () => resolve()))

key: "appRoutes",
callback: (_: RouteConfig[]) => {
callback: (_: FactorRouteConfig[]) => {
const contentRoutes = applyFilters("content-routes", [

@@ -59,7 +61,9 @@ {

},
]).filter((route: RouteConfig, index: number, self: RouteConfig[]) => {
// remove duplicate paths
const lastIndexOf = self.map((_) => _.path).lastIndexOf(route.path)
return index === lastIndexOf
})
]).filter(
(route: FactorRouteConfig, index: number, self: FactorRouteConfig[]) => {
// remove duplicate paths
const lastIndexOf = self.map((_) => _.path).lastIndexOf(route.path)
return index === lastIndexOf
}
)

@@ -66,0 +70,0 @@ _.push({

{
"name": "@factor/app",
"version": "1.8.11",
"version": "1.8.15",
"license": "GPL-2.0",

@@ -15,3 +15,3 @@ "publishConfig": {

},
"gitHead": "917af9bcf59285c64d8a0e7596183f79788f4f6e"
"gitHead": "bc0b6752f48b98dac47aedeaf28eef351495c63d"
}

@@ -23,7 +23,1 @@ import Vue from "vue"

}
declare module "vue-router" {
interface RouteConfig {
priority?: number
}
}
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