Huge News!Announcing our $40M Series B led by Abstract Ventures.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.5.3 to 0.5.4

2

lib/handlers/create.d.ts
import type { TussleIncomingRequest } from '@tussle/spec/interface/request';
import type { UploadConcatFinal, UploadConcatPartial } from '@tussle/spec/interface/storage';
import { Observable } from 'rxjs';
import type { Tussle } from '../core';
import { Observable } from 'rxjs';
export default function handleCreate<T, P>(_core: Tussle, ctx: Readonly<TussleIncomingRequest<T, P>>): Observable<TussleIncomingRequest<T, P>>;

@@ -6,0 +6,0 @@ export interface TussleCreationParams {

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

if (((_a = createdFile.uploadConcat) === null || _a === void 0 ? void 0 : _a.action) === 'final') {
const patchedFile = Object.assign(Object.assign({}, createdFile), { offset: -1, complete: true, details: {
const patchedFile = Object.assign(Object.assign({}, createdFile), { offset: createdFile.offset, complete: true, details: {
tussleUploadMetadata: createdFile.metadata || {},

@@ -24,0 +24,0 @@ } });

{
"name": "@tussle/core",
"version": "0.5.3",
"version": "0.5.4",
"description": "Tussle tus daemon core module",

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

"devDependencies": {
"@tussle/spec": "^0.5.0",
"@tussle/spec": "^0.5.4",
"jest": "^29.1.2",

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

},
"gitHead": "c9141a31ffabe3746760d2028440edbe5b29c7a1"
"gitHead": "51cc6b91a2e8ff71681692e7ba33e4b2570b54af"
}
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