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

@doctadevs/utils

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@doctadevs/utils - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

2

dist/src/http.d.ts

@@ -12,2 +12,2 @@ import { BodyInit } from 'node-fetch';

};
export declare const request: ({ url, method, data, queryParams, token, contentType, }: RequestOptions) => Promise<any>;
export declare const request: <DataT>({ url, method, data, queryParams, token, contentType, }: RequestOptions<DataT>) => Promise<any>;
{
"name": "@doctadevs/utils",
"version": "0.0.4",
"version": "0.0.5",
"main": "dist/index.js",

@@ -16,2 +16,3 @@ "types": "dist/index.d.ts",

"scripts": {
"dist": "tsc; npm version patch; git push; npm publish --access public",
"build": "rm -rf dist; tsc -b",

@@ -18,0 +19,0 @@ "prepublishOnly": "npm run build"

@@ -12,3 +12,3 @@ import fetch, { BodyInit } from 'node-fetch';

export const request = async ({
export const request = async <DataT>({
url,

@@ -20,3 +20,3 @@ method = 'GET',

contentType = 'json',
}: RequestOptions) =>
}: RequestOptions<DataT>) =>
fetch(

@@ -23,0 +23,0 @@ `${url}${Object.entries(queryParams)

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