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

vue-test-utils-compat

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-test-utils-compat - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 0.0.5
- Prevent crash if directives is not defined
# 0.0.4

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

2

package.json
{
"name": "vue-test-utils-compat",
"version": "0.0.4",
"version": "0.0.5",
"description": "Compat layer for @vue/test-utils@2.x",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -165,3 +165,3 @@ const capitalize = (str) => str.charAt(0).toUpperCase() + str.slice(1);

...normalizeStubs(stubs),
...(config.MOUNT_ARGS_DIRECTIVES
...(config.MOUNT_ARGS_DIRECTIVES && directives
? Object.fromEntries(Object.entries(directives).map(([k, v]) => [`v${capitalize(k)}`, v]))

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