add-dist-header
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -1,2 +0,2 @@ | ||
//! add-dist-header v1.4.1 ~~ https://github.com/center-key/add-dist-header ~~ MIT License | ||
//! add-dist-header v1.4.2 ~~ https://github.com/center-key/add-dist-header ~~ MIT License | ||
@@ -3,0 +3,0 @@ export type Settings = { |
@@ -1,2 +0,2 @@ | ||
//! add-dist-header v1.4.1 ~~ https://github.com/center-key/add-dist-header ~~ MIT License | ||
//! add-dist-header v1.4.2 ~~ https://github.com/center-key/add-dist-header ~~ MIT License | ||
@@ -7,3 +7,2 @@ import { isBinary } from 'istextorbinary'; | ||
import log from 'fancy-log'; | ||
import makeDir from 'make-dir'; | ||
import path from 'path'; | ||
@@ -58,3 +57,3 @@ import slash from 'slash'; | ||
const fixedDigits = { minimumFractionDigits: 2, maximumFractionDigits: 2 }; | ||
const distFolder = makeDir.sync(settings.dist); | ||
const distFolder = fs.mkdirSync(settings.dist, { recursive: true }) ?? settings.dist; | ||
const formatOptions = { dir: settings.dist, name: inputFile.name, ext: fileExt }; | ||
@@ -61,0 +60,0 @@ const outputPath = slash(path.format(formatOptions)); |
{ | ||
"name": "add-dist-header", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"description": "Prepend a one-line banner comment (with license notice) to distribution files", | ||
@@ -89,3 +89,2 @@ "license": "MIT", | ||
"istextorbinary": "~9.5", | ||
"make-dir": "~4.0", | ||
"slash": "~5.1" | ||
@@ -96,4 +95,4 @@ }, | ||
"@types/node": "~20.12", | ||
"@typescript-eslint/eslint-plugin": "~7.7", | ||
"@typescript-eslint/parser": "~7.7", | ||
"@typescript-eslint/eslint-plugin": "~7.8", | ||
"@typescript-eslint/parser": "~7.8", | ||
"assert-deep-strict-equal": "~1.2", | ||
@@ -108,4 +107,4 @@ "copy-file-util": "~1.2", | ||
"typescript": "~5.4", | ||
"w3c-html-validator": "~1.7" | ||
"w3c-html-validator": "~1.8" | ||
} | ||
} |
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
6
19248
181
- Removedmake-dir@~4.0
- Removedmake-dir@4.0.0(transitive)
- Removedsemver@7.6.3(transitive)