Skip to content

Instantly share code, notes, and snippets.

View ChALkeR's full-sized avatar
🙂

Nikita Skovoroda ChALkeR

🙂
View GitHub Profile
@ChALkeR
ChALkeR / broken.graceful-fs-23.20160804.sorted.txt
Last active August 16, 2016 12:05
npm modules directly or indirectly dependant on graceful-fs 2.x or 3.x as of 2016-08-04, sorted by downloads/month
2255407 gulp
375908 wix-gruntfile
291207 unzip
180737 ionic
156829 gulp-nodemon
131089 nightwatch
103617 twig
87818 gulp-cssmin
80367 mocha-nightwatch
76566 grunt-google-cdn
var s = Array(400 + 1).join('x');
for (var i = 0; i < 10000; i++) {
console.log('HelloHelloHelloHelloHelloHelelloHelloHelloHelloHelloHelloHello ' + i);
}
throw new Error(Array(100000 + 1).join('x') + '!');
for (var i = 0; i < 10000; i++) {
console.log('HelloHelloHelloHelloHelloHelelloHelloHelloHelloHelloHelloHello ' + i);
}
a();
@ChALkeR
ChALkeR / grep.2016-01-28._SyncWriteStream.sort.txt
Created May 14, 2016 20:39
grep for '\.SyncWriteStream' in npm modules, as of 2016-01-28
15974911 debug-2.2.0.tgz/node.js:164: stream = new fs.SyncWriteStream(fd, { autoClose: false });
630789 jscs-2.9.0.tgz/jscs-browser.js:69473: stream = new fs.SyncWriteStream(fd, { autoClose: false });
45670 streamline-2.0.6.tgz/lib/browser/transform.js:26994: stream = new fs.SyncWriteStream(fd, { autoClose: false });
38774 kss-2.4.0.tgz/node5/debug/node.js:164: stream = new fs.SyncWriteStream(fd, { autoClose: false });
24146 mock-fs-3.6.0.tgz/node/fs-4.0.0.js:1812:fs.SyncWriteStream = SyncWriteStream;
24146 mock-fs-3.6.0.tgz/node/fs-3.0.0.js:1812:fs.SyncWriteStream = SyncWriteStream;
24146 mock-fs-3.6.0.tgz/node/fs-2.0.0.js:1812:fs.SyncWriteStream = SyncWriteStream;
24146 mock-fs-3.6.0.tgz/node/fs-1.1.0.js:1812:fs.SyncWriteStream = SyncWriteStream;
24146 mock-fs-3.6.0.tgz/node/fs-0.9.12.js:1696:fs.SyncWriteStream = SyncWriteStream;
24146 mock-fs-3.6.0.tgz/node/fs-0.8.26.js:1635:fs.SyncWriteStream = SyncWriteStream;
@ChALkeR
ChALkeR / grep.2016-01-28._tmpDir_.sort.txt
Created May 13, 2016 16:27
grep for '\.tmpDir\(' in npm modules, as of 2016-01-28
1778100 formidable-1.0.17.tgz/lib/incoming_form.js:29: this.uploadDir = opts.uploadDir || os.tmpDir();
1719055 istanbul-0.4.2.tgz/lib/store/tmp.js:32: * is created under `os.tmpDir()`
1719055 istanbul-0.4.2.tgz/lib/store/tmp.js:14: var dir = path.join(os.tmpDir ? os.tmpDir() : /* istanbul ignore next */ (process.env.TMPDIR || '/tmp'), 'ts' + new Date().getTime());
1361580 multiparty-4.1.2.tgz/index.js:57: self.uploadDir = options.uploadDir || os.tmpDir();
720352 bower-config-1.3.0.tgz/lib/util/paths.js:21:var tmp = path.join(os.tmpdir ? os.tmpdir() : os.tmpDir(), user);
638685 selenium-webdriver-2.48.2.tgz/test/io_test.js:97: return io.tmpDir().then(function(dstDir) {
638685 selenium-webdriver-2.48.2.tgz/test/io_test.js:95: return io.tmpDir().then(function(srcDir) {
638685 selenium-webdriver-2.48.2.tgz/test/io_test.js:81: return io.tmpDir().then(function(dst) {
638685 selenium-webdriver-2.48.2.tgz/test/io_test.js:75: return io.tmpDir().then(function(dir) {
638685 selenium-web
@ChALkeR
ChALkeR / gist:b4d8cca42890718229f82933c721bbe2
Created May 1, 2016 05:44
grep for 'requre[( ].constants' in npm modules, as of 2016-01-28, sorted by downloads/month
16446960 graceful-fs-4.1.2.tgz/polyfills.js:2:var constants = require('constants')
2894315 npm-3.5.3.tgz/lib/link.js:36: e.errno = require('constants').ENOTSUP
2894315 npm-3.5.3.tgz/lib/completion.js:51: e.errno = require('constants').ENOTSUP
2716099 browserify-13.0.0.tgz/test/constants.js:9: stream.push('console.log(require("constants").ENOENT)');
2179930 tmp-0.0.28.tgz/lib/tmp.js:20: _c = require('constants');
1682060 constants-browserify-1.0.0.tgz/test.js:7: var nodeConstants = require('constants')
1478324 tar-stream-1.3.1.tgz/pack.js:1:var constants = require('constants')
958859 touch-1.0.0.tgz/touch.js:2: , cons = require("constants")
949651 coa-1.0.1.tgz/src/completion.coffee:64: if err.errno == require('constants').EPIPE
949651 coa-1.0.1.tgz/src/completion.coffee:22: e.errno = require('constants').ENOTSUP
@ChALkeR
ChALkeR / grep.2016-01-28.util_isRegExp.txt
Created April 13, 2016 21:04
grep for 'util.\isRegExp' in npm modules, as of 2016-01-28
abstract-object-2.1.9.tgz/test/util-test.coffee:119: isRegExp = util.isRegExp
cnd-1.0.9.tgz/src/TYPES.coffee:114:@isa_jsregex = njs_util.isRegExp if njs_util.isRegExp?
coffeenode-types-0.1.1.tgz/src/main.coffee:112:@isa_jsregex = njs_util.isRegExp if njs_util.isRegExp?
fekit-0.2.139.tgz/src/middleware/mock.coffee:55: if util.isRegExp rule.pattern
fieldkit-0.1.9.tgz/src/util.coffee:134: else if util.isRegExp(parent)
fieldkit-0.1.9.tgz/src/util.coffee:175: else unless util.isRegExp(parent)
ft-1.0.44.tgz/src/middleware/mock.coffee:55: if util.isRegExp rule.pattern
grunt-vtex-deploy-0.20.3.tgz/libs/content-processor.coffee:23: k = if util.isRegExp(k) then k else new RegExp(k, 'g')
kinvey-backend-sdk-0.1.2.tgz/lib/service/modules/validation.coffee:45: if util.isRegExp(regex) and (typeof propertyValue is 'undefined' or not regex.test(propertyValue))
pipedreams1-0.1.7.tgz/src/main.coffee:687: if njs_util.isRegExp prefix then s
@ChALkeR
ChALkeR / grep.2016-01-28.createSecurePair.txt
Created April 13, 2016 20:50
grep for 'createSecurePair' in npm modules, as of 2016-01-28
middlefiddle-0.3.3.tgz/src/proxy.coffee:26: pair = tls.createSecurePair(tlsContext, true, false, false)
vertica-0.5.3.tgz/src/starttls.coffee:4: pair = require('tls').createSecurePair(sslcontext, false)
alright-hoodiecrow-1.1.23.tgz/lib/starttls.js:44: pair = require('tls').createSecurePair(sslcontext, true, false, false);
aqua-1.0.0.tgz/externs/nodejs/tls.js:70:tls.createSecurePair = function(credentials, isServer, requestCert, rejectUnauthorized) {};
biojs-vis-blast-0.1.5.tgz/node/lib/tls.js:250:exports.createSecurePair = require('_tls_legacy').createSecurePair;
biojs-vis-blast-0.1.5.tgz/node/lib/_tls_legacy.js:776:exports.createSecurePair = function(context,
biojs-vis-blast-0.1.5.tgz/node/lib/_tls_wrap.js:811: var pair = tls_legacy.createSecurePair(context,
biojs-vis-blast-0.1.5.tgz/node/test/pummel/test-tls-securepair-client.js:134: var pair = tls.createSecurePair(sslcontext, false);
biojs-vis-blast-0.1.5.tgz/node/test/simple/test-tls-handshake-nohang.js:27:tls.createSecurePair(null, fa
@ChALkeR
ChALkeR / files.2016-01-28._jsm.txt
Created April 4, 2016 14:55
Files named *.jsm in npm packages, as of 2016-01-28
allone-0.5.5.tgz/modules/karma/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/prefix-source-map.jsm
allone-0.5.5.tgz/modules/karma/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/prefix-utils.jsm
allone-0.5.5.tgz/modules/karma/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/suffix-source-map.jsm
allone-0.5.5.tgz/modules/karma/node_modules/istanbul/node_modules/escodegen/node_modules/source-map/build/suffix-utils.jsm
allone-0.5.5.tgz/modules/spm/node_modules/uglify-js/node_modules/source-map/build/prefix-source-map.jsm
allone-0.5.5.tgz/modules/spm/node_modules/uglify-js/node_modules/source-map/build/prefix-utils.jsm
allone-0.5.5.tgz/modules/spm/node_modules/uglify-js/node_modules/source-map/build/suffix-source-map.jsm
allone-0.5.5.tgz/modules/spm/node_modules/uglify-js/node_modules/source-map/build/suffix-utils.jsm
ancho-firefox-0.8.1.tgz/modules/External.jsm
ancho-firefox-0.8.1.tgz/modules/Require.jsm
@ChALkeR
ChALkeR / grep.2016-01-28.SlowBuffer_.sort.txt
Created April 1, 2016 21:22
grep for 'SlowBuffer\(' in npm modules, as of 2016-01-28
2421603 mocha-2.4.4.tgz/mocha.js:6733: if (!(this instanceof SlowBuffer)) return new SlowBuffer(subject, encoding)
1912194 buffer-4.3.1.tgz/test/node/test-buffer.js:330:var b = new SlowBuffer(5);
1912194 buffer-4.3.1.tgz/test/node/test-buffer.js:1107: new SlowBuffer((-1 >>> 0) + 1);
1912194 buffer-4.3.1.tgz/test/node/test-buffer.js:1076: SlowBuffer(0).slice(0, 1);
1912194 buffer-4.3.1.tgz/test/node/test-buffer-inspect.js:27:s = new buffer.SlowBuffer(2);
1912194 buffer-4.3.1.tgz/test/node/test-buffer-inspect.js:16:var s = new buffer.SlowBuffer(4);
1912194 buffer-4.3.1.tgz/index.js:259: if (!(this instanceof SlowBuffer)) return new SlowBuffer(subject, encoding)
630789 jscs-2.9.0.tgz/jscs-browser.js:61294: if (!(this instanceof SlowBuffer)) return new SlowBuffer(subject, encoding)
291873 should-format-0.3.2.tgz/tests/browser/tests.js:1074: if (!(this instanceof SlowBuffer)) return new SlowBuffer(subject, encoding)
81873 analytics-node-2.0.1.tgz/analytics-node.js:980: if (!(this instanceof SlowBuffer)) ret