Skip to content

Get rid of Browserslist: caniuse-lite is outdated. Please run next command npm update warning #1914

Closed
@carols10cents

Description

@carols10cents

I'm seeing this whenever I run npm run start:local and I'm starting to get annoyed :P

Here's another project having this problem and lots of people talking about the solutions

Implementation instructions

I'd love if someone could:

  • Verify that you currently see this message when you run npm run start:local
  • Figure out the minimum number of packages that need to be npm updated to make the message go away. That is, I'd like to not have to npm update everything-- updating anything in the lists below is fine with me.
  • Submit a PR with the updates needed to package.json and package-lock.json

I'm not sure if it's browserslist or caniuse-lite that needs to be updated? Or both? Or a parent?

 $ npm ls browserslist
[email protected] /Users/carolnichols/rust/crates.io
├─┬ @ember/[email protected]
│ └─┬ [email protected]
│   └─┬ @babel/[email protected]
│     ├── [email protected]
│     └─┬ [email protected]
│       └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│   └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│   └─┬ [email protected]
│     └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│   └── [email protected]
└─┬ [email protected]
  └─┬ [email protected]
    └─┬ [email protected]
      └── [email protected]

$ npm ls caniuse-lite
[email protected] /Users/carolnichols/rust/crates.io
├─┬ @ember/[email protected]
│ └─┬ [email protected]
│   └─┬ @babel/[email protected]
│     ├─┬ [email protected]
│     │ └── [email protected]
│     └─┬ [email protected]
│       └─┬ [email protected]
│         └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│   └─┬ [email protected]
│     └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│   └─┬ [email protected]
│     └─┬ [email protected]
│       └── [email protected]
├─┬ [email protected]
│ └─┬ [email protected]
│   ├─┬ [email protected]
│   │ └── [email protected]
│   └── [email protected]
└─┬ [email protected]
  └─┬ [email protected]
    └─┬ [email protected]
      └─┬ [email protected]
        └── [email protected]  deduped

As of this writing, the latest browserslist is 4.7.3 and the latest caniuse-lite is 1.0.30001011.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions