New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

crawler-ai-analysis

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crawler-ai-analysis - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

.eslintrc

4

package.json
{
"name": "crawler-ai-analysis",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

@@ -8,3 +8,3 @@ "main": "built/app.js",

"test": "echo \"Error: no test specified\" && exit 1",
"built": "babel -d built/ src/ "
"built": "babel -s -d built/ src/ "
},

@@ -11,0 +11,0 @@ "repository": {

@@ -5,14 +5,18 @@ import Segment from "segment";

export default (options) => {
const segment = new Segment();
const segment = new Segment();
segment.useDefault();
// .loadStopwordDict(path.join(__dirname, "words", 'stopword.txt'));
segment.useDefault();
// .loadStopwordDict(path.join(__dirname, "words", 'stopword.txt'));
return async(ctx, next) => {
ctx.queueItem.aiAnalysisResult = segment.doSegment(ctx.queueItem.responseBodyText || "", {
stripPunctuation: true
});
return async(ctx, next) => {
if (!ctx.queueItem) {
await next();
}
await next();
};
}
ctx.queueItem.aiAnalysisResult = segment.doSegment(ctx.queueItem.responseBodyText || "", {
stripPunctuation: true
});
await next();
};
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc