diff options
author | Myles Borins <mylesborins@github.com> | 2020-10-02 17:52:19 -0400 |
---|---|---|
committer | Myles Borins <mylesborins@github.com> | 2020-10-07 09:59:49 -0400 |
commit | 2e545249557c265f7d5f338cc3a382985211603c (patch) | |
tree | a18ca49252a58cc5a80cd438a020a99bf48a8d23 /deps/npm/node_modules/lazy-property | |
parent | 14699846452e627f97dedb85991eea67d932a79d (diff) | |
download | node-new-2e545249557c265f7d5f338cc3a382985211603c.tar.gz |
deps: update npm to 7.0.0-rc.3
PR-URL: https://github.com/nodejs/node/pull/35474
Reviewed-By: Ruy Adorno <ruyadorno@github.com>
Reviewed-By: Ujjwal Sharma <ryzokuken@disroot.org>
Reviewed-By: Ben Coe <bencoe@gmail.com>
Reviewed-By: Geoffrey Booth <webmaster@geoffreybooth.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Shelley Vohr <codebytere@gmail.com>
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'deps/npm/node_modules/lazy-property')
-rw-r--r-- | deps/npm/node_modules/lazy-property/.npmignore | 16 | ||||
-rw-r--r-- | deps/npm/node_modules/lazy-property/LICENSE | 22 | ||||
-rw-r--r-- | deps/npm/node_modules/lazy-property/README.md | 44 | ||||
-rw-r--r-- | deps/npm/node_modules/lazy-property/component.json | 7 | ||||
-rw-r--r-- | deps/npm/node_modules/lazy-property/lazyProperty.js | 19 | ||||
-rw-r--r-- | deps/npm/node_modules/lazy-property/package.json | 65 |
6 files changed, 0 insertions, 173 deletions
diff --git a/deps/npm/node_modules/lazy-property/.npmignore b/deps/npm/node_modules/lazy-property/.npmignore deleted file mode 100644 index 038e0242eb..0000000000 --- a/deps/npm/node_modules/lazy-property/.npmignore +++ /dev/null @@ -1,16 +0,0 @@ -lib-cov -*.seed -*.log -*.csv -*.dat -*.out -*.pid -*.gz - -pids -logs -results - -npm-debug.log -node_modules/* -test/*
\ No newline at end of file diff --git a/deps/npm/node_modules/lazy-property/LICENSE b/deps/npm/node_modules/lazy-property/LICENSE deleted file mode 100644 index 8ce206a845..0000000000 --- a/deps/npm/node_modules/lazy-property/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ - -The MIT License (MIT) - -Copyright (c) 2013 Mikola Lysenko - -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/deps/npm/node_modules/lazy-property/README.md b/deps/npm/node_modules/lazy-property/README.md deleted file mode 100644 index d339c8f460..0000000000 --- a/deps/npm/node_modules/lazy-property/README.md +++ /dev/null @@ -1,44 +0,0 @@ -lazy-property -============= -Adds a lazily initialized property to an object. - -## Example - -```javascript -var addLazyProperty = require("lazy-property") - -var obj = {} - -addLazyProperty(obj, "foo", function() { - console.log("initialized!") - return "bar" -}) - -//Access the property -console.log(obj.foo) -console.log(obj.foo) - -//Prints out: -// -// initialized! -// bar -// bar -// -``` - -## Install - - npm install lazy-property - -## API - -### `require("lazy-property")(obj, name, init[, enumerable])` -Adds a lazily initialized property to the object. - -* `obj` is the object to add the property to -* `name` is the name of the property -* `init` is a function that computes the value of the property -* `enumerable` if the property is enumerable (default `false`) - -## Credits -(c) 2013 Mikola Lysenko. MIT License diff --git a/deps/npm/node_modules/lazy-property/component.json b/deps/npm/node_modules/lazy-property/component.json deleted file mode 100644 index 142938e496..0000000000 --- a/deps/npm/node_modules/lazy-property/component.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "lazy-property", - "version": "0.0.2", - "description": "Lazily initialized properties for objects", - "main": "lazyProperty.js", - "scripts": ["lazyProperty.js"] -} diff --git a/deps/npm/node_modules/lazy-property/lazyProperty.js b/deps/npm/node_modules/lazy-property/lazyProperty.js deleted file mode 100644 index 20e5fe1912..0000000000 --- a/deps/npm/node_modules/lazy-property/lazyProperty.js +++ /dev/null @@ -1,19 +0,0 @@ -"use strict" - -function addLazyProperty(object, name, initializer, enumerable) { - Object.defineProperty(object, name, { - get: function() { - var v = initializer.call(this) - Object.defineProperty(this, name, { value: v, enumerable: !!enumerable, writable: true }) - return v - }, - set: function(v) { - Object.defineProperty(this, name, { value: v, enumerable: !!enumerable, writable: true }) - return v - }, - enumerable: !!enumerable, - configurable: true - }) -} - -module.exports = addLazyProperty diff --git a/deps/npm/node_modules/lazy-property/package.json b/deps/npm/node_modules/lazy-property/package.json deleted file mode 100644 index 3c36554297..0000000000 --- a/deps/npm/node_modules/lazy-property/package.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "_args": [ - [ - "lazy-property@1.0.0", - "/Users/rebecca/code/npm" - ] - ], - "_from": "lazy-property@1.0.0", - "_id": "lazy-property@1.0.0", - "_inBundle": false, - "_integrity": "sha1-hN3Es3Bnm6i9TNz6TAa0PVcREUc=", - "_location": "/lazy-property", - "_phantomChildren": {}, - "_requested": { - "type": "version", - "registry": true, - "raw": "lazy-property@1.0.0", - "name": "lazy-property", - "escapedName": "lazy-property", - "rawSpec": "1.0.0", - "saveSpec": null, - "fetchSpec": "1.0.0" - }, - "_requiredBy": [ - "/" - ], - "_resolved": "https://registry.npmjs.org/lazy-property/-/lazy-property-1.0.0.tgz", - "_spec": "1.0.0", - "_where": "/Users/rebecca/code/npm", - "author": { - "name": "Mikola Lysenko" - }, - "bugs": { - "url": "https://github.com/mikolalysenko/lazy-property/issues" - }, - "dependencies": {}, - "description": "Lazily initialized properties for objects", - "devDependencies": { - "tape": "^2.12.3" - }, - "directories": { - "test": "test" - }, - "gitHead": "850a27f710ec72f05b534805c31f095ff590f1ea", - "homepage": "https://github.com/mikolalysenko/lazy-property#readme", - "keywords": [ - "lazy", - "property", - "object", - "initialize", - "array", - "dictionary" - ], - "license": "MIT", - "main": "lazyProperty.js", - "name": "lazy-property", - "repository": { - "type": "git", - "url": "git://github.com/mikolalysenko/lazy-property.git" - }, - "scripts": { - "test": "tape test/*.js" - }, - "version": "1.0.0" -} |