Comparing version 1.0.0 to 2.0.0
'use strict'; | ||
var afinn = require('afinn-111'); | ||
var afinn = require('afinn-165'); | ||
var has = require('has'); | ||
@@ -5,0 +5,0 @@ var emoji = require('./emoji'); |
{ | ||
"name": "polarity", | ||
"version": "1.0.0", | ||
"version": "2.0.0", | ||
"description": "Detect the polarity (sentiment) of text", | ||
@@ -29,3 +29,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"afinn-111": "^1.1.0", | ||
"afinn-165": "^1.0.0", | ||
"has": "^1.0.1" | ||
@@ -37,3 +37,3 @@ }, | ||
"esmangle": "^1.0.1", | ||
"gemoji": "^2.0.1", | ||
"gemoji": "^4.0.0", | ||
"nyc": "^10.0.0", | ||
@@ -53,3 +53,3 @@ "remark-cli": "^2.1.0", | ||
"test-api": "node test", | ||
"test-coverage": "nyc --reporter lcov tape test.js", | ||
"test-coverage": "nyc --reporter lcov tape test/index.js", | ||
"test": "npm run build && npm run lint && npm run test-api" | ||
@@ -56,0 +56,0 @@ }, |
# polarity [![Build Status][travpolarity]][travis] [![Coverage Status][codecov-badge]][codecov] | ||
Detect the polarity of text, based on [**afinn-111**][afinn] and | ||
Detect the polarity of text, based on [**afinn-165**][afinn] and | ||
[**emoji-emotion**][emoji]. | ||
@@ -108,3 +108,3 @@ | ||
[afinn]: https://github.com/wooorm/afinn-111 | ||
[afinn]: https://github.com/wooorm/afinn-165 | ||
@@ -111,0 +111,0 @@ [emoji]: https://github.com/wooorm/emoji-emotion |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8631
0
+ Addedafinn-165@^1.0.0
+ Addedafinn-165@1.0.4(transitive)
- Removedafinn-111@^1.1.0
- Removedafinn-111@1.1.4(transitive)