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

@defer/client

Package Overview
Dependencies
Maintainers
2
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@defer/client - npm Package Versions

1
1516

1.1.0-alpha-20230305050249-09cda91

Diff

wittydeveloper
published 1.1.0-alpha-20230305031509-ccc39dd •

wittydeveloper
published 1.0.0 •

Changelog

Source

1.0.0

Major Changes

  • #34 fe251f2 Thanks @charlypoly! - BREAKING CHANGE:

    • Renamed defer.schedule() to defer.cron()
    • defer.cron() no longer takes a english string but a CRON tab string
    import { defer } from "@defer.run/client";
    
    const weeklyBrief = async () => {
      // ...
    };
    
    export default defer.cron(weeklyBrief, "5 0 * * *");
    

Minor Changes

  • #34 e399d75 Thanks @charlypoly! - Deprecate defer.await() in favor of awaitResult(deferFn)

    import { importContacts } from "../defer/importContacts";
    
    const importContactWithResult = awaitResult(importContacts);
    const result = await importContactWithResult("1", []);
    
wittydeveloper
published 1.0.0-alpha-20230226000522-b9231b3 •

wittydeveloper
published 1.0.0-alpha-20230225235654-e399d75 •

wittydeveloper
published 1.0.0-alpha-20230225232536-1c396d8 •

wittydeveloper
published 1.0.0-alpha-20230225204901-04f4066 •

wittydeveloper
published 2.0.0-alpha-20230225204614-f9e6d83 •

wittydeveloper
published 1.0.0-alpha-20230225194947-ece6604 •

wittydeveloper
published 0.6.0-alpha-20230225194733-7077c0e •

1
1516
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