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

@tussle/core

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tussle/core - npm Package Compare versions

Comparing version 0.6.5 to 0.6.11

5

lib/handlers/create.js

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

var _a;
if (createdFile.location) {
if (createdFile.location && !('error' in createdFile)) {
ctx.response = {

@@ -79,3 +79,4 @@ status: 201,

ctx.response = {
status: 400, // TODO - check this
status: 400,
body: `${createdFile.error}`,
};

@@ -82,0 +83,0 @@ }

3

lib/handlers/patch.js

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

var _a;
if (patchedFile.success && patchedFile.offset !== undefined) {
if (patchedFile.success && patchedFile.offset !== undefined && !('error' in patchedFile)) {
ctx.response = {

@@ -63,2 +63,3 @@ status: 204,

status: 403,
body: `${patchedFile.error}`,
};

@@ -65,0 +66,0 @@ }

{
"name": "@tussle/core",
"version": "0.6.5",
"version": "0.6.11",
"description": "Tussle tus daemon core module",

@@ -23,3 +23,3 @@ "main": "lib/index.js",

"devDependencies": {
"@tussle/spec": "^0.6.5",
"@tussle/spec": "^0.6.11",
"jest": "^29.2.2",

@@ -37,3 +37,3 @@ "npm-run-all": "^4.1.5",

},
"gitHead": "9d94e032dd58c48823914bfb00ad62fbe0af4f4c"
"gitHead": "ee211c40026e379246dff8da10ed687a2aedc88c"
}

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