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+
313jobs :
14+
415 browsers :
516 runs-on : ubuntu-latest
617 steps :
1021 run : npm install
1122 - name : Test
1223 run : npm run test-in-browsers
24+
1325 test :
1426 runs-on : ubuntu-latest
1527 strategy :
2537 run : npm install --ignore-scripts
2638 - name : Test
2739 run : npm run test
40+
2841 test-legacy :
2942 runs-on : ubuntu-latest
3043 strategy :
4053 run : npm install --ignore-scripts
4154 - name : Test
4255 run : npm run test-legacy
56+
57+ automerge :
58+ needs : [browsers, test, test-legacy]
59+ runs-on : ubuntu-latest
60+ steps :
61+ 62+ with :
63+ github-token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11# secure-json-parse
22
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/ )
57
68` JSON.parse() ` drop-in replacement with prototype poisoning protection.
79
Original file line number Diff line number Diff line change 66 "types" : " index.d.ts" ,
77 "scripts" : {
88 "benchmark" : " cd benchmarks && npm install && npm run all" ,
9- "test-legacy" : " nyc tape test.js" ,
109 "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"
1212 },
1313 "repository" : {
1414 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments