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

2ch

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

2ch - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

11

lib/2ch/message.js

@@ -13,2 +13,4 @@ (function() {

this.body = body.trim();
this._over1000 = false;
this._abone = false;
if (dateAndId === 'Over 1000 Thread') {

@@ -18,2 +20,6 @@ this.postedAt = moment();

this._over1000 = true;
} else if (dateAndId === 'あぼーん') {
this.postedAt = moment();
this.tripId = '';
this._abone = true;
} else {

@@ -23,3 +29,2 @@ strs = dateAndId.split(' ');

this.tripId = strs[2].replace(/^ID:/, '');
this._over1000 = false;
}

@@ -32,2 +37,6 @@ }

Message.prototype.isAboneMessage = function() {
return this._abone;
};
return Message;

@@ -34,0 +43,0 @@

4

package.json
{
"name": "2ch",
"description": "A JavaScript library for comfortable 2ch watching.",
"version": "0.1.2",
"version": "0.1.3",
"homepage": "https://github.com/shiwano/2ch",

@@ -54,3 +54,3 @@ "author": {

},
"keywords": []
"keywords": ["2ch"]
}

@@ -136,2 +136,3 @@ # 2ch [![Build Status](https://secure.travis-ci.org/shiwano/2ch.png?branch=master)](http://travis-ci.org/shiwano/2ch)

## Release History
* 2013-11-20   v0.1.3   Fix deleted messages bug.
* 2013-09-14   v0.1.2   Remove cheerio.

@@ -138,0 +139,0 @@ * 2013-06-19   v0.1.1   Modified it.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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