Comparing version 2.11.2 to 2.11.3
@@ -5,7 +5,7 @@ { | ||
"description": "The powerful, easy-to-use testing framework.", | ||
"version": "2.11.2", | ||
"version": "2.11.3", | ||
"homepage": "https://qunitjs.com", | ||
"author": { | ||
"name": "OpenJS Foundation and other contributors", | ||
"url": "https://github.com/qunitjs/qunit/blob/2.11.2/AUTHORS.txt" | ||
"url": "https://github.com/qunitjs/qunit/blob/2.11.3/AUTHORS.txt" | ||
}, | ||
@@ -55,2 +55,3 @@ "repository": { | ||
"commitplease": "3.1.0", | ||
"coveralls": "^3.1.0", | ||
"es6-promise": "^4.2.5", | ||
@@ -70,9 +71,8 @@ "eslint-config-jquery": "1.0.1", | ||
"grunt-contrib-watch": "1.1.0", | ||
"grunt-coveralls": "2.0.0", | ||
"grunt-eslint": "23.0.0", | ||
"grunt-git-authors": "3.2.0", | ||
"grunt-istanbul": "^0.8.0", | ||
"rollup": "2.26.0", | ||
"grunt-search": "0.1.8", | ||
"npm-reporter": "file:./test/cli/fixtures/npm-reporter", | ||
"nyc": "^15.1.0", | ||
"proxyquire": "1.8.0", | ||
@@ -84,6 +84,9 @@ "requirejs": "2.3.5", | ||
"@rollup/plugin-node-resolve": "9.0.0", | ||
"semver": "5.4.1" | ||
"@rollup/plugin-replace": "^2.3.3", | ||
"semver": "5.4.1", | ||
"tiny-lr": "^1.1.1" | ||
}, | ||
"scripts": { | ||
"build": "rollup -c && grunt build-copy", | ||
"build": "rollup -c && grunt copy:src-css", | ||
"build:coverage": "rollup -c --environment BUILD_TARGET:coverage && grunt copy:src-css", | ||
"dev": "grunt watch", | ||
@@ -96,3 +99,6 @@ "test": "npm run build && grunt test && bin/qunit.js test/cli/*.js", | ||
"serve": "grunt connect:any", | ||
"coverage": "npm run build && grunt coverage" | ||
"coverage": "npm run build:coverage && npm run coverage:_cli && npm run coverage:_main && nyc report", | ||
"coverage:_cli": "nyc --use-spawn-wrap --silent bin/qunit.js test/cli/*.js", | ||
"coverage:_main": "nyc instrument --in-place dist/ && grunt connect:nolivereload qunit", | ||
"coveralls": "npm run coverage && cat coverage/lcov.info | coveralls" | ||
}, | ||
@@ -105,3 +111,2 @@ "commitplease": { | ||
"CLI", | ||
"CSS", | ||
"Core", | ||
@@ -111,7 +116,21 @@ "Docs", | ||
"HTML Reporter", | ||
"Readme", | ||
"Test", | ||
"Release", | ||
"Tests" | ||
] | ||
}, | ||
"nyc": { | ||
"include": [ | ||
"bin/**", | ||
"dist/**", | ||
"reporter/**", | ||
"runner/**", | ||
"src/**" | ||
], | ||
"reporter": [ | ||
"text", | ||
"html", | ||
"lcovonly" | ||
], | ||
"report-dir": "coverage" | ||
} | ||
} |
@@ -7,3 +7,8 @@ // Depending on the exact usage, QUnit could be in one of several places, this | ||
// First we attempt to find QUnit relative to the current working directory. | ||
const localQUnitPath = resolve( "qunit", { paths: [ process.cwd() ] } ); | ||
const localQUnitPath = resolve( "qunit", { | ||
// Support: Node 10. Explicitly check "node_modules" to avoid a bug. | ||
// Fixed in Node 12+. See https://github.com/nodejs/node/issues/35367. | ||
paths: [ process.cwd() + "/node_modules", process.cwd() ] | ||
} ); | ||
delete require.cache[ localQUnitPath ]; | ||
@@ -10,0 +15,0 @@ return require( localQUnitPath ); |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
288962
34
12
6774