Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

datalist-interface

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datalist-interface - npm Package Compare versions

Comparing version
1.0.3
to
1.0.4
license

Sorry, the diff of this file is not supported yet

+6
-6

@@ -16,3 +16,3 @@ 'use strict'

/* An interface for a list of items. */
// An interface for a list of items.
function DatalistInterface(values) {

@@ -23,3 +23,3 @@ this.values = []

/* Add all arguments. */
// Add all arguments.
function add(/* values... */) {

@@ -33,3 +33,3 @@ var self = this

/* Remove all arguments. */
// Remove all arguments.
function remove(/* values... */) {

@@ -51,3 +51,3 @@ var values = this.values

/* Whether or not `value` is in context. */
// Whether or not `value` is in context.
function is(value) {

@@ -57,3 +57,3 @@ return this.values.indexOf(value) !== -1

/* Get all values. */
// Get all values.
function all() {

@@ -63,5 +63,5 @@ return this.values.concat()

/* Stringify all values. */
// Stringify all values.
function toString() {
return this.values.toString()
}
{
"name": "datalist-interface",
"version": "1.0.3",
"version": "1.0.4",
"description": "Simple interface for a list functioning as a database",

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

"bugs": "https://github.com/wooorm/datalist-interface/issues",
"author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)",
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)"
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
],

@@ -24,14 +24,14 @@ "files": [

"browserify": "^16.0.0",
"esmangle": "^1.0.0",
"nyc": "^11.0.0",
"nyc": "^14.0.0",
"prettier": "^1.12.1",
"remark-cli": "^5.0.0",
"remark-cli": "^6.0.0",
"remark-preset-wooorm": "^4.0.0",
"tape": "^4.4.0",
"xo": "^0.20.0"
"tinyify": "^2.5.0",
"xo": "^0.24.0"
},
"scripts": {
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
"build-bundle": "browserify index.js -s DatalistInterface > datalist-interface.js",
"build-mangle": "esmangle datalist-interface.js > datalist-interface.min.js",
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
"build-bundle": "browserify . -s DatalistInterface -o datalist-interface.js",
"build-mangle": "browserify . -s DatalistInterface -p tinyify -o datalist-interface.min.js",
"build": "npm run build-bundle && npm run build-mangle",

@@ -59,6 +59,2 @@ "test-api": "node test",

"esnext": false,
"rules": {
"no-var": "off",
"prefer-arrow-callback": "off"
},
"ignores": [

@@ -65,0 +61,0 @@ "datalist-interface.js"

@@ -1,3 +0,8 @@

# datalist-interface [![Build Status][travis-badge]][travis] [![Coverage Status][codecov-badge]][codecov]
# datalist-interface
[![Build][build-badge]][build]
[![Coverage][coverage-badge]][coverage]
[![Downloads][downloads-badge]][downloads]
[![Size][size-badge]][size]
A simple interface for a list.

@@ -129,16 +134,24 @@

[travis-badge]: https://img.shields.io/travis/wooorm/datalist-interface.svg
[build-badge]: https://img.shields.io/travis/wooorm/datalist-interface.svg
[travis]: https://travis-ci.org/wooorm/datalist-interface
[build]: https://travis-ci.org/wooorm/datalist-interface
[codecov-badge]: https://img.shields.io/codecov/c/github/wooorm/datalist-interface.svg
[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/datalist-interface.svg
[codecov]: https://codecov.io/github/wooorm/datalist-interface
[coverage]: https://codecov.io/github/wooorm/datalist-interface
[downloads-badge]: https://img.shields.io/npm/dm/datalist-interface.svg
[downloads]: https://www.npmjs.com/package/datalist-interface
[size-badge]: https://img.shields.io/bundlephobia/minzip/datalist-interface.svg
[size]: https://bundlephobia.com/result?p=datalist-interface
[npm]: https://docs.npmjs.com/cli/install
[license]: LICENSE
[license]: license
[author]: http://wooorm.com
[author]: https://wooorm.com
[add]: #datalistinterfaceaddvalue
(The MIT License)
Copyright (c) 2014 Titus Wormer <tituswormer@gmail.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.