Comments (3)
This is not a "bug" - this is a workaround for a zip issue which is resolved by using a hardcoded date in npm.
Imo this could have been solved much better but this was the way it was solved.
See
Line 150 in 3e7ed30
Related PR: npm/npm#20027
from cli.
Git is not always installed when npm / node is installed so this is no option ;-)
from cli.
A suggestion for a possible "much better" solution: use the output of git show -s --format=%aI HEAD
(or similar) as the argument for new Date()
.
from cli.
Related Issues (20)
- No copy buttons for the command for any npm package HOT 1
- Server-Side-Request Forgery vulnerability introduced in npm 10.4 [BUG] <title> HOT 34
- [BUG] Support for package.js to avoid json problems (comments, dangling commas etc) HOT 1
- [BUG] My npm install does nothing while trying to install a package
- NPM error Cannot read properties of undefined (reading 'isServer') HOT 3
- [BUG] release `npm` with upgraded dependencies to address critical `CVE-2023-42282` HOT 10
- [FEATURE] npm ci --global is not supported HOT 9
- [BUG] `npm ci` does not remove/recreate existing `node_modules` inside workspaces HOT 3
- [BUG] `npm update` only edits package-lock.json, not package.json HOT 4
- when npm unpublish package, show 422 Unprocessable Entity HOT 4
- npm 10.4.0 fails "npm install" when using node 18.19.1 and running under slow multi platform ARM build HOT 6
- [BUG] E404 Not Found - GET https://registry.npmjs.org/create-index.js HOT 2
- [BUG] <pnpm did it - why not npm as well? > HOT 5
- Request for patched npm version to address ip package vulnerability (CVE-2023-42282) HOT 2
- [BUG] npm ci --dry-run deletes node_modules folders HOT 1
- [BUG] <title>BUG
- BUG[BUG] <title>
- [BUG] cannot star a module HOT 3
- &&&&&
- درستش کن برام
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.