ampproject / ampproject/samples

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

Open
#178 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
452
Forks
187
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): `amp-pwa/src/components/amp-document/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

No contributing guide indexed for this repository

Research direction

Open amp-pwa/src/components/amp-document/package.json and inspect the babel-preset-es2015 dependency. Check how the package is used in the project before evaluating the recommended babel-preset-env replacement. Done means the deprecated dependency warning is addressed without breaking the package configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
babel
Domain
build-system
Issue type
Bug
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.