File tree Expand file tree Collapse file tree 3 files changed +29
-6
lines changed Expand file tree Collapse file tree 3 files changed +29
-6
lines changed Original file line number Diff line number Diff line change 1
- name : CI workflow
2
- on : [push, pull_request]
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ paths-ignore :
6
+ - ' docs/**'
7
+ - ' *.md'
8
+ pull_request :
9
+ paths-ignore :
10
+ - ' docs/**'
11
+ - ' *.md'
12
+
3
13
jobs :
14
+
4
15
browsers :
5
16
runs-on : ubuntu-latest
6
17
steps :
10
21
run : npm install
11
22
- name : Test
12
23
run : npm run test-in-browsers
24
+
13
25
test :
14
26
runs-on : ubuntu-latest
15
27
strategy :
25
37
run : npm install --ignore-scripts
26
38
- name : Test
27
39
run : npm run test
40
+
28
41
test-legacy :
29
42
runs-on : ubuntu-latest
30
43
strategy :
40
53
run : npm install --ignore-scripts
41
54
- name : Test
42
55
run : npm run test-legacy
56
+
57
+ automerge :
58
+ needs : [browsers, test, test-legacy]
59
+ runs-on : ubuntu-latest
60
+ steps :
61
+ - uses : fastify/github-action-merge-dependabot@v2.0.0
62
+ with :
63
+ github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1
1
# secure-json-parse
2
2
3
- ![ Ci Workflow] ( https://github.com/fastify/secure-json-parse/workflows/CI%20workflow/badge.svg )
4
- [ ![ js-standard-style] ( https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat )] ( http://standardjs.com/ )
3
+ ![ CI] ( https://github.com/fastify/secure-json-parse/workflows/CI/badge.svg )
4
+ [ ![ NPM version] ( https://img.shields.io/npm/v/secure-json-parse.svg?style=flat )] ( https://www.npmjs.com/package/secure-json-parse )
5
+ [ ![ Known Vulnerabilities] ( https://snyk.io/test/github/fastify/secure-json-parse/badge.svg )] ( https://snyk.io/test/github/fastify/secure-json-parse )
6
+ [ ![ js-standard-style] ( https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat )] ( https://standardjs.com/ )
5
7
6
8
` JSON.parse() ` drop-in replacement with prototype poisoning protection.
7
9
Original file line number Diff line number Diff line change 6
6
"types" : " index.d.ts" ,
7
7
"scripts" : {
8
8
"benchmark" : " cd benchmarks && npm install && npm run all" ,
9
- "test-legacy" : " nyc tape test.js" ,
10
9
"test" : " standard && tsd && nyc tape test.js" ,
11
- "test-in-browsers" : " airtap test.js"
10
+ "test-in-browsers" : " airtap test.js" ,
11
+ "test-legacy" : " nyc tape test.js"
12
12
},
13
13
"repository" : {
14
14
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments