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

a12n-server

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

a12n-server - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

assets/form.css

7

changelog.md
Changelog
=========
0.3.3 (2018-11-01)
------------------
* Added a few missing files from npm distribution.
* Updated dependencies.
0.3.2 (2018-11-01)

@@ -5,0 +12,0 @@ ------------------

2

dist/middleware/problem.js

@@ -15,3 +15,3 @@ "use strict";

if (http_errors_1.isHttpError(e)) {
status = e.httpCode;
status = e.httpStatus;
clientError = http_errors_1.isClientError(e);

@@ -18,0 +18,0 @@ if (e.title) {

@@ -8,13 +8,13 @@ import { Context } from '@curveball/core';

export declare class InvalidRequest extends Error implements OAuthError {
httpCode: number;
httpStatus: number;
errorCode: string;
}
export declare class UnsupportedGrantType extends Error implements OAuthError {
httpCode: number;
httpStatus: number;
errorCode: string;
}
export declare class UnauthorizedClient extends Error implements OAuthError {
httpCode: number;
httpStatus: number;
errorCode: string;
}
export {};
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function serializeError(ctx, err) {
ctx.response.status = err.httpCode;
ctx.response.status = err.httpStatus;
ctx.response.headers.set('Content-Type', 'application/json');

@@ -15,3 +15,3 @@ ctx.response.body = {

super(...arguments);
this.httpCode = 400;
this.httpStatus = 400;
this.errorCode = 'invalid_request';

@@ -24,3 +24,3 @@ }

super(...arguments);
this.httpCode = 400;
this.httpStatus = 400;
this.errorCode = 'unsupported_grant_type';

@@ -33,3 +33,3 @@ }

super(...arguments);
this.httpCode = 400;
this.httpStatus = 400;
this.errorCode = 'unauthorized_client';

@@ -36,0 +36,0 @@ }

{
"name": "a12n-server",
"version": "0.3.2",
"version": "0.3.3",
"main": "dist/index.js",

@@ -20,3 +20,5 @@ "description": "A ready-to-launch User and Authentication system for those that don't want to build it",

"dist",
"LICENSE"
"LICENSE",
"assets",
"templates"
],

@@ -47,4 +49,4 @@ "author": "Evert Pot (https://evertpot.com/)",

"@curveball/bodyparser": "^0.3.0",
"@curveball/core": "^0.7.0",
"@curveball/http-errors": "^0.2.2",
"@curveball/core": "^0.8.1",
"@curveball/http-errors": "^0.3.0",
"@curveball/router": "^0.2.0",

@@ -51,0 +53,0 @@ "@curveball/session": "^0.3.0",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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