-
Notifications
You must be signed in to change notification settings - Fork 779
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Address vulnerabilities found by retire.js #758
Conversation
Removes vulnerability in jshint, fixes lots of mixed spaces and tabs
Removes vulnerability in grunt-legacy-log/lodash
Flaky build! ugh.
Maybe someone else could try rebuilding this later, it failed for me twice in a row and is completely unrelated to these changes. |
@@ -1,33 +1,33 @@ | |||
/*jshint node: true */ | |||
/*eslint-env node */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file has a bunch of mixed spaces / tabs
@@ -73,7 +74,7 @@ function convertAttributes (atts) { | |||
case '|=' : | |||
regexp = new RegExp('^'+ escapeRegExp(attributeValue) +'(-|$)'); | |||
break; | |||
case '=' : | |||
case '=' : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That should not be a tab.
@@ -88,7 +89,7 @@ function convertAttributes (atts) { | |||
return attributeValue !== value; | |||
}; | |||
break; | |||
default : | |||
default : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double space?
shadowId: 'a', | ||
children: [{ | ||
actualNode: new Vnode('ul'), | ||
actualNode: new Vnode('li', 'breaking'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did this test change?
assert(false, 'there are no ' + collection); | ||
return; | ||
} | ||
.forEach(function (selector) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You used spaces instead of a tab in this file.
Third time's the charm :). I'm merging, since we need this so that other PRs can pass. |
I did a bunch of work to get our build passing again, including updating to eslint from jshint. There were a lot of mixed spaces and tabs, and I went for tabs because our contributing document says "we prefer tabs over spaces." I used the
polyjuice
package to convert our jshint config files to eslint. There may still be some redundancies, but I already spent more time on this than I'd like.There are still a few things to do:
hawk
,cryptiles
,boom
,sntp
andhoek
, which are sub-dependencies of retire.js itself (which we previously added toretireignore.json
)