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

@satorijs/satori

Package Overview
Dependencies
Maintainers
1
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@satorijs/satori - npm Package Compare versions

Comparing version 2.6.0 to 2.6.1

13

lib/index.js

@@ -145,5 +145,6 @@ var __create = Object.create;

this.callback = callback;
this.clients = /* @__PURE__ */ new Set();
this.regexp = (0, import_path_to_regexp.pathToRegexp)(path);
}
clients = /* @__PURE__ */ new Set();
regexp;
accept(socket, request) {

@@ -170,7 +171,13 @@ var _a;

var _Router = class _Router extends import_router.default {
_http;
_ws;
wsStack = [];
host;
port;
constructor(ctx) {
super();
this.wsStack = [];
const koa = new import_koa.default();
koa.use(require("koa-bodyparser")());
koa.use(require("koa-bodyparser")({
enableTypes: ["json", "form", "xml"]
}));
koa.use(this.routes());

@@ -177,0 +184,0 @@ koa.use(this.allowedMethods());

{
"name": "@satorijs/satori",
"description": "Core components of Satorijs",
"version": "2.6.0",
"version": "2.6.1",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"engines": {
"node": ">=12.0.0"
},
"files": [

@@ -35,3 +32,3 @@ "lib"

"@koa/router": "^10.1.1",
"@satorijs/core": "2.6.0",
"@satorijs/core": "2.6.1",
"@types/koa": "*",

@@ -38,0 +35,0 @@ "@types/koa__router": "*",

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