Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hey-api/client-fetch

Package Overview
Dependencies
Maintainers
0
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hey-api/client-fetch - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

dist/index.cjs

29

package.json
{
"name": "@hey-api/client-fetch",
"version": "0.3.1",
"type": "module",
"version": "0.3.2",
"description": "Type-safe Fetch API client for your @hey-api/openapi-ts types",

@@ -28,14 +27,15 @@ "homepage": "https://heyapi.vercel.app/",

],
"types": "dist/node/index.d.ts",
"main": "dist/node/index.cjs",
"module": "dist/node/index.mjs",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/node/index.d.ts",
"default": "./dist/node/index.mjs"
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/node/index.d.ts",
"default": "./dist/node/index.cjs"
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}

@@ -52,10 +52,5 @@ },

"scripts": {
"build-bundle": "rollup --config rollup.config.ts --configPlugin typescript",
"build-types-check": "tsc --project tsconfig.check.json",
"build-types-roll": "rollup --config rollup.dts.config.ts --configPlugin typescript && rimraf temp",
"build-types-temp": "tsc --emitDeclarationOnly --outDir temp -p src/node",
"build-types": "pnpm build-types-temp && pnpm build-types-roll && pnpm build-types-check",
"build": "pnpm clean && pnpm build-bundle && pnpm build-types",
"clean": "rimraf dist coverage node_modules/.cache",
"dev": "rimraf dist && pnpm build-bundle --watch",
"build": "tsup && pnpm check-exports",
"check-exports": "attw --pack .",
"dev": "tsup --watch",
"test:coverage": "vitest run --coverage",

@@ -62,0 +57,0 @@ "test:update": "vitest watch --update",

@@ -147,1 +147,9 @@ import type { Client, Config, RequestOptions } from './types';

};
export type { Config, Options } from './types';
export {
createConfig,
formDataBodySerializer,
jsonBodySerializer,
urlSearchParamsBodySerializer,
} from './utils';
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