New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@eik/common

Package Overview
Dependencies
Maintainers
4
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eik/common - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.3.3](https://github.com/eik-lib/common/compare/v1.3.2...v1.3.3) (2020-12-31)
### Bug Fixes
* Expose invalid value when throwing validation error ([7f1d0f0](https://github.com/eik-lib/common/commit/7f1d0f02e3df36dcd8984e0b475f9adf55937c46))
## [1.3.2](https://github.com/eik-lib/common/compare/v1.3.1...v1.3.2) (2020-12-16)

@@ -2,0 +9,0 @@

12

lib/validators/index.js

@@ -18,3 +18,3 @@ 'use strict';

}
throw new Error('Parameter "org" is not valid');
throw new Error(`Parameter "org" is not valid - Value: ${value}`);
};

@@ -28,3 +28,3 @@ module.exports.org = org;

}
throw new Error('Parameter "name" is not valid');
throw new Error(`Parameter "name" is not valid - Value: ${value}`);
};

@@ -38,3 +38,3 @@ module.exports.name = name;

}
throw new Error('Parameter "version" is not valid');
throw new Error(`Parameter "version" is not valid - Value: ${value}`);
};

@@ -47,3 +47,3 @@ module.exports.version = version;

}
throw new Error('Parameter "alias" is not valid');
throw new Error(`Parameter "alias" is not valid - Value: ${value}`);
};

@@ -56,3 +56,3 @@ module.exports.alias = alias;

}
throw new Error('Parameter "type" is not valid');
throw new Error(`Parameter "type" is not valid - Value: ${value}`);
};

@@ -69,4 +69,4 @@ module.exports.type = type;

}
throw new Error('Parameter "semverType" is not valid');
throw new Error(`Parameter "semverType" is not valid - Value: ${value}`);
};
module.exports.semverType = semverType;
{
"name": "@eik/common",
"version": "1.3.2",
"version": "1.3.3",
"description": "Common utilities for Eik modules",

@@ -42,9 +42,9 @@ "main": "lib/index.js",

"@semantic-release/release-notes-generator": "9.0.1",
"eslint": "7.15.0",
"eslint": "7.16.0",
"eslint-config-airbnb-base": "14.2.1",
"eslint-config-prettier": "7.0.0",
"eslint-config-prettier": "7.1.0",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-prettier": "3.3.0",
"express": "4.17.1",
"fastify": "3.9.1",
"fastify": "3.9.2",
"prettier": "2.2.1",

@@ -51,0 +51,0 @@ "semantic-release": "17.3.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