Socket
Socket
Sign inDemoInstall

@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

2

2.0.0

Diff

Changelog

Source

2.0.0 - 2022-10-17

Added

  • resolveDefaultImport method: returns the resolved default export from module found at filePath without the wrapping { default: … }

Removed

  • esmRequire: not needed anymore because this package moved to ESM and esmRequire used CommonJS. Use resolveDefaultImport instead
  • esmResolve: not needed anymore because this method is now part of resolveDefaultImport

Updated

  • bump dependencies
  • moving from Japa to the native Node.js test runner

Breaking changes

  • require Node.js v20 (or later)
  • moving this package from CommonJS to ESM
marcuspoehls
published 1.11.1 •

Changelog

Source

1.11.1 - 2022-08-19

Added

  • export AsyncFunction type

Fixed

  • fix return type of isAsyncFunction
marcuspoehls
published 1.11.0 •

Changelog

Source

1.11.0 - 2022-08-19

Updated

  • bump dependencies
  • move testing from AVA to Japa
  • refine return type for isAsyncFunction
marcuspoehls
published 1.10.1 •

Changelog

Source

1.10.1 - 2022-04-04

Updated

  • bump dependencies
  • change main export in package.json to dist/index.js
marcuspoehls
published 1.10.0 •

Changelog

Source

1.10.0 - 2021-08-19

Added

  • isNotNullish(input) method determining whether the given input is not null or undefined

Updated

  • bump dependencies
  • refined types for isNullish, isPromise, isFunction
marcuspoehls
published 1.9.0 •

Changelog

Source

1.9.0 - 2021-04-11

Updated

  • bump dependencies
  • refactored the Goodies class to individual methods
  • this package now exports individual methods making the package tree-shakable and usable in bundled environments
  • move test runner from jest to AVA (avoiding globals and using explicit methods instead)
marcuspoehls
published 1.8.0 •

Changelog

Source

1.8.0 - 2021-01-05

Added

  • esmRequire(input) method requires and returns the resolved export of input from ESM and CommonJS

Updated

  • bump dependencies
marcuspoehls
published 1.7.0 •

Changelog

Source

1.7.0 - 2020-12-15

Added

  • isNullish(input) method to determine whether the given input is null or undefined

Updated

  • bump dependencies
marcuspoehls
published 1.6.2 •

Changelog

Source

1.6.2 - 2020-12-10

Fixed

  • fixed Boolean method return types to boolean
marcuspoehls
published 1.6.1 •

Changelog

Source

1.6.1 - 2020-12-10

Fixed

  • fixed overloaded method typings for tap and upon
2
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