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

core-functions

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

core-functions - npm Package Versions

1234

2.0.3

Diff

Changelog

Source

2.0.3

  • Change to promises.js:
    • Added an every function that accepts multiple promises and returns a single promise that returns a list of either a result or an error for each and every one of the given promises
byron-dupreez
published 2.0.2 •

Changelog

Source

2.0.2

  • Changes to promises.js:
    • Minor patch for isPromise to survive undefined and null
    • Added isArrayOfPromises function to check if a result is an array of promises
    • Added allOrOne function to transform a result into a single promise using Promise.all, the promise-result or Promise.resolve
    • Changed implementation of Promise.try to use new Promise.allOrOne
    • Added unit tests for allOrOne & isArrayOfPromises and more tests for try
byron-dupreez
published 2.0.1 •

Changelog

Source

2.0.1

  • Replaced all x instanceof Array checks with safer Array.isArray(x)
byron-dupreez
published 2.0.0 •

Changelog

Source

2.0.0

  • Removed unnecessary functions.js module
  • Patches to testing.js checkMethodEqual and checkMethodOkNotOk functions to show method prefixes properly
byron-dupreez
published 1.2.0 •

Changelog

Source

1.2.0

  • strings:
    • Improvements to stringify function to better handle functions and arrays
  • promises:
    • Added isPromise function
    • Added optional cancellable argument to delay function to enable cancellation of delay's timeout
  • Added new modules:
    • app-errors
    • arrays
    • objects
    • timers
  • Added unit tests for existing and new functions and classes.
byron-dupreez
published 1.1.1 •

Changelog

Source

1.1.1

  • Simple increment of version number to fix issue of 1.1.0 tag pointing to wrong version
byron-dupreez
published 1.1.0 •

Changelog

Source

1.1.0

  • strings: Added trimOrEmpty function
  • strings: Renamed safeTrim function to trim and changed safeTrim to an alias for trim
byron-dupreez
published 1.0.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