Packages

@yarnpkg/parsers

3.1.0 · 29 Jul 2026BSD-2-Clause6.2M / weekRepositorynpmAtom feed

Upgrading @yarnpkg/parsers From 2.6.0 to 3.0.0

1 release in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.6.0Latest3.1.0
  1. 2.6.0yours
  2. 3.0.0target
  3. 30 pre

Before you upgrade

Tick each one off as you go
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0
  • Breaking3.0.0

Release by release

  1. 3.0.0

    Migration needed22 Oct 20233 new · 12 fixes
    • Breaking

      Node 10 isn't supported anymore.

    • Breaking

      Plugins can't access yup anymore (we migrated to Typanion as part of Clipanion v3).

    • Breaking

      The enableImmutableInstalls will now default to true on CI (we still recommend to explicitly use --immutable on the CLI).

    • Breaking

      The initVersion and initLicense configuration options have been removed. initFields should be used instead.

40 other lines we could not sort, mostly version bumps
  • @yarnpkg/sdks now contains the Editor SDKs

    3.0.0
  • 3.0.0
  • @yarnpkg/nm now contains the node_modules tree builder and hoister

    3.0.0
  • structUtils.requirableIdent got removed; use structUtils.stringifyIdent instead, which is strictly the same.

    3.0.0
  • configuration.format got removed; use formatUtils.pretty instead, which is strictly the same, but type-safe.

    3.0.0
  • httpUtils.Options['json'] got removed; use httpUtils.Options['jsonResponse'] instead, which is strictly the same.

    3.0.0
  • PackageExtension['description'] got removed, use formatUtils.json(packageExtension, formatUtils.Type.PACKAGE_EXTENSION) instead, which is strictly the same.

    3.0.0
  • Project.tryWorkspaceByDescriptor and Project.getWorkspaceByDescriptor now match on virtual descriptors.

    3.0.0
  • Workspaces now get self-references even when under the node-modules linker (just like how it already worked with the pnp linker). This means that a workspace called foo can now safely assume that calls to require('foo/package.json') will always work, removing the need for absolute aliases in the majority of cases.

    3.0.0
  • Projects that make use of such dependencies will have to be run with the --preserve-symlinks Node option if they wish to access their dependencies.

    3.0.0

1 internal line (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.