Socket
Socket
Sign inDemoInstall

vue3-notion

Package Overview
Dependencies
189
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.26 to 0.1.27

15

nuxt/index.ts

@@ -1,4 +0,2 @@

import { defineNuxtModule, addPluginTemplate } from "@nuxt/kit-edge"
import { fileURLToPath } from "url"
import { dirname, resolve } from "pathe"
import { defineNuxtModule, addPlugin, createResolver } from "@nuxt/kit"

@@ -8,3 +6,3 @@ export default defineNuxtModule({

name: "vue3-notion",
configKey: "vue3-notion",
configKey: "notion",
compatibility: {

@@ -15,9 +13,4 @@ nuxt: "^3.0.0",

setup(options, nuxt) {
const filename = fileURLToPath(import.meta.url)
const __dirname = dirname(filename)
addPluginTemplate({
src: resolve(__dirname, "plugin.ts"),
filename: "vue3-notion.ts",
options,
})
const { resolve } = createResolver(import.meta.url)
addPlugin(resolve("./plugin"))

@@ -24,0 +17,0 @@ const notionDeps = ["vue3-notion, fragment-for-vue", "katex", "prismjs"]

@@ -8,3 +8,5 @@ import VueNotion from "vue3-notion"

vueApp.use(VueNotion)
provide("notion", notion)
return {
notion,
}
})
{
"name": "vue3-notion",
"version": "0.1.26",
"version": "0.1.27",
"description": "Vue 3 Unofficial Notion Renderer",

@@ -40,4 +40,4 @@ "homepage": "https://vue3-notion.vercel.app/",

"scripts": {
"dev": "vite",
"dev:build": "vue-tsc --noEmit && vite build",
"dev": "vite -c vite-dev.config.ts",
"dev:build": "vue-tsc --noEmit && vite build -c vite-dev.config.ts",
"build": "vue-tsc --noEmit && vite build && rollup -c",

@@ -51,3 +51,3 @@ "build:rollup": "rollup -c",

"dependencies": {
"@nuxt/kit-edge": "^3.0.0-27449998.32cf973",
"@nuxt/kit": "^3.0.0-rc.1",
"fragment-for-vue": "^1.0.1",

@@ -54,0 +54,0 @@ "katex": "^0.15.1",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc