You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add note about incorrect package dates to download page. Note provided by content strategy:
Note: The file date defaults to October 26, 1985, when you download and install this package. This is intentional. NPM sets a default date to ensure reproducible builds for npm packages.
NPM purposefully sets package dates to 10/26/1985 to ensure hash-identical tarballs no matter when or on what device the npm pack is ran. This can confuse users who inspect the package and see the incorrect files for the date.
Proposed Solution
Add note to site to specify this is intended behavior from NPM.
Add the following note to the aforementioned pages:
Note: The file date defaults to October 26, 1985, when you download and install this package. This is intentional. NPM sets a default date to ensure reproducible builds for npm packages.
Summary
Add note about incorrect package dates to download page. Note provided by content strategy:
Download and Documentation page updates 2-22-2024 (🔒)
Problem statement
NPM purposefully sets package dates to 10/26/1985 to ensure hash-identical tarballs no matter when or on what device the
npm pack
is ran. This can confuse users who inspect the package and see the incorrect files for the date.Proposed Solution
Add note to site to specify this is intended behavior from NPM.
Affected pages
Download page →
Documentation page →
Related issue
Since the documentation page content is pulled from the USWDS README, we'll need to update the USWDS repo as well.
The text was updated successfully, but these errors were encountered: