1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Update dependencies and tidy up sentiment

This commit is contained in:
Nick O'Leary 2019-01-28 15:27:40 +00:00
parent e0bb03a53f
commit ceba08a801
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
5 changed files with 8 additions and 45 deletions

View File

@ -24,7 +24,7 @@
} }
], ],
"dependencies": { "dependencies": {
"ajv": "6.6.2", "ajv": "6.7.0",
"basic-auth": "2.0.1", "basic-auth": "2.0.1",
"bcryptjs": "2.4.3", "bcryptjs": "2.4.3",
"body-parser": "1.18.3", "body-parser": "1.18.3",
@ -56,7 +56,7 @@
"node-red-node-feedparser": "^0.1.14", "node-red-node-feedparser": "^0.1.14",
"node-red-node-rbe": "0.2.*", "node-red-node-rbe": "0.2.*",
"node-red-node-sentiment": "^0.1.0", "node-red-node-sentiment": "^0.1.0",
"node-red-node-tail": "^0.0.1", "node-red-node-tail": "^0.0.2",
"node-red-node-twitter": "^1.1.0", "node-red-node-twitter": "^1.1.0",
"nopt": "4.0.1", "nopt": "4.0.1",
"oauth2orize": "1.11.0", "oauth2orize": "1.11.0",
@ -67,10 +67,9 @@
"raw-body": "2.3.3", "raw-body": "2.3.3",
"request": "2.88.0", "request": "2.88.0",
"semver": "5.6.0", "semver": "5.6.0",
"sentiment": "2.1.0",
"uglify-js": "3.4.9", "uglify-js": "3.4.9",
"when": "3.7.8", "when": "3.7.8",
"ws": "6.1.2", "ws": "6.1.3",
"xml2js": "0.4.19" "xml2js": "0.4.19"
}, },
"optionalDependencies": { "optionalDependencies": {
@ -106,7 +105,7 @@
"should": "^8.4.0", "should": "^8.4.0",
"sinon": "1.17.7", "sinon": "1.17.7",
"stoppable": "^1.1.0", "stoppable": "^1.1.0",
"supertest": "3.3.0", "supertest": "3.4.2",
"wdio-chromedriver-service": "^0.1.5", "wdio-chromedriver-service": "^0.1.5",
"wdio-mocha-framework": "^0.6.4", "wdio-mocha-framework": "^0.6.4",
"wdio-spec-reporter": "^0.1.5", "wdio-spec-reporter": "^0.1.5",

View File

@ -32,6 +32,6 @@
"passport-oauth2-client-password": "0.1.2", "passport-oauth2-client-password": "0.1.2",
"passport": "0.4.0", "passport": "0.4.0",
"when": "3.7.8", "when": "3.7.8",
"ws": "6.1.2" "ws": "6.1.3"
} }
} }

View File

@ -1,35 +0,0 @@
<!--
Copyright JS Foundation and other contributors, http://js.foundation
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script type="text/x-red" data-help-name="sentiment">
<p> Analysiert die ausgewählte Eigenschaft aus dem <code>msg</code> Objekt und fügt ein <code>sentiment</code> Objekt hinzu. </p>
<h3> Ausgaben </h3>
<dl class="message-properties">
<dt> sentiment <span class="property-type"> Objekt </span> </dt>
<dd> enthält die resultierende Stimmungslage AFINN-111. </dd>
<dt> sentiment.score <span class="property-type"> Zahl </span> </dt>
<dd> die Sentiment-Bewertung. </dd>
</dl>
<h3> Eingaben </h3>
<dl class="message-properties">
<dt> überschreibt <span class="property-type"> Objekt </span> </dt>
<dd> Ein Objekt mit Wort-Überschreibungen kann angegeben werden- <code> { word:score, ... } </code>. </dd>
</dl>
<h3> Details </h3>
<p> Eine Bewertung größer als Null ist positiv und kleiner als null ist negativ. </p>
<p> Die Bewertung liegt in der Regel im Bereich von -5 bis +5, kann jedoch höher und niedriger sein. </p>
<p>See <a href="https://github.com/thisandagain/sentiment/blob/master/README.md" target="_blank">the Sentiment docs here</a>.</p>
</script>

View File

@ -15,7 +15,7 @@
} }
], ],
"dependencies": { "dependencies": {
"ajv": "6.6.2", "ajv": "6.7.0",
"body-parser": "1.18.3", "body-parser": "1.18.3",
"cheerio": "0.22.0", "cheerio": "0.22.0",
"cookie-parser": "1.4.3", "cookie-parser": "1.4.3",
@ -36,8 +36,7 @@
"on-headers": "1.0.1", "on-headers": "1.0.1",
"raw-body": "2.3.3", "raw-body": "2.3.3",
"request": "2.88.0", "request": "2.88.0",
"sentiment": "2.1.0", "ws": "6.1.3",
"ws": "6.1.2",
"xml2js": "0.4.19" "xml2js": "0.4.19"
} }
} }

View File

@ -43,7 +43,7 @@
"node-red-node-feedparser": "^0.1.14", "node-red-node-feedparser": "^0.1.14",
"node-red-node-rbe": "0.2.*", "node-red-node-rbe": "0.2.*",
"node-red-node-sentiment": "^0.1.0", "node-red-node-sentiment": "^0.1.0",
"node-red-node-tail": "^0.0.1", "node-red-node-tail": "^0.0.2",
"node-red-node-twitter": "^1.1.0", "node-red-node-twitter": "^1.1.0",
"nopt": "4.0.1", "nopt": "4.0.1",
"semver": "5.6.0" "semver": "5.6.0"