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-2.20160804.sorted.txt
Created August 25, 2016 11:04
npm modules directly or indirectly dependant on graceful-fs 2.x as of 2016-08-04, sorted by downloads/month
375908 wix-gruntfile
131089 nightwatch
103617 twig
87818 gulp-cssmin
80367 mocha-nightwatch
76566 grunt-google-cdn
50125 grunt-bower-task
48011 localizr
40920 grunt-injector
38714 kss
@ChALkeR
ChALkeR / grep.2016-08-04.old_buffer_.filtered.txt
Last active August 18, 2016 22:14
`Buffer()` calls without a `new` keyword, as of 2016-08-04
2gl-0.3.4.tgz/Buffer.js:18: function Buffer(array, itemSize) {
2lemetry-0.0.7.tgz/api/v2.js:3442:function Buffer(subject, encoding, offset) {
2lemetry-0.0.7.tgz/api/v2.js:5509:function Buffer(subject, encoding, offset) {
6to5-3.6.5.tgz/lib/6to5/generation/buffer.js:10:function Buffer(position, format) {
6to5-core-3.6.5.tgz/lib/6to5/generation/buffer.js:10:function Buffer(position, format) {
8x8matrix-0.0.1.tgz/8x8matrix.js:109: this.rpio.i2cWrite(Buffer([i, this.write_buffer[i]]));
8x8matrix-0.0.1.tgz/8x8matrix.js:18: this.rpio.i2cWrite(Buffer([(0x20 | 0x01)]));
8x8matrix-0.0.1.tgz/8x8matrix.js:21: this.rpio.i2cWrite(Buffer([(0x01 | 0x80)]));
8x8matrix-0.0.1.tgz/8x8matrix.js:25: this.rpio.i2cWrite(Buffer([x, 0]));
8x8matrix-0.0.1.tgz/8x8matrix.js:29: this.rpio.i2cWrite(Buffer([(0xE0 | matrix.brightness)]));
@ChALkeR
ChALkeR / npm.stats.2016-08-09.txt
Created August 9, 2016 16:57
npm package downloads per month, as of 2016-08-09
This file has been truncated, but you can view the full file.
34964408 readable-stream
34506401 botfather
33295762 glob
31619819 async
29723143 lodash
29354079 minimatch
27539592 minimist
27118468 qs
26340698 source-map
24962073 isarray
@ChALkeR
ChALkeR / gist:c6398d098557c20c511021afd522c1dd
Created August 9, 2016 16:48
npm modules directly or indirectly dependant on graceful-fs 2.x or 3.x as of 2016-08-04, sorted by downloads/month. Gulp dependants only.
2256753 gulp
170324 ionic
159721 gulp-nodemon
49545 sequelize-cli
22725 gulp-messenger
22467 ionic-gulp-browserify-typescript
21018 ionic-gulp-scripts-copy
18582 ionic-gulp-fonts-copy
18486 ionic-gulp-sass-build
18480 ionic-gulp-html-copy
@ChALkeR
ChALkeR / grep.2016-01-28.require_punycode.sorted.txt
Last active July 25, 2016 14:52
grep for (require|import).*punycode in npm modules, as of 2016-01-28, sorted by downloads per month
6324431 tough-cookie-2.2.1.tgz/lib/pubsuffix.js:8:var punycode = require('punycode');
6324431 tough-cookie-2.2.1.tgz/lib/cookie.js:42: punycode = require('punycode');
2716099 browserify-13.0.0.tgz/lib/builtins.js:19:exports.punycode = require.resolve('punycode/');
1887804 url-0.11.0.tgz/url.js:24:var punycode = require('punycode');
753607 ent-2.2.0.tgz/test/hex.js:2:var punycode = require('punycode');
753607 ent-2.2.0.tgz/test/codes.js:2:var punycode = require('punycode');
753607 ent-2.2.0.tgz/encode.js:1:var punycode = require('punycode');
753607 ent-2.2.0.tgz/decode.js:1:var punycode = require('punycode');
691141 node-libs-browser-1.0.0.tgz/index.js:19:exports.punycode = require.resolve('punycode/');
453323 normalize-url-1.4.0.tgz/index.js:3:var punycode = require('punycode');
@ChALkeR
ChALkeR / node-pr7757-output.diff
Last active July 25, 2016 09:22
The effective diff of the doc output of node pull #7757. `all.html` and `all.json` excluded, those are just a copy of everything
diff -r out/doc-master/api/repl.html out/doc-7757/api/repl.html
491,492c491
< </div><p> Stability: 0 - Deprecated: Use <code>NODE_REPL_HISTORY</code> instead.</p>
< <p>Previously in Node.js/io.js v2.x, REPL history was controlled by using a
---
> </div><pre class="api_stability api_stability_0">Stability: 0 - Deprecated: Use <code>NODE_REPL_HISTORY</code> instead.</pre><p>Previously in Node.js/io.js v2.x, REPL history was controlled by using a
diff -r out/doc-master/api/buffer.json out/doc-7757/api/buffer.json
3509a3510,3534
> "textRaw": "`arrayBuffer` {ArrayBuffer} The `.buffer` property of a [`TypedArray`] or [`ArrayBuffer`] ",
> "name": "arrayBuffer",
@ChALkeR
ChALkeR / grep.2016-01-28.Buffer_constructor_constructor_Buffer.sorted.txt
Last active June 19, 2016 07:30
grep for «([^a-zA-Z]Buffer[^a-zA-Z] *[!=]==?.*constructor[^:.(]|constructor *[!=]==? *Buffer)» in npm modules, as of 2016-01-28, sorted by downloads per month
1005227 bson-0.4.21.tgz/alternate_parsers/faster_bson.js:369: if (id.constructor === Buffer){
14502 jimp-0.2.21.tgz/index.js:204: if ("string" != typeof src && ("object" != typeof src || Buffer != src.constructor))
14502 jimp-0.2.21.tgz/index.js:178: if (Buffer != data.constructor)
14502 jimp-0.2.21.tgz/index.js:149: if ("object" == typeof data && Buffer == data.constructor) {
5630 read-dir-files-0.1.1.tgz/test/read-dir-files-test.js:29: if (typeof content[key] === 'object' && content[key].constructor !== Buffer) {
1421 fairmont-1.0.0-beta-40.tgz/lib/fs.js:67: return assert(((yield read("test/lines.txt", "binary"))).constructor === Buffer);
648 keythereum-0.2.1.tgz/index.js:158: if (ciphertext.constructor === Buffer)
648 keythereum-0.2.1.tgz/index.js:155: if (derivedKey.constructor === Buffer)
534 typed-model-5.0.0.tgz/test/test.js:2005: if (value.constructor === Buffer) {
534 typed-model-5.0.0.tgz/test/test.js:1960:
@ChALkeR
ChALkeR / grep.2016-01-28.headers.hasOwnProperty.sorted.txt
Created June 15, 2016 22:18
grep for headers\.hasOwnProperty in npm modules, as of 2016-01-28, sorted by downloads per month
3442171 ws-1.0.1.tgz/lib/WebSocket.js:631: if (options.value.headers.hasOwnProperty(header)) {
1187863 sinon-1.17.3.tgz/pkg/sinon-server.js:1516: if (headers.hasOwnProperty(header)) {
1187863 sinon-1.17.3.tgz/pkg/sinon-server-1.7.3.js:730: if (headers.hasOwnProperty(header)) {
1187863 sinon-1.17.3.tgz/pkg/sinon-server-1.6.0.js:688: if (headers.hasOwnProperty(header)) {
1187863 sinon-1.17.3.tgz/pkg/sinon-server-1.17.3.js:1516: if (headers.hasOwnProperty(header)) {
1187863 sinon-1.17.3.tgz/pkg/sinon-server-1.17.2.js:1516: if (headers.hasOwnProperty(header)) {
1187863 sinon-1.17.3.tgz/pkg/sinon-server-1.17.0.js:1782: if (headers.hasOwnProperty(header)) {
1187863 sinon-1.17.3.tgz/pkg/sinon-server-1.16.1.js:1431: if (headers.hasOwnProperty(header)) {
1187863 sinon-1.17.3.tgz/pkg/sinon-server-1.16.0.js:1431: if (headers.hasOwnProperty(header)) {
1187863 sinon-1.17.3.tgz/pkg/s
@ChALkeR
ChALkeR / grep.2016-01-28.ENOTFOUND.sorted.txt
Last active June 15, 2016 02:45
grep for ENOTFOUND in npm modules, as of 2016-01-28, sorted by downloads per month
2894315 npm-3.5.3.tgz/lib/utils/error-message.js:182: case 'ENOTFOUND':
2186638 bower-1.7.7.tgz/lib/util/download.js:15: 'ENOTFOUND'
2186638 bower-1.7.7.tgz/lib/core/resolverFactory.js:195: throw createError('Package ' + source + ' not found', 'ENOTFOUND');
1291810 aws-sdk-2.2.32.tgz/lib/event_listeners.js:388: if (err.code === 'NetworkingError' && err.errno === 'ENOTFOUND') {
1291810 aws-sdk-2.2.32.tgz/lib/event_listeners.js:387: add('ENOTFOUND_ERROR', 'httpError', function ENOTFOUND_ERROR(err) {
1119256 node-gyp-3.2.1.tgz/lib/install.js:226: if (err.code === 'ENOTFOUND') {
448473 browser-sync-2.11.1.tgz/lib/server/proxy-server.js:106: if (_.contains(["ENOTFOUND", "ECONNREFUSED"], err.code)) {
411440 request-replay-1.0.3.tgz/test/test.js:76: expect(['ENOTFOUND', 'EADDRINFO']).to.contain(replay.error.code);
411440 request-replay-1.0.3.tgz/test/test.js:65: expect(['ENOTFOUND', 'EADDRINFO']).to.contain(error.code);
411440 request-replay-1.0.3.tgz/
15974911 debug-2.2.0.tgz/node.js:188: stream._handle.unref();
15974911 debug-2.2.0.tgz/node.js:158: stream._handle.unref();
2894315 npm-3.5.3.tgz/test/tap/optional-metadep-rollback-collision.js:91: child.unref()
1532748 redis-2.4.2.tgz/index.js:185: this.unref();
1532748 redis-2.4.2.tgz/index.js:181: this.stream.unref();
1409641 update-notifier-0.6.0.tgz/index.js:69: }).unref();
1187863 sinon-1.17.3.tgz/pkg/sinon-server-2.0.0-pre.js:1442: // in Node, timerId is an object with .ref()/.unref(), and
1187863 sinon-1.17.3.tgz/pkg/sinon-server-2.0.0-pre.js:1169: // node expects setTimeout/setInterval to return a fn object w/ .ref()/.unref()
1187863 sinon-1.17.3.tgz/pkg/sinon-server-1.17.0.js:2479: // in Node, timerId is an object with .ref()/.unref(), and
1187863 sinon-1.17.3.tgz/pkg/sinon-server-1.17.0.js:2222: // node expects setTimeout/setInterval to return a fn object w/ .ref()/.unref()