Skip to content

Commit

Permalink
chore: publish 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lmiller1990 committed Oct 31, 2022
1 parent 6d4b350 commit 76c63fa
Show file tree
Hide file tree
Showing 8 changed files with 14,179 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Expand Up @@ -5,5 +5,5 @@
],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "1.3.0"
"version": "1.3.1"
}
10 changes: 9 additions & 1 deletion packages/server-test-utils/dist/vue-server-test-utils.js
Expand Up @@ -8084,7 +8084,15 @@ ErrorWrapper.prototype.destroy = function destroy () {
*/

function isStyleVisible(element) {
var ref = element.style;
if (!(element instanceof HTMLElement) && !(element instanceof SVGElement)) {
return false
}

// Per https://lists.w3.org/Archives/Public/www-style/2018May/0031.html
// getComputedStyle should only work with connected elements.
var ref = element.isConnected
? getComputedStyle(element)
: element.style;
var display = ref.display;
var visibility = ref.visibility;
var opacity = ref.opacity;
Expand Down
2 changes: 1 addition & 1 deletion packages/server-test-utils/package.json
@@ -1,6 +1,6 @@
{
"name": "@vue/server-test-utils",
"version": "1.3.0",
"version": "1.3.1",
"description": "Utilities for testing Vue components.",
"main": "dist/vue-server-test-utils.js",
"types": "types/index.d.ts",
Expand Down

0 comments on commit 76c63fa

Please sign in to comment.