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

1345

3.0.15

Diff

Changelog

Source

3.0.15

  • Replaced all logging of error.stack with logging of just the error
byron-dupreez
published 3.0.14 •

Changelog

Source

3.0.14

  • Added dummy first exports (exports._ = '_'; //IDE workaround) to most modules as a temporary workaround for IDE issue
byron-dupreez
published 3.0.13 •

Changelog

Source

3.0.13

  • Changed almost all exports to modifications of the default exports object instead of replacing the default object
byron-dupreez
published 3.0.12 •

Changelog

Source

3.0.12

  • Changed all exports to modifications of the default module.exports object instead of replacing the default object
byron-dupreez
published 3.0.11 •

Changelog

Source

3.0.11

  • Changes to strings module:
    • Changed stringify to survive a getter that throws an error
  • Changes to objects module:
    • Added new hasOwnPropertyWithKeys & hasOwnPropertyWithCompoundName functions
  • Changes to promises module:
    • Changed wrap function to also support wrapping of Node-style methods
    • Deprecated now redundant wrapMethod & wrapNamedMethod functions
byron-dupreez
published 2.0.18 •

byron-dupreez
published 3.0.10 •

Changelog

Source

3.0.10

  • Changes to errors module:
    • Removed usePrefix argument from FatalError constructor
    • Removed blocking property from FatalError prototype
    • Added new TransientError & TimeoutError Error subclasses
    • Added new toJSON function
    • Added new toJSON methods to all 3 Error subclasses that delegate to the new toJSON function
  • Changes to promises module:
    • Added convenience wrapNamedMethod version of wrapMethod function
byron-dupreez
published 2.0.17 •

byron-dupreez
published 3.0.9 •

Changelog

Source

3.0.9

  • Fixed toJSON method in AppError class to also include any enumerable own properties
byron-dupreez
published 3.0.8 •

Changelog

Source

3.0.8

  • Added a new errors module with a new FatalError class
  • Changed AppError & its subclasses in app-errors module to better conform to the Error class contract
    • Moved name property to the class's prototype
    • Changed all properties to be enumerable false & all, but httpStatus, to be mutable
    • Added toJSON method to enable previous JSON.stringify behaviour
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