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

@supercharge/goodies

Package Overview
Dependencies
Maintainers
3
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@supercharge/goodies - npm Package Versions

1

1.6.0

Diff

Changelog

Source

1.6.0 - 2020-12-10

Added

  • isFunction(input) method determines whether the given input is a function
  • esmResolve(input) method returns the resolved export of input from ESM and CommonJS

Updated

  • bump dependencies
  • change main entrypoint in package.json to dist folder
  • move test runner from @hapi/lab to jest
  • move assertions from @hapi/code to jest
marcuspoehls
published 1.5.1 •

Changelog

Source

1.5.1 - 2020-07-21

Fixed

  • fixed the GitHub Action workflow to successfully publish the package in the GitHub Package Registry
marcuspoehls
published 1.5.0 •

Changelog

Source

1.5.0 - 2020-07-21

Added

  • ifNullish(predicate, callback) method running the callback function if the given predicate is undefined or null

Updated

  • bump dependencies
  • improved type definitions on upon for returned values allowing IntelliSense to kick in
marcuspoehls
published 1.4.0 •

Changelog

Source

1.4.0 - 2020-05-23

Added

  • refined typings for async and sync functions
marcuspoehls
published 1.3.0 •

Changelog

Source

1.3.0 - 2020-05-22

Added

  • typed tap function keeping the argument’s type as the return type
marcuspoehls
published 1.2.0 •

Changelog

Source

1.2.0 - 2020-05-12

Added

  • isAsyncFunction(input) method determining whether the given input is an async function
  • testing against Node.js v14

Updated

  • bump dependencies
  • move tests back to JavaScript
  • tap(value, callback) now only returns a Promise when the value is a promise or the callback is an async function. Otherwise, tap behaves synchronously
  • upon(value, callback) now only returns a Promise when the value is a promise or the callback is an async function. Otherwise, upon behaves synchronously

Removed

  • testing against Node.js v13
marcuspoehls
published 1.1.0 •

Changelog

Source

1.1.0 - 2020-04-15

Added

  • upon(value, callback) method: upon calls the given callback function with the value and returns the result of the callback
  • tap the value when a promise as the first argument before passing it to the callback
  • isPromise(input) method: determine whether the given input is a promise

Updated

  • move code base to TypeScript to ship this package with typings
  • add API section in Readme outlining available methods
marcuspoehls
published 1.0.0 •

Changelog

Source

1.0.0 - 2020-01-16

Added

  • 1.0.0 release 🚀 🎉
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