ampproject / ampproject/ampstart

Dependency deprecation warning: babel-preset-es2015 (npm)

Open
#843 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
415
Forks
147
PR merge metrics
No merged PRs in 30d

Description

On registry `https://registry.npmjs.org`, the "latest" version (v6.24.1) of dependency `babel-preset-es2015` has the following deprecation notice:

`🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update! `

Marking the latest version of an npm package as deprecated results in the entire package being considered deprecated, so contact the package author you think this is a mistake.

Affected package file(s): `package.json`

If you don't care about this, you can close this issue and not be warned about `babel-preset-es2015`'s deprecation again. If you would like to completely disable all future deprecation warnings then add the following to your config:

```
"suppressNotifications": ["deprecationWarningIssues"]
```

Contributor guide

Open the contributing guide

Research direction

Start with the affected dependency entry in package.json and inspect the project's Babel configuration for references to babel-preset-es2015. Run the project's existing build or test command after the dependency update; done means the configuration works and the deprecation warning is no longer reported.

Written by the indexing model from the issue text.

Assessment

Tech stack
babel, javascript
Domain
build-system
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.