sync-request-curl
Advanced tools
Comparing version 2.1.9 to 2.1.10
@@ -21,2 +21,3 @@ "use strict"; | ||
curl.setOpt(easy_libcurl_1.Curl.option.SSL_VERIFYPEER, !options.insecure); | ||
curl.setOpt(easy_libcurl_1.Curl.option.NOBODY, method === 'HEAD'); | ||
return curl; | ||
@@ -23,0 +24,0 @@ }; |
@@ -19,2 +19,3 @@ import { Curl, Easy } from 'easy-libcurl'; | ||
curl.setOpt(Curl.option.SSL_VERIFYPEER, !options.insecure); | ||
curl.setOpt(Curl.option.NOBODY, method === 'HEAD'); | ||
return curl; | ||
@@ -21,0 +22,0 @@ }; |
@@ -7,3 +7,3 @@ { | ||
}, | ||
"version": "2.1.9", | ||
"version": "2.1.10", | ||
"files": [ | ||
@@ -48,12 +48,12 @@ "dist" | ||
"dependencies": { | ||
"easy-libcurl": "^1.0.5" | ||
"easy-libcurl": "^1.0.6" | ||
}, | ||
"devDependencies": { | ||
"@types/express": "^4.17.20", | ||
"@types/jest": "^29.5.6", | ||
"@types/morgan": "^1.9.7", | ||
"@types/node": "^20.8.9", | ||
"@typescript-eslint/eslint-plugin": "^6.9.0", | ||
"@typescript-eslint/parser": "^6.9.0", | ||
"eslint": "^8.52.0", | ||
"@types/express": "^4.17.21", | ||
"@types/jest": "^29.5.8", | ||
"@types/morgan": "^1.9.9", | ||
"@types/node": "^20.9.0", | ||
"@typescript-eslint/eslint-plugin": "^6.10.0", | ||
"@typescript-eslint/parser": "^6.10.0", | ||
"eslint": "^8.53.0", | ||
"eslint-plugin-jest": "^27.6.0", | ||
@@ -64,3 +64,3 @@ "express": "^4.18.2", | ||
"morgan": "^1.10.0", | ||
"sync-dev-server": "^1.0.0", | ||
"sync-dev-server": "^1.0.3", | ||
"ts-jest": "^29.1.1", | ||
@@ -67,0 +67,0 @@ "ts-node": "^10.9.1", |
@@ -157,2 +157,4 @@ <div align="center"> | ||
Note that for the `HEAD` method, [CURLOPT_NOBODY](https://curl.se/libcurl/c/CURLOPT_NOBODY.html) is set to `true` automatically by **sync-request-curl**. | ||
### 2.2. URL | ||
@@ -159,0 +161,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
62864
701
464
Updatedeasy-libcurl@^1.0.6