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

@adobe/aio-lib-core-errors

Package Overview
Dependencies
Maintainers
21
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adobe/aio-lib-core-errors - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

19

package.json
{
"name": "@adobe/aio-lib-core-errors",
"version": "3.1.0",
"version": "3.1.1",
"description": "Adobe I/O SDK Core Errors",

@@ -20,13 +20,16 @@ "main": "src/index.js",

"devDependencies": {
"@adobe/eslint-config-aio-lib-config": "^2",
"@adobe/eslint-config-aio-lib-config": "^2.0.0",
"codecov": "^3.5.0",
"eslint": "^8",
"eslint-config-standard": "^17",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jest": "^23",
"eslint": "^8.22.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^23.20.0",
"eslint-plugin-jsdoc": "^37.9.7",
"eslint-plugin-n": "^15.2.5",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^6",
"eslint-plugin-promise": "^6.0.0",
"jest": "^28.1.3",
"jsdoc-to-markdown": "^7.1.1",
"tsd-jsdoc": "^2.4.0"
"tsd-jsdoc": "^2.4.0",
"typescript": "^4.7.4"
},

@@ -33,0 +36,0 @@ "files": [

@@ -49,3 +49,3 @@ /*

*
* @return {Object}
* @returns {object} this error object as json
*/

@@ -52,0 +52,0 @@ toJSON () {

@@ -44,5 +44,5 @@ /*

*
* @callback createUpdater
* @param {Object<string, Error>} codes an object that will map an error code to an Error class.
* @param {Map<string, string>} messages a Map, that will map the error code to an error message
* @param {object<string, Error>} codes an object that will map an error code to an Error class.
* @param {Map.<string, string>} messages a Map, that will map the error code to an error message
* @returns {Function} an updater function
*/

@@ -68,2 +68,3 @@ function createUpdater (codes, messages) {

* @param {Error} baseClass the base class that your Error class is extending. AioCoreSDKError is the default
* @returns {Function} a wrapper function
*/

@@ -70,0 +71,0 @@ function ErrorWrapper (errorClassName, sdkName, updater, baseClass = AioCoreSDKError) {

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