switch from lockdown to shrinkwrap. closes #603

This commit is contained in:
Danny Coates 2014-03-09 17:59:20 -07:00
Родитель 9ada67e9ae
Коммит cdb8012a25
5 изменённых файлов: 1851 добавлений и 900 удалений

Просмотреть файл

@ -32,7 +32,6 @@ function main() {
var error = require('../error')
var Token = require('../tokens')(log, config.tokenLifetimes)
var i18n = require('../i18n')(config.i18n)
// signer compute-cluster
var CC = require('compute-cluster')

Просмотреть файл

@ -1,692 +0,0 @@
{
"CSSselect": {
"0.5.0": "cd12727a4e3a85d1e862611b349c9e3c6b7e0452"
},
"CSSwhat": {
"0.4.2": "7291585b71c5707ee7f49bbf3e9ae413ea715ff5"
},
"JSONSelect": {
"0.4.0": "a08edcc67eb3fcbe99ed630855344a0cf282bb8d"
},
"abbrev": {
"1.0.4": "bd55ae5e413ba1722ee4caba1f6ea10414a59ecd"
},
"addressparser": {
"0.2.1": "d11a5b2eeda04cfefebdf3196c10ae13db6cd607"
},
"amdefine": {
"0.1.0": "3ca9735cf1dde0edf7a4bf6641709c8024f9b227"
},
"ansi": {
"0.2.1": "3ab568ec18cd0ab7753c83117d57dad684a1c017"
},
"argparse": {
"0.1.15": "28a1f72c43113e763220e5708414301c8840f0a1"
},
"asn1": {
"0.1.11": "559be18376d08a4ec4dbe80877d27818639b2df7"
},
"ass": {
"0.0.4": "c7a7fa483ddcf5c332c94e495b7b5f7469162bb3"
},
"assert-plus": {
"0.1.2": "d93ffdbb67ac5507779be316a7d65146417beef8"
},
"async": {
"0.1.22": "0fc1aaa088a0e3ef0ebe2d8831bab0dcf8845061",
"0.2.10": "b6bbe0b0674b9d719708ca38de8c237cb526c3d1"
},
"aws-sign2": {
"0.5.0": "c57103f7a17fc037f02d7c2e64b602ea223f7d63"
},
"awsbox": {
"0.6.2": "4d35b870f8b3dfc80611df0c7d5431aed595204f"
},
"awsboxen": {
"0.5.2": "d2eb558f8996b159b57c911f0b8ced1b89a856d0"
},
"awssum": {
"1.1.0": "e010144aa516af78eca01352aab9203b816611bb",
"1.2.0": "6bf4336594185d76d06d9f515b13b7c874d56a04"
},
"awssum-amazon": {
"1.1.0": "ea9ed3f7116044563bb0b14d47b2f38a684bac47",
"1.3.0": "230788d0f9f91d987169d72502298cb4cc0f57a4"
},
"awssum-amazon-cloudformation": {
"1.2.1": "e7672690a9e20bc71ec27d304eb7b3679d7daa59"
},
"awssum-amazon-ec2": {
"1.3.2": "fb29a8dffaf6647440b93c64a1868317b4cc856c",
"1.4.0": "87c06ed89452436b4aa812cdbb42714800931d83"
},
"awssum-amazon-elb": {
"1.0.0": "6962e553635da77a6785c8529b48dbd0105cfb28"
},
"awssum-amazon-route53": {
"1.0.3": "85d1e6aeb22de14ed03e110cc887e482d0362aac",
"1.1.0": "069fd7718779613e8fcd06ca5ec197c3182b41a9"
},
"base64-js": {
"0.0.2": "024f0f72afa25b75f9c0ee73cd4f55ec1bed9784"
},
"bigint": {
"0.4.2": "5bccafb5af3924cc71eb59942fb3a64a12906e49"
},
"bignumber.js": {
"1.0.1": "0e953896823b783d48ea921884d3fd90b89bdcb1"
},
"binary-split": {
"0.1.1": "8327184c9f1c4c8e3c06f72bbdcdb4a8e9c756dc"
},
"bindings": {
"1.1.0": "f3cc4deec19fe31f255864eb1e6ffad857266ef0",
"1.1.1": "951f7ae010302ffc50b265b124032017ed2bf6f3"
},
"blanket": {
"1.1.6": "ff93783dfe08b4f8baa790cd46948f5f3c6fd152"
},
"boolbase": {
"1.0.0": "68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
},
"boom": {
"0.4.2": "7a636e9ded4efcefb19cef4947a3c67dfaee911b",
"2.2.0": "f5e9502793e9ba777cfae502f71f6fa04d746912"
},
"bops": {
"0.0.6": "082d1d55fa01e60dbdc2ebc2dba37f659554cf3a"
},
"browserify": {
"1.13.5": "b5f0a160733779d27547885dfb598a65ef6fdaad"
},
"buffer-equal": {
"0.0.0": "4a68196ac33522daa17ec99858b302a636b62cf1"
},
"bunker": {
"0.1.2": "c88992464a8e2a6ede86930375f92b58077ef97c"
},
"bunyan": {
"0.22.1": "020c383bed625af5c6c8834dd8c4aca0dd0f765c"
},
"burrito": {
"0.2.12": "d0d6e6ac81d5e99789c6fa4accb0b0031ea54f6b"
},
"catbox": {
"1.1.3": "360f913a25f7458bc7cf8e1cb1976f0ba3f929f0"
},
"character-parser": {
"1.0.2": "55384d6afcf8c6b9dd483e8347646a790e4545e7"
},
"charm": {
"0.1.2": "06c21eed1a1b06aeb67553cdc53e23274bac2296"
},
"cheerio": {
"0.12.4": "c199626e9e1eb0d4233a91a4793e7f8aaa69a18b"
},
"cheerio-select": {
"0.0.3": "3f2420114f3ccb0b1b075c245ccfaae5d617a388"
},
"cjson": {
"0.2.1": "73cd8aad65d9e1505f9af1744d3b79c1527682a5"
},
"cli": {
"0.4.5": "78f9485cd161b566e9a6c72d7170c4270e81db61"
},
"coffee-script": {
"1.3.3": "150d6b4cb522894369efed6a2101c20bc7f4a4f4",
"1.7.1": "62996a861780c75e6d5069d13822723b73404bfc"
},
"colors": {
"0.5.1": "7d0023eaeb154e8ee9fce75dcb923d0ed1667774",
"0.6.2": "2423fe6678ac0c5dae8852e5d0e5be08c997abcc"
},
"combined-stream": {
"0.0.4": "2d1a43347dbe9515a4a2796732e5b88473840b22"
},
"commander": {
"1.1.1": "50d1651868ae60eccff0a2d9f34595376bc6b041"
},
"commondir": {
"0.0.1": "89f00fdcd51b519c578733fec563e6a6da7f5be2"
},
"compute-cluster": {
"0.0.8": "*"
},
"console-browserify": {
"0.1.6": "d128a3c0bb88350eb5626c6e7c71a6f0fd48983c"
},
"convict": {
"0.4.1": "e93456d141e00926566ae6b05d1016a29b1cba23"
},
"core-util-is": {
"1.0.1": "6b07085aef9a3ccac6ee53bf9d3df0c1521a5538"
},
"cryptiles": {
"0.2.2": "ed91ff1f17ad13d3748288594f8a48a0d26f325c",
"2.0.0": "6ab6c539c652664ac753ff2946a289ed845b0426"
},
"crypto-browserify": {
"0.4.0": "246f6a337b884c99ffe8bfb085a184aee60c33f3"
},
"css": {
"1.0.8": "9386811ca82bccc9ee7fb5a732b1e2a317c8a3e7"
},
"css-parse": {
"1.0.4": "38b0503fbf9da9f54e9c1dbda60e145c77117bdd"
},
"css-stringify": {
"1.0.5": "b0d042946db2953bb9d292900a6cb5f6d0122031"
},
"ctype": {
"0.5.2": "fe8091d468a373a0b0c9ff8bbfb3425c00973a1d"
},
"data2xml": {
"0.8.1": "a488617e71fa624cfdc344e026a1601549525596"
},
"dateformat": {
"1.0.2-1.2.3": "b0220c02de98617433b72851cf47de3df2cdbee9",
"1.0.4-1.2.3": "4c12b101bddbb8880c2356da6e454459a5eb8b75"
},
"debuglog": {
"0.0.2": "6c0dcf07e2c3f74524629b741668bd46c7b362eb"
},
"deep-equal": {
"0.0.0": "99679d3bbd047156fcd450d3d01eeb9068691e83"
},
"deep-is": {
"0.1.2": "9ced65ea0bc0b09f42a6d79c1b1903f9d913cc18"
},
"delayed-stream": {
"0.0.5": "d4b1f43a93e8296dfe02694f4680bc37a313c73f"
},
"deputy": {
"0.0.4": "edc00a9ef5c53527c405328534c99795ada41cbf"
},
"detective": {
"0.1.1": "f1e04fe973754c8907ae51edd3e230e380d76fe9",
"0.2.1": "9ce92601fd223810c29432ad034f8c62d8b8654f"
},
"difflet": {
"0.2.6": "ab23b31f5649b6faa8e3d2acbd334467365ca6fa"
},
"directmail": {
"0.1.6": "21add6a35cf70e6050b3aee1a816c88149937748"
},
"dkim-signer": {
"0.1.0": "c57c29b238029fbb08622afc2729ad596bcb417b"
},
"docopt": {
"0.4.0": "3d2ec9240c0929146b694692f45bcbf135301905"
},
"domelementtype": {
"1.1.1": "7887acbda7614bb0a3dbe1b5e394f77a8ed297cf"
},
"domhandler": {
"2.0.3": "889f8df626403af0788e29d66d5d5c6f7ebf0fd6",
"2.1.0": "d2646f5e57f6c3bab11cf6cb05d3c0acf7412594"
},
"domutils": {
"1.1.6": "bddc3de099b9a2efacc51c623f28f416ecc57485",
"1.4.0": "330b95212944e340c6e0227e9ec3d35242d4dd05"
},
"dtrace-provider": {
"0.2.8": "e243f19219aa95fbf0d8f2ffb07f5bd64e94fe20"
},
"encoding": {
"0.1.7": "25cc19b34e9225d120c2ea769f9136c91cecc908"
},
"entities": {
"0.5.0": "f611cb5ae221050e0012c66979503fd7ae19cc49"
},
"escodegen": {
"0.0.23": "9acf978164368e42276571f18839c823b3a844df"
},
"esprima": {
"0.9.9": "1b90925c975d632d7282939c3bb9c3a423c30490",
"1.0.3": "7bdb544f95526d424808654d3b8fbe928650c0fe",
"1.0.4": "9f557e08fc3b4d26ece9dd34f8fbf476b62585ad"
},
"estraverse": {
"0.0.4": "01a0932dfee574684a598af5a67c3bf9b6428db2",
"1.1.2-1": "28ff59bb3cf1272a2027e1c1541f94b23226b311"
},
"eventemitter2": {
"0.4.13": "0a8ab97f9c1b563361b8927f9e80606277509153"
},
"exit": {
"0.1.2": "0632638f8d877cc82107d30a0fff1a17cba1cd0c"
},
"eyes": {
"0.1.8": "62cf120234c683785d902348a800ef3e0cc20bc0"
},
"falafel": {
"0.1.6": "3084cf3d41b59d15c813be6f259557fdc82b0660"
},
"findup-sync": {
"0.1.2": "da2b96ca9f800e5a13d0a11110f490b65f62e96d"
},
"fmt": {
"0.4.0": "d11e6a42e794f1e1e6200691e6c025106b684a8d"
},
"follow-redirects": {
"0.0.3": "6ce67a24db1fe13f226c1171a72a7ef2b17b8f65"
},
"forever-agent": {
"0.5.2": "6d0e09c4921f94a27f63d3b49c5feff1ea4c5130"
},
"form-data": {
"0.1.2": "1143c21357911a78dd7913b189b4bab5d5d57445"
},
"getobject": {
"0.1.0": "047a449789fa160d018f5486ed91320b6ec7885c"
},
"gettext-parser": {
"0.1.10": "3ecb4e6a877edeb378a9e32cbc8f5a7bdf69d3e9"
},
"github-url-from-git": {
"1.1.1": "1f89623453123ef9623956e264c60bf4c3cf5ccf"
},
"github-url-from-username-repo": {
"0.0.2": "0d9ee8e2bca36d5f065a1bcd23eb3f1fa3d636bd"
},
"glob": {
"3.1.21": "d29e0a055dea5138f4d07ed40e8982e83c2066cd",
"3.2.8": "5506f4311721bcc618c7d8dba144188750307073"
},
"globule": {
"0.1.0": "d9c8edde1da79d125a151b79533b978676346ae5"
},
"gobbledygook": {
"0.0.3": "437bb23d3ade04dd26b49e7c21e4026c6b086234"
},
"graceful-fs": {
"1.1.14": "07078db5f6377f6321fceaaedf497de124dc9465",
"1.2.3": "15a4806a57547cb2d2dbf27f42e89a8c3451b364",
"2.0.2": "26806eaca4bff8fc5dbc935e696135792175c46f"
},
"grunt": {
"0.4.2": "895b4f28a6102bffd41d365a65e8be2d6a293d93"
},
"grunt-contrib-jshint": {
"0.8.0": "6bd52325dcce1d995dbbf648030c59e1a606acda"
},
"grunt-copyright": {
"0.1.0": "6ed307c191da5acf795e665ed37966e74550dbdf"
},
"handlebars": {
"1.3.0": "9e9b130a93e389491322d975cf3ec1818c37ce34"
},
"hapi": {
"2.4.0": "bfe7c6792ec720ff0d187bf912f78275cd82bfd4"
},
"hapi-auth-hawk": {
"1.0.0": "9f6170270e164debd5e7f5a61ffeea3b96a1488a"
},
"hawk": {
"1.0.0": "b90bb169807285411da7ffcb8dd2598502d3b52d",
"2.1.0": "a137d07ed04d67c9b140c1537429d7f8046debb8"
},
"he": {
"0.3.6": "9d7bc446e77963933301dd602d5731cb861135e0"
},
"hiredis": {
"0.1.16": "f6cee1add2589b8b71cef3c4d3936a9fcd638640"
},
"hkdf": {
"0.0.2": "2f8db615fdef870201f82d2b619ca6d347d0647e"
},
"hoek": {
"0.9.1": "3d322462badf07716ea7eb85baf88079cddce505",
"1.5.0": "9db2d1c27c7481c3239a0bfd457f3249b280682d"
},
"hooker": {
"0.2.3": "b834f723cc4a242aa65963459df6d984c5d3d959"
},
"htmlparser2": {
"3.1.4": "72cbe7d5d56c01acf61fcf7b933331f4e45b36f0",
"3.3.0": "cc70d05a59f6542e43f0e685c982e14c924a9efe"
},
"http-browserify": {
"0.1.1": "d9d82735a5f85f950761ac3909ba9485ec0af4f1"
},
"http-signature": {
"0.10.0": "1494e4f5000a83c0f11bcc12d6007c530cb99582"
},
"iconv": {
"2.0.7": "a05421a08b0d4247c099b16f65e4767a90aa851f"
},
"iconv-lite": {
"0.2.11": "1ce60a3a57864a292d1321ff4609ca4bb965adc8"
},
"indexof": {
"0.0.1": "82dc336d232b9062179d05ab3293a66059fd435d"
},
"inherits": {
"1.0.0": "38e1975285bf1f7ba9c84da102bb12771322ac48",
"2.0.1": "b17d08d326b4423e568eff719f91b0b1cbdf69f1"
},
"iron": {
"2.0.0": "2895c20a3f1cb1f269104566525edbe7355d623f"
},
"is-promise": {
"1.0.0": "b998d17551f16f69f7bd4828f58f018cc81e064f"
},
"jade": {
"0.30.0": "9ea816da61bea6fef4709b4d9f6b442f1e205ba3"
},
"joi": {
"2.7.0": "7270757e1cdcbb81a8480ed6059539455758fdf1"
},
"js-yaml": {
"2.0.5": "a25ae6509999e97df278c6719da11bd0687743a8"
},
"jshint": {
"2.4.4": "4162238314c649f987752651e8e064e30a68706e"
},
"json-stringify-safe": {
"5.0.0": "4c1f228b5050837eba9d21f50c2e6e320624566e"
},
"jsxgettext": {
"0.3.3": "4580074361f9f0c665790b073042c8b0b927dde7"
},
"jwcrypto": {
"0.4.4": "acc75cb25aa1b038b71c49b4b054589035804d17"
},
"keypress": {
"0.1.0": "4a3188d4291b66b4f65edb99f806aa9ae293592a"
},
"lazysmtp": {
"0.0.8": "*"
},
"load-grunt-tasks": {
"0.2.1": "19df82abb7fab7ec70ecc5222ce7a301a843dace"
},
"lockdown": {
"0.0.5": "6bbcc01b7d2a3894a712f135b2675a078ede24c7"
},
"lodash": {
"0.9.2": "8f3499c5245d346d682e5b0d3b40767e09f1a92c",
"1.0.1": "57945732498d92310e5bd4b1ff4f273a79e6c9fc"
},
"lru-cache": {
"2.5.0": "d82388ae9c960becbea0c73bb9eb79b6c6ce9aeb"
},
"mailcomposer": {
"0.2.8": "bcb4d84aea08ea6f4c007f927c0ad214986370cc"
},
"mailparser": {
"0.4.0": "5bbe975af3d98ac01dc0d0fced61ea79a7e99eb8"
},
"mime": {
"1.2.11": "58203eed86e3a5ef17aed2b7d9ebd47f0a60dd10",
"1.2.9": "009cd40867bd35de521b3b966f04e2f8d4d13d09"
},
"mimelib": {
"0.2.14": "2a1aa724bd190b85bd526e6317ab6106edfd6831"
},
"minimatch": {
"0.2.14": "c74e780574f63c6f9a090e90efbe6ef53a6a756a"
},
"minimist": {
"0.0.8": "857fcabfc3397d2625b8228262e86aa7a011b05d"
},
"mkdirp": {
"0.3.5": "de3e5f8961c88c787ee1368df849ac4413eca8d7"
},
"moment": {
"1.7.2": "e66be344be2e9ec1d12f1e16a8ca49bf63417f4f"
},
"monocle": {
"0.1.50": "9a7cbd0ccc10de95fd78a04b9beb2482ae4940b7"
},
"multiparty": {
"3.2.3": "3bc7d3df72c4be491b0f7cc275561322b92578d7"
},
"mv": {
"0.0.5": "15eac759479884df1131d6de56bce20b654f5391"
},
"mysql": {
"2.1.0": "8fef3fe6a8f00b05629c9b84c4a4b07ba0003f6e"
},
"nan": {
"0.7.0": "3c9cc0a4e021c9cc2b699df1d94944e51c5352b9"
},
"negotiator": {
"0.4.1": "7806f0041eca5b05bb00758d8ad7611ff18f357c"
},
"nice-route53": {
"0.3.4": "43c15d65c772a25b25edee4d5a091ed0bc711df4"
},
"nipple": {
"2.2.0": "e885c05680a5d89f23731b9af72fa17feff07894"
},
"node-uuid": {
"1.4.1": "39aef510e5889a3dca9c895b506c73aae1bac048"
},
"nodemailer": {
"0.6.0": "230620f83b0186305ce1970db656838e04ec30df"
},
"nomnom": {
"1.5.2": "f4345448a853cfbd5c0d26320f2477ab0526fe2f"
},
"nopt": {
"1.0.10": "6ddd21bd2a31417b92727dd585f8a6f37608ebee",
"2.2.0": "3d106676f3607ac466af9bf82bd707b1501d3bd5"
},
"normalize-package-data": {
"0.1.7": "f216a318a868214892e89ad80a944cddc1a79615",
"0.2.12": "c8284cf0cb0466ea60ee64276b9070722c1da768"
},
"npmlog": {
"0.0.6": "685043fe71aa1665d6e3b2acef180640caf40873"
},
"nth-check": {
"1.0.0": "02fc1277aa2bf8e6083be456104d6a646101a49d"
},
"nub": {
"0.0.0": "b369bd32bdde66af59605c3b0520bc219dccc04f"
},
"oauth-sign": {
"0.3.0": "cb540f93bb2b22a7d5941691a288d60e8ea9386e"
},
"object-keys": {
"0.4.0": "28a6aae7428dd2c3a92f3d95f21335dd204e0336"
},
"optimist": {
"0.2.6": "c15b750c98274ea175d241b745edf4ddc88f177b",
"0.3.1": "6680d30560193af5a55eb64394883ed7bcb98f2e",
"0.3.4": "4d6d0bd71ffad0da4ba4f6d876d5eeb04e07480b",
"0.3.7": "c90941ad59e4273328923074d2cf2e7cbc6ec0d9",
"0.5.0": "d9c60da4c34811418d183390623f8046f134a2d4",
"0.6.1": "da3ea74686fa21a19a111c326e90eb15a0196686"
},
"osenv": {
"0.0.3": "cd6ad8ddb290915ad9e22765576025d411f29cb6"
},
"p-promise": {
"0.2.5": "6deaccf0830abf24b53ed57b0be30a760023efce"
},
"plist": {
"0.4.3": "812842a873aa57f98d0050bee6aaf3549b9d5798"
},
"promise": {
"2.0.0": "46648aa9d605af5d2e70c3024bf59436da02b80e"
},
"public-address": {
"0.1.0": "92e6ae2d69f90da0eaf7ca5a74f1d3e7aadc8db5"
},
"punycode": {
"1.2.4": "54008ac972aec74175def9cba6df7fa9d3918740"
},
"qs": {
"0.6.6": "6e015098ff51968b8a3c819001d5f2c89bc4b107"
},
"rai": {
"0.1.9": "0f71aac1b8787828b0e0bdae73ec4fe64bad11fc"
},
"read-installed": {
"0.0.1": "2d9b9086ae33ae42793210f519701169edabd2e2"
},
"read-package-json": {
"0.4.1": "a0e917cce8333444889543de9db2b1a4606baaa2",
"1.1.7": "a28da23cb4330106a0d45e86065e0fc3b79d263e"
},
"readable-stream": {
"1.0.26": "12a9c4415f6a85374abe18b7831ba52d43105766",
"1.1.11": "76ae0d88df2ac36c59e7c205e0cafc81c57bc07d"
},
"readdirp": {
"0.2.5": "c4c276e52977ae25db5191fe51d008550f15d9bb"
},
"relative-date": {
"1.1.1": "75c97c5446fa1146c1d250c47ca3629fb9a2e764"
},
"request": {
"2.31.0": "4c8ac967c9a4b9410cb4ba1a61fdb644267eeeff"
},
"require-all": {
"0.0.3": "051e192246c00d399bfe6164bc4e810bc588e01a"
},
"resolve": {
"0.2.8": "fdb17d4abb0ecaf6f80d67ac03cf290088f6c0d0"
},
"rimraf": {
"2.0.3": "f50a2965e7144e9afd998982f15df706730f56a9",
"2.1.4": "5a6eb62eeda068f51ede50f29b3e5cd22f3d9bb2"
},
"runforcover": {
"0.0.2": "344f057d8d45d33aebc6cc82204678f69c4857cc"
},
"sax": {
"0.5.8": "d472db228eb331c2506b0e8c15524adb939d12c1",
"0.6.0": "7a155519b712e3ec56f102ab984f15e15d3859f0"
},
"scrypt-hash": {
"1.1.8": "1c2926971d5984e517ff9d65a53cfaab1e58e0bf"
},
"semver": {
"1.0.14": "cac5e2d55a6fbf958cb220ae844045071c78f676",
"2.2.1": "7941182b3ffcc580bff1c17942acdf7951c0d213"
},
"shelljs": {
"0.1.4": "dfbbe78d56c3c0168d2fb79e10ecd1dbcb07ec0e"
},
"shot": {
"1.3.0": "b7f168455ed2940b07fc123919334ccd1ac66772"
},
"sigmund": {
"1.0.0": "66a2b3a749ae8b5fb89efd4fcc01dc94fbe02296"
},
"simplesmtp": {
"0.3.21": "79aa14d72a915bb5853ff53a8a44b0823fbe1a8f"
},
"sjcl": {
"1.0.0": "47f3b7c7d87aa58e14f89f5fbc0b44613a129af7"
},
"slide": {
"1.1.5": "31732adeae78f1d2d60a29b63baf6a032df7c25d"
},
"sntp": {
"0.2.4": "fb885f18b0f3aad189f824862536bceeec750900",
"1.0.2": "b3a08dc138e64beb0e8df8322ad690b8acc740bf"
},
"source-map": {
"0.1.32": "c8b6c167797ba4740a8ea33252162ff08591b266"
},
"stream-counter": {
"0.2.0": "ded266556319c8b0e222812b9cf3b26fa7d947de"
},
"string_decoder": {
"0.10.25-1": "f387babd95d23a2bb73b1fbf2cb3efab6f78baab"
},
"tap": {
"0.4.8": "eb04f3f74ae0c4201bbf778e32a5cfb18d261ef0"
},
"temp": {
"0.4.0": "671ad63d57be0fe9d7294664b3fc400636678a60",
"0.5.1": "77ab19c79aa7b593cbe4fac2441768cad987b8df",
"0.6.0": "6b13df5cddf370f2e3a606ca40f202c419173f07"
},
"then-redis": {
"0.3.10": "2f7a7484c58064d247bc4acabdc20dff972e740d"
},
"through": {
"2.3.4": "495e40e8d8a8eaebc7c275ea88c2b8fc14c56455"
},
"to-utf8": {
"0.0.1": "d17aea72ff2fba39b9e43601be7b3ff72e089852"
},
"toobusy": {
"0.2.4": "d97a3ee760b2462388e15f8526579b4b64bb193d"
},
"tough-cookie": {
"0.9.15": "75617ac347e3659052b0350131885829677399f6"
},
"transformers": {
"2.0.1": "352131dfceb93a7532dc7535a4f142510435a394"
},
"traverse": {
"0.5.2": "e203c58d5f7f0e37db6e74c0acb929bb09b61d85",
"0.6.6": "cbdf560fd7b9af632502fed40f918c157ea97137"
},
"tunnel-agent": {
"0.3.0": "ad681b68f5321ad2827c4cfb1b7d5df2cfe942ee"
},
"uglify-js": {
"1.0.6": "f0d3aafd463f26a437b9ebc19f4947ab7e8078aa",
"1.1.1": "ee71a97c4cefd06a1a9b20437f34118982aa035b",
"1.2.6": "d354b2d3c1cf10ebc18fa78c11a28bdd9ce1580d",
"2.2.5": "a6e02a70d839792b9780488b7b8b184c095c99c7",
"2.3.6": "fa0984770b428b7a9b2a8058f46355d14fef211a"
},
"underscore": {
"1.1.7": "40bab84bad19d230096e8d6ef628bff055d83db0",
"1.4.4": "61a6a32010622afa07963bf325203cf12239d604",
"1.6.0": "8b38b10cacdef63337b8b24e4ff86d45aea529a8"
},
"underscore.string": {
"2.2.1": "d7c0fa2af5d5a1a67f4253daee98132e733f0f19",
"2.3.3": "71c08bf6b428b1133f37e78fa3a21c82f7329b0d"
},
"urlparse": {
"0.0.1": "d171ec4681fcd0d8bd00b64345637d89a9700876"
},
"uuid": {
"1.4.1": "a337828580d426e375b8ee11bd2bf901a596e0b8"
},
"validator": {
"0.4.24": "9d88e88809114a861ec69bc0ddcb85322c98499a"
},
"vm-browserify": {
"0.0.4": "5d7ea45bbef9e4a6ff65f95438e0a87c357d5a73"
},
"vows": {
"0.5.13": "f6fd9ee9c36d3f20bd6680455cff8090c4b29cde",
"0.6.0": "be2f068009d39a37b37af85c29fa86d8573db431"
},
"when": {
"2.7.1": "445b834ae6059c0d4772f55b079f994ddd6f5b2a"
},
"which": {
"1.0.5": "5630d6819dda692f1464462e7956cb42c0842739"
},
"wordwrap": {
"0.0.2": "b79669bb42ecb409f83d583cad52ca17eaa1643f"
},
"xml2js": {
"0.1.13": "438ff3b1d85a51ad659ffc2ebe83403e10c98722",
"0.2.8": "9b81690931631ff09d1957549faf54f4f980b3c2"
},
"xmlbuilder": {
"0.4.3": "c4614ba74e0ad196e609c9272cd9e1ddb28a8a58"
},
"xmldom": {
"0.1.19": "631fc07776efd84118bf25171b37ed4d075a0abc"
},
"xoauth2": {
"0.1.8": "b916ff10ecfb54320f16f24a3e975120653ab0d2"
},
"xtend": {
"2.1.2": "6efecc2a4dad8e6962c4901b337ce7ba87b5d28b"
}
}

1844
npm-shrinkwrap.json сгенерированный Normal file

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -9,7 +9,6 @@
"test": "test"
},
"scripts": {
"preinstall": "./scripts/lockdown",
"test": "./scripts/gen_keys.js && ./scripts/tap-coverage.js test/local test/remote",
"start": "scripts/start-local.sh",
"test-mysql": "DB_BACKEND=mysql npm test",
@ -33,35 +32,34 @@
"dependencies": {
"mysql": "2.1.0",
"uuid": "1.4.1",
"hapi": "2.4.0",
"hapi": "2.6.0",
"hapi-auth-hawk": "1.0.0",
"hkdf": "0.0.2",
"compute-cluster": "git://github.com/dannycoates/node-compute-cluster.git#0222a742",
"jwcrypto": "0.4.4",
"handlebars": "1.3.0",
"convict": "0.4.1",
"convict": "0.4.2",
"p-promise": "0.2.5",
"bunyan": "0.22.1",
"toobusy": "0.2.4",
"nodemailer": "0.6.0",
"nodemailer": "0.6.1",
"then-redis": "0.3.10",
"scrypt-hash": "1.1.8",
"lockdown": "0.0.5",
"request": "2.31.0"
"request": "2.34.0"
},
"devDependencies": {
"awsbox": "0.6.2",
"awsbox": "0.7.0",
"awsboxen": "0.5.2",
"hawk": "2.1.0",
"lazysmtp": "git://github.com/dannycoates/node-lazysmtp.git#9bb3712992",
"mailparser": "0.4.0",
"mailparser": "0.4.1",
"tap": "0.4.8",
"grunt-contrib-jshint": "~0.8.0",
"load-grunt-tasks": "~0.2.0",
"grunt": "~0.4.2",
"ass": "0.0.4",
"sjcl": "1.0.0",
"binary-split": "0.1.1",
"binary-split": "0.1.2",
"through": "2.3.4",
"grunt-copyright": "~0.1.0"
}

Просмотреть файл

@ -1,198 +0,0 @@
#!/usr/bin/env node
if (process.env['NPM_LOCKDOWN_RUNNING']) process.exit(0);
console.log("NPM Lockdown is here to check your dependencies! Never fear!");
var http = require('http'),
crypto = require('crypto'),
exec = require('child_process').exec,
fs = require('fs'),
path = require('path');
try {
var lockdownJson = JSON.parse(fs.readFileSync(path.join(process.cwd(), 'lockdown.json')));
} catch(e) {
console.log("\nERROR: I cannot read lockdown.json! run node_modules/.bin/lockdown-relock to generate!\n");
process.exit(1);
}
var boundPort;
// during execution fatal errors will be appended to this list
var errors = [];
// during execution non-fatal warnings will be appended to this list
var warn = [];
function rewriteURL(u) {
return u.replace('registry.npmjs.org', '127.0.0.1:' + boundPort);
}
function packageOk(name, ver, sha, required) {
if (!lockdownJson[name]) {
if (required) {
errors.push("package '" + name + "' not in lockdown.json!");
}
return false;
}
if (lockdownJson[name][ver] === undefined) {
if (required) {
errors.push("package version " + name + "@" + ver + " not in lockdown.json!");
}
return false;
}
// a '*' shasum is not checked
var wantSHA = lockdownJson[name][ver];
if (wantSHA !== '*' && wantSHA !== sha) {
if (required) {
errors.push("package " + name + "@" + ver + " has a different checksum (" +
wantSHA + " v. " + sha + ")");
}
return false;
}
if (wantSHA === '*') {
warn.push("Lockdown cannot guarantee your saftey! No sha for pkg " + name + "@" + ver +
" in lockdown.json");
}
return true;
}
function rewriteVersionMD(json) {
if (typeof json === 'string') json = JSON.parse(json);
if (!json.error) {
json.dist.tarball = rewriteURL(json.dist.tarball);
// is the name/version/sha in our lockdown.json?
if (!packageOk(json.name, json.version, json.dist.shasum, true)) return null;
}
return JSON.stringify(json);
}
function rewritePackageMD(json) {
if (typeof json === 'string') json = JSON.parse(json);
if (!json.error) {
Object.keys(json.versions).forEach(function(ver) {
var data = json.versions[ver];
var name = data.name;
var sha = data.dist ? data.dist.shasum : undefined;
if (packageOk(name, ver, sha, false)) {
data.dist.tarball = rewriteURL(data.dist.tarball);
} else {
delete json.versions[ver];
}
});
}
return JSON.stringify(json);
}
function copy(from, to) {
for (var k in from) {
to[k] = from[k];
}
return to;
}
var server = http.createServer(function (req, res) {
if (req.method !== 'GET') {
return res.end('non GET requests not supported', 501);
}
// what type of request is this?
// 1. specific version json metadata (when explicit dependency is expressed)
// - for these requests we should verify the name/version/sha advertised is allowed
// 2. package version json metadata (when version range is expressed - including '*')
// XXX: for these requests we should prune all versions that are not allowed
// 3. tarball - actual bits
// XXX: for these requests we should verify the name/version/sha matches something
// allowed, otherwise block the transaction
var arr = req.url.substr(1).split('/');
var type = [ '', 'package_metadata', 'version_metadata', 'tarball' ][arr.length];
// let's extract pkg name and version sensitive to the type of request being performed.
var pkgname, pkgver;
if (type === 'tarball') {
pkgname = arr[0];
var getVer = new RegExp("^" + pkgname + "-(.*)\\.tgz$");
pkgver = getVer.exec(arr[2])[1];
} else if (type === 'version_metadata') {
pkgname = arr[0];
pkgver = arr[1];
} else if (type === 'package_metadata') {
pkgname = arr[0];
}
var hash = crypto.createHash('sha1');
var r = http.request({
host: 'registry.npmjs.org',
port: 80,
method: req.method,
path: req.url,
agent: false
}, function(rres) {
res.setHeader('Content-Type', rres.headers['content-type']);
if (type === 'tarball') res.setHeader('Content-Length', rres.headers['content-length']);
var b = "";
rres.on('data', function(d) {
hash.update(d);
if (type != 'tarball') b += d;
else res.write(d);
});
rres.on('end', function() {
if (type === 'tarball') {
res.end();
} else {
if (type === 'package_metadata') {
b = rewritePackageMD(b);
} else if (type === 'version_metadata') {
b = rewriteVersionMD(b);
}
if (b === null) {
res.writeHead(404);
res.end("package installation disallowed by lockdown");
} else {
res.setHeader('Content-Length', Buffer.byteLength(b));
res.writeHead(rres.statusCode);
res.end(b);
}
}
});
});
r.end();
});
server.listen(process.env['LOCKDOWN_PORT'] || 0, '127.0.0.1', function() {
boundPort = server.address().port;
var env = copy(process.env, {
NPM_CONFIG_REGISTRY: 'http://127.0.0.1:' + boundPort,
NPM_LOCKDOWN_RUNNING: "true"
});
var child = exec('npm install', {
cwd: process.cwd(),
env: env
}, function(e) {
if (warn.length) {
console.log();
console.log("LOCKDOWN WARNINGS:");
warn.forEach(function(e) { console.log(" ", e); });
console.log();
}
if (errors.length) {
console.log();
console.log("LOCKDOWN ERRORS:");
errors.forEach(function(e) { console.log(" ", e); });
console.log();
}
process.exit(e ? 1 : 0);
});
child.stdout.pipe(process.stdout);
child.stderr.pipe(process.stderr);
});