From e2144c2f3564fd48ccd455722932bc8d1fe04dc5 Mon Sep 17 00:00:00 2001 From: Youngsoo Choi Date: Thu, 15 Apr 2021 21:48:42 -0700 Subject: [PATCH] fixup! [DeviceHome] Revmoe duplicated libraries The missing isarray is added. Change-Id: I1d40f8b1196565b7661a5a83bcf1c43277e8f5c7 Signed-off-by: Youngsoo Choi --- device_home/node_modules/isarray/LICENSE | 21 +++++++ device_home/node_modules/isarray/README.md | 38 +++++++++++++ device_home/node_modules/isarray/index.js | 5 ++ device_home/node_modules/isarray/package.json | 79 +++++++++++++++++++++++++++ 4 files changed, 143 insertions(+) create mode 100644 device_home/node_modules/isarray/LICENSE create mode 100644 device_home/node_modules/isarray/README.md create mode 100644 device_home/node_modules/isarray/index.js create mode 100644 device_home/node_modules/isarray/package.json diff --git a/device_home/node_modules/isarray/LICENSE b/device_home/node_modules/isarray/LICENSE new file mode 100644 index 0000000..de32266 --- /dev/null +++ b/device_home/node_modules/isarray/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2013 Julian Gruber + +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. diff --git a/device_home/node_modules/isarray/README.md b/device_home/node_modules/isarray/README.md new file mode 100644 index 0000000..3e160b2 --- /dev/null +++ b/device_home/node_modules/isarray/README.md @@ -0,0 +1,38 @@ + +# isarray + +`Array#isArray` for older browsers and deprecated Node.js versions. + +[![build status](https://secure.travis-ci.org/juliangruber/isarray.svg)](http://travis-ci.org/juliangruber/isarray) +[![downloads](https://img.shields.io/npm/dm/isarray.svg)](https://www.npmjs.org/package/isarray) + +[![browser support](https://ci.testling.com/juliangruber/isarray.png) +](https://ci.testling.com/juliangruber/isarray) + +__Just use Array.isArray directly__, unless you need to support those older versions. + +## Usage + +```js +var isArray = require('isarray'); + +console.log(isArray([])); // => true +console.log(isArray({})); // => false +``` + +## Installation + +With [npm](https://npmjs.org) do + +```bash +$ npm install isarray +``` + +Then bundle for the browser with +[browserify](https://github.com/substack/node-browserify). + +## Sponsors + +This module is proudly supported by my [Sponsors](https://github.com/juliangruber/sponsors)! + +Do you want to support modules like this to improve their quality, stability and weigh in on new features? Then please consider donating to my [Patreon](https://www.patreon.com/juliangruber). Not sure how much of my modules you're using? Try [feross/thanks](https://github.com/feross/thanks)! diff --git a/device_home/node_modules/isarray/index.js b/device_home/node_modules/isarray/index.js new file mode 100644 index 0000000..a57f634 --- /dev/null +++ b/device_home/node_modules/isarray/index.js @@ -0,0 +1,5 @@ +var toString = {}.toString; + +module.exports = Array.isArray || function (arr) { + return toString.call(arr) == '[object Array]'; +}; diff --git a/device_home/node_modules/isarray/package.json b/device_home/node_modules/isarray/package.json new file mode 100644 index 0000000..1bce0ae --- /dev/null +++ b/device_home/node_modules/isarray/package.json @@ -0,0 +1,79 @@ +{ + "_args": [ + [ + "isarray@2.0.5", + "/opt/source/offload.js" + ] + ], + "_from": "isarray@2.0.5", + "_id": "isarray@2.0.5", + "_inBundle": false, + "_integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", + "_location": "/qrcode/isarray", + "_phantomChildren": {}, + "_requested": { + "type": "version", + "registry": true, + "raw": "isarray@2.0.5", + "name": "isarray", + "escapedName": "isarray", + "rawSpec": "2.0.5", + "saveSpec": null, + "fetchSpec": "2.0.5" + }, + "_requiredBy": [ + "/qrcode" + ], + "_resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", + "_spec": "2.0.5", + "_where": "/opt/source/offload.js", + "author": { + "name": "Julian Gruber", + "email": "mail@juliangruber.com", + "url": "http://juliangruber.com" + }, + "bugs": { + "url": "https://github.com/juliangruber/isarray/issues" + }, + "dependencies": {}, + "description": "Array#isArray for older browsers", + "devDependencies": { + "tape": "~2.13.4" + }, + "files": [ + "index.js" + ], + "homepage": "https://github.com/juliangruber/isarray", + "keywords": [ + "browser", + "isarray", + "array" + ], + "license": "MIT", + "main": "index.js", + "name": "isarray", + "repository": { + "type": "git", + "url": "git://github.com/juliangruber/isarray.git" + }, + "scripts": { + "test": "tape test.js" + }, + "testling": { + "files": "test.js", + "browsers": [ + "ie/8..latest", + "firefox/17..latest", + "firefox/nightly", + "chrome/22..latest", + "chrome/canary", + "opera/12..latest", + "opera/next", + "safari/5.1..latest", + "ipad/6.0..latest", + "iphone/6.0..latest", + "android-browser/4.2..latest" + ] + }, + "version": "2.0.5" +} -- 2.7.4