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

@balena/sbvr-types

Package Overview
Dependencies
Maintainers
1
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@balena/sbvr-types - npm Package Compare versions

Comparing version 3.4.19-build-web-resource-2-b6a5c6b92dddf367797065730e64960f460b84ee-1 to 3.4.19-build-web-resource-2-d511cb6573b18f0aa75c18e1c83de771a8dc21cc-1

8

out/types/web-resource.d.ts

@@ -26,9 +26,3 @@ /// <reference types="node" />

};
export declare const fetchProcessing: (data: any) => {
filename: string;
href: string;
contentType: string | undefined;
contentDisposition: string | undefined;
size: number | undefined;
};
export declare const fetchProcessing: (data: any) => any;
export declare const validate: {

@@ -35,0 +29,0 @@ (value: any, required: true): Promise<Promise<string>>;

5

out/types/web-resource.js

@@ -23,4 +23,6 @@ "use strict";

const fetchProcessing = (data) => {
console.log('fetchProcessing data:', data);
let refData;
if (data === null) {
return data;
}
if (typeof data === 'string') {

@@ -59,3 +61,2 @@ refData = JSON.parse(data);

const storageAdapter = index_1.storageRegistry[storage];
console.log(index_1.storageRegistry);
if (!storageAdapter) {

@@ -62,0 +63,0 @@ throw new Error(`storage ${storage} not defined. Available adapters: ${Object.keys(index_1.storageRegistry)}`);

{
"name": "@balena/sbvr-types",
"version": "3.4.19-build-web-resource-2-b6a5c6b92dddf367797065730e64960f460b84ee-1",
"version": "3.4.19-build-web-resource-2-d511cb6573b18f0aa75c18e1c83de771a8dc21cc-1",
"description": "SBVR type definitions.",

@@ -55,4 +55,4 @@ "main": "out",

"versionist": {
"publishedAt": "2022-11-29T10:35:21.960Z"
"publishedAt": "2022-11-29T16:27:52.010Z"
}
}

@@ -45,4 +45,6 @@ import * as TypeUtils from '../type-utils';

export const fetchProcessing = (data: any) => {
console.log('fetchProcessing data:', data);
let refData: WebResourceRef;
if (data === null) {
return data;
}
if (typeof data === 'string') {

@@ -84,3 +86,2 @@ refData = JSON.parse(data);

const storageAdapter = storageRegistry[storage];
console.log(storageRegistry);
if (!storageAdapter) {

@@ -87,0 +88,0 @@ throw new Error(

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