Skip to content

Deprecate node 8 and 10 #645

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

Merged
merged 10 commits into from
Jul 13, 2021
Merged

Deprecate node 8 and 10 #645

merged 10 commits into from
Jul 13, 2021

Conversation

seebees
Copy link
Contributor

@seebees seebees commented Jul 7, 2021

Related to #644

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Check any applicable:

  • Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.

seebees added 8 commits July 7, 2021 10:41
Karma, Webpack, and Verdaccio all had breaking changes across major versions.
Also Typescript, ESLint, and Prettier has major changes.

BREAKING CHANGE:

This commit upgrades dependencies to no longer support Node 8 and 10.
Upgrade several testing dependencies.
The largest change was removing support
for the way we were doing code coverage.

Compile source and tests in one go.
This is also related to nom 7.
Which changes the way `npx` works.
The way that fields were emitted by Typescript changed.
`declare` will make Typescript not emit the field.
This means that `readOnlyProperty` will correctly add the filed.

See:
https://www.typescriptlang.org/tsconfig#useDefineForClassFields
BREAKING CHANGE: Removing CI coverage for Node 10
Now that TS is building both the tests and source.
Comment on lines +126 to +138
crv?: string
d?: string
dp?: string
dq?: string
e?: string
k?: string
kty?: string
n?: string
p?: string
q?: string
qi?: string
x?: string
y?: string
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add comments explaining these? The variable names are opaque to me.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a copy of the JsonWebKey type. They are not my invention.

/* These are copies of the v12 Node.js types.

  • I copied them here to avoid exporting v12 types
  • and forcing consumers to install/use v12 in their projects.

is the relevant comment.
It is no longer 12, and now 14 as well as some DOM types.

@seebees seebees merged commit 6b1d1a6 into aws:master Jul 13, 2021
@seebees seebees deleted the deprecate-node-8-and-10 branch July 13, 2021 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants