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

gsg-typeix

Package Overview
Dependencies
Maintainers
5
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gsg-typeix - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

1

build/interfaces/ibodyparser.d.ts

@@ -1,2 +0,1 @@

/// <reference types="node" />
/**

@@ -3,0 +2,0 @@ * @since 1.0.0

@@ -1,2 +0,1 @@

/// <reference types="node" />
/**

@@ -3,0 +2,0 @@ * @since 1.0.0

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { IProvider } from "./iprovider";

@@ -3,0 +2,0 @@ import { IResolvedRoute } from "./iroute";

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { IBodyParser } from "../interfaces/ibodyparser";

@@ -3,0 +2,0 @@ /**

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { Injector } from "../injector/injector";

@@ -3,0 +2,0 @@ import { Logger } from "../logger/logger";

9

build/server/bootstrap.js

@@ -12,3 +12,2 @@ "use strict";

const router_1 = require("../router/router");
const core_2 = require("../core");
exports.BOOTSTRAP_PROVIDERS = [logger_1.Logger, router_1.Router];

@@ -169,3 +168,3 @@ exports.BOOTSTRAP_MODULE = "root";

*/
function fireRequest(modules, request, response, event = {}, ctx) {
function fireRequest(modules, request, response, event = {}, ctx = {}) {
let rootInjector = getModule(modules).injector;

@@ -176,6 +175,4 @@ let logger = rootInjector.get(logger_1.Logger);

// in case of a lambda execution context is set and has a awsRequestId the request id is set as the internal UUID
if (!core_2.isPresent(ctx)) {
if (core_2.isPresent(ctx.awsRequestId)) {
UUID = ctx.awsRequestId;
}
if (ctx && ctx.awsRequestId) {
UUID = ctx.awsRequestId;
}

@@ -182,0 +179,0 @@ /**

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { IncomingMessage, ServerResponse } from "http";

@@ -3,0 +2,0 @@ import { Injector } from "../injector/injector";

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { Injector } from "../injector/injector";

@@ -3,0 +2,0 @@ import { IModule } from "../interfaces/imodule";

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { IAfterConstruct, IProvider } from "../interfaces/iprovider";

@@ -3,0 +2,0 @@ import { IncomingMessage } from "http";

@@ -312,11 +312,5 @@ "use strict";

response = yield this.processError(response, true);
this.response.writeHead(this.statusCode, headers);
this.response.write(response);
this.response.end();
break;
case RenderType.DEFAULT_ERROR_HANDLER:
response = yield this.processError(response, false);
this.response.writeHead(this.statusCode, headers);
this.response.write(response);
this.response.end();
break;

@@ -323,0 +317,0 @@ case RenderType.REDIRECT:

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { IResolvedRoute } from "../interfaces";

@@ -3,0 +2,0 @@ import { MultiPartField, MultiPartFile } from "../parsers";

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { IncomingMessage } from "http";

@@ -3,0 +2,0 @@ import { IResolvedRoute } from "../interfaces";

@@ -1,2 +0,1 @@

/// <reference types="node" />
import { IncomingMessage } from "http";

@@ -3,0 +2,0 @@ import { IModule } from "../interfaces/imodule";

@@ -0,1 +1,4 @@

## 3.0.1-rc.0
- Fixed issue with HTTP error handling
## 3.0.0-rc.0

@@ -2,0 +5,0 @@ - Lambda support

{
"name": "gsg-typeix",
"version": "3.0.1",
"version": "3.0.2",
"dependencies": {

@@ -39,3 +39,4 @@ "aws-lambda-create-request-response": "^0.1.13",

"author": "igor.zg1987@gmail.com",
"contributors": [{
"contributors": [
{
"name": "Michael Rose",

@@ -48,3 +49,2 @@ "email": "michael_rose@gmx.de"

}
],

@@ -63,2 +63,4 @@ "license": "MIT",

"nyc": "^13.1.0",
"sinon": "^7.3.2",
"sinon-chai": "^3.3.0",
"tslint": "^5.6.0",

@@ -65,0 +67,0 @@ "typedoc": "^0.8.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