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.0.0-beta.2 to 1.0.0-beta.3

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

# [1.0.0-beta.3](https://github.com/fiction-com/factor/compare/v1.0.0-beta.2...v1.0.0-beta.3) (2019-09-29)
**Note:** Version bump only for package @factor/app
# [1.0.0-beta.2](https://github.com/fiction-com/factor/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2019-09-28)

@@ -8,0 +16,0 @@

12

entry-server.js

@@ -16,2 +16,4 @@ import Factor from "vue"

ssrContext = Factor.$filters.apply("ssr-context", ssrContext, { app, router, store })
// set router's location

@@ -25,2 +27,3 @@ router.push(fullPath !== url ? fullPath : url)

// Distinguish between content and dashboard UI
const { meta: { ui = "app" } = {} } =

@@ -41,3 +44,3 @@ router.currentRoute.matched.find(_ => _.meta.ui) || {}

ssrContext[h] = () => {
return Factor.$filters.apply(h, []).join("")
return Factor.$filters.apply(h, [], { ssrContext }).join("")
}

@@ -47,4 +50,5 @@ })

const attrHooks = [
{ name: "factor_html_attr", attr: ['lang="en"'], classes: [`factor-${ui}`] },
{ name: "factor_body_attr", attr: [], classes: [] }
{ name: "factor_html_attr", attr: [], classes: [`factor-${ui}`] },
{ name: "factor_body_attr", attr: [], classes: [] },
{ name: "factor_head_attr", attr: [], classes: [] }
]

@@ -56,3 +60,3 @@

attr.push(`class="${classes.join(" ")}"`)
return Factor.$filters.apply(name, attr).join(" ")
return Factor.$filters.apply(name, attr, { ssrContext }).join(" ")
}

@@ -59,0 +63,0 @@ })

{
"name": "@factor/app",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"main": "index.js",

@@ -17,3 +17,4 @@ "license": "GPL-2.0",

"@factor/app-extend": "^1.0.0-beta.0",
"@factor/app-fallbacks": "^1.0.0-beta.0",
"@factor/app-fallbacks": "1.0.0-beta.3",
"@factor/app-meta": "1.0.0-beta.3",
"@factor/app-router": "^1.0.0-beta.0",

@@ -25,3 +26,3 @@ "@factor/app-settings": "1.0.0-beta.2",

},
"gitHead": "d010e520d08fda51d45dd99c581d8787fba3dd3d"
"gitHead": "c6f6df2af61296e75e198f4beb17ba8d7aef2c21"
}
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