Socket
Socket
Sign inDemoInstall

h3

Package Overview
Dependencies
Maintainers
1
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

h3 - npm Package Compare versions

Comparing version 0.2.9 to 0.2.10

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [0.2.10](https://github.com/unjs/h3/compare/v0.2.9...v0.2.10) (2021-04-21)
### Bug Fixes
* fallback for setImmediate ([6cf61f6](https://github.com/unjs/h3/commit/6cf61f601d206a9d3cdcf368cb700ebd5c2e22de))
### [0.2.9](https://github.com/unjs/h3/compare/v0.2.8...v0.2.9) (2021-04-06)

@@ -7,0 +14,0 @@

3

dist/index.js

@@ -414,2 +414,3 @@ 'use strict';

const defer = typeof setImmediate !== "undefined" ? setImmediate : (fn) => fn();
function send(res, data, type) {

@@ -420,3 +421,3 @@ if (type) {

return new Promise((resolve) => {
setImmediate(() => {
defer(() => {
res.end(data);

@@ -423,0 +424,0 @@ resolve(void 0);

{
"name": "h3",
"version": "0.2.9",
"version": "0.2.10",
"description": "Tiny JavaScript Server",

@@ -5,0 +5,0 @@ "repository": "unjs/h3",

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