@ovh-api/common
Advanced tools
Comparing version 4.0.2 to 4.0.3
{ | ||
"name": "@ovh-api/common", | ||
"description": "common class used to enable Ovh Api new calls Syntax", | ||
"version": "4.0.2", | ||
"main": "./lib/cjs/index.js", | ||
"typings": "./lib/esm/index.d.ts", | ||
"description": "Common class used to enable Ovh Api new calls Syntax", | ||
"version": "4.0.3", | ||
"main": "./cjs/index.js", | ||
"module": "./esm/index.js", | ||
"types": "./types/index.d.ts", | ||
"exports": { | ||
".": { | ||
"require": "./lib/cjs/index.js", | ||
"import": "./lib/esm/index.js", | ||
"types": "./lib/esm/index.d.ts" | ||
"import": { | ||
"types": "./types/index.d.ts", | ||
"default": "./esm/index.js" | ||
}, | ||
"require": { | ||
"types": "./types/index.d.ts", | ||
"default": "./cjs/index.js" | ||
} | ||
} | ||
@@ -27,10 +33,12 @@ }, | ||
"scripts": { | ||
"build": "tsc --pretty --project . && tsc --pretty --project tsconfig-cjs.json", | ||
"build": "tsc --pretty --project . && tsc --pretty --project tsconfig-cjs.json && tsc --pretty --project tsconfig-dt.json", | ||
"clean": "rimraf esm/*.js esm/*.js.map cjs/*.js cjs/*.js.map types/*.d.ts types/*.d.ts.map", | ||
"prepare": "npm run build", | ||
"checkExports": "npx @arethetypeswrong/cli $(npm pack)", | ||
"build:watch": "tsc -p . --watch" | ||
}, | ||
"files": ["lib", "src"], | ||
"files": ["cjs", "esm", "types", "src"], | ||
"devDependencies": { | ||
"typescript": "^5.0.4" | ||
"typescript": "^5.4.5" | ||
} | ||
} |
@@ -0,0 +0,0 @@ # @ovh-api/common |
@@ -224,4 +224,4 @@ /** | ||
*/ | ||
export function buildOvhProxy(ovhEngine: OvhRequestable, path: string): any { | ||
exports.buildOvhProxy = function buildOvhProxy(ovhEngine: OvhRequestable, path: string): any { | ||
return new Proxy(new OvhProxyApi(ovhEngine, path), handlerRoot) as any; | ||
} |
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
19842
8
587
1