@vue/test-utils
Advanced tools
Comparing version 1.0.0-beta.11 to 1.0.0-beta.12
{ | ||
"name": "@vue/test-utils", | ||
"version": "1.0.0-beta.11", | ||
"version": "1.0.0-beta.12", | ||
"description": "Utilities for testing Vue components.", | ||
@@ -12,7 +12,7 @@ "main": "dist/vue-test-utils.js", | ||
"scripts": { | ||
"build": "node build/build.js", | ||
"build:test": "cross-env NODE_ENV=test node build/build.js", | ||
"build": "node scripts/build.js", | ||
"build:test": "cross-env NODE_ENV=test node scripts/build.js", | ||
"coverage": "cross-env NODE_ENV=coverage nyc --reporter=lcov --reporter=text npm run test:unit", | ||
"docs": "cd docs && gitbook install && gitbook serve", | ||
"docs:deploy": "build/update-docs.sh", | ||
"docs:deploy": "scripts/update-docs.sh", | ||
"docs:serve": "cd docs && gitbook serve", | ||
@@ -23,10 +23,9 @@ "flow": "flow check", | ||
"lint:fix": "npm run lint -- --fix", | ||
"setup": "node build/install-hooks.js", | ||
"test": "npm run lint && npm run lint:docs && npm run flow && npm run test:types && npm run test:unit && npm run test:unit:karma", | ||
"test:compat": "test/test.sh", | ||
"test:unit": "npm run build:test && cross-env BABEL_ENV=test && mocha-webpack --webpack-config build/webpack.test.config.js test/unit/specs --recursive --require test/unit/setup/mocha.setup.js", | ||
"test:unit:karma": "npm run build:test && cross-env BABEL_ENV=test TARGET=browser karma start test/unit/setup/karma.conf.js --single-run", | ||
"test:compat": "scripts/test-compat.sh", | ||
"test:unit": "npm run build:test && cross-env BABEL_ENV=test && mocha-webpack --webpack-config test/setup/webpack.test.config.js test/specs --recursive --require test/setup/mocha.setup.js", | ||
"test:unit:karma": "npm run build:test && cross-env BABEL_ENV=test TARGET=browser karma start test/setup/karma.conf.js --single-run", | ||
"test:types": "tsc -p types", | ||
"release": "bash build/release.sh", | ||
"release:note": "node build/gen-release-note.js" | ||
"release": "bash scripts/release.sh", | ||
"release:note": "node scripts/gen-release-note.js" | ||
}, | ||
@@ -94,2 +93,3 @@ "repository": { | ||
"vue-router": "^3.0.1", | ||
"vue-server-renderer": "2.5.13", | ||
"vue-template-compiler": "^2.5.13", | ||
@@ -103,2 +103,3 @@ "vuetify": "^0.16.9", | ||
"vue": "2.x", | ||
"vue-server-renderer": "2.x", | ||
"vue-template-compiler": "^2.x" | ||
@@ -105,0 +106,0 @@ }, |
@@ -50,5 +50,5 @@ import Vue, { VNodeData, ComponentOptions, FunctionalComponentOptions } from 'vue' | ||
attributes(): { [name: string]: string } | void | ||
attributes(): { [name: string]: string } | ||
classes(): Array<string> | void | ||
props(): { [name: string]: any } | void | ||
props(): { [name: string]: any } | ||
@@ -142,3 +142,8 @@ hasAttribute (attribute: string, value: string): boolean | ||
export declare function renderToString<V extends Vue> (component: VueClass<V>, options?: ThisTypedShallowOptions<V>): string | ||
export declare function renderToString<V extends Vue> (component: ComponentOptions<V>, options?: ThisTypedShallowOptions<V>): string | ||
export declare function renderToString (component: FunctionalComponentOptions, options?: ShallowOptions<Vue>): string | ||
export declare let TransitionStub: Component | string | true | ||
export declare let TransitionGroupStub: Component | string | true |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
397654
12189
4
56