New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

last-run

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

last-run - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

8

index.js

@@ -61,4 +61,12 @@ 'use strict';

function release(fn){
assert(isFunction(fn), 'Only functions can be captured');
assert(isExtensible(fn), 'Only extensible functions can be captured');
runtimes.delete(fn);
}
lastRun.capture = capture;
lastRun.release = release;
module.exports = lastRun;

2

package.json
{
"name": "last-run",
"version": "0.1.1",
"version": "0.2.0",
"description": "Capture and retrieve the last time a function was run",

@@ -5,0 +5,0 @@ "author": "Blaine Bublitz <blaine@iceddev.com> (http://iceddev.com)",

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