Skip to content

Commit 8fb86a1

Browse files
committed
Updated packages
1 parent ddc4b5c commit 8fb86a1

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

dist/rapipdf-min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rapipdf-min.js.gz

-2 Bytes
Binary file not shown.

dist/rapipdf-min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rapipdf-min.js.map.gz

-1 Bytes
Binary file not shown.

dist/report.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/rapipdf-min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rapipdf",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "RapiPdf - Generate PDF from Open API spec",
55
"author": "Mrinmoy Majumdar <mrin9@yahoo.com>",
66
"repository": {
@@ -27,7 +27,7 @@
2727
"module": "rapipdf.js",
2828
"dependencies": {
2929
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
30-
"json-refs": "^3.0.13",
30+
"json-refs": "^3.0.12",
3131
"marked": "^0.6.2",
3232
"pdfmake": "^0.1.56",
3333
"pdfmake-lite": "^0.1.38",

src/utils/pdf-gen.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export default async function createPdf(specUrl, options){
8787
allContent.push(apiDef);
8888
}
8989
if (options.includeApiList){
90-
apiListDef =getApiListDef(parsedSpec, "API List", rowLinesTableLayout);
90+
apiListDef =getApiListDef(parsedSpec, 'API List', rowLinesTableLayout);
9191
allContent.push(apiListDef);
9292
}
9393

@@ -96,8 +96,8 @@ export default async function createPdf(specUrl, options){
9696
return {
9797
margin:10,
9898
columns:[
99-
{text:options.pdfFooterText, style:["sub", "gray","left"]},
100-
{text:`${currentPage} of ${pageCount}`, style:["sub", "gray","right"]}
99+
{text:options.pdfFooterText, style:['sub', 'gray', 'left']},
100+
{text:`${currentPage} of ${pageCount}`, style:['sub', 'gray', 'right']}
101101
]
102102
};
103103
},

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4231,7 +4231,7 @@ json-parse-better-errors@^1.0.2:
42314231
resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9"
42324232
integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==
42334233

4234-
json-refs@^3.0.13:
4234+
json-refs@^3.0.12:
42354235
version "3.0.13"
42364236
resolved "https://registry.yarnpkg.com/json-refs/-/json-refs-3.0.13.tgz#ae8c6afcde2b2576795780699920c34089ae7675"
42374237
integrity sha512-/FJ+BJ6BASjmNsBJHE8qMVj46HTS2Pfq5gI5BQRhyUsdrw9HaHRWSOsOh87deTOyWMtGas5Qr8H6ikrcWHdZbw==

0 commit comments

Comments
 (0)