From dba9d2e58dfd7bffa1daedab2290e603fc2bfca0 Mon Sep 17 00:00:00 2001 From: Xavier Guimard <yadd@debian.org> Date: Mon, 21 Jan 2019 19:06:50 +0100 Subject: [PATCH] Remove isobject component --- debian/control | 3 +- debian/copyright | 4 -- debian/gbp.conf | 4 -- debian/install | 2 - debian/watch | 5 +- isobject/LICENSE | 21 -------- isobject/README.md | 122 ------------------------------------------ isobject/index.d.ts | 5 -- isobject/index.js | 12 ----- isobject/package.json | 74 ------------------------- 10 files changed, 3 insertions(+), 249 deletions(-) delete mode 100644 isobject/LICENSE delete mode 100644 isobject/README.md delete mode 100644 isobject/index.d.ts delete mode 100644 isobject/index.js delete mode 100644 isobject/package.json diff --git a/debian/control b/debian/control index 0276b9a..d5f5be4 100644 --- a/debian/control +++ b/debian/control @@ -6,6 +6,7 @@ Priority: optional Build-Depends: debhelper (>= 12~), dh-buildinfo, nodejs, + node-isobject, node-micromatch, node-minimist, mocha @@ -17,8 +18,8 @@ Homepage: https://github.com/jonschlinkert/get-value Package: node-get-value Architecture: all Depends: ${misc:Depends}, + node-isobject, nodejs -Provides: node-isobject (= 3.0.1-1) Description: Use property paths to get a nested value from an object Use property paths (`a.b.c`) to get a nested value from an object . diff --git a/debian/copyright b/debian/copyright index d3aff14..d1b7f7e 100644 --- a/debian/copyright +++ b/debian/copyright @@ -7,10 +7,6 @@ Files: * Copyright: 2014-2018 Jon Schlinkert License: Expat -Files: isobject/* -Copyright: 2014-2017, Jon Schlinkert -License: Expat - Files: debian/* Copyright: 2016 Sruthi Chandran <srud@disroot.org> 2019 Xavier Guimard <yadd@debian.org> diff --git a/debian/gbp.conf b/debian/gbp.conf index e5d3dbe..8552352 100644 --- a/debian/gbp.conf +++ b/debian/gbp.conf @@ -1,6 +1,2 @@ -[DEFAULT] - -component = ['isobject'] - [import-orig] filter = .gitignore diff --git a/debian/install b/debian/install index 9ae4d5f..bc12b9d 100644 --- a/debian/install +++ b/debian/install @@ -1,4 +1,2 @@ package.json usr/lib/nodejs/get-value/ index.js usr/lib/nodejs/get-value/ -isobject/index.js usr/lib/nodejs/isobject/ -isobject/package.json usr/lib/nodejs/isobject/ diff --git a/debian/watch b/debian/watch index b1fef44..ea2c41c 100644 --- a/debian/watch +++ b/debian/watch @@ -2,7 +2,4 @@ version=4 opts=\ dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\ filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-get-value-$1.tar.gz/ \ - https://github.com/jonschlinkert/get-value/tags .*/archive/v?([\d\.]+).tar.gz group - -opts="searchmode=plain,pgpmode=none,dversionmangle=auto,component=isobject" \ - https://registry.npmjs.org/isobject https://registry.npmjs.org/isobject/-/isobject-(\d[\d\.]*)@ARCHIVE_EXT@ group + https://github.com/jonschlinkert/get-value/tags .*/archive/v?([\d\.]+).tar.gz diff --git a/isobject/LICENSE b/isobject/LICENSE deleted file mode 100644 index 943e71d..0000000 --- a/isobject/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014-2017, Jon Schlinkert. - -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. \ No newline at end of file diff --git a/isobject/README.md b/isobject/README.md deleted file mode 100644 index d01feaa..0000000 --- a/isobject/README.md +++ /dev/null @@ -1,122 +0,0 @@ -# isobject [](https://www.npmjs.com/package/isobject) [](https://npmjs.org/package/isobject) [](https://npmjs.org/package/isobject) [](https://travis-ci.org/jonschlinkert/isobject) - -> Returns true if the value is an object and not an array or null. - -## Install - -Install with [npm](https://www.npmjs.com/): - -```sh -$ npm install --save isobject -``` - -Install with [yarn](https://yarnpkg.com): - -```sh -$ yarn add isobject -``` - -Use [is-plain-object](https://github.com/jonschlinkert/is-plain-object) if you want only objects that are created by the `Object` constructor. - -## Install - -Install with [npm](https://www.npmjs.com/): - -```sh -$ npm install isobject -``` -Install with [bower](https://bower.io/) - -```sh -$ bower install isobject -``` - -## Usage - -```js -var isObject = require('isobject'); -``` - -**True** - -All of the following return `true`: - -```js -isObject({}); -isObject(Object.create({})); -isObject(Object.create(Object.prototype)); -isObject(Object.create(null)); -isObject({}); -isObject(new Foo); -isObject(/foo/); -``` - -**False** - -All of the following return `false`: - -```js -isObject(); -isObject(function () {}); -isObject(1); -isObject([]); -isObject(undefined); -isObject(null); -``` - -## About - -### Related projects - -* [extend-shallow](https://www.npmjs.com/package/extend-shallow): Extend an object with the properties of additional objects. node.js/javascript util. | [homepage](https://github.com/jonschlinkert/extend-shallow "Extend an object with the properties of additional objects. node.js/javascript util.") -* [is-plain-object](https://www.npmjs.com/package/is-plain-object): Returns true if an object was created by the `Object` constructor. | [homepage](https://github.com/jonschlinkert/is-plain-object "Returns true if an object was created by the `Object` constructor.") -* [kind-of](https://www.npmjs.com/package/kind-of): Get the native type of a value. | [homepage](https://github.com/jonschlinkert/kind-of "Get the native type of a value.") -* [merge-deep](https://www.npmjs.com/package/merge-deep): Recursively merge values in a javascript object. | [homepage](https://github.com/jonschlinkert/merge-deep "Recursively merge values in a javascript object.") - -### Contributing - -Pull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new). - -### Contributors - -| **Commits** | **Contributor** | -| --- | --- | -| 29 | [jonschlinkert](https://github.com/jonschlinkert) | -| 4 | [doowb](https://github.com/doowb) | -| 1 | [magnudae](https://github.com/magnudae) | -| 1 | [LeSuisse](https://github.com/LeSuisse) | -| 1 | [tmcw](https://github.com/tmcw) | - -### Building docs - -_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_ - -To generate the readme, run the following command: - -```sh -$ npm install -g verbose/verb#dev verb-generate-readme && verb -``` - -### Running tests - -Running and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command: - -```sh -$ npm install && npm test -``` - -### Author - -**Jon Schlinkert** - -* [github/jonschlinkert](https://github.com/jonschlinkert) -* [twitter/jonschlinkert](https://twitter.com/jonschlinkert) - -### License - -Copyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert). -Released under the [MIT License](LICENSE). - -*** - -_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on June 30, 2017._ \ No newline at end of file diff --git a/isobject/index.d.ts b/isobject/index.d.ts deleted file mode 100644 index 55f81c2..0000000 --- a/isobject/index.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -export = isObject; - -declare function isObject(val: any): boolean; - -declare namespace isObject {} diff --git a/isobject/index.js b/isobject/index.js deleted file mode 100644 index 2d59958..0000000 --- a/isobject/index.js +++ /dev/null @@ -1,12 +0,0 @@ -/*! - * isobject <https://github.com/jonschlinkert/isobject> - * - * Copyright (c) 2014-2017, Jon Schlinkert. - * Released under the MIT License. - */ - -'use strict'; - -module.exports = function isObject(val) { - return val != null && typeof val === 'object' && Array.isArray(val) === false; -}; diff --git a/isobject/package.json b/isobject/package.json deleted file mode 100644 index 62aa8c1..0000000 --- a/isobject/package.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "name": "isobject", - "description": "Returns true if the value is an object and not an array or null.", - "version": "3.0.1", - "homepage": "https://github.com/jonschlinkert/isobject", - "author": "Jon Schlinkert (https://github.com/jonschlinkert)", - "contributors": [ - "(https://github.com/LeSuisse)", - "Brian Woodward (https://twitter.com/doowb)", - "Jon Schlinkert (http://twitter.com/jonschlinkert)", - "Magnús Dæhlen (https://github.com/magnudae)", - "Tom MacWright (https://macwright.org)" - ], - "repository": "jonschlinkert/isobject", - "bugs": { - "url": "https://github.com/jonschlinkert/isobject/issues" - }, - "license": "MIT", - "files": [ - "index.d.ts", - "index.js" - ], - "main": "index.js", - "engines": { - "node": ">=0.10.0" - }, - "scripts": { - "test": "mocha" - }, - "dependencies": {}, - "devDependencies": { - "gulp-format-md": "^0.1.9", - "mocha": "^2.4.5" - }, - "keywords": [ - "check", - "is", - "is-object", - "isobject", - "kind", - "kind-of", - "kindof", - "native", - "object", - "type", - "typeof", - "value" - ], - "types": "index.d.ts", - "verb": { - "related": { - "list": [ - "extend-shallow", - "is-plain-object", - "kind-of", - "merge-deep" - ] - }, - "toc": false, - "layout": "default", - "tasks": [ - "readme" - ], - "plugins": [ - "gulp-format-md" - ], - "lint": { - "reflinks": true - }, - "reflinks": [ - "verb" - ] - } -} -- GitLab