Merge pull request #2542 from overleaf/ns-fix-import-w-readtoken

skip existence check if importing with read token

GitOrigin-RevId: 70d045be8415d7e0850347bdf9113b5ec3f310d0
This commit is contained in:
Simon Detheridge 2020-01-27 13:54:33 +00:00 committed by Copybot
parent 34d3671640
commit fce70774cc

View file

@ -5951,7 +5951,7 @@
"ctype": { "ctype": {
"version": "0.5.3", "version": "0.5.3",
"resolved": "https://registry.npmjs.org/ctype/-/ctype-0.5.3.tgz", "resolved": "https://registry.npmjs.org/ctype/-/ctype-0.5.3.tgz",
"integrity": "sha1-gsGMJGH3QRTvFsE1IkrQuRRMoS8=", "integrity": "sha512-T6CEkoSV4q50zW3TlTHMbzy1E5+zlnNcY+yb7tWVYlTwPhx9LpnfAkd4wecpWknDyptp4k97LUZeInlf6jdzBg==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
@ -8517,13 +8517,11 @@
}, },
"balanced-match": { "balanced-match": {
"version": "1.0.0", "version": "1.0.0",
"bundled": true, "bundled": true
"optional": true
}, },
"brace-expansion": { "brace-expansion": {
"version": "1.1.11", "version": "1.1.11",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"balanced-match": "^1.0.0", "balanced-match": "^1.0.0",
"concat-map": "0.0.1" "concat-map": "0.0.1"
@ -8540,8 +8538,7 @@
}, },
"concat-map": { "concat-map": {
"version": "0.0.1", "version": "0.0.1",
"bundled": true, "bundled": true
"optional": true
}, },
"console-control-strings": { "console-control-strings": {
"version": "1.1.0", "version": "1.1.0",
@ -8670,7 +8667,6 @@
"minimatch": { "minimatch": {
"version": "3.0.4", "version": "3.0.4",
"bundled": true, "bundled": true,
"optional": true,
"requires": { "requires": {
"brace-expansion": "^1.1.7" "brace-expansion": "^1.1.7"
} }
@ -10446,7 +10442,7 @@
"i18next": { "i18next": {
"version": "1.10.6", "version": "1.10.6",
"resolved": "https://registry.npmjs.org/i18next/-/i18next-1.10.6.tgz", "resolved": "https://registry.npmjs.org/i18next/-/i18next-1.10.6.tgz",
"integrity": "sha1-/d2LSRUCxIlnpiljvHIv+JfN3qA=", "integrity": "sha512-dWqoNEjzG+Dxgm0gxJlSsNu/PUn6d8wXmCEsY1mJgwCsTE/5hac29krq92IPpj59dKypD59bMJyNAd0VYvvIXw==",
"dev": true, "dev": true,
"requires": { "requires": {
"cookies": ">= 0.2.2", "cookies": ">= 0.2.2",
@ -10457,7 +10453,7 @@
"json5": { "json5": {
"version": "0.2.0", "version": "0.2.0",
"resolved": "https://registry.npmjs.org/json5/-/json5-0.2.0.tgz", "resolved": "https://registry.npmjs.org/json5/-/json5-0.2.0.tgz",
"integrity": "sha1-ttcDXHDEVw+IPH7cdZ3jrgPbM0M=", "integrity": "sha512-jzu3hxGhztAzldgKTbsW240mtPIgR6foddu9HqQgpv0ML2RcjE0mjyLro0XE92YAQYpTpcByY80vVzlKOM64xA==",
"dev": true "dev": true
} }
} }
@ -10465,7 +10461,7 @@
"i18next-client": { "i18next-client": {
"version": "1.10.3", "version": "1.10.3",
"resolved": "https://registry.npmjs.org/i18next-client/-/i18next-client-1.10.3.tgz", "resolved": "https://registry.npmjs.org/i18next-client/-/i18next-client-1.10.3.tgz",
"integrity": "sha1-dtA1NVftkNHnqHdU1QBNP3gB/ek=", "integrity": "sha512-f0Hmy8ES4B5+PolvMbu9TyATA8Sc9klHW9QwDGNTwqoN8A090BECCz3/e6yePF/HNDvAQgwTxpGQgA3+qfWTeA==",
"dev": true "dev": true
}, },
"iconv-lite": { "iconv-lite": {
@ -12534,7 +12530,7 @@
"lodash.clonedeep": { "lodash.clonedeep": {
"version": "4.5.0", "version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz",
"integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=", "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==",
"dev": true "dev": true
}, },
"lodash.defaults": { "lodash.defaults": {
@ -12545,7 +12541,7 @@
"lodash.escaperegexp": { "lodash.escaperegexp": {
"version": "4.1.2", "version": "4.1.2",
"resolved": "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz", "resolved": "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz",
"integrity": "sha1-ZHYsSGGAglGKw99Mz11YhtriA0c=", "integrity": "sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==",
"dev": true "dev": true
}, },
"lodash.flatten": { "lodash.flatten": {
@ -15760,7 +15756,7 @@
"onesky": { "onesky": {
"version": "0.1.6", "version": "0.1.6",
"resolved": "https://registry.npmjs.org/onesky/-/onesky-0.1.6.tgz", "resolved": "https://registry.npmjs.org/onesky/-/onesky-0.1.6.tgz",
"integrity": "sha1-fw1oy4DN/51ETHzVURZdgow0zaw=", "integrity": "sha512-usE1IfmUWtaqCUkjcIid/L1XDLZkdEgWmS5O/kqKDBD68t99Y8+BX5cck9QKiKYRtrgDZLel4H5BvW6myUbSHg==",
"dev": true, "dev": true,
"requires": { "requires": {
"request": "~2.40.0", "request": "~2.40.0",
@ -15770,35 +15766,35 @@
"asn1": { "asn1": {
"version": "0.1.11", "version": "0.1.11",
"resolved": "https://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz", "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.1.11.tgz",
"integrity": "sha1-VZvhg3bQik7E2+gId9J4GGObLfc=", "integrity": "sha512-Fh9zh3G2mZ8qM/kwsiKwL2U2FmXxVsboP4x1mXjnhKHv3SmzaBZoYvxEQJz/YS2gnCgd8xlAVWcZnQyC9qZBsA==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"assert-plus": { "assert-plus": {
"version": "0.1.5", "version": "0.1.5",
"resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.1.5.tgz", "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-0.1.5.tgz",
"integrity": "sha1-7nQAlBMALYTOxyGcasgRgS5yMWA=", "integrity": "sha512-brU24g7ryhRwGCI2y+1dGQmQXiZF7TtIj583S96y0jjdajIe6wn8BuXyELYhvD22dtIxDQVFk04YTJwwdwOYJw==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"async": { "async": {
"version": "0.9.2", "version": "0.9.2",
"resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz", "resolved": "https://registry.npmjs.org/async/-/async-0.9.2.tgz",
"integrity": "sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0=", "integrity": "sha512-l6ToIJIotphWahxxHyzK9bnLR6kM4jJIIgLShZeqLY7iboHoGkdgFl7W2/Ivi4SkMJYGKqW8vSuk0uKUj6qsSw==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"aws-sign2": { "aws-sign2": {
"version": "0.5.0", "version": "0.5.0",
"resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.5.0.tgz", "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.5.0.tgz",
"integrity": "sha1-xXED96F/wDfwLXwuZLYC6iI/fWM=", "integrity": "sha512-oqUX0DM5j7aPWPCnpWebiyNIj2wiNI87ZxnOMoGv0aE4TGlBy2N+5iWc6dQ/NOKZaBD2W6PVz8jtOGkWzSC5EA==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"boom": { "boom": {
"version": "0.4.2", "version": "0.4.2",
"resolved": "https://registry.npmjs.org/boom/-/boom-0.4.2.tgz", "resolved": "https://registry.npmjs.org/boom/-/boom-0.4.2.tgz",
"integrity": "sha1-emNune1O/O+xnO9JR6PGffrukRs=", "integrity": "sha512-OvfN8y1oAxxphzkl2SnCS+ztV/uVKTATtgLjWYg/7KwcNyf3rzpHxNQJZCKtsZd4+MteKczhWbSjtEX4bGgU9g==",
"dev": true, "dev": true,
"requires": { "requires": {
"hoek": "0.9.x" "hoek": "0.9.x"
@ -15807,7 +15803,7 @@
"combined-stream": { "combined-stream": {
"version": "0.0.7", "version": "0.0.7",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-0.0.7.tgz", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-0.0.7.tgz",
"integrity": "sha1-ATfmV7qlp1QcV6w3rF/AfXO03B8=", "integrity": "sha512-qfexlmLp9MyrkajQVyjEDb0Vj+KhRgR/rxLiVhaihlT+ZkX0lReqtH6Ack40CvMDERR4b5eFp3CreskpBs1Pig==",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -15817,7 +15813,7 @@
"cryptiles": { "cryptiles": {
"version": "0.2.2", "version": "0.2.2",
"resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-0.2.2.tgz", "resolved": "https://registry.npmjs.org/cryptiles/-/cryptiles-0.2.2.tgz",
"integrity": "sha1-7ZH/HxetE9N0gohZT4pIoNJvMlw=", "integrity": "sha512-gvWSbgqP+569DdslUiCelxIv3IYK5Lgmq1UrRnk+s1WxQOQ16j3GPDcjdtgL5Au65DU/xQi6q3xPtf5Kta+3IQ==",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -15827,20 +15823,20 @@
"delayed-stream": { "delayed-stream": {
"version": "0.0.5", "version": "0.0.5",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-0.0.5.tgz",
"integrity": "sha1-1LH0OpPoKW3+AmlPRoC8N6MTxz8=", "integrity": "sha512-v+7uBd1pqe5YtgPacIIbZ8HuHeLFVNe4mUEyFDXL6KiqzEykjbw+5mXZXpGFgNVasdL4jWKgaKIXrEHiynN1LA==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"forever-agent": { "forever-agent": {
"version": "0.5.2", "version": "0.5.2",
"resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.5.2.tgz", "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.5.2.tgz",
"integrity": "sha1-bQ4JxJIflKJ/Y9O0nF/v8epMUTA=", "integrity": "sha512-PDG5Ef0Dob/JsZUxUltJOhm/Y9mlteAE+46y3M9RBz/Rd3QVENJ75aGRhN56yekTUboaBIkd8KVWX2NjF6+91A==",
"dev": true "dev": true
}, },
"form-data": { "form-data": {
"version": "0.1.4", "version": "0.1.4",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-0.1.4.tgz", "resolved": "https://registry.npmjs.org/form-data/-/form-data-0.1.4.tgz",
"integrity": "sha1-kavXiKupcCsaq/qLwBAxoqyeOxI=", "integrity": "sha512-x8eE+nzFtAMA0YYlSxf/Qhq6vP1f8wSoZ7Aw1GuctBcmudCNuTUmmx45TfEplyb6cjsZO/jvh6+1VpZn24ez+w==",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -15852,7 +15848,7 @@
"hawk": { "hawk": {
"version": "1.1.1", "version": "1.1.1",
"resolved": "https://registry.npmjs.org/hawk/-/hawk-1.1.1.tgz", "resolved": "https://registry.npmjs.org/hawk/-/hawk-1.1.1.tgz",
"integrity": "sha1-h81JH5tG5OKurKM1QWdmiF0tHtk=", "integrity": "sha512-am8sVA2bCJIw8fuuVcKvmmNnGFUGW8spTkVtj2fXTEZVkfN42bwFZFtDem57eFi+NSxurJB8EQ7Jd3uCHLn8Vw==",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -15865,13 +15861,13 @@
"hoek": { "hoek": {
"version": "0.9.1", "version": "0.9.1",
"resolved": "https://registry.npmjs.org/hoek/-/hoek-0.9.1.tgz", "resolved": "https://registry.npmjs.org/hoek/-/hoek-0.9.1.tgz",
"integrity": "sha1-PTIkYrrfB3Fup+uFuviAec3c5QU=", "integrity": "sha512-ZZ6eGyzGjyMTmpSPYVECXy9uNfqBR7x5CavhUaLOeD6W0vWK1mp/b7O3f86XE0Mtfo9rZ6Bh3fnuw9Xr8MF9zA==",
"dev": true "dev": true
}, },
"http-signature": { "http-signature": {
"version": "0.10.1", "version": "0.10.1",
"resolved": "https://registry.npmjs.org/http-signature/-/http-signature-0.10.1.tgz", "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-0.10.1.tgz",
"integrity": "sha1-T72sEyVZqoMjEh5UB3nAoBKyfmY=", "integrity": "sha512-coK8uR5rq2IMj+Hen+sKPA5ldgbCc1/spPdKCL1Fw6h+D0s/2LzMcRK0Cqufs1h0ryx/niwBHGFu8HC3hwU+lA==",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -15883,39 +15879,39 @@
"mime": { "mime": {
"version": "1.2.11", "version": "1.2.11",
"resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz", "resolved": "https://registry.npmjs.org/mime/-/mime-1.2.11.tgz",
"integrity": "sha1-WCA+7Ybjpe8XrtK32evUfwpg3RA=", "integrity": "sha512-Ysa2F/nqTNGHhhm9MV8ure4+Hc+Y8AWiqUdHxsO7xu8zc92ND9f3kpALHjaP026Ft17UfxrMt95c50PLUeynBw==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"mime-types": { "mime-types": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-1.0.2.tgz", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-1.0.2.tgz",
"integrity": "sha1-mVrhOSq4r/y/yyZB3QVOlDwNXc4=", "integrity": "sha512-echfutj/t5SoTL4WZpqjA1DCud1XO0WQF3/GJ48YBmc4ZMhCK77QA6Z/w6VTQERLKuJ4drze3kw2TUT8xZXVNw==",
"dev": true "dev": true
}, },
"node-uuid": { "node-uuid": {
"version": "1.4.8", "version": "1.4.8",
"resolved": "https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.8.tgz", "resolved": "https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.8.tgz",
"integrity": "sha1-sEDrCSOWivq/jTL7HxfxFn/auQc=", "integrity": "sha512-TkCET/3rr9mUuRp+CpO7qfgT++aAxfDRaalQhwPFzI9BY/2rCDn6OfpZOVggi1AXfTPpfkTrg5f5WQx5G1uLxA==",
"dev": true "dev": true
}, },
"oauth-sign": { "oauth-sign": {
"version": "0.3.0", "version": "0.3.0",
"resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.3.0.tgz", "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.3.0.tgz",
"integrity": "sha1-y1QPk7srIqfVlBaRoojWDo6pOG4=", "integrity": "sha512-Tr31Sh5FnK9YKm7xTUPyDMsNOvMqkVDND0zvK/Wgj7/H9q8mpye0qG2nVzrnsvLhcsX5DtqXD0la0ks6rkPCGQ==",
"dev": true, "dev": true,
"optional": true "optional": true
}, },
"qs": { "qs": {
"version": "1.0.2", "version": "1.0.2",
"resolved": "https://registry.npmjs.org/qs/-/qs-1.0.2.tgz", "resolved": "https://registry.npmjs.org/qs/-/qs-1.0.2.tgz",
"integrity": "sha1-UKk+K1r2aRwxvOpdrnjubqGQN2g=", "integrity": "sha512-tHuOP9TN/1VmDM/ylApGK1QF3PSIP8I6bHDEfoKNQeViREQ/sfu1bAUrA1hoDun8p8Tpm7jcsz47g+3PiGoYdg==",
"dev": true "dev": true
}, },
"request": { "request": {
"version": "2.40.0", "version": "2.40.0",
"resolved": "https://registry.npmjs.org/request/-/request-2.40.0.tgz", "resolved": "https://registry.npmjs.org/request/-/request-2.40.0.tgz",
"integrity": "sha1-TdZw9pbx5uhC5mtLXoOTAaub62c=", "integrity": "sha512-waNoGB4Z7bPn+lgqPk7l7hhze4Vd68jKccnwLeS7vr9GMxz0iWQbYTbBNWzfIk87Urx7V44pu29qjF/omej+Fw==",
"dev": true, "dev": true,
"requires": { "requires": {
"aws-sign2": "~0.5.0", "aws-sign2": "~0.5.0",
@ -15936,7 +15932,7 @@
"sntp": { "sntp": {
"version": "0.2.4", "version": "0.2.4",
"resolved": "https://registry.npmjs.org/sntp/-/sntp-0.2.4.tgz", "resolved": "https://registry.npmjs.org/sntp/-/sntp-0.2.4.tgz",
"integrity": "sha1-+4hfGLDzqtGJ+CSGJTa87ux1CQA=", "integrity": "sha512-bDLrKa/ywz65gCl+LmOiIhteP1bhEsAAzhfMedPoiHP3dyYnAevlaJshdqb9Yu0sRifyP/fRqSt8t+5qGIWlGQ==",
"dev": true, "dev": true,
"optional": true, "optional": true,
"requires": { "requires": {
@ -15946,7 +15942,7 @@
"tunnel-agent": { "tunnel-agent": {
"version": "0.4.3", "version": "0.4.3",
"resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz", "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.4.3.tgz",
"integrity": "sha1-Y3PbdpCf5XDgjXNYM2Xtgop07us=", "integrity": "sha512-e0IoVDWx8SDHc/hwFTqJDQ7CCDTEeGhmcT9jkWJjoGQSpgBz20nAMr80E3Tpk7PatJ1b37DQDgJR3CNSzcMOZQ==",
"dev": true, "dev": true,
"optional": true "optional": true
} }
@ -17600,8 +17596,7 @@
"process": { "process": {
"version": "0.11.10", "version": "0.11.10",
"resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz",
"integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A=="
"dev": true
}, },
"process-nextick-args": { "process-nextick-args": {
"version": "1.0.7", "version": "1.0.7",
@ -18153,8 +18148,7 @@
"querystring-es3": { "querystring-es3": {
"version": "0.2.1", "version": "0.2.1",
"resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz",
"integrity": "sha512-773xhDQnZBMFobEiztv8LIl70ch5MSF/jUQVlhwFyBILqq96anmoctVIYz+ZRp0qbCKATTn6ev02M3r7Ga5vqA==", "integrity": "sha512-773xhDQnZBMFobEiztv8LIl70ch5MSF/jUQVlhwFyBILqq96anmoctVIYz+ZRp0qbCKATTn6ev02M3r7Ga5vqA=="
"dev": true
}, },
"querystringify": { "querystringify": {
"version": "2.1.1", "version": "2.1.1",
@ -20414,7 +20408,7 @@
"srcset": { "srcset": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/srcset/-/srcset-1.0.0.tgz", "resolved": "https://registry.npmjs.org/srcset/-/srcset-1.0.0.tgz",
"integrity": "sha1-pWad4StC87HV6D7QPHEEb8SPQe8=", "integrity": "sha512-UH8e80l36aWnhACzjdtLspd4TAWldXJMa45NuOkTTU+stwekswObdqM63TtQixN4PPd/vO/kxLa6RD+tUPeFMg==",
"dev": true, "dev": true,
"requires": { "requires": {
"array-uniq": "^1.0.2", "array-uniq": "^1.0.2",
@ -21479,7 +21473,7 @@
} }
}, },
"translations-sharelatex": { "translations-sharelatex": {
"version": "git+https://github.com/sharelatex/translations-sharelatex.git#b5fc8bb408a9d04fc040b8ebc132ce093930e89d", "version": "git+https://github.com/sharelatex/translations-sharelatex.git#beea1036cdf3adf41cd41e73fcfd6a5a70f83763",
"from": "git+https://github.com/sharelatex/translations-sharelatex.git#master", "from": "git+https://github.com/sharelatex/translations-sharelatex.git#master",
"dev": true, "dev": true,
"requires": { "requires": {