Socket
Socket
Sign inDemoInstall

dale-chall

Package Overview
Dependencies
1
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.2.0

data/dale-chall.txt

19

index.js
'use strict';
var words, Interface;
/**
* Dependencies.
*/
words = require('./data/dale-chall.json');
var Interface;
Interface = require('datalist-interface');
/**
* Data.
*/
var words;
words = require('./data/dale-chall.json');
/**
* Expose dale-chall.
*/
module.exports = new Interface(words);

22

package.json
{
"name": "dale-chall",
"version": "0.1.0",
"version": "0.2.0",
"description": "List of familiar American-English words: The New Dale-Chall (1995)",

@@ -13,3 +13,3 @@ "license": "MIT",

"dependencies": {
"datalist-interface": "^0.0.1"
"datalist-interface": "^0.1.0"
},

@@ -24,3 +24,3 @@ "repository": {

"istanbul": "^0.3.0",
"jscs": "^1.5.0",
"jscs": "^1.7.0",
"mocha": "^1.20.0",

@@ -31,15 +31,15 @@ "plain-text-data-to-json": "^0.1.0",

"scripts": {
"test": "node_modules/.bin/_mocha --reporter spec --check-leaks -u exports spec/dale-chall.spec.js",
"test-travis": "node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- --reporter spec --check-leaks -u exports spec/dale-chall.spec.js",
"test": "node_modules/.bin/_mocha --reporter spec --check-leaks -u exports test.js",
"test-travis": "node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- --reporter spec --check-leaks -u exports test.js",
"lint": "npm run lint-api && npm run lint-test && npm run lint-style",
"lint-api": "node_modules/.bin/eslint index.js script/scrape-data.js script/build-data.js script/build-supported-words.js --env node --env browser --rule 'quotes: [2, single]'",
"lint-test": "node_modules/.bin/eslint spec/dale-chall.spec.js --env node --env mocha --rule 'quotes: [2, single]'",
"lint-style": "node_modules/.bin/jscs index.js script/scrape-data.js script/build-data.js script/build-supported-words.js spec/dale-chall.spec.js --reporter=inline",
"lint-api": "node_modules/.bin/eslint index.js script/scrape-data.js script/build-data.js script/build-support.js --env node --env browser --rule 'quotes: [2, single]'",
"lint-test": "node_modules/.bin/eslint test.js --env node --env mocha --rule 'quotes: [2, single]'",
"lint-style": "node_modules/.bin/jscs index.js script/scrape-data.js script/build-data.js script/build-support.js test.js --reporter=inline",
"scrape-data": "node script/scrape-data.js",
"build-data": "node script/build-data.js",
"build-supported-words": "node script/build-supported-words.js",
"coverage": "node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -- spec/dale-chall.spec.js",
"prepublish": "npm run scrape-data && npm run build-data && npm run build-supported-words",
"build-support": "node script/build-support.js",
"coverage": "node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -- test.js",
"prepublish": "npm run scrape-data && npm run build-data && npm run build-support",
"make": "npm run lint && npm run coverage"
}
}

@@ -30,7 +30,5 @@ # dale-chall [![Build Status](https://travis-ci.org/wooorm/dale-chall.svg?branch=master)](https://travis-ci.org/wooorm/dale-chall) [![Coverage Status](https://img.shields.io/coveralls/wooorm/dale-chall.svg)](https://coveralls.io/r/wooorm/dale-chall?branch=master)

daleChall.add('unicorn');
daleChall.is('unicorn'); // true
daleChall.add('unicorn').is('unicorn'); // true
daleChall.remove('unicorn');
daleChall.is('unicorn'); // false
daleChall.remove('unicorn').is('unicorn'); // false
```

@@ -37,0 +35,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc