@render-lab/tasks-scrape 0.1.1 → 0.1.2
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.
- package/dist/crawl.js +1 -1
- package/dist/crawl.js.map +1 -1
- package/dist/fetch.d.ts +2 -9
- package/dist/fetch.d.ts.map +1 -1
- package/dist/fetch.js +4 -14
- package/dist/fetch.js.map +1 -1
- package/dist/fetchCore.d.ts +13 -0
- package/dist/fetchCore.d.ts.map +1 -0
- package/dist/fetchCore.js +19 -0
- package/dist/fetchCore.js.map +1 -0
- package/dist/links.js +1 -1
- package/dist/links.js.map +1 -1
- package/dist/metadata.js +1 -1
- package/dist/metadata.js.map +1 -1
- package/dist/sitemap.js +1 -1
- package/dist/sitemap.js.map +1 -1
- package/dist/toMarkdown.js +1 -1
- package/dist/toMarkdown.js.map +1 -1
- package/package.json +6 -2
package/dist/crawl.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { task } from "@renderinc/sdk/workflows";
|
|
2
|
-
import { fetchUrlImpl } from "./
|
|
2
|
+
import { fetchUrlImpl } from "./fetchCore.js";
|
|
3
3
|
import { extractLinks, extractTitle } from "./html.js";
|
|
4
4
|
import { defaultDeps } from "./client.js";
|
|
5
5
|
import { SCRAPE_RETRY } from "./retry.js";
|
package/dist/crawl.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crawl.js","sourceRoot":"","sources":["../src/crawl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"crawl.js","sourceRoot":"","sources":["../src/crawl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,WAAW,EAAmB,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C,SAAS,MAAM,CAAC,GAAW;IACzB,IAAI,CAAC;QACH,OAAO,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3B,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,SAAS,CAAC;IACnB,CAAC;AACH,CAAC;AAED;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,SAAS,CAC7B,KAAiB,EACjB,OAAmB,WAAW;IAE9B,MAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,IAAI,EAAE,CAAC;IACtC,MAAM,QAAQ,GAAG,KAAK,CAAC,QAAQ,IAAI,IAAI,CAAC;IACxC,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IACzC,MAAM,OAAO,GAAG,IAAI,GAAG,EAAU,CAAC;IAClC,MAAM,KAAK,GAAa,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IACzC,MAAM,KAAK,GAAqC,EAAE,CAAC;IAEnD,OAAO,KAAK,CAAC,MAAM,GAAG,CAAC,IAAI,KAAK,CAAC,MAAM,GAAG,QAAQ,EAAE,CAAC;QACnD,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,EAAG,CAAC;QAC5B,IAAI,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC;YAAE,SAAS;QAChC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAElB,MAAM,GAAG,GAAG,MAAM,YAAY,CAAC,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC,CAAC;QAC5E,IAAI,CAAC,GAAG,CAAC,EAAE;YAAE,SAAS,CAAC,uDAAuD;QAC9E,KAAK,CAAC,IAAI,CAAC,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG,EAAE,KAAK,EAAE,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAE5D,KAAK,MAAM,IAAI,IAAI,YAAY,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;YACnD,IAAI,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC;gBAAE,SAAS;YAChC,IAAI,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,KAAK,SAAS;gBAAE,SAAS;YACrD,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACnB,CAAC;IACH,CAAC;IAED,OAAO,EAAE,KAAK,EAAE,CAAC;AACnB,CAAC;AAED,oEAAoE;AACpE,MAAM,CAAC,MAAM,KAAK,GAAG,IAAI,CACvB,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,EAAE,EAC7C,SAAS,CACV,CAAC"}
|
package/dist/fetch.d.ts
CHANGED
|
@@ -1,11 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import type { FetchInput, FetchResult } from "./types.js";
|
|
3
|
-
/**
|
|
4
|
-
* Raw implementation of scrape.fetch. Throws on 429/5xx so the durable retry
|
|
5
|
-
* policy re-runs the fetch; returns other non-2xx (e.g. 404) to the caller so a
|
|
6
|
-
* genuine client error doesn't burn retries or fail the whole workflow.
|
|
7
|
-
*/
|
|
8
|
-
export declare function fetchUrlImpl(input: FetchInput, deps?: ScrapeDeps): Promise<FetchResult>;
|
|
1
|
+
export { fetchUrlImpl } from "./fetchCore.js";
|
|
9
2
|
/** Fetch a URL and return status + body. */
|
|
10
|
-
export declare const fetchUrl: import("@renderinc/sdk/workflows").TaskFunction<[input: FetchInput, deps?: ScrapeDeps | undefined], FetchResult>;
|
|
3
|
+
export declare const fetchUrl: import("@renderinc/sdk/workflows").TaskFunction<[input: import("./types.js").FetchInput, deps?: import("./client.js").ScrapeDeps | undefined], import("./types.js").FetchResult>;
|
|
11
4
|
//# sourceMappingURL=fetch.d.ts.map
|
package/dist/fetch.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../src/fetch.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fetch.d.ts","sourceRoot":"","sources":["../src/fetch.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,4CAA4C;AAC5C,eAAO,MAAM,QAAQ,kLAGpB,CAAC"}
|
package/dist/fetch.js
CHANGED
|
@@ -1,19 +1,9 @@
|
|
|
1
1
|
import { task } from "@renderinc/sdk/workflows";
|
|
2
|
-
import { isRetryable } from "@render-lab/tasks-core";
|
|
3
|
-
import { defaultDeps } from "./client.js";
|
|
4
2
|
import { SCRAPE_RETRY } from "./retry.js";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
*/
|
|
10
|
-
export async function fetchUrlImpl(input, deps = defaultDeps) {
|
|
11
|
-
const res = await deps.scrape.fetch(input.url, input.headers);
|
|
12
|
-
if (isRetryable(res.status)) {
|
|
13
|
-
throw new Error(`scrape.fetch ${input.url} failed: ${res.status}`);
|
|
14
|
-
}
|
|
15
|
-
return res;
|
|
16
|
-
}
|
|
3
|
+
import { fetchUrlImpl } from "./fetchCore.js";
|
|
4
|
+
// Impl lives in the task-free ./fetchCore module so sibling scrape tasks can
|
|
5
|
+
// reuse it without registering scrape.fetch. Re-exported for backward compat.
|
|
6
|
+
export { fetchUrlImpl } from "./fetchCore.js";
|
|
17
7
|
/** Fetch a URL and return status + body. */
|
|
18
8
|
export const fetchUrl = task({ name: "scrape.fetch", retry: SCRAPE_RETRY }, fetchUrlImpl);
|
|
19
9
|
//# sourceMappingURL=fetch.js.map
|
package/dist/fetch.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch.js","sourceRoot":"","sources":["../src/fetch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAChD,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"fetch.js","sourceRoot":"","sources":["../src/fetch.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,6EAA6E;AAC7E,8EAA8E;AAC9E,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,4CAA4C;AAC5C,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAI,CAC1B,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,YAAY,EAAE,EAC7C,YAAY,CACb,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type ScrapeDeps } from "./client.js";
|
|
2
|
+
import type { FetchInput, FetchResult } from "./types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Raw implementation of scrape.fetch. Throws on 429/5xx so the durable retry
|
|
5
|
+
* policy re-runs the fetch; returns other non-2xx (e.g. 404) to the caller so a
|
|
6
|
+
* genuine client error doesn't burn retries or fail the whole workflow.
|
|
7
|
+
*
|
|
8
|
+
* Lives in this task-free module so the other scrape tasks (crawl, links,
|
|
9
|
+
* metadata, …) can reuse the fetch logic without importing fetch.js and
|
|
10
|
+
* registering scrape.fetch as a side effect of their own subpath.
|
|
11
|
+
*/
|
|
12
|
+
export declare function fetchUrlImpl(input: FetchInput, deps?: ScrapeDeps): Promise<FetchResult>;
|
|
13
|
+
//# sourceMappingURL=fetchCore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchCore.d.ts","sourceRoot":"","sources":["../src/fetchCore.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,KAAK,UAAU,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE1D;;;;;;;;GAQG;AACH,wBAAsB,YAAY,CAChC,KAAK,EAAE,UAAU,EACjB,IAAI,GAAE,UAAwB,GAC7B,OAAO,CAAC,WAAW,CAAC,CAMtB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { isRetryable } from "@render-lab/tasks-core";
|
|
2
|
+
import { defaultDeps } from "./client.js";
|
|
3
|
+
/**
|
|
4
|
+
* Raw implementation of scrape.fetch. Throws on 429/5xx so the durable retry
|
|
5
|
+
* policy re-runs the fetch; returns other non-2xx (e.g. 404) to the caller so a
|
|
6
|
+
* genuine client error doesn't burn retries or fail the whole workflow.
|
|
7
|
+
*
|
|
8
|
+
* Lives in this task-free module so the other scrape tasks (crawl, links,
|
|
9
|
+
* metadata, …) can reuse the fetch logic without importing fetch.js and
|
|
10
|
+
* registering scrape.fetch as a side effect of their own subpath.
|
|
11
|
+
*/
|
|
12
|
+
export async function fetchUrlImpl(input, deps = defaultDeps) {
|
|
13
|
+
const res = await deps.scrape.fetch(input.url, input.headers);
|
|
14
|
+
if (isRetryable(res.status)) {
|
|
15
|
+
throw new Error(`scrape.fetch ${input.url} failed: ${res.status}`);
|
|
16
|
+
}
|
|
17
|
+
return res;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=fetchCore.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchCore.js","sourceRoot":"","sources":["../src/fetchCore.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAmB,MAAM,aAAa,CAAC;AAG3D;;;;;;;;GAQG;AACH,MAAM,CAAC,KAAK,UAAU,YAAY,CAChC,KAAiB,EACjB,OAAmB,WAAW;IAE9B,MAAM,GAAG,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAC9D,IAAI,WAAW,CAAC,GAAG,CAAC,MAAM,CAAC,EAAE,CAAC;QAC5B,MAAM,IAAI,KAAK,CAAC,gBAAgB,KAAK,CAAC,GAAG,YAAY,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC;IACrE,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"}
|
package/dist/links.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { task } from "@renderinc/sdk/workflows";
|
|
2
|
-
import { fetchUrlImpl } from "./
|
|
2
|
+
import { fetchUrlImpl } from "./fetchCore.js";
|
|
3
3
|
import { extractLinks } from "./html.js";
|
|
4
4
|
import { defaultDeps } from "./client.js";
|
|
5
5
|
import { SCRAPE_RETRY } from "./retry.js";
|
package/dist/links.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"links.js","sourceRoot":"","sources":["../src/links.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"links.js","sourceRoot":"","sources":["../src/links.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,WAAW,EAAmB,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,oBAAoB,CACxC,KAAiB,EACjB,OAAmB,WAAW;IAE9B,MAAM,GAAG,GAAG,MAAM,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAC5C,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG,EAAE,KAAK,EAAE,YAAY,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;AAClE,CAAC;AAED,iDAAiD;AACjD,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,CAClC,EAAE,IAAI,EAAE,qBAAqB,EAAE,KAAK,EAAE,YAAY,EAAE,EACpD,oBAAoB,CACrB,CAAC"}
|
package/dist/metadata.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { task } from "@renderinc/sdk/workflows";
|
|
2
|
-
import { fetchUrlImpl } from "./
|
|
2
|
+
import { fetchUrlImpl } from "./fetchCore.js";
|
|
3
3
|
import { extractMetadata } from "./html.js";
|
|
4
4
|
import { defaultDeps } from "./client.js";
|
|
5
5
|
import { SCRAPE_RETRY } from "./retry.js";
|
package/dist/metadata.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.js","sourceRoot":"","sources":["../src/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"metadata.js","sourceRoot":"","sources":["../src/metadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,EAAE,WAAW,EAAmB,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAC3C,KAAiB,EACjB,OAAmB,WAAW;IAE9B,MAAM,GAAG,GAAG,MAAM,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAC5C,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG,EAAE,GAAG,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;AACxD,CAAC;AAED,gDAAgD;AAChD,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,CACrC,EAAE,IAAI,EAAE,wBAAwB,EAAE,KAAK,EAAE,YAAY,EAAE,EACvD,uBAAuB,CACxB,CAAC"}
|
package/dist/sitemap.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { task } from "@renderinc/sdk/workflows";
|
|
2
|
-
import { fetchUrlImpl } from "./
|
|
2
|
+
import { fetchUrlImpl } from "./fetchCore.js";
|
|
3
3
|
import { parseSitemap } from "./html.js";
|
|
4
4
|
import { defaultDeps } from "./client.js";
|
|
5
5
|
import { SCRAPE_RETRY } from "./retry.js";
|
package/dist/sitemap.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sitemap.js","sourceRoot":"","sources":["../src/sitemap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"sitemap.js","sourceRoot":"","sources":["../src/sitemap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,WAAW,EAAmB,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,WAAW,CAC/B,KAAiB,EACjB,OAAmB,WAAW;IAE9B,MAAM,GAAG,GAAG,MAAM,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAC5C,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG,EAAE,IAAI,EAAE,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;AACxD,CAAC;AAED,sDAAsD;AACtD,MAAM,CAAC,MAAM,OAAO,GAAG,IAAI,CACzB,EAAE,IAAI,EAAE,gBAAgB,EAAE,KAAK,EAAE,YAAY,EAAE,EAC/C,WAAW,CACZ,CAAC"}
|
package/dist/toMarkdown.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { task } from "@renderinc/sdk/workflows";
|
|
2
|
-
import { fetchUrlImpl } from "./
|
|
2
|
+
import { fetchUrlImpl } from "./fetchCore.js";
|
|
3
3
|
import { extractTitle, htmlToMarkdown } from "./html.js";
|
|
4
4
|
import { defaultDeps } from "./client.js";
|
|
5
5
|
import { SCRAPE_RETRY } from "./retry.js";
|
package/dist/toMarkdown.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toMarkdown.js","sourceRoot":"","sources":["../src/toMarkdown.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"toMarkdown.js","sourceRoot":"","sources":["../src/toMarkdown.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AACzD,OAAO,EAAE,WAAW,EAAmB,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAG1C;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,cAAc,CAClC,KAAiB,EACjB,OAAmB,WAAW;IAE9B,MAAM,GAAG,GAAG,MAAM,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAC5C,OAAO;QACL,GAAG,EAAE,GAAG,CAAC,GAAG;QACZ,KAAK,EAAE,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC;QAC7B,QAAQ,EAAE,cAAc,CAAC,GAAG,CAAC,IAAI,EAAE,GAAG,CAAC,GAAG,CAAC;KAC5C,CAAC;AACJ,CAAC;AAED,uDAAuD;AACvD,MAAM,CAAC,MAAM,UAAU,GAAG,IAAI,CAC5B,EAAE,IAAI,EAAE,mBAAmB,EAAE,KAAK,EAAE,YAAY,EAAE,EAClD,cAAc,CACf,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@render-lab/tasks-scrape",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Durable web-scrape tasks for Render Workflows: scrape.fetch, scrape.extract.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
".": {
|
|
10
10
|
"types": "./dist/index.d.ts",
|
|
11
11
|
"import": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./*": {
|
|
14
|
+
"types": "./dist/*.d.ts",
|
|
15
|
+
"import": "./dist/*.js"
|
|
12
16
|
}
|
|
13
17
|
},
|
|
14
18
|
"files": [
|
|
@@ -24,7 +28,7 @@
|
|
|
24
28
|
"vitest": "^4.1.0"
|
|
25
29
|
},
|
|
26
30
|
"dependencies": {
|
|
27
|
-
"@render-lab/tasks-core": "0.1.
|
|
31
|
+
"@render-lab/tasks-core": "0.1.3"
|
|
28
32
|
},
|
|
29
33
|
"scripts": {
|
|
30
34
|
"build": "tsc -p tsconfig.json",
|