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

vue-test-utils

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-test-utils - npm Package Compare versions

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

12

dist/vue-test-utils.js

@@ -290,3 +290,2 @@ 'use strict';

debugger
if (vnode.child) {

@@ -311,3 +310,2 @@ components.push(vnode.child);

function findVueComponents (root, componentName) {
debugger
var components = root._isVue ? findAllVueComponentsFromVm(root) : findAllVueComponentsFromVnode(root);

@@ -700,3 +698,3 @@ return components.filter(function (component) {

var classes = [].concat( this.element.classList );
var classes = this.element.className ? this.element.className.split(' ') : [];
// Handle converting cssmodules identifiers back to the original class name

@@ -781,2 +779,4 @@ if (this.vm && this.vm.$style) {

Wrapper.prototype.hasAttribute = function hasAttribute (attribute, value) {
warn('hasAttribute() has been deprecated and will be removed in version 1.0.0. Use attributes() instead—https://vue-test-utils.vuejs.org/en/api/wrapper/attributes');
if (typeof attribute !== 'string') {

@@ -799,2 +799,3 @@ throwError('wrapper.hasAttribute() must be passed attribute as a string');

warn('hasClass() has been deprecated and will be removed in version 1.0.0. Use classes() instead—https://vue-test-utils.vuejs.org/en/api/wrapper/classes');
var targetClass = className;

@@ -822,2 +823,4 @@

Wrapper.prototype.hasProp = function hasProp (prop, value) {
warn('hasProp() has been deprecated and will be removed in version 1.0.0. Use props() instead—https://vue-test-utils.vuejs.org/en/api/wrapper/props');
if (!this.isVueComponent) {

@@ -1662,3 +1665,4 @@ throwError('wrapper.hasProp() must be called on a Vue instance');

)
}
},
name: component.name
}

@@ -1665,0 +1669,0 @@ }

{
"name": "vue-test-utils",
"version": "1.0.0-beta.7",
"version": "1.0.0-beta.8",
"description": "Utilities for testing Vue components.",

@@ -64,3 +64,3 @@ "main": "dist/vue-test-utils.js",

"gitbook-plugin-theme-vuejs": "^1.1.0",
"jsdom": "^11.0.0",
"jsdom": "^11.5.1",
"jsdom-global": "^3.0.2",

@@ -67,0 +67,0 @@ "karma": "^1.7.0",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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