From 0a22be42eb0d40cd0bd87e68c9e28fc9d72c0e19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Thu, 26 Jul 2018 15:02:33 -0700 Subject: [PATCH] figgy-pudding@3.2.0 --- node_modules/figgy-pudding/CHANGELOG.md | 15 +++++++++++ node_modules/figgy-pudding/index.js | 6 ++--- node_modules/figgy-pudding/package.json | 34 ++++++++++++------------- package-lock.json | 6 ++--- package.json | 2 +- 5 files changed, 38 insertions(+), 25 deletions(-) diff --git a/node_modules/figgy-pudding/CHANGELOG.md b/node_modules/figgy-pudding/CHANGELOG.md index 02cf10f4947af..e8989c840390a 100644 --- a/node_modules/figgy-pudding/CHANGELOG.md +++ b/node_modules/figgy-pudding/CHANGELOG.md @@ -2,6 +2,21 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. + +# [3.2.0](https://github.com/zkat/figgy-pudding/compare/v3.1.0...v3.2.0) (2018-07-26) + + +### Bug Fixes + +* **concat:** have concat spit out a proxy, too ([64e3495](https://github.com/zkat/figgy-pudding/commit/64e3495)) + + +### Features + +* **default:** pass the pudding itself to default fns ([d9d9e09](https://github.com/zkat/figgy-pudding/commit/d9d9e09)) + + + # [3.1.0](https://github.com/zkat/figgy-pudding/compare/v3.0.0...v3.1.0) (2018-04-08) diff --git a/node_modules/figgy-pudding/index.js b/node_modules/figgy-pudding/index.js index a3c9c94ebf4e4..0afd41f8040df 100644 --- a/node_modules/figgy-pudding/index.js +++ b/node_modules/figgy-pudding/index.js @@ -13,11 +13,11 @@ class FiggyPudding { return pudGet(this, key, true) } concat (...moreConfig) { - return new FiggyPudding( + return new Proxy(new FiggyPudding( this.__specs, this.__opts, reverse(this.__providers).concat(moreConfig) - ) + ), proxyHandler) } } @@ -46,7 +46,7 @@ function pudGet (pud, key, validate) { } if (ret === undefined && spec.default !== undefined) { if (typeof spec.default === 'function') { - return spec.default() + return spec.default(pud) } else { return spec.default } diff --git a/node_modules/figgy-pudding/package.json b/node_modules/figgy-pudding/package.json index cf6ee25471f1d..2d8368663a8e2 100644 --- a/node_modules/figgy-pudding/package.json +++ b/node_modules/figgy-pudding/package.json @@ -1,35 +1,31 @@ { - "_args": [ - [ - "figgy-pudding@3.1.0", - "/Users/rebecca/code/npm" - ] - ], - "_from": "figgy-pudding@3.1.0", - "_id": "figgy-pudding@3.1.0", + "_from": "figgy-pudding@3.2.0", + "_id": "figgy-pudding@3.2.0", "_inBundle": false, - "_integrity": "sha512-Gi2vIue0ec6P/7LNpueGhLuvfF2ztuterl8YFBQn1yKgIS46noGxCbi+vviPdObNYtgUSh5FpHy5q0Cw9XhxKQ==", + "_integrity": "sha512-S2gSvqcqkI4sk+dI3ykKllfEg88dL5cXM0QPT4z9UbOkNygqec8/99d0VB3ikZ7u1/QC5l4e1YJPWvoUFuRVkg==", "_location": "/figgy-pudding", "_phantomChildren": {}, "_requested": { "type": "version", "registry": true, - "raw": "figgy-pudding@3.1.0", + "raw": "figgy-pudding@3.2.0", "name": "figgy-pudding", "escapedName": "figgy-pudding", - "rawSpec": "3.1.0", + "rawSpec": "3.2.0", "saveSpec": null, - "fetchSpec": "3.1.0" + "fetchSpec": "3.2.0" }, "_requiredBy": [ + "#USER", "/", "/cacache", "/libnpmhook", "/libnpmhook/npm-registry-fetch" ], - "_resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.1.0.tgz", - "_spec": "3.1.0", - "_where": "/Users/rebecca/code/npm", + "_resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.2.0.tgz", + "_shasum": "464626b73d7b0fc045a99753d191b0785957ff73", + "_spec": "figgy-pudding@3.2.0", + "_where": "/Users/zkat/Documents/code/work/npm", "author": { "name": "Kat Marchán", "email": "kzm@sykosomatic.org" @@ -37,12 +33,14 @@ "bugs": { "url": "https://github.com/zkat/figgy-pudding/issues" }, + "bundleDependencies": false, "dependencies": {}, + "deprecated": false, "description": "Delicious, festive, cascading config/opts definitions", "devDependencies": { "standard": "^11.0.1", - "standard-version": "^4.3.0", - "tap": "^11.1.2", + "standard-version": "^4.4.0", + "tap": "^12.0.1", "weallbehave": "^1.2.0", "weallcontribute": "^1.0.8" }, @@ -72,5 +70,5 @@ "update-coc": "weallbehave -o . && git add CODE_OF_CONDUCT.md && git commit -m 'docs(coc): updated CODE_OF_CONDUCT.md'", "update-contrib": "weallcontribute -o . && git add CONTRIBUTING.md && git commit -m 'docs(contributing): updated CONTRIBUTING.md'" }, - "version": "3.1.0" + "version": "3.2.0" } diff --git a/package-lock.json b/package-lock.json index 3f53b86f5fa00..1f9107559cdda 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1554,9 +1554,9 @@ } }, "figgy-pudding": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.1.0.tgz", - "integrity": "sha512-Gi2vIue0ec6P/7LNpueGhLuvfF2ztuterl8YFBQn1yKgIS46noGxCbi+vviPdObNYtgUSh5FpHy5q0Cw9XhxKQ==" + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.2.0.tgz", + "integrity": "sha512-S2gSvqcqkI4sk+dI3ykKllfEg88dL5cXM0QPT4z9UbOkNygqec8/99d0VB3ikZ7u1/QC5l4e1YJPWvoUFuRVkg==" }, "figures": { "version": "2.0.0", diff --git a/package.json b/package.json index 02153519cef08..a0eb27d1c93b0 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "detect-newline": "^2.1.0", "dezalgo": "~1.0.3", "editor": "~1.0.0", - "figgy-pudding": "^3.1.0", + "figgy-pudding": "^3.2.0", "find-npm-prefix": "^1.0.2", "fs-vacuum": "~1.2.10", "fs-write-stream-atomic": "~1.0.10",