Skip to content

Commit

Permalink
docs(README): Removy snyk badge
Browse files Browse the repository at this point in the history
  • Loading branch information
flegall committed Mar 1, 2018
1 parent 07fdf30 commit 0b6251f
Show file tree
Hide file tree
Showing 5 changed files with 138 additions and 61 deletions.
31 changes: 15 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
[![Build Status](https://travis-ci.org/jsGiven/jsGiven.svg?branch=master)](https://travis-ci.org/jsGiven/jsGiven)
[![Coverage Status](https://coveralls.io/repos/github/jsGiven/jsGiven/badge.svg?branch=master)](https://coveralls.io/github/jsGiven/jsGiven?branch=master)
[![Code Climate](https://codeclimate.com/github/jsGiven/jsGiven/badges/gpa.svg)](https://codeclimate.com/github/jsGiven/jsGiven)
[![Known Vulnerabilities](https://snyk.io/test/github/jsgiven/jsgiven/badge.svg?targetFile=js-given%2Fpackage.json)](https://snyk.io/test/github/jsgiven/jsgiven?targetFile=js-given%2Fpackage.json)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/jsGiven/jsGiven/master/LICENSE)
Expand All @@ -23,21 +22,21 @@ You can have a look at [JSGiven's own report](https://jsgiven.org/jsgiven-report

```javascript
scenarios('recipes', RecipesStage, ({ given, when, then }) => ({
a_pancake_can_be_fried_out_of_an_egg_milk_and_flour: scenario({}, () => {
given()
.an_egg()
.and()
.some_milk()
.and()
.the_ingredient('flour');

when()
.the_cook_mangles_everything_to_a_dough()
.and()
.the_cook_fries_the_dough_in_a_pan();

then().the_resulting_meal_is_a_pan_cake();
}),
a_pancake_can_be_fried_out_of_an_egg_milk_and_flour: scenario({}, () => {
given()
.an_egg()
.and()
.some_milk()
.and()
.the_ingredient('flour');

when()
.the_cook_mangles_everything_to_a_dough()
.and()
.the_cook_fries_the_dough_in_a_pan();

then().the_resulting_meal_is_a_pan_cake();
}),
}));
```

Expand Down
1 change: 0 additions & 1 deletion documentation/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
image:https://travis-ci.org/jsGiven/jsGiven.svg?branch=master["Build Status", link="https://travis-ci.org/jsGiven/jsGiven"]
image:https://coveralls.io/repos/github/jsGiven/jsGiven/badge.svg?branch=master["Coverage Status", link="https://coveralls.io/github/jsGiven/jsGiven?branch=master"]
image:https://codeclimate.com/github/jsGiven/jsGiven/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/jsGiven/jsGiven"]
image:https://snyk.io/test/github/jsgiven/jsgiven/badge.svg?targetFile=js-given%2Fpackage.json["Known Vulnerabilities", link="https://snyk.io/test/github/jsgiven/jsgiven?targetFile=js-given%2Fpackage.json"]
image:https://img.shields.io/badge/styled_with-prettier-ff69b4.svg["Styled with prettier", link="https://github.com/prettier/prettier"]

image:https://img.shields.io/badge/license-MIT-blue.svg["License", link="https://raw.githubusercontent.com/jsGiven/jsGiven/master/LICENSE"]
Expand Down
62 changes: 45 additions & 17 deletions js-given/.snyk
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,72 @@ version: v1.10.1
ignore:
'npm:angular:20150315':
- jgiven-html-app > angular:
reason: ' JsGiven''s report is a static website, it does not use JSONP'
expires: '2019-12-28T07:28:10.211Z'
reason: 'JsGiven''s report is a static website, it''s not subject to'
expires: '2029-03-30T18:59:39.243Z'
'npm:angular:20161101':
- jgiven-html-app > angular:
reason: 'JsGiven''s report is a static website, XSS is not an issue.'
expires: '2019-12-28T07:28:10.211Z'
reason: 'JsGiven''s report is a static website, it''s not subject to'
expires: '2029-03-30T18:59:39.243Z'
'npm:foundation-sites:20170802':
- jgiven-html-app > foundation-sites:
reason: 'JsGiven''s report is a static website, XSS is not an issue.'
expires: '2019-12-28T07:28:10.211Z'
reason: 'JsGiven''s report is a static website, it''s not subject to'
expires: '2029-03-30T18:59:39.243Z'
'npm:marked:20170907':
- jgiven-html-app > modernizr > marked:
reason: 'JsGiven''s report is a static website, it''s not subject to DOS attacks.'
expires: '2019-12-28T07:28:10.211Z'
expires: '2029-12-28T07:28:10.211Z'
'npm:angular:20171018':
- jgiven-html-app > angular:
reason: 'JsGiven''s report is a static website, XSS is not an issue.'
expires: '2019-01-25T06:48:06.510Z'
reason: 'JsGiven''s report is a static website, it''s not subject to'
expires: '2029-03-30T18:59:39.243Z'
'npm:marked:20170815':
- jgiven-html-app > modernizr > marked:
reason: 'JsGiven''s report is a static website, XSS is not an issue.'
expires: '2019-01-25T06:48:06.510Z'
reason: 'JsGiven''s report is a static website, it''s not subject to'
expires: '2029-03-30T18:59:39.243Z'
'npm:marked:20170815-1':
- jgiven-html-app > modernizr > marked:
reason: 'JsGiven''s report is a static website, XSS is not an issue.'
expires: '2019-01-25T06:48:06.510Z'
reason: 'JsGiven''s report is a static website, it''s not subject to'
expires: '2029-03-30T18:59:39.243Z'
'npm:marked:20171207':
- jgiven-html-app > modernizr > marked:
reason: 'JsGiven''s report is a static website, it''s not subject to DOS attacks.'
expires: '2019-12-28T07:28:10.211Z'
expires: '2029-12-28T07:28:10.211Z'
'npm:angular:20180202':
- jgiven-html-app > angular-foundation > angular:
reason: >-
JsGiven's report is a static website, it's not subject to such
vulnerabilities
expires: '2029-03-30T18:59:39.242Z'
- jgiven-html-app > angular-chart.js > angular:
reason: >-
JsGiven's report is a static website, it's not subject to such
vulnerabilities
expires: '2029-03-30T18:59:39.243Z'
- jgiven-html-app > angular:
reason: 'JsGiven''s report is a static website, it''s not subject to'
expires: '2029-03-30T18:59:39.243Z'
'npm:lodash:20180130':
- jgiven-html-app > lodash:
reason: 'JsGiven''s report is a static website, it''s not subject to'
expires: '2029-03-30T18:59:39.243Z'
- jgiven-html-app > modernizr > lodash:
reason: 'JsGiven''s report is a static website, it''s not subject to'
expires: '2029-03-30T18:59:39.243Z'
'npm:marked:20180225':
- jgiven-html-app > modernizr > marked:
reason: 'JsGiven''s report is a static website, it''s not subject to'
expires: '2029-03-30T18:59:39.243Z'
# patches apply the minimum changes required to fix a vulnerability
patch:
'npm:marked:20150520':
- jgiven-html-app > modernizr > marked:
patched: '2017-09-28T07:26:22.563Z'
patched: '2018-02-28T18:54:13.285Z'
'npm:marked:20170112':
- jgiven-html-app > modernizr > marked:
patched: '2017-09-28T07:26:22.563Z'
patched: '2018-02-28T18:54:13.285Z'
'npm:moment:20170905':
- jgiven-html-app > angular-chart.js > chart.js > moment:
patched: '2017-12-19T10:13:37.228Z'
patched: '2018-02-28T18:54:13.285Z'
'npm:marked:20170907':
- jgiven-html-app > modernizr > marked:
patched: '2018-02-28T18:54:13.285Z'
6 changes: 3 additions & 3 deletions js-given/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@
"fs-extra": "^5.0.0",
"function-arguments": "^1.0.8",
"jgiven-html-app": "0.16.2",
"lodash": "^4.17.4",
"lodash": "4.17.5",
"rimraf": "^2.6.2",
"snyk": "^1.61.0",
"snyk": "1.61.0",
"string-humanize": "^1.0.0",
"strip-ansi": "^4.0.0",
"yargs": "^11.0.0"
Expand Down Expand Up @@ -123,4 +123,4 @@
"node": ">= 4.6.0"
},
"snyk": true
}
}
Loading

0 comments on commit 0b6251f

Please sign in to comment.