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

@ossiana/node-libcurl

Package Overview
Dependencies
Maintainers
0
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ossiana/node-libcurl - npm Package Compare versions

Comparing version 1.6.5 to 1.6.6-beta.0

1

dist/libcurl.d.ts

@@ -190,2 +190,3 @@ export declare enum LibCurlHttpVersionInfo {

setAkamaiFingerprint(akamai: LibCurlAkamaiFingerPrintInfo): void;
setHttp2NextStreamId(stream_id: number): void;
setHttp2StreamWeight(weight: number): void;

@@ -192,0 +193,0 @@ private beforeProcessRequestHeaders;

@@ -366,2 +366,8 @@ "use strict";

}
setHttp2NextStreamId(stream_id) {
if (stream_id < 1 || stream_id % 2 == 0) {
throw new LibCurlError("stream_id error");
}
this.m_libCurl_impl_.setHttp2NextStreamId(stream_id);
}
setHttp2StreamWeight(weight) {

@@ -415,7 +421,10 @@ if (weight < 0 || weight > 256) {

"sec-ch-ua-form-factors",
"User-Agent",
];
const fixedSuffixArr = [
"Accept",
"Access-Control-Request-Method",
"Access-Control-Request-Headers",
"Access-Control-Request-Private-Network",
"Origin",
"User-Agent",
"Sec-Fetch-Site",

@@ -422,0 +431,0 @@ "Sec-Fetch-Mode",

@@ -67,2 +67,3 @@ import { LibCurl, LibCurlBodyInfo, LibCurlCookiesAttr, LibCurlCookiesInfo, LibCurlHeadersInfo, LibCurlProxyInfo, LibCurlHttpVersionInfo, LibCurlURLInfo, LibCurlJA3FingerPrintInfo, LibCurlAkamaiFingerPrintInfo } from "./libcurl";

weight: number;
streamId?: number;
};

@@ -69,0 +70,0 @@ }

@@ -206,2 +206,5 @@ "use strict";

if (h2config) {
if (typeof h2config.streamId == 'number') {
curl.setHttp2NextStreamId(h2config.streamId);
}
curl.setHttp2StreamWeight(h2config.weight);

@@ -208,0 +211,0 @@ }

12

package.json
{
"name": "@ossiana/node-libcurl",
"version": "1.6.5",
"version": "1.6.6-beta.0",
"author": {

@@ -32,7 +32,7 @@ "name": "Ossian"

"optionalDependencies": {
"@ossiana/node-libcurl-darwin-x64": "1.6.5",
"@ossiana/node-libcurl-darwin-arm64": "1.6.5",
"@ossiana/node-libcurl-linux-x64-gnu": "1.6.5",
"@ossiana/node-libcurl-linux-arm64-gnu": "1.6.5",
"@ossiana/node-libcurl-win32-x64-msvc": "1.6.5"
"@ossiana/node-libcurl-darwin-x64": "1.6.6-beta.0",
"@ossiana/node-libcurl-darwin-arm64": "1.6.6-beta.0",
"@ossiana/node-libcurl-linux-x64-gnu": "1.6.6-beta.0",
"@ossiana/node-libcurl-linux-arm64-gnu": "1.6.6-beta.0",
"@ossiana/node-libcurl-win32-x64-msvc": "1.6.6-beta.0"
},

@@ -39,0 +39,0 @@ "main": "./dist/index.js",

Sorry, the diff of this file is not supported yet

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