@powel/pdf-gen
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -6,2 +6,10 @@ # Change Log | ||
## [0.1.4](https://github.com/powelas/front-end-monorepo/compare/@powel/pdf-gen@0.1.3...@powel/pdf-gen@0.1.4) (2020-01-07) | ||
**Note:** Version bump only for package @powel/pdf-gen | ||
## [0.1.3](https://github.com/powelas/front-end-monorepo/compare/@powel/pdf-gen@0.1.2...@powel/pdf-gen@0.1.3) (2019-06-12) | ||
@@ -8,0 +16,0 @@ |
@@ -109,3 +109,3 @@ "use strict"; | ||
} = (0, _grayMatter.default)(guideFileContent); | ||
const pugOptions = frontMatterConfig.hasOwnProperty('Updated') && frontMatterConfig.Updated instanceof Date ? { | ||
const pugOptions = Object.prototype.hasOwnProperty.call(frontMatterConfig, 'Updated') && frontMatterConfig.Updated instanceof Date ? { | ||
updated: (0, _format.default)(frontMatterConfig.Updated, 'YYYY-MM-DD') | ||
@@ -124,4 +124,2 @@ } : {}; | ||
await Promise.all(jobs); | ||
} catch (err) { | ||
throw err; | ||
} finally { | ||
@@ -128,0 +126,0 @@ if (press && press.close) { |
{ | ||
"name": "@powel/pdf-gen", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "A CLI utility to print Markdown files to PDFs styled with Powel branding", | ||
@@ -35,3 +35,3 @@ "license": "UNLICENSED", | ||
"devDependencies": { | ||
"@babel/cli": "7.4.4", | ||
"@babel/cli": "7.7.7", | ||
"@types/cheerio": "0.22.11", | ||
@@ -42,11 +42,12 @@ "@types/find-up": "2.1.1", | ||
"@types/update-notifier": "2.5.0", | ||
"cross-env": "5.2.0", | ||
"eslint": "5.16.0", | ||
"jest": "24.8.0", | ||
"cross-env": "6.0.3", | ||
"eslint": "6.8.0", | ||
"jest": "24.9.0", | ||
"npm-run-all": "4.1.5", | ||
"rimraf": "2.6.3", | ||
"typescript": "3.5.1" | ||
"rimraf": "3.0.0", | ||
"typescript": "3.7.4" | ||
}, | ||
"dependencies": { | ||
"@powel/powelui": "4.7.0", | ||
"@powel/powelui": "4.17.1", | ||
"chalk": "3.0.0", | ||
"cheerio": "0.22.0", | ||
@@ -62,3 +63,3 @@ "date-fns": "1.30.1", | ||
}, | ||
"gitHead": "683d2fabebf40193cc4efa1dac9a8f35b2d2aaab" | ||
"gitHead": "e03644fa3b9f7fb846dceb205f6e3495f24f275b" | ||
} |
@@ -106,3 +106,3 @@ import fs from 'fs'; | ||
const pugOptions = | ||
frontMatterConfig.hasOwnProperty('Updated') && | ||
Object.prototype.hasOwnProperty.call(frontMatterConfig, 'Updated') && | ||
frontMatterConfig.Updated instanceof Date | ||
@@ -120,4 +120,2 @@ ? { updated: format(frontMatterConfig.Updated, 'YYYY-MM-DD') } | ||
await Promise.all(jobs); | ||
} catch (err) { | ||
throw err; | ||
} finally { | ||
@@ -124,0 +122,0 @@ if (press && press.close) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1824593
11
517
+ Addedchalk@3.0.0
+ Addedansi-styles@4.3.0(transitive)
+ Addedchalk@3.0.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedsupports-color@7.2.0(transitive)
Updated@powel/powelui@4.17.1