This repository was archived by the owner on Nov 8, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +9
-13
lines changed
Expand file tree Collapse file tree 6 files changed +9
-13
lines changed Original file line number Diff line number Diff line change 22/coverage
33node_modules
44dredd-transactions- * .tgz
5+ /test /fixtures /** /* .json
Original file line number Diff line number Diff line change 1111 env : " JOB=quality_checks"
1212 script : " npm run ci:lint"
1313
14- - env : " JOB=node6"
15- node_js : " 6"
16- script : " npm run ci:test"
17-
1814 - env : " JOB=node8"
1915 node_js : " 8"
2016 script : " npm run ci:test"
Original file line number Diff line number Diff line change 44 "description" : " Compiles HTTP Transactions (Request-Response pairs) from an API description document" ,
55 "main" : " index.js" ,
66 "engines" : {
7- "node" : " >= 6 "
7+ "node" : " >= 8 "
88 },
99 "scripts" : {
1010 "prepack" : " node ./scripts/prepack.js" ,
3131 "dependencies" : {
3232 "fury" : " 3.0.0-beta.10" ,
3333 "fury-adapter-apib-parser" : " 0.14.0" ,
34- "fury-adapter-oas3-parser" : " 0.7.5 " ,
34+ "fury-adapter-oas3-parser" : " 0.7.7 " ,
3535 "fury-adapter-swagger" : " 0.25.1" ,
3636 "uri-template" : " 1.0.1"
3737 },
3838 "bundledDependencies" : [
3939 " fury-adapter-apib-parser"
4040 ],
4141 "devDependencies" : {
42- "@commitlint/cli" : " 7.6.1 " ,
43- "@commitlint/config-conventional" : " 7.6 .0" ,
44- "@commitlint/travis-cli" : " 7.6.1 " ,
42+ "@commitlint/cli" : " 8.0.0 " ,
43+ "@commitlint/config-conventional" : " 8.0 .0" ,
44+ "@commitlint/travis-cli" : " 8.0.0 " ,
4545 "chai" : " 4.2.0" ,
4646 "chai-json-schema" : " 1.5.1" ,
4747 "coveralls" : " 3.0.3" ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ function getJSONPath(fixturePath) {
2525
2626function parseFixture ( fixturePath ) {
2727 return new Promise ( ( resolve , reject ) => {
28- const fixture = fs . readFileSync ( fixturePath , { encoding : 'utf8' } ) ;
28+ const fixture = fs . readFileSync ( fixturePath , 'utf8' ) ;
2929 parse ( fixture , ( err , result ) => {
3030 if ( err ) reject ( err ) ;
3131 else resolve ( result . apiElements ) ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ const FORMATS = {
1212
1313
1414function readAPIelements ( apiElementsPath ) {
15- const contents = fs . readFileSync ( apiElementsPath , { encoding : 'utf8' } ) ;
15+ const contents = fs . readFileSync ( apiElementsPath , 'utf8' ) ;
1616 return fury . minim . fromRefract ( JSON . parse ( contents ) ) ;
1717}
1818
@@ -36,7 +36,7 @@ function fixtures(basename) {
3636 // scripts/pretest.js should be ran to mitigate the issue)
3737 . filter ( fixture => fs . existsSync ( fixture . apiDescriptionPath ) )
3838 . map ( fixture => Object . assign ( {
39- apiDescription : fs . readFileSync ( fixture . apiDescriptionPath , { encoding : 'utf8' } ) ,
39+ apiDescription : fs . readFileSync ( fixture . apiDescriptionPath , 'utf8' ) ,
4040 apiElements : readAPIelements ( fixture . apiElementsPath ) ,
4141 } , fixture ) ) ;
4242
You can’t perform that action at this time.
0 commit comments