@nsis/dent 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/dent.d.mts +3 -3
  2. package/package.json +1 -1
package/dist/dent.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region src/dent.d.ts
2
- type Options = {
2
+ type DentOptions = {
3
3
  endOfLines?: 'crlf' | 'lf';
4
4
  indentSize?: number;
5
5
  trimEmptyLines?: boolean;
@@ -12,6 +12,6 @@ type Options = {
12
12
  * @returns {function(string): string} The formatting function.
13
13
  * @throws {Error} Throws an error if the options are invalid.
14
14
  */
15
- declare function createFormatter(options?: Options): (fileContents: string) => string;
15
+ declare function createFormatter(options?: DentOptions): (fileContents: string) => string;
16
16
  //#endregion
17
- export { createFormatter };
17
+ export { DentOptions, createFormatter };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nsis/dent",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "An opinionated code formatter for NSIS scripts",
5
5
  "license": "MIT",
6
6
  "files": [