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.9 to 0.0.10

dist/vue-test-utils-compat.cjs.js

4

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

@@ -8,3 +8,3 @@ "main": "dist/vue-test-utils-compat.cjs.js",

"scripts": {
"prebulish": "rollup -c",
"prepare": "rollup -c",
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest"

@@ -11,0 +11,0 @@ },

@@ -53,10 +53,7 @@ # vue-test-utils-compat [![npm badge](https://img.shields.io/npm/v/vue-test-utils-compat)](https://npmjs.com/vue-test-utils-compat)

```js
const VueTestUtils = require('vue@/test-utils');
const { h } = require('vue');
const {
installCompat as installVTUCompat,
fullCompatConfig
} = require('vue-test-utils-compat');
const VueTestUtils = require("vue@/test-utils");
const { h } = require("vue");
const { installCompat: installVTUCompat, fullCompatConfig } = require("vue-test-utils-compat");
installVTUCompat(VueTestUtils, fullCompatConfig, h)
installVTUCompat(VueTestUtils, fullCompatConfig, h);
```

@@ -69,2 +66,4 @@

const Vue = require("vue");
const { installCompat: installVTUCompat, fullCompatConfig } = require("vue-test-utils-compat");
let compatH;

@@ -320,3 +319,3 @@ Vue.createApp({

import { h } from 'vue';
import { installCompat, fullCompatConfig } from `@vue/test-utils/compat`
import { installCompat, fullCompatConfig } from 'vue-test-utils-compat'

@@ -323,0 +322,0 @@ const PatchedVTU = { ...VueTestUtils };

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