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

r2curl

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

r2curl - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

8

dist/adapter/AxiosRequestConfigAdapter.d.ts

@@ -7,6 +7,6 @@ import { AxiosRequestConfig } from 'axios';

constructor(_prop: AxiosRequestConfig);
readonly method: HTTP_METHOD;
readonly headers: any;
readonly body: any;
readonly url: string;
get method(): HTTP_METHOD;
get headers(): any;
get body(): any;
get url(): string;
}

@@ -25,3 +25,3 @@ "use strict";

if (option === void 0) { option = {}; }
var mergedOption = __assign({}, IR2CurlOptions_1.defaultR2CurlOptions, option);
var mergedOption = __assign(__assign({}, IR2CurlOptions_1.defaultR2CurlOptions), option);
CommonUtils_1.default.bootstrap(mergedOption);

@@ -28,0 +28,0 @@ // judge request wrapper object type

@@ -8,7 +8,7 @@ import { IR2CurlOptions } from '../interface/IR2CurlOptions';

constructor(_adap: IRequestAdaptor, _option: IR2CurlOptions);
readonly method: string;
readonly headers: string;
readonly body: string;
readonly url: string;
get method(): string;
get headers(): string;
get body(): string;
get url(): string;
toString(): string;
}

@@ -52,3 +52,3 @@ "use strict";

this.judgeAcceptEncoding();
return __assign({}, this.parseContentHeader(), this._rawHeaders);
return __assign(__assign({}, this.parseContentHeader()), this._rawHeaders);
};

@@ -55,0 +55,0 @@ HeaderHelper.prototype.parseContentHeader = function () {

{
"name": "r2curl",
"version": "0.2.1",
"version": "0.2.2",
"description": "Node.js Request Wrapper (axios, fetch, ..) to cURL Command String",

@@ -40,18 +40,18 @@ "main": "dist/index.js",

"devDependencies": {
"@types/debug": "^4.1.4",
"@types/jest": "^24.0.12",
"@types/node": "^12.0.0",
"@types/shelljs": "^0.8.5",
"axios": "^0.19.0",
"cross-env": "^5.2.0",
"jest": "^24.8.0",
"prettier": "^1.17.0",
"@types/debug": "^4.1.5",
"@types/jest": "^24.9.1",
"@types/node": "^12.12.31",
"@types/shelljs": "^0.8.7",
"axios": "^0.19.2",
"cross-env": "^5.2.1",
"jest": "^24.9.0",
"prettier": "^1.19.1",
"shelljs": "^0.8.3",
"ts-jest": "^24.0.2",
"ts-jest": "^24.3.0",
"ts-loader": "^5.4.5",
"ts-node": "^8.1.0",
"tslint": "^5.16.0",
"tslint-config-airbnb": "^5.11.1",
"ts-node": "^8.8.1",
"tslint": "^5.20.1",
"tslint-config-airbnb": "^5.11.2",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.5.2"
"typescript": "^3.8.3"
},

@@ -58,0 +58,0 @@ "jest": {

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