diff --git a/dist/headline-parser.2.0.4.js b/dist/headline-parser.2.0.4.js new file mode 100644 index 0000000..052d0f3 --- /dev/null +++ b/dist/headline-parser.2.0.4.js @@ -0,0 +1 @@ +var ehp=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}([function(e,t){const r=function(e,t,r){for(var n=0;nt.count?-1:e.count-1)u[t].count++;else{let t={word:e[i],count:1};u.push(t)}}u.sort(n);for(let e=0;e0&&(f=f.slice(0,o)),f}}}]); \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 6983151..a671102 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "eklem-headline-parser", - "version": "2.0.2", + "version": "2.0.4", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -6544,9 +6544,9 @@ } }, "stopword": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/stopword/-/stopword-0.3.2.tgz", - "integrity": "sha512-TN55Gl2rHC0voOFdiC/6ksEJb9i8pNOkKEFMiVvlNhC81CEMRoQqFRxi9F8fKaSauzMatD3wtP0Eb/wzvG6VSA==" + "version": "0.3.5", + "resolved": "https://registry.npmjs.org/stopword/-/stopword-0.3.5.tgz", + "integrity": "sha512-PCuSvR3JNHwRuURj2hC7XNg+qz7XJIURKquQdbmKKl3L42gUEVckykp72zszPo8OnF4iv7I1QSHFMN7naJ6t7A==" }, "stream-browserify": { "version": "2.0.2", diff --git a/package.json b/package.json index 5bd5f0e..37ff024 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eklem-headline-parser", - "version": "2.0.3", + "version": "2.0.4", "description": "Determines the most relevant keywords from an article headline", "main": "index.js", "scripts": { @@ -28,7 +28,7 @@ }, "homepage": "https://github.com/eklem/eklem-headline-parser", "dependencies": { - "stopword": "^0.3.2" + "stopword": "^0.3.5" }, "devDependencies": { "glob": "7.1.6",