@vue/test-utils
Advanced tools
Comparing version 1.0.0-beta.29 to 1.0.0-beta.30
@@ -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) |
{ | ||
"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" | ||
} | ||
} |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1195850
0
32375
10
5
+ Addedpretty@^2.0.0
+ Added@isaacs/cliui@8.0.2(transitive)
+ Added@one-ini/wasm@0.1.1(transitive)
+ Added@pkgjs/parseargs@0.11.0(transitive)
+ Addedabbrev@2.0.0(transitive)
+ Addedansi-regex@5.0.16.1.0(transitive)
+ Addedansi-styles@4.3.06.2.1(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcommander@10.0.1(transitive)
+ Addedcondense-newlines@0.2.1(transitive)
+ Addedconfig-chain@1.1.13(transitive)
+ Addedcross-spawn@7.0.5(transitive)
+ Addedeastasianwidth@0.2.0(transitive)
+ Addededitorconfig@1.0.4(transitive)
+ Addedemoji-regex@8.0.09.2.2(transitive)
+ Addedextend-shallow@2.0.1(transitive)
+ Addedforeground-child@3.3.0(transitive)
+ Addedglob@10.4.5(transitive)
+ Addedini@1.3.8(transitive)
+ Addedis-buffer@1.1.6(transitive)
+ Addedis-extendable@0.1.1(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedis-whitespace@0.3.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedjackspeak@3.4.3(transitive)
+ Addedjs-beautify@1.15.1(transitive)
+ Addedjs-cookie@3.0.5(transitive)
+ Addedkind-of@3.2.2(transitive)
+ Addedlru-cache@10.4.3(transitive)
+ Addedminimatch@9.0.19.0.5(transitive)
+ Addedminipass@7.1.2(transitive)
+ Addednopt@7.2.1(transitive)
+ Addedpackage-json-from-dist@1.0.1(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpath-scurry@1.11.1(transitive)
+ Addedpretty@2.0.0(transitive)
+ Addedproto-list@1.2.4(transitive)
+ Addedsemver@7.6.3(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedstring-width@4.2.35.1.2(transitive)
+ Addedstrip-ansi@6.0.17.1.0(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedwrap-ansi@7.0.08.1.0(transitive)
Updatedlodash@^4.17.15