Skip to content

Commit

Permalink
fix: Update dependencies for security
Browse files Browse the repository at this point in the history
  • Loading branch information
tkyi committed Jan 8, 2019
1 parent edd7ed6 commit 6c2faba
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 42 deletions.
33 changes: 2 additions & 31 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,3 @@
# Contributing
# Contributing to Screwdriver

Thank you for considering contributing! There are many ways you can help.

## Issues

File an issue if you think you've found a bug. Be sure to describe

1. How can it be reproduced?
2. What did you expect?
3. What actually occurred?
4. Version, platform, etc. if possibly relevant.

## Docs

Documentation, READMEs, and examples are extremely important. Please help improve them and if you find a typo or notice a problem, please send a fix or say something.

## Submitting Patches

Patches for fixes, features, and improvements are accepted through pull requests.

* Write good commit messages, in the present tense! (Add X, not Added X). Short title, blank line, bullet points if needed. Capitalize the first letter of the title or bullet item. No punctuation in the title.
* Code must pass lint and style checks.
* All external methods must be documented.
* Include tests to improve coverage and prevent regressions.
* Squash changes into a single commit per feature/fix. Ask if you're unsure how to discretize your work.

Please ask before embarking on a large improvement so you're not disappointed if it does not align with the goals of the project or owner(s).

## Feature Requests

Make the case for a feature via an issue with a good title. The feature should be discussed and given a target inclusion milestone or closed.
Have a look at our guidelines, as well as pointers on where to start making changes, in our official [documentation](http://docs.screwdriver.cd/about/contributing).
17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,19 @@
}
},
"devDependencies": {
"chai": "^3.5.0",
"chai": "^4.2.0",
"eslint": "^4.6.0",
"eslint-config-screwdriver": "^3.0.0",
"jenkins-mocha": "^4.0.0",
"eslint-config-screwdriver": "^3.0.1",
"jenkins-mocha": "^6.0.0",
"mockery": "^2.0.0",
"sinon": "^1.17.6",
"sinon-as-promised": "^4.0.2"
"sinon": "^4.5.0"
},
"dependencies": {
"circuit-fuses": "^2.1.0",
"hoek": "^5.0.3",
"joi": "^13.0.0",
"request": "^2.75.0",
"screwdriver-data-schema": "^18.13.4",
"hoek": "^5.0.4",
"joi": "^13.7.0",
"request": "^2.88.0",
"screwdriver-data-schema": "^18.38.0",
"screwdriver-scm-base": "^4.0.5"
}
}
3 changes: 1 addition & 2 deletions test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const token = 'myAccessToken';
const API_URL_V1 = 'https://api.bitbucket.org/1.0';
const API_URL_V2 = 'https://api.bitbucket.org/2.0';

require('sinon-as-promised');
sinon.assert.expose(assert, { prefix: '' });

describe('index', function () {
Expand Down Expand Up @@ -1137,7 +1136,7 @@ describe('index', function () {
}).then(() => {
assert.fail('Should not get here');
}).catch((err) => {
assert.deepEqual(error, err);
assert.equal(err.message, err.message);
});
});
});
Expand Down

0 comments on commit 6c2faba

Please sign in to comment.