Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@apollosproject/apollo-server-env-mock

Package Overview
Dependencies
Maintainers
3
Versions
410
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollosproject/apollo-server-env-mock - npm Package Compare versions

Comparing version 1.2.0-beta.2 to 1.2.0-beta.3

3

lib/index.js

@@ -212,3 +212,2 @@ "use strict";

if (request.method === 'DELETE') {
console.log('Deleting following');
const response = new Response(null, {

@@ -292,2 +291,2 @@ status: 204,

exports.default = _default;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC5qcyJdLCJuYW1lcyI6WyJjcmVhdGVBcG9sbG9TZXJ2ZXJFbnZNb2NrIiwiYXBvbGxvU2VydmVyRW52IiwiUmVzcG9uc2UiLCJyZXNvbHZlV2l0aCIsImRhdGEiLCJ1cmwiLCJQcm9taXNlIiwicmVzb2x2ZSIsIkpTT04iLCJzdHJpbmdpZnkiLCJzdGF0dXMiLCJzdGF0dXNUZXh0IiwiaGVhZGVycyIsIkhlYWRlcnMiLCJmZXRjaCIsIm1vY2tMaXZlRGF0YVNvdXJjZUFwaXMiLCJtb2NrSW1wbGVtZW50YXRpb24iLCJyZXF1ZXN0IiwibWF0Y2giLCJhcG9sbG9EYXRhc291cmNlTW9ja3MiLCJsaXZlU3RyZWFtTGl2ZSIsImluY2x1ZGVzIiwiU2NyaXB0dXJlIiwicmVqZWN0IiwibW9ja1JvY2tEYXRhU291cmNlQVBJIiwiZGVjb2RlVVJJIiwiSWQiLCJyb2NrTW9ja3MiLCJjb250ZW50Q2hhbm5lbCIsImZhbWlsaWVzIiwibW9jayIsImNvbnRlbnRJdGVtIiwiQXR0cmlidXRlVmFsdWVzIiwiQXR0cmlidXRlcyIsIlNjcmlwdHVyZXMiLCJWYWx1ZSIsImNvbnRlbnRDaGFubmVsSXRl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92MScpKSB7XG4gICAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKGFwb2xsb0RhdGFzb3VyY2VNb2Nrcy5TY3JpcHR1cmUoKVswXSk7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIFByb21pc2UucmVqZWN0KCk7XG4gICAgICB9XG5cbiAgICAgIGlmICh1cmwubWF0Y2goJ2FwaS9FbnRpdHlUeXBlcycpKSB7XG4gICAgICAgIHJldHVybiByZXNvbHZlV2l0aChcbiAgICAgICAgICBbXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgIElkOiAyMDEsXG4gICAgICAgICAgICB9LFxuICAgICAgICAgIF0sXG4gICAgICAgICAgdXJsXG4gICAgICAgICk7XG4gICAgICB9XG5cbiAgICAgIGlmICh1cmwubWF0Y2goJ2FwaS9JbnRlcmFjdGlvbkNoYW5uZWxzJykpIHtcbiAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKFxuICAgICAgICAgIFtcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgSWQ6IDEwLFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICBdLFxuICAgICAgICAgIHVybFxuICAgICAgICApO1xuICAgICAgfVxuXG4gICAgICBpZiAodXJsLm1hdGNoKCdhcGkvSW50ZXJhY3Rpb25Db21wb25lbnRzJykpIHtcbiAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKFxuICAgICAgICAgIFtcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgSWQ6IDEwMSxcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgXSxcbiAgICAgICAgICB1cmxcbiAgICAgICAgKTtcbiAgICAgIH1cblxuICAgICAgaWYgKHVybC5tYXRjaCgnYXBpL0NvbnRlbnRDaGFubmVscy9cXFxcZCcpKSB7XG4gICAgICAgIHJldHVybiByZXNvbHZlV2l0aChyb2NrTW9ja3MuY29udGVudENoYW5uZWwoKSk7XG4gICAgICB9XG5cbiAgICAgIGlmICh1cmwubWF0Y2go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Q2hhbm5lbEl0ZW1zJykpIHtcbiAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKFtyb2NrTW9ja3MuY29udGVudEl0ZW0oKV0pO1xuICAgICAgfVxuXG4gICAgICBpZiAodXJsLm1hdGNoKCdhcGkvQ29udGVudENoYW5uZWxJdGVtQXNzb2NpYXRpb25zJykpIHtcbiAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKFtyb2NrTW9ja3MuY29udGVudENoYW5uZWxJdGVtQXNzb2NpYXRpb24oKV0pO1xuICAgICAgfVxuXG4gICAgICBpZiAodXJsLm1hdGNoKCdhcGkvRGF0YVZpZXdzL0dldFBlcnNpc3RlZERhdGFWaWV3c0ZvckVudGl0eScpKSB7XG4gICAgICAgIHJldHVybiByZXNvbHZlV2l0aChbcm9ja01vY2tzLmRhdGFWaWV3KCldKTtcbiAgICAgIH1cblxuICAgICAgaWYgKHVybC5tYXRjaCgnYXBpL0F1dGgvTG9naW4nKSkge1xuICAgICAgICBjb25zdCBib2R5ID0gSlNPTi5wYXJzZShyZXF1ZXN0LmJvZHkpO1xuICAgICAgICBjb25zdCByZXNwb25zZSA9IG5ldyBSZXNwb25zZSgnJyk7XG4gICAgICAgIGlmIChib2R5LlBhc3N3b3JkID09PSAnZ29vZCcpIHtcbiAgICAgICAgICByZXNwb25zZS5oZWFkZXJzLnNldCgnc2V0LWNvb2tpZScsICdzb21lIGNvb2tpZScpO1xuICAgICAgICAgIHJldHVybiBQcm9taXNlLnJlc29sdmUocmVzcG9uc2UpO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBQcm9taXNlLnJlamVjdCh7IC4uLnJlc3BvbnNlLCBzdGF0dXM6IDQwMSB9KTtcbiAgICAgIH1cblxuICAgICAgaWYgKHVybC5tYXRjaCgnYXBpL0xhdmEvUmVuZGVyVGVtcGxhdGUnKSkge1xuICAgICAgICBjb25zdCBib2R5ID0gSlNPTi5wYXJzZShyZXF1ZXN0LmJvZHkpO1xuICAgICAgICByZXR1cm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GVudC1UeXBlJzogJ2FwcGxpY2F0aW9uL2pzb24nLFxuICAgICAgICAgICAgfSksXG4gICAgICAgICAgfSk7XG4gICAgICAgICAgcmV0dXJuIFByb21pc2UucmVzb2x2ZShyZXNwb25zZSk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHJlcXVlc3QubWV0aG9kID09PSAnREVMRVRFJykge1xuICAgICAgICAgIGNvbnNvbGUubG9nKCdEZWxldGluZyBmb2xsb3dpbmcnKTtcbiAgICAgICAgICBjb25zdCByZXNwb25zZSA9IG5ldyBSZXNwb25zZShudWxsLCB7XG4gICAgICAgICAgICBzdGF0dXM6IDIwNCxcbiAgICAgICAgICAgIGhlYWRlcnM6IG5ldyBhcG9sbG9TZXJ2ZXJFbnYuSGVhZGVycyh7XG4gICAgICAgICAgICAgICdDb250ZW50LVR5cGUnOiBudWxsLFxuICAgICAgICAgICAgfSksXG4gICAgICAgICAgfSk7XG4gICAgICAgICAgcmV0dXJuIFByb21pc2UucmVzb2x2ZShyZXNwb25zZSk7XG4gICAgICAgIH1cbiAgICAgIH1cblxuICAgICAgaWYgKHVybC5tYXRjaCgnYXBpL0ludGVyYWN0aW9uU2Vzc2lvbnMnKSkge1xuICAgICAgICBpZiAocmVxdWVzdC5tZXRob2QgPT09ICdHRVQnKSB7XG4gICAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKHJvY2tNb2Nrcy5zZXNzaW9uKCkpO1xuICAgICAgICB9XG4gICAgICAgIGlmIChyZXF1ZXN0Lm1ldGhvZCA9PT0gJ1BPU1QnKSB7XG4gICAgICAgICAgY29uc3QgcmVzcG9uc2UgPSBuZXcgUmVzcG9uc2UoJzEyMycsIHtcbiAgICAgICAgICAgIHN0YXR1czogMjAwLFxuICAgICAgICAgICAgc3RhdHVzVGV4dDogJ09LJyxcbiAgICAgICAgICAgIGhlYWRlcnM6IG5ldyBhcG9sbG9TZXJ2ZXJFbnYuSGVhZGVycyh7XG4gICAgICAgICAgICAgICdDb250ZW50LVR5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3JpcHR1cmUoKVswXSwgcmVxdWVzdC51cmwpO1xuICAgICAgfVxuICAgICAgcmV0dXJuIFByb21pc2UucmVqZWN0KCk7XG4gICAgfSk7XG4gIH07XG5cbiAgZmV0Y2gubW9ja1JvY2tEYXRhU291cmNlQVBJID0gKCkgPT4ge1xuICAgIGZldGNoLm1vY2tJbXBsZW1lbnRhdGlvbigocmVxdWVzdCkgPT4ge1xuICAgICAgbGV0IHsgdXJsIH0gPSByZXF1ZXN0O1xuXG4gICAgICB1cmwgPSBkZWNvZGVVUkkodXJsKTtcbiAgICAgIGlmICghdXJsLm1hdGNoKCdodHRwczovL2Fwb2xsb3Nyb2NrLm5ld3NwcmluZy5jYy9hcGknKSkge1xuICAgICAgICBpZiAocmVxdWVzdC51cmwubWF0Y2goJy9hcGkuc2NyaXB0dXJlLmFwaS5iaWJsZS92MScpKSB7XG4gICAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKGFwb2xsb0RhdGFzb3VyY2VNb2Nrcy5TY3JpcHR1cmUoKVswXSk7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIFByb21pc2UucmVqZWN0KCk7XG4gICAgICB9XG5cbiAgICAgIGlmICh1cmwubWF0Y2goJ2FwaS9FbnRpdHlUeXBlcycpKSB7XG4gICAgICAgIHJldHVybiByZXNvbHZlV2l0aChcbiAgICAgICAgICBbXG4gICAgICAgICAgICB7XG4gICAgICAgICAgICAgIElkOiAyMDEsXG4gICAgICAgICAgICB9LFxuICAgICAgICAgIF0sXG4gICAgICAgICAgdXJsXG4gICAgICAgICk7XG4gICAgICB9XG5cbiAgICAgIGlmICh1cmwubWF0Y2goJ2FwaS9JbnRlcmFjdGlvbkNoYW5uZWxzJykpIHtcbiAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKFxuICAgICAgICAgIFtcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgSWQ6IDEwLFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICBdLFxuICAgICAgICAgIHVybFxuICAgICAgICApO1xuICAgICAgfVxuXG4gICAgICBpZiAodXJsLm1hdGNoKCdhcGkvSW50ZXJhY3Rpb25Db21wb25lbnRzJykpIHtcbiAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKFxuICAgICAgICAgIFtcbiAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgSWQ6IDEwMSxcbiAgICAgICAgICAgIH0sXG4gICAgICAgICAgXSxcbiAgICAgICAgICB1cmxcbiAgICAgICAgKTtcbiAgICAgIH1cblxuICAgICAgaWYgKHVybC5tYXRjaCgnYXBpL0NvbnRlbnRDaGFubmVscy9cXFxcZCcpKSB7XG4gICAgICAgIHJldHVybiByZXNvbHZlV2l0aChyb2NrTW9ja3MuY29udGVudENoYW5uZWwoKSk7XG4gICAgICB9XG5cbiAgICAgIGlmICh1cmwubWF0Y2goJ2FwaS9Hcm91cHMvR2V0RmFtaWxpZXMvXFxcXGQnKSkge1xuICAgICAgICByZXR1cm4gcmVzb2x2ZVdpdGgocm9ja01vY2tzLmZhbWlsaWVzKCkpO1xuICAgICAgfVxuXG4gICAgICBpZiAodXJsLm1hdGNoKCdhcGkvQ29udGVudENoYW5uZWxzJykpIHtcbiAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKFtyb2NrTW9ja3MuY29udGVudENoYW5uZWwoKV0pO1xuICAgICAgfVxuXG4gICAgICBpZiAodXJsLm1hdGNoKCdhcGkvQ29udGVudENoYW5uZWxJdGVtcy90ZXN0LWNhc2Utbm8tYXR0cmlidXRlcycpKSB7XG4gICAgICAgIGNvbnN0IG1vY2sgPSByb2NrTW9ja3MuY29udGVudEl0ZW0oKTtcbiAgICAgICAgbW9jay5BdHRyaWJ1dGVWYWx1ZXMgPSB7fTtcbiAgICAgICAgbW9jay5BdHRyaWJ1dGVzID0ge307XG4gICAgICAgIHJldHVybiByZXNvbHZlV2l0aChtb2NrKTtcbiAgICAgIH1cblxuICAgICAgaWYgKHVybC5tYXRjaCgnYXBpL0NvbnRl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ycpO1xuICAgICAgICAgICAgcmVzcG9uc2Uuc3RhdHVzID0gNDAwO1xuICAgICAgICAgICAgcmV0dXJuIFByb21pc2UucmVqZWN0KHJlc3BvbnNlKTtcbiAgICAgICAgICB9XG4gICAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKCczNScpO1xuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKFtyb2NrTW9ja3MucGVvcGxlKCldKTtcbiAgICAgIH1cblxuICAgICAgaWYgKHVybC5tYXRjaCgnYXBpL0ludGVyYWN0aW9ucy9cXFxcZCcpKSB7XG4gICAgICAgIHJldHVybiByZXNvbHZlV2l0aChyb2NrTW9ja3MuaW50ZXJhY3Rpb24oKSk7XG4gICAgICB9XG5cbiAgICAgIGlmICh1cmwubWF0Y2goJ2FwaS9JbnRlcmFjdGlvbnMnKSkge1xuICAgICAgICBpZiAocmVxdWVzdC5tZXRob2QgPT09ICdHRVQnKSB7XG4gICAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKFtyb2NrTW9ja3MuaW50ZXJhY3Rpb24oKV0pO1xuICAgICAgICB9XG4gICAgICAgIGlmIChyZXF1ZXN0Lm1ldGhvZCA9PT0gJ1BPU1QnKSB7XG4gICAgICAgICAgY29uc3QgcmVzcG9uc2UgPSBuZXcgUmVzcG9uc2UoJzQ1NicsIHtcbiAgICAgICAgICAgIHN0YXR1czogMjAwLFxuICAgICAgICAgICAgc3RhdHVzVGV4dDogJ09LJyxcbiAgICAgICAgICAgIGhlYWRlcnM6IG5ldyBhcG9sbG9TZXJ2ZXJFbnYuSGVhZGVycyh7XG4gICAgICAgICAgICAgICdDb250ZW50LVR5cGUnOiAnYXBwbGljYXRpb24vanNvbicsXG4gICAgICAgICAgICB9KSxcbiAgICAgICAgICB9KTtcbiAgICAgICAgICByZXR1cm4gUHJvbWlzZS5yZXNvbHZlKHJlc3BvbnNlKTtcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICBpZiAodXJsLm1hdGNoKCdhcGkvRm9sbG93aW5ncycpKSB7XG4gICAgICAgIGlmIChyZXF1ZXN0Lm1ldGhvZCA9PT0gJ0dFVCcpIHtcbiAgICAgICAgICByZXR1cm4gcmVzb2x2ZVdpdGgoW3JvY2tNb2Nrcy5mb2xsb3dpbmdzKCldKTtcbiAgICAgICAgfVxuICAgICAgICBpZiAocmVxdWVzdC5tZXRob2QgPT09ICdQT1NUJykge1xuICAgICAgICAgIGNvbnN0IHJlc3BvbnNlID0gbmV3IFJlc3BvbnNlKCcxMjMnLCB7XG4gICAgICAgICAgICBzdGF0dXM6IDIwMCxcbiAgICAgICAgICAgIHN0YXR1c1RleHQ6ICdPSycsXG4gICAgICAgICAgICBoZWFkZXJzOiBuZXcgYXBvbGxvU2VydmVyRW52LkhlYWRlcnMoe1xuICAgICAgICAgICAgICAnQ29udGVudC1UeXBlJzogJ2FwcGxpY2F0aW9uL2pzb24nLFxuICAgICAgICAgICAgfSksXG4gICAgICAgICAgfSk7XG4gICAgICAgICAgcmV0dXJuIFByb21pc2UucmVzb2x2ZShyZXNwb25zZSk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHJlcXVlc3QubWV0aG9kID09PSAnREVMRVRFJykge1xuICAgICAgICAgIGNvbnN0IHJlc3BvbnNlID0gbmV3IFJlc3BvbnNlKG51bGwsIHtcbiAgICAgICAgICAgIHN0YXR1czogMjA0LFxuICAgICAgICAgICAgaGVhZGVyczogbmV3IGFwb2xsb1NlcnZlckVudi5IZWFkZXJzKHtcbiAgICAgICAgICAgICAgJ0NvbnRlbnQtVHlwZSc6IG51bGwsXG4gICAgICAgICAgICB9KSxcbiAgICAgICAgICB9KTtcbiAgICAgICAgICByZXR1cm4gUHJvbWlzZS5yZXNvbHZlKHJlc3BvbnNlKTtcbiAgICAgICAgfVxuICAgICAgfVxuXG4gICAgICBpZiAodXJsLm1hdGNoKCdhcGkvSW50ZXJhY3Rpb25TZXNzaW9ucycpKSB7XG4gICAgICAgIGlmIChyZXF1ZXN0Lm1ldGhvZCA9PT0gJ0dFVCcpIHtcbiAgICAgICAgICByZXR1cm4gcmVzb2x2ZVdpdGgocm9ja01vY2tzLnNlc3Npb24oKSk7XG4gICAgICAgIH1cbiAgICAgICAgaWYgKHJlcXVlc3QubWV0aG9kID09PSAnUE9TVCcpIHtcbiAgICAgICAgICBjb25zdCByZXNwb25zZSA9IG5ldyBSZXNwb25zZSgnMTIzJywge1xuICAgICAgICAgICAgc3RhdHVzOiAyMDAsXG4gICAgICAgICAgICBzdGF0dXNUZXh0OiAnT0snLFxuICAgICAgICAgICAgaGVhZGVyczogbmV3IGFwb2xsb1NlcnZlckVudi5IZWFkZXJzKHtcbiAgICAgICAgICAgICAgJ0NvbnRlbnQtVHlwZSc6ICdhcHBsaWNhdGlvbi9qc29uJyxcbiAgICAgICAgICAgIH0pLFxuICAgICAgICAgIH0pO1xuICAgICAgICAgIHJldHVybiBQcm9taXNlLnJlc29sdmUocmVzcG9uc2UpO1xuICAgICAgICB9XG4gICAgICB9XG5cbiAgICAgIGlmICh1cmwubWF0Y2goJ2FwaS9Vc2VyTG9naW5zJykpIHtcbiAgICAgICAgaWYgKHJlcXVlc3QubWV0aG9kID09PSAnUE9TVCcpIHtcbiAgICAgICAgICBjb25zdCB7IFVzZXJOYW1lIH0gPSBKU09OLnBhcnNlKHJlcXVlc3QuYm9keSk7XG4gICAgICAgICAgaWYgKCFVc2VyTmFtZSkge1xuICAgICAgICAgICAgY29uc3QgcmVzcG9uc2UgPSBuZXcgUmVzcG9uc2UoJycpO1xuICAgICAgICAgICAgcmVzcG9uc2Uuc3RhdHVzID0gNDAwO1xuICAgICAgICAgICAgcmV0dXJuIFByb21pc2UucmVqZWN0KHJlc3BvbnNlKTtcbiAgICAgICAgICB9XG4gICAgICAgICAgcmV0dXJuIHJlc29sdmVXaXRoKHsgaWQ6IDIxIH0pO1xuICAgICAgICB9XG4gICAgICAgIGNvbnN0IGlkZW50aXR5ID0gdXJsIC8vIGlkZW50aXR5ID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GxvU2VydmVyRW52LFxuICAgIFJlc3BvbnNlOiBmZXRjaC5SZXNwb25zZSxcbiAgICBmZXRjaCxcbiAgfTtcbn07XG5cbmV4cG9ydCBkZWZhdWx0IGNyZWF0ZUFwb2xsb1NlcnZlckVudk1vY2s7XG4iXX0=
{
"name": "@apollosproject/apollo-server-env-mock",
"version": "1.2.0-beta.2",
"version": "1.2.0-beta.3",
"homepage": "https://github.com/ApollosProject/apollos-prototype#readme",

@@ -10,3 +10,3 @@ "main": "lib/index.js",

"devDependencies": {
"@apollosproject/babel-preset-apollos": "^1.2.0-beta.2",
"@apollosproject/babel-preset-apollos": "^1.2.0-beta.3",
"jest-fetch-mock": "^2.0.0"

@@ -18,3 +18,3 @@ },

},
"gitHead": "79c803e2472ed3bcada49b12bf1e2df4799a3814"
"gitHead": "dea8a596427e2de29210f26564728809d21704ee"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc