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

bedrock-account-http

Package Overview
Dependencies
Maintainers
5
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bedrock-account-http - npm Package Compare versions

Comparing version

to
3.0.0

6

CHANGELOG.md
# bedrock-account-http ChangeLog
## 3.0.0 - 2021-03-19
### Changed
- **BREAKING**: Use bedrock-validation@5.0.0. Email addresses must be all
lowercase.
## 2.0.0 - 2021-01-12

@@ -4,0 +10,0 @@

4

package.json
{
"name": "bedrock-account-http",
"version": "2.0.0",
"version": "3.0.0",
"description": "HTTP API for Bedrock User Accounts",

@@ -36,3 +36,3 @@ "license": "SEE LICENSE IN LICENSE.md",

"bedrock-passport": "5.x - 6.x",
"bedrock-validation": "^4.4.0"
"bedrock-validation": "^5.0.0"
},

@@ -39,0 +39,0 @@ "directories": {

@@ -100,2 +100,13 @@ /*!

it('should return 400 if the email contains uppercase chars',
async function() {
const result = await api.post('/',
{email: 'newUser@digitalbazaar.com'});
result.status.should.equal(400);
result.data.type.should.equal('ValidationError');
result.data.message.should.equal(`A validation error occured in the ` +
`'bedrock-accounts-http account creation post' validator.`);
result.data.details.httpStatusCode.should.equal(400);
});
});

@@ -102,0 +113,0 @@

@@ -39,3 +39,3 @@ {

"bedrock-test": "^5.3.0",
"bedrock-validation": "^4.4.0",
"bedrock-validation": "^5.0.0",
"cross-env": "^7.0.2",

@@ -42,0 +42,0 @@ "grunt": "^1.1.0",