Last active
May 7, 2017 01:11
-
-
Save towerofnix/62b9deb75ace365d3837aa85c04bddfd to your computer and use it in GitHub Desktop.
Sticks an image onto a sploder creation.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fetch = require('node-fetch') | |
const FormData = require('form-data') | |
const fixWS = require('fix-whitespace') // my cool library :SUNGLASSES: | |
const { Writable } = require('stream') | |
// const SPLODER = 'http://www.sploder.com' | |
// const SPHP = SPLODER + '/php' | |
// const SESSION_ID = 'IDK IF THIS IS IMPORTANT. IF THIS VARIABLE IS USED, STICK YOUR SESSION ID HERE.' | |
// const CONFIG = `?PHPSESSID=${SESSION_ID}&version=2` | |
class SploderUser { | |
constructor(sessionId) { | |
this.sessionId = sessionId | |
} | |
get sessionParam() { | |
return 'PHPSESSID=' + this.sessionId | |
} | |
get cookie() { | |
return 'PHPSESSID=' + this.sessionId | |
} | |
} | |
const Sploder = { | |
sploderPHP: 'http://www.sploder.com/php', | |
unsavedProjectID: 'noid-unsaved-project', | |
saveProject(user, projectID, xml) { | |
return this.request( | |
'POST', `/saveproject2.php?${user.sessionParam}&projid=${projectID}`, | |
{xml}, user.cookie | |
) | |
}, | |
saveNewProject(user, xml) { | |
return this.request( | |
'POST', `/saveproject2.php?${user.sessionParam}`, | |
{xml}, user.cookie) | |
}, | |
request(method, urlPart, form, cookie) { | |
const url = this.sploderPHP + urlPart | |
const formData = new FormData() | |
for (let key in form) { | |
formData.append(key, form[key]) | |
} | |
return fetch(url, { | |
method, | |
body: formData, | |
headers: { | |
'Cookie': cookie | |
} | |
}).then(res => res.text()) | |
} | |
} | |
// const data = new FormData() | |
// data.append('xml', 'REMOVED'); throw new Error() | |
// fetch(SPHP + `/saveproject2.php` + CONFIG + '&projid=proj7891888', { | |
// method: 'POST', | |
// body: data, | |
// headers: { | |
// 'Cookie': `PHPSESSID=${SESSION_ID}` | |
// } | |
// }).then(res => res.text()) | |
// .then(res => console.log(res)) | |
// .catch(err => console.error(err)) | |
const user = new SploderUser('STICK YOUR SESSION ID HERE') | |
// ID,X,Y,0,0,PT1,PT2,1 -> id `${PT1}_${PT2}` | |
// ex. 3,30,30,0,0,6,2,1 -> id '6_2' | |
const fs = require('fs') | |
const { PNG } = require('pngjs') | |
function slowAsyncEach(arr, fn) { | |
return fn(arr[0]).then(value => { | |
if (arr.length > 1) { | |
return slowAsyncEach(arr.slice(1), fn) | |
.then(otherValues => otherValues.concat([value])) | |
} else { | |
return [value] | |
} | |
}) | |
} | |
function readPNG(file) { | |
return new Promise(resolve => { | |
fs.createReadStream(file) | |
.pipe(new PNG({ | |
filterType: 4 | |
})) | |
.on('parsed', function() { | |
resolve(this) | |
}) | |
}) | |
} | |
readPNG('./may-sixth-be-with-you.png').then(bigtest => { | |
const results = [] | |
const numTiles = (bigtest.width / 16) * (bigtest.height / 16) | |
for (let x = 0; x < bigtest.width; x += 16) { | |
for (let y = 0; y < bigtest.height; y += 16) { | |
const data = new Array(16 * 16 * 4) | |
for (let y2 = 0; y2 < 16; y2++) { | |
for (let x2 = 0; x2 < 16; x2++) { | |
const iIn = ((y + y2) * bigtest.width + (x + x2)) * 4 | |
const iOut = (y2 * 16 + x2) * 4 | |
for (let i = 0; i < 4; i++) { | |
data[iOut + i] = bigtest.data[iIn + i] | |
} | |
} | |
} | |
results.push({x, y, data}) | |
console.log(`Done generating ${results.length}/${numTiles} tiles`) | |
} | |
} | |
return results | |
}).then(objs => { | |
return Promise.all(objs.map((obj, i) => readPNG('./16x16.png').then(x16 => { | |
x16.data = obj.data | |
return new Promise(res => { | |
// const stream = fs.createWriteStream(`out${i}.png`) | |
// stream.on('close', () => res()) | |
const buffers = [] | |
const stream = new Writable() | |
stream._write = (chunk, enc, next) => { | |
buffers.push(chunk) | |
next() | |
} | |
const pack = x16.pack() | |
pack.on('end', () => { | |
Object.assign(obj, {buffer: Buffer.concat(buffers)}) | |
delete obj.data | |
res(obj) | |
}) | |
pack.pipe(stream) | |
}) | |
}))) | |
}).then(objs => objs.map(obj => { | |
Object.assign(obj, {base64: obj.buffer.toString('base64')}) | |
delete obj.buffer | |
return obj | |
})).then(objs => { | |
const graphics = {} | |
for (let obj of objs) { | |
graphics[1 + Math.floor(`${obj.x / 16}0000${obj.y / 16}`)] = obj | |
} | |
return graphics | |
}).then(graphics => { | |
return Sploder. | |
saveNewProject(user, fixWS` | |
<project fast="0" bitview="0" isprivate="0" title="My Cat" mode="2" pubkey="" date="Saturday, May 6, 2017" id="noid-unsaved-project" g="1" comments="1"> | |
<levels id="levels"> | |
<level music="" name="" env="6,dd9900,333333,100" avatar="0"> | |
${Object.entries(graphics).map(([id, obj]) => { | |
// 3,-390,270,0,0,5,1,1|3,-330,270,0,0,6,2,1 | |
const x = (obj.x / 16) * 60 + 30 | |
const y = (obj.y / 16) * -60 + 30 | |
return `10,${x},${y},0,0,${id},1,1` | |
}).join("|")}|1,0,70 | |
</level> | |
</levels> | |
<graphics> | |
${Object.entries(graphics).map(([id, obj]) => fixWS` | |
<graphic name="${id}_1">${obj.base64}</graphic> | |
`).join("\n")} | |
</graphics> | |
<textures lastid="0" /> | |
</project> | |
`) | |
}).then(res => { | |
console.log(res) | |
}).catch(err => { | |
console.error(err) | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | |
# yarn lockfile v1 | |
ajv@^4.9.1: | |
version "4.11.7" | |
resolved "https://registry.yarnpkg.com/ajv/-/ajv-4.11.7.tgz#8655a5d86d0824985cc471a1d913fb6729a0ec48" | |
dependencies: | |
co "^4.6.0" | |
json-stable-stringify "^1.0.1" | |
any-promise@^1.0.0, any-promise@^1.3.0: | |
version "1.3.0" | |
resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" | |
asn1@~0.2.3: | |
version "0.2.3" | |
resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" | |
assert-plus@^0.2.0: | |
version "0.2.0" | |
resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-0.2.0.tgz#d74e1b87e7affc0db8aadb7021f3fe48101ab234" | |
assert-plus@^1.0.0, assert-plus@1.0.0: | |
version "1.0.0" | |
resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" | |
asynckit@^0.4.0: | |
version "0.4.0" | |
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" | |
aws-sign2@~0.6.0: | |
version "0.6.0" | |
resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.6.0.tgz#14342dd38dbcc94d0e5b87d763cd63612c0e794f" | |
aws4@^1.2.1: | |
version "1.6.0" | |
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e" | |
bcrypt-pbkdf@^1.0.0: | |
version "1.0.1" | |
resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" | |
dependencies: | |
tweetnacl "^0.14.3" | |
boom@2.x.x: | |
version "2.10.1" | |
resolved "https://registry.yarnpkg.com/boom/-/boom-2.10.1.tgz#39c8918ceff5799f83f9492a848f625add0c766f" | |
dependencies: | |
hoek "2.x.x" | |
caseless@~0.12.0: | |
version "0.12.0" | |
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" | |
co@^4.6.0: | |
version "4.6.0" | |
resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" | |
combined-stream@^1.0.5, combined-stream@~1.0.5: | |
version "1.0.5" | |
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009" | |
dependencies: | |
delayed-stream "~1.0.0" | |
cryptiles@2.x.x: | |
version "2.0.5" | |
resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-2.0.5.tgz#3bdfecdc608147c1c67202fa291e7dca59eaa3b8" | |
dependencies: | |
boom "2.x.x" | |
dashdash@^1.12.0: | |
version "1.14.1" | |
resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" | |
dependencies: | |
assert-plus "^1.0.0" | |
delayed-stream@~1.0.0: | |
version "1.0.0" | |
resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" | |
ecc-jsbn@~0.1.1: | |
version "0.1.1" | |
resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" | |
dependencies: | |
jsbn "~0.1.0" | |
encoding@^0.1.11: | |
version "0.1.12" | |
resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb" | |
dependencies: | |
iconv-lite "~0.4.13" | |
extend@~3.0.0: | |
version "3.0.0" | |
resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.0.tgz#5a474353b9f3353ddd8176dfd37b91c83a46f1d4" | |
extsprintf@1.0.2: | |
version "1.0.2" | |
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.0.2.tgz#e1080e0658e300b06294990cc70e1502235fd550" | |
fix-whitespace: | |
version "1.0.3" | |
resolved "https://registry.yarnpkg.com/fix-whitespace/-/fix-whitespace-1.0.3.tgz#79354a816cc12a0b93f874e4c5e03c4b9991f695" | |
forever-agent@~0.6.1: | |
version "0.6.1" | |
resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" | |
form-data, form-data@~2.1.1: | |
version "2.1.4" | |
resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.1.4.tgz#33c183acf193276ecaa98143a69e94bfee1750d1" | |
dependencies: | |
asynckit "^0.4.0" | |
combined-stream "^1.0.5" | |
mime-types "^2.1.12" | |
fs-extra@^2.0.0: | |
version "2.1.2" | |
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-2.1.2.tgz#046c70163cef9aad46b0e4a7fa467fb22d71de35" | |
dependencies: | |
graceful-fs "^4.1.2" | |
jsonfile "^2.1.0" | |
fs-promise: | |
version "2.0.2" | |
resolved "https://registry.yarnpkg.com/fs-promise/-/fs-promise-2.0.2.tgz#cfea45c80f46480a3fd176213fa22abc8c159521" | |
dependencies: | |
any-promise "^1.3.0" | |
fs-extra "^2.0.0" | |
mz "^2.6.0" | |
thenify-all "^1.6.0" | |
getpass@^0.1.1: | |
version "0.1.6" | |
resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.6.tgz#283ffd9fc1256840875311c1b60e8c40187110e6" | |
dependencies: | |
assert-plus "^1.0.0" | |
graceful-fs@^4.1.2, graceful-fs@^4.1.6: | |
version "4.1.11" | |
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" | |
har-schema@^1.0.5: | |
version "1.0.5" | |
resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-1.0.5.tgz#d263135f43307c02c602afc8fe95970c0151369e" | |
har-validator@~4.2.1: | |
version "4.2.1" | |
resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-4.2.1.tgz#33481d0f1bbff600dd203d75812a6a5fba002e2a" | |
dependencies: | |
ajv "^4.9.1" | |
har-schema "^1.0.5" | |
hawk@~3.1.3: | |
version "3.1.3" | |
resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4" | |
dependencies: | |
boom "2.x.x" | |
cryptiles "2.x.x" | |
hoek "2.x.x" | |
sntp "1.x.x" | |
hoek@2.x.x: | |
version "2.16.3" | |
resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed" | |
http-signature@~1.1.0: | |
version "1.1.1" | |
resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.1.1.tgz#df72e267066cd0ac67fb76adf8e134a8fbcf91bf" | |
dependencies: | |
assert-plus "^0.2.0" | |
jsprim "^1.2.2" | |
sshpk "^1.7.0" | |
iconv-lite@~0.4.13: | |
version "0.4.15" | |
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.15.tgz#fe265a218ac6a57cfe854927e9d04c19825eddeb" | |
is-stream@^1.0.1: | |
version "1.1.0" | |
resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" | |
is-typedarray@~1.0.0: | |
version "1.0.0" | |
resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" | |
isstream@~0.1.2: | |
version "0.1.2" | |
resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" | |
jodid25519@^1.0.0: | |
version "1.0.2" | |
resolved "https://registry.yarnpkg.com/jodid25519/-/jodid25519-1.0.2.tgz#06d4912255093419477d425633606e0e90782967" | |
dependencies: | |
jsbn "~0.1.0" | |
jsbn@~0.1.0: | |
version "0.1.1" | |
resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" | |
json-schema@0.2.3: | |
version "0.2.3" | |
resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" | |
json-stable-stringify@^1.0.1: | |
version "1.0.1" | |
resolved "https://registry.yarnpkg.com/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz#9a759d39c5f2ff503fd5300646ed445f88c4f9af" | |
dependencies: | |
jsonify "~0.0.0" | |
json-stringify-safe@~5.0.1: | |
version "5.0.1" | |
resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" | |
jsonfile@^2.1.0: | |
version "2.4.0" | |
resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-2.4.0.tgz#3736a2b428b87bbda0cc83b53fa3d633a35c2ae8" | |
optionalDependencies: | |
graceful-fs "^4.1.6" | |
jsonify@~0.0.0: | |
version "0.0.0" | |
resolved "https://registry.yarnpkg.com/jsonify/-/jsonify-0.0.0.tgz#2c74b6ee41d93ca51b7b5aaee8f503631d252a73" | |
jsprim@^1.2.2: | |
version "1.4.0" | |
resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.0.tgz#a3b87e40298d8c380552d8cc7628a0bb95a22918" | |
dependencies: | |
assert-plus "1.0.0" | |
extsprintf "1.0.2" | |
json-schema "0.2.3" | |
verror "1.3.6" | |
left-pad: | |
version "1.1.3" | |
resolved "https://registry.yarnpkg.com/left-pad/-/left-pad-1.1.3.tgz#612f61c033f3a9e08e939f1caebeea41b6f3199a" | |
lodash@^4.13.1: | |
version "4.17.4" | |
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" | |
mime-db@~1.27.0: | |
version "1.27.0" | |
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.27.0.tgz#820f572296bbd20ec25ed55e5b5de869e5436eb1" | |
mime-types@^2.1.12, mime-types@~2.1.7: | |
version "2.1.15" | |
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.15.tgz#a4ebf5064094569237b8cf70046776d09fc92aed" | |
dependencies: | |
mime-db "~1.27.0" | |
mz@^2.6.0: | |
version "2.6.0" | |
resolved "https://registry.yarnpkg.com/mz/-/mz-2.6.0.tgz#c8b8521d958df0a4f2768025db69c719ee4ef1ce" | |
dependencies: | |
any-promise "^1.0.0" | |
object-assign "^4.0.1" | |
thenify-all "^1.0.0" | |
node-fetch: | |
version "1.6.3" | |
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.6.3.tgz#dc234edd6489982d58e8f0db4f695029abcd8c04" | |
dependencies: | |
encoding "^0.1.11" | |
is-stream "^1.0.1" | |
oauth-sign@~0.8.1: | |
version "0.8.2" | |
resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" | |
object-assign@^4.0.1: | |
version "4.1.1" | |
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" | |
performance-now@^0.2.0: | |
version "0.2.0" | |
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5" | |
pngjs: | |
version "3.2.0" | |
resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-3.2.0.tgz#fc9fcea1a8a375da54a51148019d5abd41dbabde" | |
punycode@^1.4.1: | |
version "1.4.1" | |
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" | |
qs@~6.4.0: | |
version "6.4.0" | |
resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" | |
request: | |
version "2.81.0" | |
resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0" | |
dependencies: | |
aws-sign2 "~0.6.0" | |
aws4 "^1.2.1" | |
caseless "~0.12.0" | |
combined-stream "~1.0.5" | |
extend "~3.0.0" | |
forever-agent "~0.6.1" | |
form-data "~2.1.1" | |
har-validator "~4.2.1" | |
hawk "~3.1.3" | |
http-signature "~1.1.0" | |
is-typedarray "~1.0.0" | |
isstream "~0.1.2" | |
json-stringify-safe "~5.0.1" | |
mime-types "~2.1.7" | |
oauth-sign "~0.8.1" | |
performance-now "^0.2.0" | |
qs "~6.4.0" | |
safe-buffer "^5.0.1" | |
stringstream "~0.0.4" | |
tough-cookie "~2.3.0" | |
tunnel-agent "^0.6.0" | |
uuid "^3.0.0" | |
request-promise-core@1.1.1: | |
version "1.1.1" | |
resolved "https://registry.yarnpkg.com/request-promise-core/-/request-promise-core-1.1.1.tgz#3eee00b2c5aa83239cfb04c5700da36f81cd08b6" | |
dependencies: | |
lodash "^4.13.1" | |
request-promise-native: | |
version "1.0.3" | |
resolved "https://registry.yarnpkg.com/request-promise-native/-/request-promise-native-1.0.3.tgz#9cb2b2f69f137e4acf35116a08a441cbfd0c0134" | |
dependencies: | |
request-promise-core "1.1.1" | |
stealthy-require "^1.0.0" | |
safe-buffer@^5.0.1: | |
version "5.0.1" | |
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.0.1.tgz#d263ca54696cd8a306b5ca6551e92de57918fbe7" | |
sntp@1.x.x: | |
version "1.0.9" | |
resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" | |
dependencies: | |
hoek "2.x.x" | |
sshpk@^1.7.0: | |
version "1.13.0" | |
resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.13.0.tgz#ff2a3e4fd04497555fed97b39a0fd82fafb3a33c" | |
dependencies: | |
asn1 "~0.2.3" | |
assert-plus "^1.0.0" | |
dashdash "^1.12.0" | |
getpass "^0.1.1" | |
optionalDependencies: | |
bcrypt-pbkdf "^1.0.0" | |
ecc-jsbn "~0.1.1" | |
jodid25519 "^1.0.0" | |
jsbn "~0.1.0" | |
tweetnacl "~0.14.0" | |
stealthy-require@^1.0.0: | |
version "1.0.0" | |
resolved "https://registry.yarnpkg.com/stealthy-require/-/stealthy-require-1.0.0.tgz#1a8ed8fc19a8b56268f76f5a1a3e3832b0c26200" | |
stringstream@~0.0.4: | |
version "0.0.5" | |
resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" | |
thenify-all@^1.0.0, thenify-all@^1.6.0: | |
version "1.6.0" | |
resolved "https://registry.yarnpkg.com/thenify-all/-/thenify-all-1.6.0.tgz#1a1918d402d8fc3f98fbf234db0bcc8cc10e9726" | |
dependencies: | |
thenify ">= 3.1.0 < 4" | |
"thenify@>= 3.1.0 < 4": | |
version "3.2.1" | |
resolved "https://registry.yarnpkg.com/thenify/-/thenify-3.2.1.tgz#251fd1c80aff6e5cf57cb179ab1fcb724269bd11" | |
dependencies: | |
any-promise "^1.0.0" | |
tough-cookie@~2.3.0: | |
version "2.3.2" | |
resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.2.tgz#f081f76e4c85720e6c37a5faced737150d84072a" | |
dependencies: | |
punycode "^1.4.1" | |
tunnel-agent@^0.6.0: | |
version "0.6.0" | |
resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" | |
dependencies: | |
safe-buffer "^5.0.1" | |
tweetnacl@^0.14.3, tweetnacl@~0.14.0: | |
version "0.14.5" | |
resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" | |
uuid@^3.0.0: | |
version "3.0.1" | |
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1" | |
verror@1.3.6: | |
version "1.3.6" | |
resolved "https://registry.yarnpkg.com/verror/-/verror-1.3.6.tgz#cff5df12946d297d2baaefaa2689e25be01c005c" | |
dependencies: | |
extsprintf "1.0.2" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment