Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit dce7fe1

Browse files
committed
chore(pkg): update dependencies
1 parent aacd5ef commit dce7fe1

3 files changed

Lines changed: 7 additions & 10 deletions

File tree

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ before_install:
88
- npm install -g npm@latest-2
99
after_success:
1010
- npm run coverage
11-
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
12-
- python travis_after_all.py
13-
- 'export $(cat .to_export_back) &> /dev/null'
1411
- npm run semantic-release
1512
branches:
1613
except:

lib/zones.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ function edit(z, options) {
9393
return body;
9494
});
9595

96-
if (!patched.length) {
96+
if (patched.length === 0) {
9797
return Promise.resolve(z.makeClone());
9898
}
9999

@@ -105,7 +105,7 @@ function edit(z, options) {
105105
options.body = JSON.stringify(patch);
106106

107107
return this._got(uri, options).then(function (response) {
108-
if (patched.length) {
108+
if (patched.length > 0) {
109109
return sendPatched.call(this);
110110
}
111111

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
"verymodel": "^3.6.0"
1616
},
1717
"devDependencies": {
18-
"ava": "^0.16.0",
18+
"ava": "^0.17.0",
1919
"coveralls": "^2.11.9",
20-
"nock": "^8.0.0",
21-
"nyc": "^8.0.0",
22-
"semantic-release": "^4.3.5",
23-
"xo": "^0.16.0"
20+
"nock": "^9.0.2",
21+
"nyc": "^10.0.0",
22+
"semantic-release": "^6.3.2",
23+
"xo": "^0.17.1"
2424
},
2525
"homepage": "https://github.com/cloudflare/node-cloudflare",
2626
"keywords": [

0 commit comments

Comments
 (0)