@let-value/translate-extract-static 1.1.1 → 1.1.2-beta.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.
@@ -1301,6 +1301,7 @@ type MaybePromise<T> = T | Promise<T>;
1301
1301
  interface Context {
1302
1302
  config: ResolvedConfig;
1303
1303
  generatedAt: Date;
1304
+ paths: Set<string>;
1304
1305
  logger?: Logger$1;
1305
1306
  }
1306
1307
  interface ResolveArgs<TInput = unknown> {
@@ -1348,6 +1349,7 @@ type LoadHook<TInput = unknown> = (args: LoadArgs<TInput>) => MaybePromise<LoadR
1348
1349
  type ProcessHook<TInput = unknown, TOutput = unknown> = (args: ProcessArgs<TInput>) => MaybePromise<ProcessResult<TOutput> | undefined>;
1349
1350
  interface Build<TInput = unknown, TOutput = unknown> {
1350
1351
  context: Context;
1352
+ source(path: string): void;
1351
1353
  resolve(args: ResolveArgs<unknown>): void;
1352
1354
  load(args: LoadArgs<unknown>): void;
1353
1355
  process(args: ProcessArgs<unknown>): void;
@@ -1301,6 +1301,7 @@ type MaybePromise<T> = T | Promise<T>;
1301
1301
  interface Context {
1302
1302
  config: ResolvedConfig;
1303
1303
  generatedAt: Date;
1304
+ paths: Set<string>;
1304
1305
  logger?: Logger$1;
1305
1306
  }
1306
1307
  interface ResolveArgs<TInput = unknown> {
@@ -1348,6 +1349,7 @@ type LoadHook<TInput = unknown> = (args: LoadArgs<TInput>) => MaybePromise<LoadR
1348
1349
  type ProcessHook<TInput = unknown, TOutput = unknown> = (args: ProcessArgs<TInput>) => MaybePromise<ProcessResult<TOutput> | undefined>;
1349
1350
  interface Build<TInput = unknown, TOutput = unknown> {
1350
1351
  context: Context;
1352
+ source(path: string): void;
1351
1353
  resolve(args: ResolveArgs<unknown>): void;
1352
1354
  load(args: LoadArgs<unknown>): void;
1353
1355
  process(args: ProcessArgs<unknown>): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@let-value/translate-extract-static",
3
- "version": "1.1.1",
3
+ "version": "1.1.2-beta.1",
4
4
  "type": "module",
5
5
  "main": "./dist/src/index.cjs",
6
6
  "module": "./dist/src/index.js",
@@ -29,7 +29,7 @@
29
29
  "test": "node --test"
30
30
  },
31
31
  "devDependencies": {
32
- "@let-value/translate-extract": "1.1.1",
32
+ "@let-value/translate-extract": "1.1.2-beta.1",
33
33
  "@types/bun": "1.3.8",
34
34
  "@types/node": "22.10.2",
35
35
  "tsdown": "0.15.2",