@apollosproject/apollo-server-env-mock
Advanced tools
Comparing version 1.0.1-alpha.2 to 1.1.0-alpha.24
@@ -39,5 +39,16 @@ "use strict"; | ||
}] | ||
}, { | ||
data: { | ||
id: 'SNG.1.1', | ||
orgId: 'SNG.1.1', | ||
bibleId: '9879dbb7cfe39e4d-01', | ||
bookId: 'SNG', | ||
chapterIds: ['SNG.1'], | ||
reference: 'Song of Solomon 1:1', | ||
content: '<p class="p"><span data-number="1" class="v">1</span>The Song of songs, which is Solomon’s.</p>', | ||
copyright: 'PUBLIC DOMAIN' | ||
} | ||
}]; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hcG9sbG8tZGF0YXNvdXJjZS1tb2Nrcy9iaWJsZS5qcyJdLCJuYW1lcyI6WyJkYXRhIiwiaWQiLCJvcmdJZCIsImJpYmxlSWQiLCJib29rSWQiLCJjaGFwdGVySWRzIiwicmVmZXJlbmNlIiwiY29udGVudCIsImNvcHlyaWdodCJdLCJtYXBwaW5ncyI6Ijs7Ozs7OztlQUFlLE1BQU0sQ0FDbkI7QUFDRUEsRUFBQUEsSUFBSSxFQUFFLENBQ0o7QUFDRUMsSUFBQUEsRUFBRSxFQUFFLFNBRE47QUFFRUMsSUFBQUEsS0FBSyxFQUFFLFNBRlQ7QUFHRUMsSUFBQUEsT0FBTyxFQUFFLHFCQUhYO0FBSUVDLElBQUFBLE1BQU0sRUFBRSxLQUpWO0FBS0VDLElBQUFBLFVBQVUsRUFBRSxDQUFDLE9BQUQsQ0FMZDtBQU1FQyxJQUFBQSxTQUFTLEVBQUUscUJBTmI7QUFPRUMsSUFBQUEsT0FBTyxFQUNMLGlHQVJKO0FBU0VDLElBQUFBLFNBQVMsRUFBRTtBQVRiLEdBREk7QUFEUixDQURtQixFQWdCbkI7QUFDRVIsRUFBQUEsSUFBSSxFQUFFLENBQ0o7QUFDRUMsSUFBQUEsRUFB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ogJ1NORycsXG4gICAgICBjaGFwdGVySWRzOiBbJ1NORy4xJ10sXG4gICAgICByZWZlcmVuY2U6ICdTb25nIG9mIFNvbG9tb24gMToxJyxcbiAgICAgIGNvbnRlbnQ6XG4gICAgICAgICc8cCBjbGFzcz1cInBcIj48c3BhbiBkYXRhLW51bWJlcj1cIjFcIiBjbGFzcz1cInZcIj4xPC9zcGFuPlRoZSBTb25nIG9mIHNvbmdzLCB3aGljaCBpcyBTb2xvbW9u4oCZcy48L3A+JyxcbiAgICAgIGNvcHlyaWdodDogJ1BVQkxJQyBET01BSU4nLFxuICAgIH0sXG4gIH0sXG5dO1xuIl19 |
@@ -42,2 +42,6 @@ "use strict"; | ||
if (request.url.includes('passages')) { | ||
return resolveWith(apolloDatasourceMocks.Scripture()[2], request.url); | ||
} | ||
return resolveWith(apolloDatasourceMocks.Scripture()[0], request.url); | ||
@@ -288,2 +292,2 @@ } | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJjcmVhdGVBcG9sbG9TZXJ2ZXJFbnZNb2NrIiwiYXBvbGxvU2VydmVyRW52IiwiUmVzcG9uc2UiLCJyZXNvbHZlV2l0aCIsImRhdGEiLCJ1cmwiLCJQcm9taXNlIiwicmVzb2x2ZSIsIkpTT04iLCJzdHJpbmdpZnkiLCJzdGF0dXMiLCJzdGF0dXNUZXh0IiwiaGVhZGVycyIsIkhlYWRlcnMiLCJmZXRjaCIsIm1vY2tMaXZlRGF0YVNvdXJjZUFwaXMiLCJtb2NrSW1wbGVtZW50YXRpb24iLCJyZXF1ZXN0IiwibWF0Y2giLCJhcG9sbG9EYXRhc291cmNlTW9ja3MiLCJsaXZlU3RyZWFtTGl2ZSIsImluY2x1ZGVzIiwiU2NyaXB0dXJlIiwicmVqZWN0IiwibW9ja1JvY2tEYXRhU291cmNlQVBJIiwiZGVjb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0eVR5cGVzJykpIHtcbiAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKFxuICAgICAgICAgIFtcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgSWQ6IDIwMSxcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgXSxcbiAgICAgICAgICB1cmxcbiAgICAgICAgKTtcbiAgICAgIH1cblxuICAgICAgaWYgKHVybC5tYXRjaCgnYXBpL0ludGVyYWN0aW9uQ2hhbm5lbHMnKSkge1xuICAgICAgICByZXR1cm4gcmVzb2x2ZVdpdGgoXG4gICAgICAgICAgW1xuICAgICAgICAgICAge1xuICAgICAgICAgICAgICBJZDogMTAsXG4gICAgICAgICAgICB9LFxuICAgICAgICAgIF0sXG4gICAgICAgICAgdXJsXG4gICAgICAgICk7XG4gICAgICB9XG5cbiAgICAgIGlmICh1cmwubWF0Y2goJ2FwaS9JbnRlcmFjdGlvbkNvbXBvbmVudHMnKSkge1xuICAgICAgICByZXR1cm4gcmVzb2x2ZVdpdGgoXG4gICAgICAgICAgW1xuICAgICAgICAgICAge1xuICAgICAgICAgICAgICBJZDogMTAxLFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICBdLFxuICAgICAgICAgIHVybFxuICAgICAgICApO1xuICAgICAgfVxuXG4gICAgICBpZiAodXJsLm1hdGNoKCdhcGkvQ29udGVudENoYW5uZWxzL1xcXFxkJykpIHtcbiAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKHJvY2tNb2Nrcy5jb250ZW50Q2hhbm5lbCgpKTtcbiAgICAgIH1cblxuICAgICAgaWYgKHVybC5tYXRjaCgnYXBpL0dyb3Vwcy9HZXRGYW1pbGllcy9cXFxcZCcpKSB7XG4gICAgICAgIHJldHVybiByZXNvbHZlV2l0aChyb2NrTW9ja3MuZmFtaWxpZXMoKSk7XG4gICAgICB9XG5cbiAgICAgIGlmICh1cmwubWF0Y2goJ2FwaS9Db250ZW50Q2hhbm5lbHMnKSkge1xuICAgICAgICByZXR1cm4gcm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gIH1cbiAgICAgICAgaWYgKHJlcXVlc3QubWV0aG9kID09PSAnUE9TVCcpIHtcbiAgICAgICAgICBjb25zdCByZXNwb25zZSA9IG5ldyBSZXNwb25zZSgnNDU2Jywge1xuICAgICAgICAgICAgc3RhdHVzOiAyMDAsXG4gICAgICAgICAgICBzdGF0dXNUZXh0OiAnT0snLFxuICAgICAgICAgICAgaGVhZGVyczogbmV3IGFwb2xsb1NlcnZlckVudi5IZWFkZXJzKHtcbiAgICAgICAgICAgICAgJ0NvbnRlbnQtVHlwZSc6ICdhcHBsaWNhdGlvbi9qc29uJyxcbiAgICAgICAgICAgIH0pLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIHJldHVybiBQcm9taXNlLnJlc29sdmUocmVzcG9uc2UpO1xuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIGlmICh1cmwubWF0Y2goJ2FwaS9Gb2xsb3dpbmdzJykpIHtcbiAgICAgICAgaWYgKHJlcXVlc3QubWV0aG9kID09PSAnR0VUJykge1xuICAgICAgICAgIHJldHVybiByZXNvbHZlV2l0aChbcm9ja01vY2tzLmZvbGxvd2luZ3MoKV0pO1xuICAgICAgICB9XG4gICAgICAgIGlmIChyZXF1ZXN0Lm1ldGhvZCA9PT0gJ1BPU1QnKSB7XG4gICAgICAgICAgY29uc3QgcmVzcG9uc2UgPSBuZXcgUmVzcG9uc2UoJzEyMycsIHtcbiAgICAgICAgICAgIHN0YXR1czogMjAwLFxuICAgICAgICAgICAgc3RhdHVzVGV4dDogJ09LJyxcbiAgICAgICAgICAgIGhlYWRlcnM6IG5ldyBhcG9sbG9TZXJ2ZXJFbnYuSGVhZGVycyh7XG4gICAgICAgICAgICAgICdDb250ZW50LVR5cGUnOiAnYXBwbGljYXRpb24vanNvbicsXG4gICAgICAgICAgICB9KSxcbiAgICAgICAgICB9KTtcbiAgICAgICAgICByZXR1cm4gUHJvbWlzZS5yZXNvbHZlKHJlc3BvbnNlKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAocmVxdWVzdC5tZXRob2QgPT09ICdERUxFVEUnKSB7XG4gICAgICAgICAgY29uc29sZS5sb2coJ0RlbGV0aW5nIGZvbGxvd2luZycpO1xuICAgICAgICAgIGNvbnN0IHJlc3BvbnNlID0gbmV3IFJlc3BvbnNlKG51bGwsIHtcbiAgICAgICAgICAgIHN0YXR1czogMjA0LFxuICAgICAgICAgICAgaGVhZGVyczogbmV3IGFwb2xsb1NlcnZlckVudi5IZWFkZXJzKHtcbiAgICAgICAgICAgICAgJ0NvbnRlbnQtVHlwZSc6IG51bGwsXG4gICAgICAgICAgICB9KSxcbiAgICAgICAgICB9KTtcbiAgICAgICAgICByZXR1cm4gUHJvbWlzZS5yZXNvbHZlKHJlc3BvbnNlKTtcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICBpZiAodXJsLm1hdGNoKCdhcGkvSW50ZXJhY3Rpb25TZXNzaW9ucycpKSB7XG4gICAgICAgIGlmIChyZXF1ZXN0Lm1ldGhvZCA9PT0gJ0dFVCcpIHtcbiAgICAgICAgICByZXR1cm4gcmVzb2x2ZVdpdGgocm9ja01vY2tzLnNlc3Npb24oKSk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHJlcXVlc3QubWV0aG9kID09PSAnUE9TVCcpIHtcbiAgICAgICAgICBjb25zdCByZXNwb25zZSA9IG5ldyBSZXNwb25zZSgnMTIzJywge1xuICAgICAgICAgICAgc3RhdHVzOiAyMDAsXG4gICAgICAgICAgICBzdGF0dXNUZXh0OiAnT0snLFxuICAgICAgICAgICAgaGVhZGVyczogbmV3IGFwb2xsb1NlcnZlckVudi5IZWFkZXJzKHtcbiAgICAgICAgICAgICAgJ0NvbnRlbnQtVHlwZSc6ICdhcHBsaWNhdGlvbi9qc29uJyxcbiAgICAgICAgICAgIH0pLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIHJldHVybiBQcm9taXNlLnJlc29sdmUocmVzcG9uc2UpO1xuICAgICAgICB9XG4gICAgICB9XG5cbiAgICA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gIH07XG5cbiAgZmV0Y2gubW9ja1JvY2tEYXRhU291cmNlQVBJID0gKCkgPT4ge1xuICAgIGZldGNoLm1vY2tJbXBsZW1lbnRhdGlvbigocmVxdWVzdCkgPT4ge1xuICAgICAgbGV0IHsgdXJsIH0gPSByZXF1ZXN0O1xuXG4gICAgICB1cmwgPSBkZWNvZGVVUkkodXJsKTtcbiAgICAgIGlmICghdXJsLm1hdGNoKCdodHRwczovL2Fwb2xsb3Nyb2NrLm5ld3NwcmluZy5jYy9hcGknKSkge1xuICAgICAgICBpZiAocmVxdWVzdC51cmwubWF0Y2goJy9hcGkuc2NyaXB0dXJlLmFwaS5iaWJsZS92MScpKSB7XG4gICAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKGFwb2xsb0RhdGFzb3VyY2VNb2Nrcy5TY3JpcHR1cmUoKVswXSk7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIFByb21pc2UucmVqZWN0KCk7XG4gICAgICB9XG5cbiAgICAgIGlmICh1cmwubWF0Y2goJ2FwaS9FbnRpdHlUeXBlcycpKSB7XG4gICAgICAgIHJldHVybiByZXNvbHZlV2l0aChcbiAgICAgICAgICBbXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgIElkOiAyMDEsXG4gICAgICAgICAgICB9LFxuICAgICAgICAgIF0sXG4gICAgICAgICAgdXJsXG4gICAgICAgICk7XG4gICAgICB9XG5cbiAgICAgIGlmICh1cmwubWF0Y2goJ2FwaS9JbnRlcmFjdGlvbkNoYW5uZWxzJykpIHtcbiAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKFxuICAgICAgICAgIFtcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgSWQ6IDEwLFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICBdLFxuICAgICAgICAgIHVybFxuICAgICAgICApO1xuICAgICAgfVxuXG4gICAgICBpZiAodXJsLm1hdGNoKCdhcGkvSW50ZXJhY3Rpb25Db21wb25lbnRzJykpIHtcbiAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKFxuICAgICAgICAgIFtcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgSWQ6IDEwMSxcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgXSxcbiAgICAgICAgICB1cmxcbiAgICAgICAgKTtcbiAgICAgIH1cblxuICAgICAgaWYgKHVybC5tYXRjaCgnYXBpL0NvbnRlbnRDaGFubmVscy9cXFxcZCcpKSB7XG4gICAgICAgIHJldHVybiByZXNvbHZlV2l0aChyb2NrTW9ja3MuY29udGVudENoYW5uZWwoKSk7XG4gICAgICB9XG5cbiAgICAgIGlmICh1cmwubWF0Y2goJ2FwaS9Hcm91cHMvR2V0RmFtaWxpZXMvXFxcXGQnKSkge1xuICAgICAgICByZXR1cm4gcmVzb2x2ZVdpdGgocm9ja01vY2tzLmZhbWlsaWVzKCkpO1xuICAgICAgfVxuXG4gICAgICBpZiAodXJsLm1hdGNoKCdhcGkvQ29udGVudENoYW5uZWxzJykpIHtcbiAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKFtyb2NrTW9ja3MuY29udGVudENoYW5uZWwoKV0pO1xuICAgICAgfVxuXG4gICAgICBpZiAodXJsLm1hdGNoKCdhcGkvQ29udGVudENoYW5uZWxJdGVtcy90ZXN0LWNhc2Utbm8tYXR0cmlidXRlcycpKSB7XG4gICAgICAgIGNvbnN0IG1vY2sgPSByb2NrTW9ja3MuY29udGVudEl0ZW0oKTtcbiAgICAgICAgbW9jay5BdHRyaWJ1dGVWYWx1ZXMgPSB7fTtcbiAgICAgICAgbW9jay5BdHRyaWJ1dGVzID0ge307XG4gICAgICAgIHJldHVybiByZXNvbHZlV2l0aChtb2NrKTtcbiAgICAgIH1cblxuICAgICAgaWYgKHVybC5tYXRjaCgnYXBpL0NvbnRlbnRDaGFubmVsSXRlbXMvMTIzJykpIHtcbiAgICAgICAgY29uc3QgY29udGVudEl0ZW0gPSByb2NrTW9ja3MuY29udGVudEl0ZW0oKTtcbi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ICAgICByZXR1cm4gcmVzb2x2ZVdpdGgoW3JvY2tNb2Nrcy5mb2xsb3dpbmdzKCldKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAocmVxdWVzdC5tZXRob2QgPT09ICdQT1NUJykge1xuICAgICAgICAgIGNvbnN0IHJlc3BvbnNlID0gbmV3IFJlc3BvbnNlKCcxMjMnLCB7XG4gICAgICAgICAgICBzdGF0dXM6IDIwMCxcbiAgICAgICAgICAgIHN0YXR1c1RleHQ6ICdPSycsXG4gICAgICAgICAgICBoZWFkZXJzOiBuZXcgYXBvbGxvU2VydmVyRW52LkhlYWRlcnMoe1xuICAgICAgICAgICAgICAnQ29udGVudC1UeXBlJzogJ2FwcGxpY2F0aW9uL2pzb24nLFxuICAgICAgICAgICAgfSksXG4gICAgICAgICAgfSk7XG4gICAgICAgICAgcmV0dXJuIFByb21pc2UucmVzb2x2ZShyZXNwb25zZSk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHJlcXVlc3QubWV0aG9kID09PSAnREVMRVRFJykge1xuICAgICAgICAgIGNvbnNvbGUubG9nKCdEZWxldGluZyBmb2xsb3dpbmcnKTtcbiAgICAgICAgICBjb25zdCByZXNwb25zZSA9IG5ldyBSZXNwb25zZShudWxsLCB7XG4gICAgICAgICAgICBzdGF0dXM6IDIwNCxcbiAgICAgICAgICAgIGhlYWRlcnM6IG5ldyBhcG9sbG9TZXJ2ZXJFbnYuSGVhZGVycyh7XG4gICAgICAgICAgICAgICdDb250ZW50LVR5cGUnOiBudWxsLFxuICAgICAgICAgICAgfSksXG4gICAgICAgICAgfSk7XG4gICAgICAgICAgcmV0dXJuIFByb21pc2UucmVzb2x2ZShyZXNwb25zZSk7XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgaWYgKHVybC5tYXRjaCgnYXBpL0ludGVyYWN0aW9uU2Vzc2lvbnMnKSkge1xuICAgICAgICBpZiAocmVxdWVzdC5tZXRob2QgPT09ICdHRVQnKSB7XG4gICAgICAgICAgcmV0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Y2guUmVzcG9uc2UsXG4gICAgZmV0Y2gsXG4gIH07XG59O1xuXG5leHBvcnQgZGVmYXVsdCBjcmVhdGVBcG9sbG9TZXJ2ZXJFbnZNb2NrO1xuIl19 |
{ | ||
"name": "@apollosproject/apollo-server-env-mock", | ||
"version": "1.0.1-alpha.2+75dd28b", | ||
"version": "1.1.0-alpha.24+047683b", | ||
"homepage": "https://github.com/ApollosProject/apollos-prototype#readme", | ||
@@ -10,3 +10,3 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"@apollosproject/babel-preset-apollos": "^1.0.1-alpha.2+75dd28b", | ||
"@apollosproject/babel-preset-apollos": "^1.1.0-alpha.24+047683b", | ||
"jest-fetch-mock": "^2.0.0" | ||
@@ -18,3 +18,3 @@ }, | ||
}, | ||
"gitHead": "75dd28ba8443d80b09d64e01dcff2f62526da900" | ||
"gitHead": "047683b50d52588d85d3314ae7705e69e769d499" | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
174745
1522