New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

metascraper

Package Overview
Dependencies
Maintainers
4
Versions
327
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metascraper - npm Package Compare versions

Comparing version 1.0.7 to 2.0.0

index.js

306

CHANGELOG.md

@@ -1,218 +0,96 @@

<a name="1.0.7"></a>
## 1.0.7 (2017-07-13)
<a name="2.0.0"></a>
# 2.0.0 (2017-12-11)
* Add bumped ([7792aa0](https://github.com/ianstormtaylor/metascraper/commit/7792aa0))
* remove makefile ([27340b2](https://github.com/ianstormtaylor/metascraper/commit/27340b2))
* Returns resolved URL rather than requested URL ([f8ab555](https://github.com/ianstormtaylor/metascraper/commit/f8ab555))
* Add anandtech case ([da392f6](https://github.com/microlinkhq/metascraper/commit/da392f6))
* Add arstechnica case ([0c27159](https://github.com/microlinkhq/metascraper/commit/0c27159))
* Add astier case ([fdebba6](https://github.com/microlinkhq/metascraper/commit/fdebba6))
* Add atlasobscura case ([d2a8f22](https://github.com/microlinkhq/metascraper/commit/d2a8f22))
* Add bbc case ([30f2cff](https://github.com/microlinkhq/metascraper/commit/30f2cff))
* Add bench ([57ddb65](https://github.com/microlinkhq/metascraper/commit/57ddb65))
* Add env for testing ([366eda1](https://github.com/microlinkhq/metascraper/commit/366eda1))
* Add favicon support ([f413a31](https://github.com/microlinkhq/metascraper/commit/f413a31))
* Add github case ([f9cb980](https://github.com/microlinkhq/metascraper/commit/f9cb980))
* Add GitLab conf ([fe3df07](https://github.com/microlinkhq/metascraper/commit/fe3df07))
* Add googleblog case ([bb76141](https://github.com/microlinkhq/metascraper/commit/bb76141))
* Add html sanitization ([818a19b](https://github.com/microlinkhq/metascraper/commit/818a19b))
* Add instagram ([2522915](https://github.com/microlinkhq/metascraper/commit/2522915))
* Add issue template ([8967e15](https://github.com/microlinkhq/metascraper/commit/8967e15))
* Add linkedin company profile ([a103ea4](https://github.com/microlinkhq/metascraper/commit/a103ea4))
* Add logo support ([1ad56ae](https://github.com/microlinkhq/metascraper/commit/1ad56ae))
* Add meta and new docs ([96a5601](https://github.com/microlinkhq/metascraper/commit/96a5601))
* Add missing rules ([26d299b](https://github.com/microlinkhq/metascraper/commit/26d299b))
* Add missing timestamp selector ([aebe5ef](https://github.com/microlinkhq/metascraper/commit/aebe5ef))
* add nytimes case ([194a71a](https://github.com/microlinkhq/metascraper/commit/194a71a))
* Add pikabu test ([4a27d08](https://github.com/microlinkhq/metascraper/commit/4a27d08))
* Add prettier ([d93dd39](https://github.com/microlinkhq/metascraper/commit/d93dd39))
* Add req-all dep ([9da03a5](https://github.com/microlinkhq/metascraper/commit/9da03a5))
* Add smart quotes ([61a4574](https://github.com/microlinkhq/metascraper/commit/61a4574))
* Add the guardian case ([1c9068e](https://github.com/microlinkhq/metascraper/commit/1c9068e))
* Add ToC ([d6d7a6c](https://github.com/microlinkhq/metascraper/commit/d6d7a6c))
* Add twitter case ([cd42526](https://github.com/microlinkhq/metascraper/commit/cd42526))
* Add url and html as required options ([a285914](https://github.com/microlinkhq/metascraper/commit/a285914))
* Add vimeo test ([3e9eff2](https://github.com/microlinkhq/metascraper/commit/3e9eff2))
* Add Wikipedia case ([7c37449](https://github.com/microlinkhq/metascraper/commit/7c37449))
* Add wired case ([fefd105](https://github.com/microlinkhq/metascraper/commit/fefd105))
* Add youtube case ([486a964](https://github.com/microlinkhq/metascraper/commit/486a964))
* Automatize snapshots ([d7a640c](https://github.com/microlinkhq/metascraper/commit/d7a640c))
* clean a tags ([aea5787](https://github.com/microlinkhq/metascraper/commit/aea5787))
* Delete migration script ([108e79c](https://github.com/microlinkhq/metascraper/commit/108e79c))
* Extract url helpers into utils ([efd5694](https://github.com/microlinkhq/metascraper/commit/efd5694))
* Fix author ([65de0ce](https://github.com/microlinkhq/metascraper/commit/65de0ce))
* Fix output date ([6c572f9](https://github.com/microlinkhq/metascraper/commit/6c572f9))
* Fix output dates ([5bf8d93](https://github.com/microlinkhq/metascraper/commit/5bf8d93))
* Fix test ([7039590](https://github.com/microlinkhq/metascraper/commit/7039590))
* Fix test ([f58cccd](https://github.com/microlinkhq/metascraper/commit/f58cccd))
* Fix test ([3b04f96](https://github.com/microlinkhq/metascraper/commit/3b04f96))
* Fix test ([6149cde](https://github.com/microlinkhq/metascraper/commit/6149cde))
* Fix typo ([e2138bd](https://github.com/microlinkhq/metascraper/commit/e2138bd))
* Improve author connector ([a8ae1aa](https://github.com/microlinkhq/metascraper/commit/a8ae1aa))
* Improve docs ([9676b93](https://github.com/microlinkhq/metascraper/commit/9676b93))
* Improve get url value ([5020eb5](https://github.com/microlinkhq/metascraper/commit/5020eb5))
* Improve logo detection ([3040379](https://github.com/microlinkhq/metascraper/commit/3040379))
* Improve logo detection ([64d439a](https://github.com/microlinkhq/metascraper/commit/64d439a))
* Merge favicon into logo ([d2d66fb](https://github.com/microlinkhq/metascraper/commit/d2d66fb))
* Merge props correctly ([32b9610](https://github.com/microlinkhq/metascraper/commit/32b9610))
* Migrate from gitlab to travis ([6e6f70a](https://github.com/microlinkhq/metascraper/commit/6e6f70a))
* Pretty ([1892ea5](https://github.com/microlinkhq/metascraper/commit/1892ea5))
* Publisher refactor ([76bb282](https://github.com/microlinkhq/metascraper/commit/76bb282))
* Refactor ([e9df18f](https://github.com/microlinkhq/metascraper/commit/e9df18f))
* Refactor ([cef0f1e](https://github.com/microlinkhq/metascraper/commit/cef0f1e))
* Refactor ([20eee39](https://github.com/microlinkhq/metascraper/commit/20eee39))
* Refactor author ([760b503](https://github.com/microlinkhq/metascraper/commit/760b503))
* Refactor date ([ae355f3](https://github.com/microlinkhq/metascraper/commit/ae355f3))
* Refactor description ([2d1ae48](https://github.com/microlinkhq/metascraper/commit/2d1ae48))
* Refactor image ([6eb017f](https://github.com/microlinkhq/metascraper/commit/6eb017f))
* Refactor testing ([e120498](https://github.com/microlinkhq/metascraper/commit/e120498))
* Refactor testing scaffold ([31e5d02](https://github.com/microlinkhq/metascraper/commit/31e5d02))
* Refactor url ([2337f70](https://github.com/microlinkhq/metascraper/commit/2337f70))
* Remove callback interface ([7a1ef68](https://github.com/microlinkhq/metascraper/commit/7a1ef68))
* Remove debug ([fab5432](https://github.com/microlinkhq/metascraper/commit/fab5432))
* Remove duplicate field ([e3566ff](https://github.com/microlinkhq/metascraper/commit/e3566ff))
* Remove node6 build ([95b9f67](https://github.com/microlinkhq/metascraper/commit/95b9f67))
* Remove non tested lines ([1fcaa50](https://github.com/microlinkhq/metascraper/commit/1fcaa50))
* Remove npmignore ([a24aaa9](https://github.com/microlinkhq/metascraper/commit/a24aaa9))
* Remove unnecessary code ([c19f8ff](https://github.com/microlinkhq/metascraper/commit/c19f8ff))
* Remove whitespaces from title ([b7ea017](https://github.com/microlinkhq/metascraper/commit/b7ea017))
* Rename branding ([a811e7a](https://github.com/microlinkhq/metascraper/commit/a811e7a))
* Rename the-washington-post → washington-post ([9967f1e](https://github.com/microlinkhq/metascraper/commit/9967f1e))
* Setup depdendencies ([40206ca](https://github.com/microlinkhq/metascraper/commit/40206ca))
* Support resolve URL ([dbdba26](https://github.com/microlinkhq/metascraper/commit/dbdba26))
* Support URL ([9bb261d](https://github.com/microlinkhq/metascraper/commit/9bb261d))
* Tweak ([28cf2b9](https://github.com/microlinkhq/metascraper/commit/28cf2b9))
* Tweaks ([1d7ee60](https://github.com/microlinkhq/metascraper/commit/1d7ee60))
* Update ([d509c8a](https://github.com/microlinkhq/metascraper/commit/d509c8a))
* Update dependencies ([dbb54e6](https://github.com/microlinkhq/metascraper/commit/dbb54e6))
* Update deps ([828d908](https://github.com/microlinkhq/metascraper/commit/828d908))
* Update image url ([33d99bf](https://github.com/microlinkhq/metascraper/commit/33d99bf))
* Update license ([84c0588](https://github.com/microlinkhq/metascraper/commit/84c0588))
* Update medium case ([84dbfe5](https://github.com/microlinkhq/metascraper/commit/84dbfe5))
* Update nullable URL's ([cc1d147](https://github.com/microlinkhq/metascraper/commit/cc1d147))
* Update README.md ([e9b8858](https://github.com/microlinkhq/metascraper/commit/e9b8858))
* Use mocha for testing ([07967ca](https://github.com/microlinkhq/metascraper/commit/07967ca))
* WIP ([e3120a2](https://github.com/microlinkhq/metascraper/commit/e3120a2))
* docs(readme): add Greenkeeper badge ([5e92ea7](https://github.com/microlinkhq/metascraper/commit/5e92ea7))
<a name="1.0.7"></a>
## 1.0.7 (2017-07-13)
* Add bumped ([6027e01](https://github.com/ianstormtaylor/metascraper/commit/6027e01))
* remove makefile ([27340b2](https://github.com/ianstormtaylor/metascraper/commit/27340b2))
* Returns resolved URL rather than requested URL ([f8ab555](https://github.com/ianstormtaylor/metascraper/commit/f8ab555))
<a name="1.0.6"></a>
## 1.0.6 (2016-08-15)
* 1.0.6 ([78ec62b](https://github.com/ianstormtaylor/metascraper/commit/78ec62b))
* fix to work in node 4 by transpiling ([898a9be](https://github.com/ianstormtaylor/metascraper/commit/898a9be))
<a name="1.0.5"></a>
## 1.0.5 (2016-07-18)
* 1.0.5 ([6d3e880](https://github.com/ianstormtaylor/metascraper/commit/6d3e880))
* fix support for node 4 ([f49ec35](https://github.com/ianstormtaylor/metascraper/commit/f49ec35))
<a name="1.0.4"></a>
## 1.0.4 (2016-07-08)
* 1.0.4 ([90253c8](https://github.com/ianstormtaylor/metascraper/commit/90253c8))
* remove es6 default argument syntax ([06e09d5](https://github.com/ianstormtaylor/metascraper/commit/06e09d5))
<a name="1.0.3"></a>
## 1.0.3 (2016-06-16)
* 1.0.3 ([3f4624f](https://github.com/ianstormtaylor/metascraper/commit/3f4624f))
<a name="1.0.2"></a>
## 1.0.2 (2016-06-02)
* 1.0.2 ([f284096](https://github.com/ianstormtaylor/metascraper/commit/f284096))
* Update Readme.md ([367680c](https://github.com/ianstormtaylor/metascraper/commit/367680c))
<a name="1.0.1"></a>
## 1.0.1 (2016-06-02)
* 1.0.1 ([6ca224b](https://github.com/ianstormtaylor/metascraper/commit/6ca224b))
* add badge to readme ([cab4ec2](https://github.com/ianstormtaylor/metascraper/commit/cab4ec2))
* add clean make target ([913c06d](https://github.com/ianstormtaylor/metascraper/commit/913c06d))
* remove unused dependencies, fix tests ([13a84e3](https://github.com/ianstormtaylor/metascraper/commit/13a84e3))
<a name="1.0.0"></a>
# 1.0.0 (2016-06-02)
* 1.0.0 ([9d13029](https://github.com/ianstormtaylor/metascraper/commit/9d13029))
* update readme ([ed7d56a](https://github.com/ianstormtaylor/metascraper/commit/ed7d56a))
* update readme ([5cf81a2](https://github.com/ianstormtaylor/metascraper/commit/5cf81a2))
* update readmes ([87c4b5b](https://github.com/ianstormtaylor/metascraper/commit/87c4b5b))
<a name="0.2.6"></a>
## 0.2.6 (2016-06-01)
* 0.2.6 ([d63968e](https://github.com/ianstormtaylor/metascraper/commit/d63968e))
* add comparison readme ([831dc9a](https://github.com/ianstormtaylor/metascraper/commit/831dc9a))
* start adding comparison ([1d3cf35](https://github.com/ianstormtaylor/metascraper/commit/1d3cf35))
* update readme ([88fa88b](https://github.com/ianstormtaylor/metascraper/commit/88fa88b))
* update readme ([b172a46](https://github.com/ianstormtaylor/metascraper/commit/b172a46))
* update readme ([1a73328](https://github.com/ianstormtaylor/metascraper/commit/1a73328))
* update readme ([4c69fed](https://github.com/ianstormtaylor/metascraper/commit/4c69fed))
* update readme ([1a49db7](https://github.com/ianstormtaylor/metascraper/commit/1a49db7))
* update readme ([3b9ea69](https://github.com/ianstormtaylor/metascraper/commit/3b9ea69))
* update readme ([b8b87dd](https://github.com/ianstormtaylor/metascraper/commit/b8b87dd))
* update readme ([a923086](https://github.com/ianstormtaylor/metascraper/commit/a923086))
* update readme ([39a266c](https://github.com/ianstormtaylor/metascraper/commit/39a266c))
* update readme ([7164f70](https://github.com/ianstormtaylor/metascraper/commit/7164f70))
* update readme ([1176aca](https://github.com/ianstormtaylor/metascraper/commit/1176aca))
* update readme ([e52dd3b](https://github.com/ianstormtaylor/metascraper/commit/e52dd3b))
* update readme ([96b8e7f](https://github.com/ianstormtaylor/metascraper/commit/96b8e7f))
* update readme ([39cb7bf](https://github.com/ianstormtaylor/metascraper/commit/39cb7bf))
* update readme ([7e8c5e0](https://github.com/ianstormtaylor/metascraper/commit/7e8c5e0))
* update readme ([173785c](https://github.com/ianstormtaylor/metascraper/commit/173785c))
* update readme ([a9f2262](https://github.com/ianstormtaylor/metascraper/commit/a9f2262))
* update readme ([903be5e](https://github.com/ianstormtaylor/metascraper/commit/903be5e))
* update readme ([45bdce8](https://github.com/ianstormtaylor/metascraper/commit/45bdce8))
* update readme ([648bb5c](https://github.com/ianstormtaylor/metascraper/commit/648bb5c))
* update readme ([876a06f](https://github.com/ianstormtaylor/metascraper/commit/876a06f))
* update readme ([f47abeb](https://github.com/ianstormtaylor/metascraper/commit/f47abeb))
* update readme ([0618071](https://github.com/ianstormtaylor/metascraper/commit/0618071))
* update readme ([49ad85e](https://github.com/ianstormtaylor/metascraper/commit/49ad85e))
* update readme ([12d5947](https://github.com/ianstormtaylor/metascraper/commit/12d5947))
* update readme ([9a9e53a](https://github.com/ianstormtaylor/metascraper/commit/9a9e53a))
* update readme ([1ddbcf3](https://github.com/ianstormtaylor/metascraper/commit/1ddbcf3))
<a name="0.2.5"></a>
## 0.2.5 (2016-05-27)
* 0.2.5 ([3db268d](https://github.com/ianstormtaylor/metascraper/commit/3db268d))
* add improvement to date rule ([166ef14](https://github.com/ianstormtaylor/metascraper/commit/166ef14))
* add test case ([6b096c6](https://github.com/ianstormtaylor/metascraper/commit/6b096c6))
* first stab at comparison script, not working yet ([e3e5f58](https://github.com/ianstormtaylor/metascraper/commit/e3e5f58))
<a name="0.2.4"></a>
## 0.2.4 (2016-05-27)
* 0.2.4 ([67240ce](https://github.com/ianstormtaylor/metascraper/commit/67240ce))
* change strict author regex to be more inclusive ([b484463](https://github.com/ianstormtaylor/metascraper/commit/b484463))
<a name="0.2.3"></a>
## 0.2.3 (2016-05-27)
* 0.2.3 ([416b59d](https://github.com/ianstormtaylor/metascraper/commit/416b59d))
* add url support ([32eec99](https://github.com/ianstormtaylor/metascraper/commit/32eec99))
<a name="0.2.2"></a>
## 0.2.2 (2016-05-26)
* 0.2.2 ([bcdbf03](https://github.com/ianstormtaylor/metascraper/commit/bcdbf03))
* 0.2.2 ([df20b39](https://github.com/ianstormtaylor/metascraper/commit/df20b39))
* add more test cases, improve rules ([db930e6](https://github.com/ianstormtaylor/metascraper/commit/db930e6))
* improve author parsing ([05ef3e4](https://github.com/ianstormtaylor/metascraper/commit/05ef3e4))
* improve publisher and title rules ([15543b3](https://github.com/ianstormtaylor/metascraper/commit/15543b3))
* improve publisher rules ([7dc32da](https://github.com/ianstormtaylor/metascraper/commit/7dc32da))
* improve rules ([bfeb5b4](https://github.com/ianstormtaylor/metascraper/commit/bfeb5b4))
* update history ([77f0eae](https://github.com/ianstormtaylor/metascraper/commit/77f0eae))
<a name="0.2.1"></a>
## 0.2.1 (2016-05-26)
* 0.2.1 ([7a887b6](https://github.com/ianstormtaylor/metascraper/commit/7a887b6))
* add more test cases, some still not passing ([5faa0a5](https://github.com/ianstormtaylor/metascraper/commit/5faa0a5))
* add more tests ([99f995d](https://github.com/ianstormtaylor/metascraper/commit/99f995d))
* improve date parsing ([a8048fa](https://github.com/ianstormtaylor/metascraper/commit/a8048fa))
* improve image parsing ([337bfe0](https://github.com/ianstormtaylor/metascraper/commit/337bfe0))
* improve publisher parsing ([99f00cc](https://github.com/ianstormtaylor/metascraper/commit/99f00cc))
<a name="0.2.0"></a>
# 0.2.0 (2016-05-26)
* 0.2.0 ([a51227c](https://github.com/ianstormtaylor/metascraper/commit/a51227c))
* allow rules to be functions, skip empty strings, add tests ([314ceb7](https://github.com/ianstormtaylor/metascraper/commit/314ceb7))
* cleanup test directory structure ([3bef7d2](https://github.com/ianstormtaylor/metascraper/commit/3bef7d2))
* fix comment ([a77ab8e](https://github.com/ianstormtaylor/metascraper/commit/a77ab8e))
* remove unnecessary import in browser tests ([b4bbed2](https://github.com/ianstormtaylor/metascraper/commit/b4bbed2))
* update readme ([8a558cb](https://github.com/ianstormtaylor/metascraper/commit/8a558cb))
* update readme ([0d134d6](https://github.com/ianstormtaylor/metascraper/commit/0d134d6))
* update readme ([39d33b7](https://github.com/ianstormtaylor/metascraper/commit/39d33b7))
* update readme ([4228521](https://github.com/ianstormtaylor/metascraper/commit/4228521))
* update readme ([dfc14c7](https://github.com/ianstormtaylor/metascraper/commit/dfc14c7))
* update readme ([0a59835](https://github.com/ianstormtaylor/metascraper/commit/0a59835))
<a name="0.1.1"></a>
## 0.1.1 (2016-05-26)
* 0.1.1 ([ba0200d](https://github.com/ianstormtaylor/metascraper/commit/ba0200d))
<a name="0.1.0"></a>
# 0.1.0 (2016-05-26)
* 0.1.0 ([5bebadb](https://github.com/ianstormtaylor/metascraper/commit/5bebadb))
* complete refactor ([ac41770](https://github.com/ianstormtaylor/metascraper/commit/ac41770))
<a name="0.0.2"></a>
## 0.0.2 (2016-05-25)
* 0.0.2 ([4b755d9](https://github.com/ianstormtaylor/metascraper/commit/4b755d9))
* split up browser/server and add browser tests ([d6c6602](https://github.com/ianstormtaylor/metascraper/commit/d6c6602))
* update readme ([29fc242](https://github.com/ianstormtaylor/metascraper/commit/29fc242))
<a name="0.0.1"></a>
## 0.0.1 (2016-05-25)
* 0.0.1 ([1fcbb04](https://github.com/ianstormtaylor/metascraper/commit/1fcbb04))
* add readme ([c707794](https://github.com/ianstormtaylor/metascraper/commit/c707794))
* first commit ([968f289](https://github.com/ianstormtaylor/metascraper/commit/968f289))
* fix screenshot ([173da08](https://github.com/ianstormtaylor/metascraper/commit/173da08))
* update readme ([6886ce3](https://github.com/ianstormtaylor/metascraper/commit/6886ce3))
* update readme and exports ([cbfe6cd](https://github.com/ianstormtaylor/metascraper/commit/cbfe6cd))
{
"name": "metascraper",
"description": "A library to easily scrape metadata from an article on the web using Open Graph metadata, regular HTML metadata, and series of fallbacks.",
"homepage": "https://github.com/ianstormtaylor/metascraper#readme",
"version": "1.0.7",
"main": "./dist/index.js",
"homepage": "https://metascraper.js.org",
"version": "2.0.0",
"main": "index.js",
"author": {
"email": "ian@ianstormtaylor.com",
"name": "Ian Storm Taylor",
"url": "https://github.com/ianstormtaylor"
},
"contributors": [
{
"name": "Kiko Beats",
"email": "josefrancisco.verdu@gmail.com",
"url": "https://github.com/Kikobeats"
}
],
"repository": {
"type": "git",
"url": "git://github.com/ianstormtaylor/metascraper.git"
"url": "git+https://github.com/microlinkhq/metascraper.git"
},
"bugs": {
"url": "https://github.com/ianstormtaylor/metascraper/issues"
"url": "https://github.com/microlinkhq/metascraper/issues"
},

@@ -54,43 +66,67 @@ "keywords": [

"dependencies": {
"cheerio": "^0.20.0",
"chrono-node": "^1.2.3",
"is-isodate": "0.0.1",
"is-url": "^1.2.1",
"popsicle": "^6.2.0",
"to-title-case": "^1.0.0"
"async": "~2.6.0",
"cheerio": "~1.0.0-rc.2",
"chrono-node": "~1.3.5",
"condense-whitespace": "~1.0.0",
"is-relative-url": "~2.0.0",
"isostring": "0.0.1",
"lodash": "~4.17.4",
"normalize-url": "~2.0.0",
"req-all": "~1.0.0",
"sanitize-html": "~1.16.1",
"smartquotes": "~2.3.1",
"to-title-case": "~1.0.0",
"url-regex": "~4.1.1"
},
"devDependencies": {
"babel-cli": "^6.9.0",
"babel-core": "^6.9.0",
"babel-polyfill": "^6.9.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.5.0",
"babelify": "^7.3.0",
"browserify": "^13.0.1",
"html-metadata": "^1.4.1",
"metaphor": "^2.1.0",
"mkdirp": "^0.5.1",
"mocha": "^2.5.2",
"mocha-phantomjs": "^4.0.2",
"node-metainspector": "^1.3.0",
"np": "^2.9.0",
"npm-run-all": "^2.3.0",
"open-graph-scraper": "^2.1.0",
"rimraf": "^2.5.2",
"source-map-support": "^0.4.0",
"unfluff": "^1.0.0"
"coveralls": "latest",
"git-dirty": "latest",
"got": "latest",
"html-metadata": "latest",
"husky": "latest",
"json-future": "latest",
"lint-staged": "latest",
"mkdirp": "latest",
"mocha": "latest",
"node-metainspector": "latest",
"nyc": "latest",
"open-graph-scraper": "latest",
"popsicle": "latest",
"prettier-standard": "latest",
"rimraf": "latest",
"should": "latest",
"snap-shot": "latest",
"standard": "latest",
"standard-markdown": "latest",
"unfluff": "latest"
},
"engines": {
"node": ">= 8"
},
"files": [
"index.js",
"src"
],
"scripts": {
"build": "npm-run-all build:dist build:tests",
"build:dist": "babel ./lib --out-dir ./dist",
"build:tests": "browserify ./test/browser.js --transform babelify --outfile ./test/support/build.js",
"clean": "rm -rf ./dist ./node_modules ./test/support/build.js",
"compare": "node ./support/comparison",
"prepublish": "npm run build:dist",
"release": "np",
"test": "npm-run-all build tests:server tests:browser",
"tests:browser": "mocha-phantomjs --reporter spec --timeout 5000 ./test/support/browser.html",
"tests:server": "mocha --reporter spec --timeout 5000 ./test/server"
"clean": "rm -rf node_modules",
"coveralls": "nyc report --reporter=text-lcov | coveralls",
"lint": "standard-markdown && standard",
"precommit": "lint-staged",
"pretest": "npm run lint",
"pretty": "prettier-standard index.js {test,src}/**/*.js --single-quote",
"test": "TZ=UTC NODE_ENV=test nyc mocha test"
},
"license": "MIT"
"license": "MIT",
"lint-staged": {
"*.js": [
"prettier-standard",
"git add"
]
},
"standard": {
"globals": [
"describe",
"it"
]
}
}
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