Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

is-array-like-x

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-array-like-x - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

4

index.js

@@ -24,3 +24,3 @@ /**

* ES6 isArrayLike module.
* @version 1.0.1
* @version 1.0.2
* @author Xotic750 <Xotic750@gmail.com>

@@ -56,2 +56,4 @@ * @copyright Xotic750

* @example
* var isArrayLike = require('is-array-like-x');
*
* isArrayLike([1, 2, 3]); // true

@@ -58,0 +60,0 @@ * isArrayLike(document.body.children); // true

@@ -25,3 +25,3 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.returnExports = f()}})(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){

* ES6 isArrayLike module.
* @version 1.0.1
* @version 1.0.2
* @author Xotic750 <Xotic750@gmail.com>

@@ -57,2 +57,4 @@ * @copyright Xotic750

* @example
* var isArrayLike = require('is-array-like-x');
*
* isArrayLike([1, 2, 3]); // true

@@ -120,3 +122,3 @@ * isArrayLike(document.body.children); // true

* ES6 isLength module.
* @version 1.0.0
* @version 1.0.2
* @author Xotic750 <Xotic750@gmail.com>

@@ -149,2 +151,4 @@ * @copyright Xotic750

* @example
* var isLength = require('is-length-x');
*
* isLength(3); // true

@@ -151,0 +155,0 @@ * isLength(Number.MIN_VALUE); // false

{
"name": "is-array-like-x",
"version": "1.0.1",
"version": "1.0.2",
"description": "ES6 isArrayLike module.",

@@ -33,3 +33,3 @@ "homepage": "https://github.com/Xotic750/is-array-like-x",

"is-callable": "^1.1.0",
"is-length-x": "^1.0.0"
"is-length-x": "^1.0.2"
},

@@ -47,3 +47,3 @@ "devDependencies": {

"style": "jscs index.js",
"docs": "jsdoc2md --name-format code --module-index-format dl --param-list-format --example-lang js table index.js > README.md",
"docs": "jsdoc2md --name-format code --example-lang js table index.js > README.md",
"build": "browserify -e index.js -o lib/is-array-like-x.js -u 'crypto' -s returnExports",

@@ -50,0 +50,0 @@ "build-uglify": "uglifyjs lib/is-array-like-x.js -o lib/is-array-like-x.min.js --compress unused=false,dead_code=false --keep-fnames --mangle --beautify ascii_only=true,beautify=false --source-map lib/is-array-like-x.map"

@@ -25,3 +25,3 @@ <a name="module_is-array-like-x"></a>

**Version**: 1.0.1
**Version**: 1.0.2
**Author:** Xotic750 <Xotic750@gmail.com>

@@ -38,4 +38,11 @@ **License**: [MIT](&lt;https://opensource.org/licenses/MIT&gt;)

**Returns**: <code>boolean</code> - Returns `true` if subject is array-like, else `false`.
| Param | Type | Description |
| --- | --- | --- |
| subject | <code>\*</code> | The object to be tested. |
**Example**
```js
var isArrayLike = require('is-array-like-x');
isArrayLike([1, 2, 3]); // true

@@ -42,0 +49,0 @@ isArrayLike(document.body.children); // true

Sorry, the diff of this file is not supported yet

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