Skip to content

awesome-typescript-loader and DeprecationWarning: crypto.createCredentials is deprecated. Use tls.createSecureContext instead. #2461

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

Closed
1 task done
nstuyvesant opened this issue Jan 14, 2017 · 2 comments

Comments

@nstuyvesant
Copy link
Contributor

  • I understand that GitHub issues are not for tech support, but for questions specific to this generator, bug reports, and feature requests.
Item Version
generator-angular-fullstack x.x.x
Node 6.9.4
npm 4.1.1
Operating System OS X 10
Item Answer
Transpiler Babel
Markup Pug
CSS SCSS
Router ui-router
Client Tests Mocha
DB PostgreSQL
Auth Y

Whenever I did a gulp serve, was getting:
(node:20751) DeprecationWarning: crypto.createCredentials is deprecated. Use tls.createSecureContext instead.
(node:20751) DeprecationWarning: crypto.Credentials is deprecated. Use tls.SecureContext instead.

I updated awesome-typescript-loader from 0.17.0 to 2.2.4 and it got rid of these warnings. Tracked it down by adding " --trace-deprecation".

But since I'm using Babel and not TypeScript, this had no impact for me but wondering if anyone using TypeScript has tried this and found it not to cause problems. If so, perhaps it would make sense to have the generator default to specify awesome-typescript-loader 2.2.4?

@Awk34
Copy link
Member

Awk34 commented Jan 19, 2017

The changelog doesn't seem to show any breaking changes for 1.0.0 or 2.0.0, so I would assume it would be pretty safe.

@Awk34
Copy link
Member

Awk34 commented Jan 19, 2017

Actually, it appears the latest version is incompatible with webpack 1.x.x

@Awk34 Awk34 closed this as completed Jan 24, 2017
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

No branches or pull requests

2 participants