-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
99 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
const yellow = (str) => `\u001b[33m${str}\u001b[39m` | ||
const log = process.env.VITE_CJS_TRACE ? console.trace : console.warn | ||
log(yellow(`The CJS version of x-crawl has been deprecated.`)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
module.exports = require('./dist/x-crawl.cjs.js') | ||
export * from './dist/x-crawl' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,50 @@ | ||
{ | ||
"name": "x-crawl", | ||
"version": "9.0.0", | ||
"version": "10.0.0", | ||
"author": "coderHXL", | ||
"description": "x-crawl is a flexible Node.js multifunctional crawler library.", | ||
"description": "x-crawl is a flexible Node.js AI-assisted crawler library.", | ||
"license": "MIT", | ||
"keywords": [ | ||
"nodejs", | ||
"typescript", | ||
"javascript", | ||
"crawl", | ||
"crawler", | ||
"spider", | ||
"fingerprint", | ||
"flexible", | ||
"multifunction" | ||
], | ||
"homepage": "https://github.com/coder-hxl/x-crawl/tree/main/publish", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/coder-hxl/x-crawl" | ||
}, | ||
"main": "index.js", | ||
"types": "dist/x-crawl.d.ts", | ||
"type": "module", | ||
"types": "./dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"import": { | ||
"types": "./dist/index.d.mts", | ||
"default": "./index.mjs" | ||
}, | ||
"require": { | ||
"types": "./dist/index.d.ts", | ||
"default": "./index.js" | ||
} | ||
"types": "./dist/index.d.ts", | ||
"import": "./index.js", | ||
"require": "./index.cjs" | ||
} | ||
}, | ||
"keywords": [ | ||
"x-crawl", | ||
"nodejs", | ||
"typescript", | ||
"ts", | ||
"javascript", | ||
"crawl", | ||
"crawler", | ||
"spider", | ||
"ai", | ||
"ai assisted", | ||
"ai crawl", | ||
"flexible", | ||
"control page", | ||
"rotate agents", | ||
"fingerprint", | ||
"multifunction" | ||
], | ||
"engines": { | ||
"node": ">=18.0.0" | ||
}, | ||
"dependencies": { | ||
"chalk": "4.1.2", | ||
"chalk": "5.3.0", | ||
"https-proxy-agent": "^7.0.4", | ||
"openai": "^4.33.0", | ||
"ora": "^8.0.1", | ||
"puppeteer": "22.5.0" | ||
} | ||
} |