@nanotime/http-please
Advanced tools
Comparing version 0.0.3 to 0.1.0
@@ -1,1 +0,17 @@ | ||
export { HttpPlease } from './http-please'; | ||
/** | ||
* Creates an HTTP client with extended functionality by composing various plugins. | ||
* | ||
* @param {Object} options - The configuration options for the HTTP client. | ||
* @prop {string} url - The base URL for the HTTP requests. | ||
* @prop {srting} resolver - The resolver function for handling asynchronous operations. | ||
* @prop {array} plugins - An array of plugins to extend the functionality of the HTTP client. | ||
* @return {Object} - The composed HTTP client object. | ||
* @prop fetch - Fetch method | ||
* @prop get - HTTP get method | ||
* @prop post - HTTP post method | ||
* @prop put - HTTP put method | ||
* @prop delete - HTTP delete method | ||
* @prop formatUrl - formatUrl method | ||
*/ | ||
export default function CreateHttpPlease({ options, url, resolver, plugins, }: any): any; | ||
//# sourceMappingURL=composite.d.ts.map |
{ | ||
"name": "@nanotime/http-please", | ||
"private": false, | ||
"version": "0.0.3", | ||
"version": "0.1.0", | ||
"type": "module", | ||
"main": "./dist/http-please.umd.cjs", | ||
"module": "./dist/http-please.js", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": "./dist/http-please.js", | ||
"require": "./dist/http-please.umd.cjs" | ||
"import": "./dist/index.js" | ||
} | ||
@@ -20,3 +19,3 @@ }, | ||
"dev": "vite", | ||
"build": "tsc && vite build", | ||
"build": "vite build", | ||
"preview": "vite preview", | ||
@@ -33,3 +32,3 @@ "test": "vitest run", | ||
"@commitlint/config-conventional": "^17.6.6", | ||
"@types/node": "^20.4.2", | ||
"@types/node": "^20.4.10", | ||
"@typescript-eslint/eslint-plugin": "^6.0.0", | ||
@@ -46,3 +45,3 @@ "@typescript-eslint/parser": "^6.0.0", | ||
"semantic-release-cli": "^5.4.4", | ||
"typescript": "^5.0.2", | ||
"typescript": "^5.1.6", | ||
"vite": "^4.4.0", | ||
@@ -49,0 +48,0 @@ "vite-plugin-dts": "^3.3.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10879
227
2
6