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.7 to 1.8.11

2

core-settings.ts
/* eslint-disable import/no-unresolved */
export default (): object => {
export default (): Record<string, any> => {
return {

@@ -4,0 +4,0 @@ app: {

@@ -16,3 +16,3 @@ import { setting } from "@factor/api/settings"

// otherwise we might throw hydration errors
export const appMounted = async (callback?: Function): Promise<void> => {
export const appMounted = async (callback?: () => void): Promise<void> => {
await clientIsMountedPromise

@@ -19,0 +19,0 @@

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

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

},
"gitHead": "079558eeb1f8aeb190c314c91e024b61d7ed4b54"
"gitHead": "917af9bcf59285c64d8a0e7596183f79788f4f6e"
}
import { applyFilters, runCallbacks, addFilter } from "@factor/api/hooks"
import { emitEvent } from "@factor/api/events"
import VueRouter, { RouteConfig, Route, RouterOptions, Location } from "vue-router"
import VueRouter, {
RouteConfig,
Route,
RouterOptions,
Location,
NavigationGuardNext,
} from "vue-router"
import qs from "qs"

@@ -25,3 +31,3 @@ import { uniq } from "@factor/api"

from: Route,
next: Function
next: NavigationGuardNext
): Promise<void> => {

@@ -28,0 +34,0 @@ if (__initialPageLoad || to.path == from.path) {

@@ -6,7 +6,7 @@ import { runCallbacks, applyFilters, stored } from "@factor/api"

import { FactorPostState } from "@factor/post/types"
import Vue from "vue"
import Vue, { VueConstructor } from "vue"
import veil from "./veil.vue"
export default (): any => {
return Vue.extend({
data(): object {
data(): Record<string, any> {
return {

@@ -44,3 +44,3 @@ scrollClass: "",

},
injectedComponents(): Function[] {
injectedComponents(): VueConstructor<Vue>[] {
const siteComponents = applyFilters("site-components", [

@@ -54,3 +54,3 @@ {

return siteComponents.map(
(_: { name: string; component: Function }) => _.component
(_: { name: string; component: VueConstructor<Vue> }) => _.component
)

@@ -57,0 +57,0 @@ },

@@ -6,3 +6,3 @@ import Vuex from "vuex"

let __store: Store<object> | undefined
let __store: Store<Record<string, any>> | undefined

@@ -15,3 +15,3 @@ declare global {

export const createFactorStore = (): Store<object> => {
export const createFactorStore = (): Store<Record<string, any>> => {
__store = new Vuex.Store({

@@ -43,3 +43,3 @@ strict: false,

export const getStore = (): Store<object> | undefined => {
export const getStore = (): Store<Record<string, any>> | undefined => {
return __store

@@ -46,0 +46,0 @@ }

@@ -13,3 +13,3 @@ import Vue from "vue"

url: string
state?: object
state?: Record<string, any>
[key: string]: any

@@ -16,0 +16,0 @@ }

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