Skip to content
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

v11 removed schematics/angular/utility/json-utils.ts #19793

Closed
gkamperis opened this issue Jan 14, 2021 · 4 comments
Closed

v11 removed schematics/angular/utility/json-utils.ts #19793

gkamperis opened this issue Jan 14, 2021 · 4 comments

Comments

@gkamperis
Copy link

Hi

The below file

https://github.com/angular/angular-cli/blob/10.2.x/packages/schematics/angular/utility/json-utils.ts

disappeared from v11.

There were no deprecation or easy to find alternatives.

Can someone pls clarify what happened and/or alternatives for these?

Thanks

@alan-agius4
Copy link
Collaborator

alan-agius4 commented Jan 14, 2021

Anything under /utils is considered as private API and therefore can be changed or removed without warning in any version.

You can use https://www.npmjs.com/package/jsonc-parser instead.

@gkamperis
Copy link
Author

@alan-agius4 thanks for the quick reply.

I take it that these were also used internally.

Any examples on how you internally replaced their usage?

@alan-agius4
Copy link
Collaborator

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Feb 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants