-
Notifications
You must be signed in to change notification settings - Fork 108
fix(deprecation): #2343 Check for deprecated APIs #2347
Conversation
debd77a
to
91c48e5
Compare
r? @vladikoff |
.eslintrc
Outdated
@@ -1,7 +1,18 @@ | |||
extends: | |||
- plugin:fxa/server | |||
- plugin:node/recommended |
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.
@deeptibaghel we would need to add this here: mozilla/eslint-plugin-fxa#9 then plugin:fxa/server
should have the new rules automatically and can be reused in other repositories.
.eslintrc
Outdated
strict: 2 | ||
node/no-missing-require: off | ||
node/no-unpublished-require: off | ||
node/shebang: off |
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.
same as comment above, let's make changes in eslint-plugin-fxa, land those as a pull request, then change this Git SHA in this pull request: https://github.com/mozilla/fxa-auth-server/blob/master/npm-shrinkwrap.json#L338
07730df
to
a352001
Compare
package.json
Outdated
@@ -71,6 +71,7 @@ | |||
"otplib": "7.0.0", | |||
"po2json": "0.4.5", | |||
"poolee": "1.0.1", | |||
"punycode": "^2.1.0", |
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.
remove the ^
before the 2
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.
do we need to change this as well , if yes what all we need to do ?
fxa-auth-server/npm-shrinkwrap.json
Line 81 in 86de08b
"punycode": { |
"punycode": {
"version": "1.4.1",
"from": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz"
}
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.
would have to run npm run shrink
for that to regenerate that file
@vladikoff when i run "npm run shrink", it creates a file which is having just around 5000 lines instead of current 10000 lines |
95166db
to
028f175
Compare
@vladikoff , punycode.js is done. |
@pdehaan @deeptibaghel does this work for you? I Get:
|
I wonder if this is because of npm2 vs npm3-5 |
@vladikoff yeah i am using npm3 |
@deeptibaghel Thank you!!! 🎁 |
fix(deprecation): #2343 Check for deprecated APIs