![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
check-if-outdated
Advanced tools
$ npm install --save check-if-outdated
# OR
$ yarn add check-if-outdated
const checkIfOutdated = require('check-if-outdated')
checkIfOutdated('jest', 'husky').then(console.log)
//[ { currentVersion: '^18.0.2',
// newVersion: '19.0.2',
// name: 'jest',
// dependencies: { 'jest-cli': '^19.0.2' },
// bin: { jest: './bin/jest.js' },
// directories: {},
// dist:
// { shasum: 'b794faaf8ff461e7388f28beef559a54f20b2c10',
// tarball: 'https://registry.npmjs.org/jest/-/jest-19.0.2.tgz' },
// engines: { node: '>= 4' },
// _hasShrinkwrap: false }, ... ]
$ npm install --global check-if-outdated
# OR
$ yarn global add check-if-outdated
Then:
$ check-if-outdated jest
#[ { currentVersion: '^18.0.2',
# newVersion: '19.0.2',
# name: 'jest',
# dependencies: { 'jest-cli': '^19.0.2' },
# bin: { jest: './bin/jest.js' },
# directories: {},
# dist:
# { shasum: 'b794faaf8ff461e7388f28beef559a54f20b2c10',
# tarball: 'https://registry.npmjs.org/jest/-/jest-19.0.2.tgz' },
# engines: { node: '>= 4' },
# _hasShrinkwrap: false } ]
Contributions are welcome. Please open up an issue or create PR if you would like to help out.
Note: If editing the README, please conform to the standard-readme specification.
Licensed under the MIT License.
FAQs
Check if module dependencies are outdated
The npm package check-if-outdated receives a total of 2 weekly downloads. As such, check-if-outdated popularity was classified as not popular.
We found that check-if-outdated demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.