@intlify/vue-router-bridge
Advanced tools
Comparing version 0.3.4 to 0.3.5-96eeb2f
{ | ||
"name": "@intlify/vue-router-bridge", | ||
"version": "0.3.4", | ||
"version": "0.3.5-96eeb2f", | ||
"description": "Vue Router bridging for Vue 2 & Vue 3", | ||
"scripts": { | ||
"postinstall": "node ./scripts/postinstall.js" | ||
}, | ||
"peerDependencies": { | ||
@@ -67,3 +64,6 @@ "@vue/composition-api": "^1.0.0-rc.1", | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
"postinstall": "node ./scripts/postinstall.js" | ||
} | ||
} | ||
} |
const fs = require('fs') // eslint-disable-line @typescript-eslint/no-var-requires | ||
const path = require('path') // eslint-disable-line @typescript-eslint/no-var-requires | ||
const DEBUG = process.env.DEBUG | ||
const dir = path.resolve(__dirname, '..', 'lib') | ||
@@ -10,2 +12,3 @@ | ||
} catch (e) { | ||
DEBUG && error(e) | ||
return undefined | ||
@@ -15,2 +18,6 @@ } | ||
function error(...args) { | ||
console.error(`[vue-router-bridge] `, ...args) | ||
} | ||
function warn(...args) { | ||
@@ -17,0 +24,0 @@ console.warn(`[vue-router-bridge] `, ...args) |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
26236
631
3