New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-karma-sonar

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-karma-sonar - npm Package Compare versions

Comparing version 0.2.23 to 0.2.24

6

CHANGELOG.md

@@ -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)

16

package.json
{
"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');

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc