Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

timekeeper

Package Overview
Dependencies
Maintainers
5
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timekeeper - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

2

bower.json
{
"name": "timekeeper",
"description": "Easy testing of time-dependent code.",
"version": "1.0.0",
"version": "2.0.0",
"keywords": [

@@ -6,0 +6,0 @@ "fake date",

@@ -157,2 +157,6 @@ /**

if (freeze) {
timekeeper.freeze(date)
}
travel = date.getTime();

@@ -159,0 +163,0 @@ started = NativeDate.now();

{
"name": "timekeeper",
"description": "Easy testing of time-dependent code.",
"version": "1.0.0",
"version": "2.0.0",
"keywords": [

@@ -6,0 +6,0 @@ "fake date",

@@ -17,3 +17,3 @@ # timekeeper

- Please note, that if you are using time freezing, `setTimeout` and
`setInteval` won't work as expected, since they are using the `Date`
`setInterval` won't work as expected, since they are using the `Date`
class, but the time will not change until you call `timekeeper#reset`.

@@ -65,2 +65,4 @@

Note: If traveling when time is frozen, the time will be frozen to the new traveled time.
### Reflection:

@@ -96,3 +98,3 @@

$ mversion <patch | minor | major>
$ git push && git push --tags
$ git push --follow-tags
$ npm publish

@@ -99,0 +101,0 @@ ```

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc