gatsby-node-helpers
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -13,2 +13,6 @@ 'use strict'; | ||
var _pIsPromise = require('p-is-promise'); | ||
var _pIsPromise2 = _interopRequireDefault(_pIsPromise); | ||
var _jsonStringifySafe = require('json-stringify-safe'); | ||
@@ -92,2 +96,4 @@ | ||
if ((0, _pIsPromise2.default)(node)) return node.then(resolvedNode => withDigest(_extends({}, resolvedNode, overrides))); | ||
return withDigest(_extends({}, node, overrides)); | ||
@@ -94,0 +100,0 @@ }; |
{ | ||
"name": "gatsby-node-helpers", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "Gatsby node helper functions to aid node creation.", | ||
@@ -36,4 +36,5 @@ "main": "dist/index.js", | ||
"json-stringify-safe": "^5.0.1", | ||
"lodash": "^4.17.4" | ||
"lodash": "^4.17.4", | ||
"p-is-promise": "^1.1.0" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13090
75
3
+ Addedp-is-promise@^1.1.0
+ Addedp-is-promise@1.1.0(transitive)