Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

crawler-company

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

crawler-company - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json

@@ -8,3 +8,3 @@ {

"name": "crawler-company",
"version": "1.0.0",
"version": "1.0.1",
"description": "crawler company",

@@ -11,0 +11,0 @@ "main": "index.js",

# crawler-company
Crawler company is a web crawler
### Warning: This Module Is Not Well Tested!
### Usage

@@ -9,4 +11,10 @@

```
import { Company, Office} from 'crawler-company';
class UrlOffice extends Office {
constructor(name:string){
super(name)
}
}
```

@@ -53,4 +53,4 @@ import { PriorityQueue} from './PriorityQueue';

}
protected processor(doc:object,dispatch:{(doc:object):void;},drop:{():void;}):void {
process.nextTick(dispatch.bind(this, doc));
protected processor(doc:object,dispatch:{(name:string,data:object):void;},drop:{(doc:any):void;}):void {
drop({message:'no where to dispatch'});
}

@@ -61,6 +61,6 @@ private dispatch(name:string,data:object={}):void {

}
protected dropHandler(doc:object):void {
protected dropHandler(doc:any):void {
console.log(this.getName(),'droped one doc',doc);
}
private drop(doc:object):void {
private drop(doc:any):void {
this.dropHandler(doc);

@@ -67,0 +67,0 @@ this.concurrentDecrease();

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