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

@forge/storage

Package Overview
Dependencies
Maintainers
0
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@forge/storage - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1-next.0

28

out/index.d.ts

@@ -1,5 +0,31 @@

import { RequestInit, Response } from 'node-fetch';
/// <reference types="node" />
/// <reference types="node" />
import { EntityStorageBuilder } from './entity-storage';
import { GlobalStorage } from './global-storage';
import { DefaultQueryBuilder } from './query-api';
export interface Headers {
append: (name: string, value: string) => void;
delete: (name: string) => void;
get: (name: string) => string | null;
has: (name: string) => boolean;
set: (name: string, value: string) => void;
forEach: (callbackfn: (value: string, key: string) => void) => void;
}
export declare type RequestRedirect = 'error' | 'follow' | 'manual';
export interface RequestInit {
body?: ArrayBuffer | string | URLSearchParams;
headers?: Record<string, string>;
method?: string;
redirect?: RequestRedirect;
signal?: AbortSignal;
}
interface Response {
json: () => Promise<any>;
text: () => Promise<string>;
arrayBuffer: () => Promise<ArrayBuffer>;
ok: boolean;
status: number;
statusText: string;
headers: Headers;
}
export declare type APIResponse = Pick<Response, 'json' | 'text' | 'arrayBuffer' | 'ok' | 'status' | 'statusText'>;

@@ -6,0 +32,0 @@ export declare type FetchMethod = (url: string, init: RequestInit) => Promise<APIResponse>;

8

package.json
{
"name": "@forge/storage",
"version": "1.7.0",
"version": "1.7.1-next.0",
"description": "Forge Storage methods",

@@ -18,8 +18,6 @@ "author": "Atlassian",

"devDependencies": {
"@types/node": "14.18.63",
"@types/node-fetch": "^2.6.11",
"node-fetch": "2.7.0",
"@atlassian/metrics-interface": "4.0.0",
"@forge/util": "1.4.6",
"@atlassian/metrics-interface": "4.0.0"
"@types/node": "14.18.63"
}
}

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