Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vonage/vetch

Package Overview
Dependencies
Maintainers
42
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vonage/vetch - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

2

dist/enums/HTTPMethods.js

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

HTTPMethods["PATCH"] = "PATCH";
})(HTTPMethods = exports.HTTPMethods || (exports.HTTPMethods = {}));
})(HTTPMethods || (exports.HTTPMethods = HTTPMethods = {}));
//# sourceMappingURL=HTTPMethods.js.map

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

ResponseTypes["json"] = "json";
})(ResponseTypes = exports.ResponseTypes || (exports.ResponseTypes = {}));
})(ResponseTypes || (exports.ResponseTypes = ResponseTypes = {}));
//# sourceMappingURL=responseTypes.js.map

@@ -50,2 +50,3 @@ "use strict";

catch {
// continue
}

@@ -89,3 +90,5 @@ return data;

}
// Set our user agent
opts.headers['user-agent'] = `@vonage/server-sdk/3.0.0 node/${process.version.replace('v', '')}`;
// Allow a custom timeout to be used
const httpAgent = new http_1.default.Agent({

@@ -92,0 +95,0 @@ timeout: this.defaults.timeout,

{
"name": "@vonage/vetch",
"version": "1.3.0",
"description": "Vonage package for server side fetch.",
"homepage": "https://github.com/vonage/vonage-node-sdk/tree/master/packages/vetch#readme",
"bugs": {
"url": "https://github.com/Vonage/vonage-node-sdk/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Vonage/vonage-node-sdk.git"
},
"license": "Apache-2.0",
"author": "Kelly J Andrews <kelly@kellyjandrews.com>",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"/dist"
],
"scripts": {
"build": "npm run clean && npm run compile",
"clean": "npx shx rm -rf dist tsconfig.tsbuildinfo",
"compile": "npx tsc --build --verbose"
},
"dependencies": {
"debug": "^4.3.4",
"lodash.merge": "^4.6.2",
"node-fetch": "^2.6"
},
"devDependencies": {
"nock": "^13.2.9"
},
"publishConfig": {
"directory": "dist"
},
"gitHead": "328f18e5c8a458cb4d06d7955ec2399a6ce6f5d8"
"name": "@vonage/vetch",
"version": "1.4.0",
"description": "Vonage package for server side fetch.",
"homepage": "https://github.com/vonage/vonage-node-sdk/tree/master/packages/vetch#readme",
"bugs": {
"url": "https://github.com/Vonage/vonage-node-sdk/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Vonage/vonage-node-sdk.git"
},
"license": "Apache-2.0",
"author": "Kelly J Andrews <kelly@kellyjandrews.com>",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"/dist"
],
"scripts": {
"build": "npm run clean && npm run compile",
"clean": "npx shx rm -rf dist tsconfig.tsbuildinfo",
"compile": "npx tsc --build --verbose"
},
"dependencies": {
"debug": "^4.3.4",
"lodash.merge": "^4.6.2",
"node-fetch": "^2.6"
},
"devDependencies": {
"nock": "^13.3.1"
},
"publishConfig": {
"directory": "dist"
},
"gitHead": "328f18e5c8a458cb4d06d7955ec2399a6ce6f5d8"
}

Sorry, the diff of this file is not supported yet

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