New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vue/cli-plugin-unit-jest

Package Overview
Dependencies
Maintainers
1
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/cli-plugin-unit-jest - npm Package Compare versions

Comparing version 3.0.0-beta.7 to 3.0.0-beta.8

10

generator/index.js

@@ -22,3 +22,4 @@ module.exports = api => {

// process *.vue files with vue-jest
'^.+\\.vue$': 'vue-jest'
'^.+\\.vue$': 'vue-jest',
'.+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub'
},

@@ -32,2 +33,5 @@ // support the same @ -> src alias mapping in source code

'jest-serializer-vue'
],
'testMatch': [
'<rootDir>/(tests/unit/**/*.spec.(ts|tsx|js)|**/__tests__/*.(ts|tsx|js))'
]

@@ -67,3 +71,3 @@ }

api.render(files => {
files['tests/unit/.eslintrc'] = JSON.stringify({
files['tests/unit/.eslintrc.js'] = api.genJSConfig({
env: { jest: true },

@@ -73,5 +77,5 @@ rules: {

}
}, null, 2)
})
})
}
}

@@ -20,14 +20,4 @@ module.exports = api => {

let testMatch = []
if (!args._.length) {
testMatch = [`--testMatch`, `<rootDir>/(tests/unit/**/*.spec.(ts|tsx|js)|**/__tests__/*.(ts|tsx|js))`]
}
const argv = [
...rawArgv,
...testMatch
]
return new Promise((resolve, reject) => {
const child = execa(jestBinPath, argv, {
const child = execa(jestBinPath, rawArgv, {
cwd: api.resolve('.'),

@@ -34,0 +24,0 @@ stdio: 'inherit'

{
"name": "@vue/cli-plugin-unit-jest",
"version": "3.0.0-beta.7",
"version": "3.0.0-beta.8",
"description": "unit-jest plugin for vue-cli",

@@ -28,2 +28,3 @@ "main": "index.js",

"jest-serializer-vue": "^1.0.0",
"jest-transform-stub": "^1.0.0",
"vue-jest": "^2.5.0"

@@ -30,0 +31,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