dateformat
Advanced tools
Comparing version 1.0.2-1.2.3 to 1.0.3-1.2.3
@@ -44,4 +44,4 @@ /* | ||
// Check if daylight-saving-time-switch occured and correct for it | ||
var ds = targetThursday.getTimezoneOffset()/firstThursday.getTimezoneOffset()-1; | ||
targetThursday.setHours(targetThursday.getHours()+ds); | ||
var ds = targetThursday.getTimezoneOffset() - firstThursday.getTimezoneOffset(); | ||
targetThursday.setHours(targetThursday.getHours() - ds); | ||
@@ -48,0 +48,0 @@ // Number of weeks between target Thursday and first Thursday |
@@ -7,3 +7,8 @@ { | ||
"author": "Steven Levithan", | ||
"version": "1.0.2-1.2.3", | ||
"contributors": [ | ||
"Steven Levithan", | ||
"Felix Geisendörfer <felix@debuggable.com>", | ||
"Christoph Tavan <dev@tavan.de>" | ||
], | ||
"version": "1.0.3-1.2.3", | ||
"main": "./lib/dateformat", | ||
@@ -15,2 +20,2 @@ "dependencies": {}, | ||
} | ||
} | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
10215
6
184
0
1