grunt-karma-sonar
Advanced tools
Comparing version 0.2.23 to 0.2.24
@@ -0,1 +1,7 @@ | ||
<a name="0.2.24"></a> | ||
# 0.2.24 (2016-05-17) | ||
## Bugfix | ||
- Fix new JUnit report matching | ||
<a name="0.2.23"></a> | ||
@@ -2,0 +8,0 @@ # 0.2.23 (2016-03-16) |
{ | ||
"name": "grunt-karma-sonar", | ||
"description": "Grunt plugin for integrating karma reports with sonar", | ||
"version": "0.2.23", | ||
"version": "0.2.24", | ||
"homepage": "https://github.com/mdasberg/grunt-karma-sonar", | ||
@@ -32,9 +32,9 @@ "author": { | ||
"devDependencies": { | ||
"angular-test-setup": "0.1.3", | ||
"angular-test-setup": "0.1.4", | ||
"buffer-equal": "1.0.0", | ||
"fs": "0.0.2", | ||
"grunt": ">=0.4.0", | ||
"grunt-contrib-clean": "1.0.0", | ||
"grunt": ">=0.4.5", | ||
"grunt-contrib-clean": "^1.0.0", | ||
"grunt-contrib-jshint": "1.0.0", | ||
"grunt-shell": "1.2.1", | ||
"grunt-shell": "1.3.0", | ||
"gruntmock": "^0.2.0", | ||
@@ -49,4 +49,4 @@ "jasmine-node": "1.14.5", | ||
"adm-zip": "^0.4.7", | ||
"async": "^1.5.2", | ||
"fs-extra": "^0.26.5", | ||
"async": "^2.0.0-rc.5", | ||
"fs-extra": "^0.30.0", | ||
"glob": "^7.0.0", | ||
@@ -57,3 +57,3 @@ "lodash": "^4.0.1", | ||
"sax": "^1.1.4", | ||
"xmldoc": "^0.4.0", | ||
"xmldoc": "^0.5.1", | ||
"kew": "^0.7.0", | ||
@@ -60,0 +60,0 @@ "semver": "^5.1.0", |
@@ -81,2 +81,20 @@ # grunt-karma-sonar | ||
Should be the indicator for performing a dry run. | ||
#### options.dryRun | ||
Type: `Boolean` | ||
Default: false | ||
#### options.runnerProperties | ||
Type: `Object` | ||
Should be the list of key(`sonar key`) value pairs. | ||
```js | ||
runnerProperties: { | ||
'sonar.links.homepage': 'https://github.com/mdasberg/grunt-karma-sonar', | ||
'sonar.branch': 'master' | ||
} | ||
``` | ||
Should be a list of sonar properties to exclude | ||
@@ -120,14 +138,2 @@ | ||
#### options.instance.runnerProperties | ||
Type: `Object` | ||
Should be the list of key(`sonar key`) value pairs. | ||
```js | ||
runnerProperties: { | ||
'sonar.links.homepage': 'https://github.com/mdasberg/grunt-karma-sonar', | ||
'sonar.branch': 'master' | ||
} | ||
``` | ||
#### options.debug | ||
@@ -134,0 +140,0 @@ Type: `Boolean` |
@@ -15,2 +15,12 @@ /*jshint -W083 */ | ||
/** | ||
* Indicate if it matches. | ||
* @param test The test. | ||
* @param name The name. | ||
* @returns {boolean} | ||
*/ | ||
function match(test, name) { | ||
return name.match(new RegExp('(.*)('+ test+')')) !== null; | ||
} | ||
/** | ||
* Merge all junit results. | ||
@@ -67,3 +77,3 @@ * Because the junit-reporter does not use the name of the spec file for the classname, the | ||
return _.find(spec.tests, function (test) { | ||
return test === name || xmlEntities.encode(test) === name; | ||
return match(test, name) || match(xmlEntities.encode(test), name); | ||
}); | ||
@@ -70,0 +80,0 @@ }), 'name'); |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
Found 1 instance in 1 package
878
343
2
57025
14
+ Addedasync@2.6.4(transitive)
+ Addedfs-extra@0.30.0(transitive)
+ Addedxmldoc@0.5.1(transitive)
- Removedasync@1.5.2(transitive)
- Removedfs-extra@0.26.7(transitive)
- Removedxmldoc@0.4.0(transitive)
Updatedasync@^2.0.0-rc.5
Updatedfs-extra@^0.30.0
Updatedxmldoc@^0.5.1