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

awix

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awix - npm Package Compare versions

Comparing version 1.8.1 to 1.8.2

18

awix.js
/**
* awix 1.8.1
* awix 1.8.2
* Copyright (c) [2019.08] BraveWang

@@ -360,17 +360,7 @@ * This software is licensed under the MPL-2.0.

}
var onerror = (err) => {
if (the.config.debug) { console.log('--DEBUG-ERROR:',err); }
stream.close(http2.constants.NGHTTP2_INTERNAL_ERROR);
};
var onerror = (err) => { stream.destroy(); };
stream.on('frameError', (err) => {
if (the.config.debug) { console.log('--DEBUG-FRAME-ERROR:',err); }
stream.close(http2.constants.NGHTTP2_INTERNAL_ERROR);
});
stream.on('frameError', onerror);
stream.on('error', onerror);
stream.on('aborted', () => {
if (stream && !stream.closed) {
stream.close(http2.constants.NGHTTP2_INTERNAL_ERROR);
}
});
stream.on('aborted', () => { stream.destroy(); });

@@ -377,0 +367,0 @@ if (the.methodList.indexOf(headers[':method']) < 0) {

{
"name": "awix",
"version": "1.8.1",
"version": "1.8.2",
"description": "a powerful web framework, build on module http2 and async/await.",

@@ -5,0 +5,0 @@ "main": "awix.js",

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