Socket
Socket
Sign inDemoInstall

@vue/test-utils

Package Overview
Dependencies
Maintainers
1
Versions
119
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.29 to 1.0.0-beta.30

33

CHANGELOG.md

@@ -6,2 +6,35 @@ # Change Log

<a name="1.0.0-beta.30"></a>
# [1.0.0-beta.30](https://github.com/vuejs/vue-test-utils/compare/v1.0.0-beta.29...v1.0.0-beta.30) (2019-11-28)
### Bug Fixes
* polyfill Element.matches for IE < 11 ([#1230](https://github.com/vuejs/vue-test-utils/issues/1230)) ([5e04331](https://github.com/vuejs/vue-test-utils/commit/5e04331)), closes [#1223](https://github.com/vuejs/vue-test-utils/issues/1223)
* **types:** allow `false` as a component stub value ([#1231](https://github.com/vuejs/vue-test-utils/issues/1231)) ([2a4c6ef](https://github.com/vuejs/vue-test-utils/commit/2a4c6ef))
* respect "hidden" attributes in isVisible() ([#1257](https://github.com/vuejs/vue-test-utils/issues/1257)) ([950763f](https://github.com/vuejs/vue-test-utils/commit/950763f))
### Code Refactoring
* remove sync mode ([#1141](https://github.com/vuejs/vue-test-utils/issues/1141)) ([ef613de](https://github.com/vuejs/vue-test-utils/commit/ef613de))
### Features
* **wrapper:** allow destroy() method to work with functional components ([#1188](https://github.com/vuejs/vue-test-utils/issues/1188)) ([f4ea3fd](https://github.com/vuejs/vue-test-utils/commit/f4ea3fd))
* add option to pretty print html components ([#1229](https://github.com/vuejs/vue-test-utils/issues/1229)) ([99336c4](https://github.com/vuejs/vue-test-utils/commit/99336c4))
* stop auto stubbing transition and transition-group ([#1127](https://github.com/vuejs/vue-test-utils/issues/1127)) ([85a972c](https://github.com/vuejs/vue-test-utils/commit/85a972c))
### BREAKING CHANGES
* html output will now be formatted
* * Remove `sync` mode
* Remove TransitionStub
* Remove Transition
<a name="1.0.0-beta.29"></a>

@@ -8,0 +41,0 @@ # [1.0.0-beta.29](https://github.com/vuejs/vue-test-utils/compare/v1.0.0-beta.28...v1.0.0-beta.29) (2019-02-02)

15

package.json
{
"name": "@vue/test-utils",
"version": "1.0.0-beta.29",
"version": "1.0.0-beta.30",
"description": "Utilities for testing Vue components.",

@@ -26,12 +26,2 @@ "main": "dist/vue-test-utils.js",

"homepage": "https://github.com/vuejs/vue-test-utils#readme",
"devDependencies": {
"chalk": "^2.1.0",
"conventional-changelog": "^1.1.3",
"rollup": "^0.56.3",
"rollup-plugin-buble": "^0.19.2",
"rollup-plugin-commonjs": "^8.3.0",
"rollup-plugin-flow-no-whitespace": "^1.0.0",
"rollup-plugin-node-resolve": "^3.0.3",
"typescript": "^2.6.2"
},
"peerDependencies": {

@@ -43,4 +33,5 @@ "vue": "2.x",

"dom-event-types": "^1.0.0",
"lodash": "^4.17.4"
"lodash": "^4.17.15",
"pretty": "^2.0.0"
}
}

15

types/index.d.ts

@@ -1,9 +0,3 @@

import Vue, { VNodeData, ComponentOptions, FunctionalComponentOptions } from 'vue'
import Vue, { VNodeData, ComponentOptions, FunctionalComponentOptions, Component } from 'vue'
// TODO: use core repo's Component type after https://github.com/vuejs/vue/pull/7369 is released
export type Component =
| typeof Vue
| FunctionalComponentOptions<{}>
| ComponentOptions<never, {}, {}, {}, {}>
/**

@@ -31,3 +25,3 @@ * Utility type to declare an extended Vue constructor

type Stubs = {
[key: string]: Component | string | true
[key: string]: Component | string | boolean
} | string[]

@@ -125,3 +119,2 @@

attachedToDocument?: boolean
sync?: boolean
}

@@ -140,3 +133,2 @@

listeners?: Record<string, Function | Function[]>
sync?: boolean
}

@@ -155,3 +147,2 @@

provide?: Record<string, any>,
logModifiedComponents?: Boolean
silent?: Boolean

@@ -174,4 +165,2 @@ }

export declare let TransitionStub: Component | string | true
export declare let TransitionGroupStub: Component | string | true
export declare let RouterLinkStub: VueClass<Vue>

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