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

dnsimple

Package Overview
Dependencies
Maintainers
5
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dnsimple - npm Package Compare versions

Comparing version 4.2.1 to 4.3.0

11

CHANGELOG.md
# Changelog
## master
## main
## Release 4.3.0
- NEW: Adds NodeJS v15 to Travis build
- CHANGED: Removes NodeJS v13 from Travis build
## Release 4.2.1
- Bump semistandard from 14.2.0 to 14.2.2
- Bump nock from 12.0.3 to 13.0.0
- CHANGED: Bump semistandard from 14.2.0 to 14.2.2
- CHANGED: Bump nock from 12.0.3 to 13.0.0

@@ -10,0 +15,0 @@ ## Release 4.2.0

@@ -21,3 +21,3 @@ 'use strict';

Dnsimple.VERSION = '4.2.1';
Dnsimple.VERSION = '4.3.0';
Dnsimple.DEFAULT_TIMEOUT = 120000;

@@ -82,3 +82,3 @@ Dnsimple.DEFAULT_BASE_URL = 'https://api.dnsimple.com';

_setupServices: function () {
for (var name in services) {
for (const name in services) {
this[name] = new services[name](this.client);

@@ -85,0 +85,0 @@ }

@@ -42,4 +42,4 @@ 'use strict';

request (method, path, data, options) {
var timeout = this._dnsimple.timeout;
var headers = {
const timeout = this._dnsimple.timeout;
const headers = {
Authorization: `Bearer ${this._dnsimple.accessToken()}`,

@@ -51,3 +51,3 @@ Accept: 'application/json',

var req = https.request({
const req = https.request({
host: this._dnsimple.baseUrl().hostname,

@@ -84,4 +84,4 @@ port: this._dnsimple.baseUrl().port || 443,

return (res) => {
var data = '';
var error;
let data = '';
let error;

@@ -127,3 +127,3 @@ res.setEncoding('utf8');

if (!req._isAborted) {
var errorObj = {
const errorObj = {
description: 'An error occurred communicating with DNSimple API',

@@ -138,4 +138,4 @@ error: error

_versionedPath (path, options) {
var versionedPath = '/v2' + path;
var query = {};
let versionedPath = '/v2' + path;
const query = {};

@@ -142,0 +142,0 @@ if (!(typeof options.query === 'undefined')) {

@@ -44,3 +44,3 @@ 'use strict';

allWebhooks (accountId, options = {}) {
var self = this;
const self = this;
return new Promise(function (resolve, reject) {

@@ -47,0 +47,0 @@ self.listWebhooks(accountId, options).then(function (response) {

{
"name": "dnsimple",
"version": "4.2.1",
"version": "4.3.0",
"description": "A Node.JS client for the DNSimple API.",

@@ -32,3 +32,3 @@ "keywords": [

"chai-as-promised": "^7.1.1",
"eslint-config-standard": "^13.0.1",
"eslint-config-standard": "^16.0.1",
"js-yaml": ">=3.13.1",

@@ -38,4 +38,4 @@ "lodash": ">=4.17.13",

"nock": "^13.0.0",
"semistandard": "^14.2.0",
"snazzy": "^8.0.0"
"semistandard": "^16.0.0",
"snazzy": "^9.0.0"
},

@@ -42,0 +42,0 @@ "dependencies": {},

@@ -5,3 +5,3 @@ # DNSimple Node.JS Client

[![Build Status](https://travis-ci.com/dnsimple/dnsimple-node.svg?branch=master)](https://travis-ci.com/dnsimple/dnsimple-node)
[![Build Status](https://travis-ci.com/dnsimple/dnsimple-node.svg?branch=main)](https://travis-ci.com/dnsimple/dnsimple-node)
[![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg?style=flat-square)](https://github.com/standard/semistandard)

@@ -8,0 +8,0 @@ [![npm version](https://badge.fury.io/js/dnsimple.svg)](https://badge.fury.io/js/dnsimple)

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