Comparing version 1.13.2 to 1.13.3
@@ -8,2 +8,8 @@ # Change Log | ||
## [1.13.3] - 2024-08-24 | ||
### Changed | ||
- Use glob 11 instead of glob-promise. | ||
## [1.13.2] - 2024-07-31 | ||
@@ -10,0 +16,0 @@ |
import { SsgContext } from "./SsgContext.js"; | ||
import { FileContents } from "./util/index.js"; | ||
import { FileContents } from "./util"; | ||
export type OutputFunc = (context: SsgContext, outputFile: FileContents) => Promise<void>; |
import { Logger } from "./Logger.js"; | ||
import { FileContents } from "./util/index.js"; | ||
import { FileContents } from "./util"; | ||
export interface SsgContext<V = any> extends Logger { | ||
@@ -4,0 +4,0 @@ /** |
import { SsgContext } from "./SsgContext.js"; | ||
import { Logger } from "./Logger.js"; | ||
import { FileContents } from "./util/index.js"; | ||
import { FileContents } from "./util"; | ||
export declare class SsgContextImpl<V = any> implements SsgContext<V> { | ||
@@ -5,0 +5,0 @@ readonly locale: string; |
import { ObjectUtil } from "./util/ObjectUtil.js"; | ||
import { ConsoleLogger } from "./ConsoleLogger.js"; | ||
import { FileContents, HtmlFileContents } from "./util/index.js"; | ||
import { FileContents, HtmlFileContents } from "./util"; | ||
import * as assert from "node:assert"; | ||
@@ -5,0 +5,0 @@ export class SsgContextImpl { |
import fs from "fs"; | ||
import { promise as glob } from "glob-promise"; | ||
import { glob } from "glob"; | ||
/** | ||
@@ -4,0 +4,0 @@ * A SsgStep that can perform replacements in files' contents. |
import { SsgStep } from "./SsgStep.js"; | ||
import { IOptions } from "glob"; | ||
import { GlobOptionsWithFileTypesUnset } from "glob"; | ||
import { SsgConfig } from "../SsgConfig.js"; | ||
@@ -7,3 +7,3 @@ import { SsgContextImpl } from "../SsgContextImpl"; | ||
readonly sourcePatterns: string[]; | ||
readonly options?: IOptions; | ||
readonly options?: GlobOptionsWithFileTypesUnset; | ||
} | ||
@@ -10,0 +10,0 @@ export type CopyStepResult = { |
import * as process from "process"; | ||
import { FileUtil } from "../util/index.js"; | ||
import { FileUtil } from "../util"; | ||
/** | ||
@@ -4,0 +4,0 @@ * Perform copies to out directory. |
@@ -6,4 +6,4 @@ import * as fs from "fs"; | ||
import { readdir } from "fs/promises"; | ||
import { promise as glob } from "glob-promise"; | ||
import { FileContents } from "./FileContents"; | ||
import { glob } from "glob"; | ||
/** | ||
@@ -10,0 +10,0 @@ * File utility functions |
@@ -5,3 +5,3 @@ { | ||
"author": "Jérôme Beau <javarome@gmail.com> (https://javarome.com)", | ||
"version": "1.13.2", | ||
"version": "1.13.3", | ||
"description": "Static Site Generation TypeScript API", | ||
@@ -29,11 +29,10 @@ "exports": "./dist/src/index.js", | ||
"char-encoding-detector": "^0.0.9", | ||
"glob-promise": "^6.0.7", | ||
"jsdom": "^24.1.0" | ||
"glob": "^11.0.0", | ||
"jsdom": "^24.1.1" | ||
}, | ||
"devDependencies": { | ||
"@types/glob": "^8.1.0", | ||
"@types/jsdom": "^21.1.7", | ||
"typescript": "^5.5.3", | ||
"typescript": "^5.5.4", | ||
"uuid": "^10.0.0", | ||
"tsx": "4.16.2", | ||
"tsx": "4.17.0", | ||
"@javarome/testscript": "^0.10.7" | ||
@@ -40,0 +39,0 @@ }, |
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
138277
5
+ Addedglob@^11.0.0
+ Added@isaacs/cliui@8.0.2(transitive)
+ Addedansi-regex@5.0.16.1.0(transitive)
+ Addedansi-styles@4.3.06.2.1(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcross-spawn@7.0.3(transitive)
+ Addedeastasianwidth@0.2.0(transitive)
+ Addedemoji-regex@8.0.09.2.2(transitive)
+ Addedforeground-child@3.3.0(transitive)
+ Addedglob@11.0.0(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedjackspeak@4.0.2(transitive)
+ Addedlru-cache@11.0.2(transitive)
+ Addedminimatch@10.0.1(transitive)
+ Addedminipass@7.1.2(transitive)
+ Addedpackage-json-from-dist@1.0.1(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpath-scurry@2.0.0(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedstring-width@4.2.35.1.2(transitive)
+ Addedstrip-ansi@6.0.17.1.0(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedwrap-ansi@7.0.08.1.0(transitive)
- Removedglob-promise@^6.0.7
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@8.1.0(transitive)
- Removedglob-promise@6.0.7(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedminimatch@5.1.6(transitive)
- Removedonce@1.4.0(transitive)
- Removedwrappy@1.0.2(transitive)
Updatedjsdom@^24.1.1