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

@intlify/vue-router-bridge

Package Overview
Dependencies
Maintainers
2
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@intlify/vue-router-bridge - npm Package Compare versions

Comparing version 0.3.6-a59042c to 0.3.6-bfbc6a3

2

lib/v3/index.d.ts
/* eslint-disable @typescript-eslint/no-explicit-any */
import VueRouter from 'vue-router'
import type { ComputedRef, ComponentPublicInstance } from '@vue/composition-api'
import type { ComponentPublicInstance } from 'vue-demi'
import type { Route, RouterOptions } from 'vue-router'

@@ -6,0 +6,0 @@

{
"name": "@intlify/vue-router-bridge",
"version": "0.3.6-a59042c",
"version": "0.3.6-bfbc6a3",
"description": "Vue Router bridging for Vue 2 & Vue 3",
"dependencies": {
"vue-demi": "^0.13.5"
},
"peerDependencies": {

@@ -6,0 +9,0 @@ "@vue/composition-api": "^1.0.0-rc.1",

@@ -52,8 +52,19 @@ const fs = require('fs') // eslint-disable-line @typescript-eslint/no-var-requires

function checkVCA() {
const VCA = loadModule('@vue/composition-api')
if (!VCA) {
warn('Composition API plugin is not found. Please run "npm install @vue/composition-api" to install.')
const demi = loadModule('vue-demi')
if (!demi) {
return false
}
return true
if (demi.Vue.version.startsWith('2.7.')) {
return true
} else if (demi.Vue.version.startsWith('2.')) {
const VCA = loadModule('@vue/composition-api')
if (!VCA) {
warn('Composition API plugin is not found. Please run "npm install @vue/composition-api" to install.')
return false
}
return true
} else {
return false
}
}

@@ -60,0 +71,0 @@

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