In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > IT Information >
Share
Shulou(Shulou.com)11/24 Report--
CTOnews.com July 5, Darcy Clarke, former engineering manager of GitHub and NPM, warned last week that there was a "Manifest confusion" problem in NPM packages. System administrator Felix Pankratz recently released a Python-based tool that can help software developers check that NPM packages are consistent.
NPM is the package manager for the JavaScript programming language and the default configuration for the widely used Node.js environment.
The package manager helps project administrators automate the installation, upgrade, and configuration of software packages hosted on npmjs.com 's npm registry database.
Manifest confusion occurs when the maniefest information displayed by the package on the npm registry is inconsistent with the actual "package.json" file in the published npm package tarball used to install the package.
The GitHub page of the tool is attached to CTOnews.com, which can be downloaded by users who need it.
Users need the tool to install the relevant components:
Pip install-r requirements.txt if you just want to check a package, simply add the name of the package at the end of the script, for example:
The $. / npm-manifest-check.py darcyclarke-manifest-pkg feedback will show any mismatches in the versions, dependencies, scripts, and package names between the Manifest and the actual package.json file.
If you want to detect multiple packages, you can first add them to the "packages.list" file, and then use the "check_packages.sh" wrapper script to check.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.