René's URL Explorer Experiment


Title: npm5 beta 56: npm pack changes timestamps to 01/01/1970 on Windows 7 · Issue #16734 · npm/npm · GitHub

Open Graph Title: npm5 beta 56: npm pack changes timestamps to 01/01/1970 on Windows 7 · Issue #16734 · npm/npm

X Title: npm5 beta 56: npm pack changes timestamps to 01/01/1970 on Windows 7 · Issue #16734 · npm/npm

Description: I'm opening this issue because: npm is doing something I don't understand. What's going wrong? npm pack on Windows seems to be resetting timestamps to 01/01/1970, which breaks several unzipping tools one zipping tool. How can the CLI tea...

Open Graph Description: I'm opening this issue because: npm is doing something I don't understand. What's going wrong? npm pack on Windows seems to be resetting timestamps to 01/01/1970, which breaks several unzipping too...

X Description: I'm opening this issue because: npm is doing something I don't understand. What's going wrong? npm pack on Windows seems to be resetting timestamps to 01/01/1970, which breaks several u...

Opengraph URL: https://github.com/npm/npm/issues/16734

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"npm5 beta 56: npm pack changes timestamps to 01/01/1970 on Windows 7","articleBody":"#### I'm opening this issue because:\r\n\r\n  - [x] npm is doing something I don't understand.\r\n\r\n#### What's going wrong?\r\n\r\n`npm pack` on Windows seems to be resetting timestamps to `01/01/1970`, which breaks ~several unzipping tools~ one zipping tool.\r\n\r\n#### How can the CLI team reproduce the problem?\r\n\r\nDownload the latest Node 8 rc, [v8.0.0-rc1 for win-x64](https://nodejs.org/download/rc/v8.0.0-rc.1/node-v8.0.0-rc.1-win-x64.zip) and unzip.\r\n\r\n```bat\r\ncd node-v8.0.0-rc.1-win-x64\r\nset path=%cd%;%path%\r\ncd ..\r\nmkdir tst\r\ncd tst\r\nnpm init -y\r\necho console.log('hello world') >index.js\r\nnpm pack\r\n:: Install Git Bash to get tar.exe\r\nset path=C:\\Program Files\\Git\\usr\\bin;%path%\r\ntar -xf tst-1.0.0.tgz\r\ncd package\r\ndir\r\n```\r\n\r\nOutput:\r\n\r\n```bat\r\n05/26/2017  03:49 PM    \u003cDIR>          .\r\n05/26/2017  03:49 PM    \u003cDIR>          ..\r\n01/01/1970  01:00 AM                29 index.js\r\n01/01/1970  01:00 AM               217 package.json\r\n               2 File(s)            246 bytes\r\n               2 Dir(s)  129,871,679,488 bytes free\r\n```\r\n\r\n### supporting information:\r\n\r\n - `npm -v`: `5.0.0-beta.56`\r\n - `node -v` : `v8.0.0-rc.1`\r\n - `npm config get registry`: `https://registry.npmjs.org/`\r\n - Windows: Windows 7\r\n\r\n","author":{"url":"https://github.com/gibfahn","@type":"Person","name":"gibfahn"},"datePublished":"2017-05-26T14:51:03Z","url":"https://github.com/npm/npm/issues/16734"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7df0a344-ea13-e051-92c9-27af4367b379
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA412:397AC1:26D9FD:35DF1F:6AEDB015
html-safe-nonce3844d24c91d413efad7f07618e296f36382255edb23cf4b80f610bd1c862f00e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDEyOjM5N0FDMToyNkQ5RkQ6MzVERjFGOjZBRURCMDE1IiwidmlzaXRvcl9pZCI6IjM4NTgzMjMxOTcxNTI1NzE0MTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacaef77b233caeb24fce3d71b28d5acce3edbc2bdbd897a8de56600a79f868810f
hovercard-subject-tagissue:231649111
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/npm/npm/16734/issue_layout
twitter:imagehttps://opengraph.githubassets.com/861003dccbdcd31043d5cdc32d994382b74a7758f94f929830165fc107437042/npm/npm/issues/16734
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/861003dccbdcd31043d5cdc32d994382b74a7758f94f929830165fc107437042/npm/npm/issues/16734
og:image:altI'm opening this issue because: npm is doing something I don't understand. What's going wrong? npm pack on Windows seems to be resetting timestamps to 01/01/1970, which breaks several unzipping too...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegibfahn
hostnamegithub.com
expected-hostnamegithub.com
Nonee40242599af5e7da0f281843dec7492c322688d4a48caeea85f9fb8e41c8ea53
turbo-cache-controlno-preview
go-importgithub.com/npm/npm git https://github.com/npm/npm.git
octolytics-dimension-user_id6078720
octolytics-dimension-user_loginnpm
octolytics-dimension-repository_id321278
octolytics-dimension-repository_nwonpm/npm
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id321278
octolytics-dimension-repository_network_root_nwonpm/npm
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release89cbf2bb52a24fc179bf5925abba0ba574b262ce
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/npm/npm/issues/16734#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnpm%2Fnpm%2Fissues%2F16734
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnpm%2Fnpm%2Fissues%2F16734
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=npm%2Fnpm
Reloadhttps://github.com/npm/npm/issues/16734
Reloadhttps://github.com/npm/npm/issues/16734
Reloadhttps://github.com/npm/npm/issues/16734
npmhttps://github.com/npm
npmhttps://github.com/npm/npm
Codehttps://github.com/npm/npm
Issues2.2k (2.2k)https://github.com/npm/npm/issues
Pull requestshttps://github.com/npm/npm/pulls
Actionshttps://github.com/npm/npm/actions
Security and qualityhttps://github.com/npm/npm/security
Insightshttps://github.com/npm/npm/pulse
https://github.com/npm/npm
nodejs/node#13173https://github.com/nodejs/node/pull/13173
npm5 beta 56: npm pack changes timestamps to 01/01/1970 on Windows 7https://github.com/npm/npm/issues/16734#top
nodejs/node#13173https://github.com/nodejs/node/pull/13173
npm5https://github.com/npm/npm/issues?q=state%3Aopen%20label%3A%22npm5%22
https://github.com/gibfahn
gibfahnhttps://github.com/gibfahn
on May 26, 2017https://github.com/npm/npm/issues/16734#issue-231649111
v8.0.0-rc1 for win-x64https://nodejs.org/download/rc/v8.0.0-rc.1/node-v8.0.0-rc.1-win-x64.zip
https://github.com/gibfahn
gibfahnhttps://github.com/gibfahn
on May 26, 2017https://github.com/npm/npm/issues/16734#issuecomment-304305023
tst-1.0.0.tgz.ziphttps://github.com/npm/npm/files/1032225/tst-1.0.0.tgz.zip
https://github.com/seishun
seishunhttps://github.com/seishun
on May 26, 2017https://github.com/npm/npm/issues/16734#issuecomment-304309862
https://github.com/gibfahn
gibfahnhttps://github.com/gibfahn
on May 26, 2017https://github.com/npm/npm/issues/16734#issuecomment-304312649
https://github.com/zkat
zkathttps://github.com/zkat
on May 26, 2017https://github.com/npm/npm/issues/16734#issuecomment-304328503
@gibfahnhttps://github.com/gibfahn
zkathttps://github.com/zkat
npm5https://github.com/npm/npm/issues?q=state%3Aopen%20label%3A%22npm5%22
on May 26, 2017https://github.com/npm/npm/issues/16734#event-1099216935
https://github.com/seishun
seishunhttps://github.com/seishun
on May 26, 2017https://github.com/npm/npm/issues/16734#issuecomment-304340549
https://github.com/npm/fstream/blob/ac4a9e3d86d39a5b979dbdda44376be85b91ece7/lib/reader.js#L147-L149https://github.com/npm/fstream/blob/ac4a9e3d86d39a5b979dbdda44376be85b91ece7/lib/reader.js#L147-L149
nodejs/node@9836cf5https://github.com/nodejs/node/commit/9836cf571708a82396218957cacb3ed1ed468d05
https://github.com/richardlau
richardlauhttps://github.com/richardlau
on May 26, 2017https://github.com/npm/npm/issues/16734#issuecomment-304343096
nodejs/node#12818https://github.com/nodejs/node/pull/12818
https://github.com/refack
refackhttps://github.com/refack
on May 26, 2017https://github.com/npm/npm/issues/16734#issuecomment-304352465
https://github.com/refack
refackhttps://github.com/refack
on May 26, 2017https://github.com/npm/npm/issues/16734#issuecomment-304353452
refackhttps://github.com/refack
on May 26, 2017https://github.com/npm/npm/issues/16734#event-1099439878
address npm/npm#16734https://github.com/refack/node/commit/1aea6a8b641f439b1020a94c1f7aa4a124448f46
npm/npm#16734https://github.com/npm/npm/issues/16734
1aea6a8https://github.com/refack/node/commit/1aea6a8b641f439b1020a94c1f7aa4a124448f46
https://github.com/seishun
seishunhttps://github.com/seishun
on May 26, 2017https://github.com/npm/npm/issues/16734#issuecomment-304379609
npm/node_modules/tar/lib/pack.jshttps://github.com/npm/npm/blob/39495d07b9a66c88621e8a2ad07739ee98b70a56/node_modules/tar/lib/pack.js#L142-L144
39495d0https://github.com/npm/npm/commit/39495d07b9a66c88621e8a2ad07739ee98b70a56
https://github.com/refack
refackhttps://github.com/refack
on May 26, 2017https://github.com/npm/npm/issues/16734#issuecomment-304380937
@seishunhttps://github.com/seishun
nodejs/node@9836cf5https://github.com/nodejs/node/commit/9836cf571708a82396218957cacb3ed1ed468d05
https://github.com/refack
refackhttps://github.com/refack
on May 26, 2017https://github.com/npm/npm/issues/16734#issuecomment-304382959
nodejs/node#12818 (comment)https://github.com/nodejs/node/pull/12818#issuecomment-304360039
https://github.com/zkat
zkathttps://github.com/zkat
on May 27, 2017https://github.com/npm/npm/issues/16734#issuecomment-304415463
@seishunhttps://github.com/seishun
zkathttps://github.com/zkat
completedhttps://github.com/npm/npm/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on May 27, 2017https://github.com/npm/npm/issues/16734#event-1099718735
https://github.com/zkat
zkathttps://github.com/zkat
on May 27, 2017https://github.com/npm/npm/issues/16734#issuecomment-304415469
zkathttps://github.com/zkat
on May 27, 2017https://github.com/npm/npm/issues/16734#event-1099718778
addaleaxhttps://github.com/addaleax
on May 27, 2017https://github.com/npm/npm/issues/16734#event-1099973208
Revert "lib: lazy instantiation of fs.Stats dates"https://github.com/addaleax/node/commit/9c82b65bd8688947d227e3eaf1ed0b5ac315ea47
9c82b65https://github.com/addaleax/node/commit/9c82b65bd8688947d227e3eaf1ed0b5ac315ea47
addaleaxhttps://github.com/addaleax
on May 31, 2017https://github.com/npm/npm/issues/16734#event-1105096411
Revert "lib: lazy instantiation of fs.Stats dates"https://github.com/nodejs/node/commit/ae6c7044c8d48cc8e7c267efca7429d5aa4df993
ae6c704https://github.com/nodejs/node/commit/ae6c7044c8d48cc8e7c267efca7429d5aa4df993
https://github.com/zkat
zkathttps://github.com/zkat
on Jun 5, 2017https://github.com/npm/npm/issues/16734#issuecomment-306209788
zkathttps://github.com/zkat
completedhttps://github.com/npm/npm/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jun 5, 2017https://github.com/npm/npm/issues/16734#event-1110112018
Sign up for freehttps://github.com/signup?return_to=https://github.com/npm/npm/issues/16734
Sign in to commenthttps://github.com/login?return_to=https://github.com/npm/npm/issues/16734
npm5https://github.com/npm/npm/issues?q=state%3Aopen%20label%3A%22npm5%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.