`yamljs` is deprecated

Author: Benjamin-LoisonCreated Oct 11, 2025Updated Oct 11, 2025
bash
sudo npm update -g
Output:
bash
npm WARN deprecated [email protected]: Glob versions prior to v9 are no longer supported
npm WARN deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.

changed 22 packages in 521ms

1 package is looking for funding
  run `npm fund` for details
npm -g ls --all
Output:
/usr/local/lib
└─┬ [email protected]
  ├── [email protected]
  ├── [email protected]
  ├─┬ [email protected]
  │ ├── [email protected]
  │ ├── [email protected]
  │ └── [email protected] deduped
  ├─┬ [email protected]
  │ ├── [email protected] deduped
  │ └── [email protected] deduped
  ├── [email protected]
  └─┬ [email protected]
    ├─┬ [email protected]
    │ └── [email protected]
    └─┬ [email protected]
      ├── [email protected]
      ├─┬ [email protected]
      │ ├── [email protected] deduped
      │ └── [email protected]
      ├── [email protected]
      ├─┬ [email protected]
      │ └─┬ [email protected]
      │   ├── [email protected]
      │   └── [email protected]
      ├─┬ [email protected]
      │ └── [email protected] deduped
      └── [email protected]

dependencies:

https://github.com/curlconverter/curlconverter/blob/6dec0fe534cdae55f804b84bbe26c934731dd53d/package.json#L32

devDependencies:

https://github.com/curlconverter/curlconverter/blob/6dec0fe534cdae55f804b84bbe26c934731dd53d/package.json#L43

https://www.npmjs.com/package/yamljs

jeremyfa/yaml.js/blob/efe8ce18704ae43383e4177aa7de1a2619bd4e67/README.md?plain=1#L4-L6

I don't have much bandwidth to actively provide support to the posted issues asking for new features or bugfixes that don't affect my own use cases of the library. If this situation is an issue for you, I suggest you use js-yaml which is a great and pretty feature-complete yaml parser and dumper for javascript. Pull Requests are still welcome, as long as they don't break the current set of unit tests!

nodeca/js-yaml last commit was 3 years ago.

A possibility is to update dependencies of yamljs.

I am not comfortable with JavaScript, so can't easily help much more.

Personal notes: Benjamin_Loison/npm/issues/2

Source: curlconverter/curlconverter