![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
reset-date-cache
Advanced tools
Reset V8's date cache on demand.
The underlying call being made is quite expensive so it should only be used where absolutely necessary.
$ npm install reset-date-cache
$ npm test
const reset = require('reset-date-cache')
const assert = require('assert')
var d = new Date('10/20/2015 8:50:00 AM UTC')
var orig = d.toString()
process.env.TZ = 'US/Hawaii'
reset()
var d2 = new Date('10/20/2015 8:50:00 AM UTC')
assert.equal(d2.toString(), 'Mon Oct 19 2015 22:50:00 GMT-1000 (HST)')
delete process.env.TZ
reset()
var d3 = new Date('10/20/2015 8:50:00 AM UTC')
assert.equal(d3.toString(), orig)
reset()
Evan Lucas
MIT (See LICENSE
for more info)
1.0.5 (2021-03-31)
FAQs
Reset V8's date cache on demand
The npm package reset-date-cache receives a total of 1 weekly downloads. As such, reset-date-cache popularity was classified as not popular.
We found that reset-date-cache demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.