repo stringlengths 5 106 | file_url stringlengths 78 301 | file_path stringlengths 4 211 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 14:56:49 2026-01-05 02:23:25 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/SVGCodeHints/main.js | src/extensions/default/SVGCodeHints/main.js | /*
* Copyright (c) 2015 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/UrlCodeHints/unittests.js | src/extensions/default/UrlCodeHints/unittests.js | /*
* Copyright (c) 2013 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | true |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/UrlCodeHints/main.js | src/extensions/default/UrlCodeHints/main.js | /*
* Copyright (c) 2013 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/UrlCodeHints/testfiles/subfolder/test.js | src/extensions/default/UrlCodeHints/testfiles/subfolder/test.js | /* test.js */
| javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/QuickOpenJavaScript/main.js | src/extensions/default/QuickOpenJavaScript/main.js | /*
* Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/LESSSupport/unittests.js | src/extensions/default/LESSSupport/unittests.js | define(function (require, exports, module) {
"use strict";
// To make sure we load this extension in order to define LESS mode for tests
require("main");
}); | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/LESSSupport/main.js | src/extensions/default/LESSSupport/main.js | /*
* Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/DebugCommands/main.js | src/extensions/default/DebugCommands/main.js | /*
* Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | true |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/DebugCommands/ErrorNotification.js | src/extensions/default/DebugCommands/ErrorNotification.js | /*
* Copyright (c) 2014 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/DebugCommands/NodeDebugUtils.js | src/extensions/default/DebugCommands/NodeDebugUtils.js | /*
* Copyright (c) 2013 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/NavigationAndHistory/NavigationProvider.js | src/extensions/default/NavigationAndHistory/NavigationProvider.js | /*
* Copyright (c) 2017 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/NavigationAndHistory/main.js | src/extensions/default/NavigationAndHistory/main.js | /*
* Copyright (c) 2016 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/HealthData/unittests.js | src/extensions/default/HealthData/unittests.js | /*
* Copyright (c) 2015 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/HealthData/HealthDataUtils.js | src/extensions/default/HealthData/HealthDataUtils.js | /*
* Copyright (c) 2015 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/HealthData/main.js | src/extensions/default/HealthData/main.js | /*
* Copyright (c) 2015 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/HealthData/HealthDataManager.js | src/extensions/default/HealthData/HealthDataManager.js | /*
* Copyright (c) 2015 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/HealthData/HealthDataPopup.js | src/extensions/default/HealthData/HealthDataPopup.js | /*
* Copyright (c) 2015 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/HealthData/HealthDataPreview.js | src/extensions/default/HealthData/HealthDataPreview.js | /*
* Copyright (c) 2015 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/HealthData/HealthDataNotification.js | src/extensions/default/HealthData/HealthDataNotification.js | /*
* Copyright (c) 2015 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/HealthData/thirdparty/uuid.js | src/extensions/default/HealthData/thirdparty/uuid.js | // uuid.js
//
// Copyright (c) 2010-2012 Robert Kieffer
// MIT License - http://opensource.org/licenses/mit-license.php
(function() {
var _global = this;
// Unique ID creation requires a high quality random # generator. We feature
// detect to determine the best RNG source, normalizing to a functio... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/unittests.js | src/extensions/default/StaticServer/unittests.js | /*
* Copyright (c) 2013 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/main.js | src/extensions/default/StaticServer/main.js | /*
* Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/StaticServer.js | src/extensions/default/StaticServer/StaticServer.js | /*
* Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/StaticServerDomain.js | src/extensions/default/StaticServer/node/StaticServerDomain.js | /*
* Copyright (c) 2012 - present Adobe Systems Incorporated. All rights reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
* to deal in the Software without restriction, including without limitation
* ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/index.js | src/extensions/default/StaticServer/node/node_modules/connect/index.js |
module.exports = process.env.CONNECT_COV
? require('./lib-cov/connect')
: require('./lib/connect'); | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/methods/index.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/methods/index.js |
module.exports = [
'get'
, 'post'
, 'put'
, 'head'
, 'delete'
, 'options'
, 'trace'
, 'copy'
, 'lock'
, 'mkcol'
, 'move'
, 'propfind'
, 'proppatch'
, 'unlock'
, 'report'
, 'mkactivity'
, 'checkout'
, 'merge'
, 'm-search'
, 'notify'
, 'subscribe'
, 'unsubscribe'
, 'patch'... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/cookie/index.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/cookie/index.js |
/// Serialize the a name value pair into a cookie string suitable for
/// http headers. An optional options object specified cookie parameters
///
/// serialize('foo', 'bar', { httpOnly: true })
/// => "foo=bar; httpOnly"
///
/// @param {String} name
/// @param {String} val
/// @param {Object} options
/// @return {S... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/cookie/test/parse.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/cookie/test/parse.js |
var assert = require('assert');
var cookie = require('..');
suite('parse');
test('basic', function() {
assert.deepEqual({ foo: 'bar' }, cookie.parse('foo=bar'));
assert.deepEqual({ foo: '123' }, cookie.parse('foo=123'));
});
test('ignore spaces', function() {
assert.deepEqual({ FOO: 'bar', baz: 'raz' }... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/cookie/test/serialize.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/cookie/test/serialize.js | // builtin
var assert = require('assert');
var cookie = require('..');
suite('serialize');
test('basic', function() {
assert.equal('foo=bar', cookie.serialize('foo', 'bar'));
assert.equal('foo=bar%20baz', cookie.serialize('foo', 'bar baz'));
});
test('path', function() {
assert.equal('foo=bar; Path=/', ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/buffer-crc32/index.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/buffer-crc32/index.js | var Buffer = require('buffer').Buffer;
var CRC_TABLE = [
0x00000000, 0x77073096, 0xee0e612c, 0x990951ba, 0x076dc419,
0x706af48f, 0xe963a535, 0x9e6495a3, 0x0edb8832, 0x79dcb8a4,
0xe0d5e91e, 0x97d2d988, 0x09b64c2b, 0x7eb17cbd, 0xe7b82d07,
0x90bf1d91, 0x1db71064, 0x6ab020f2, 0xf3b97148, 0x84be41de,
0x1adad47d, ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/buffer-crc32/tests/crc.test.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/buffer-crc32/tests/crc.test.js | var crc32 = require('..');
var test = require('tap').test;
test('simple crc32 is no problem', function (t) {
var input = Buffer('hey sup bros');
var expected = Buffer([0x47, 0xfa, 0x55, 0x70]);
t.same(crc32(input), expected);
t.end();
});
test('another simple one', function (t) {
var input = Buffer('IEND');... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/fresh/index.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/fresh/index.js |
/**
* Expose `fresh()`.
*/
module.exports = fresh;
/**
* Check freshness of `req` and `res` headers.
*
* When the cache is "fresh" __true__ is returned,
* otherwise __false__ is returned to indicate that
* the cache is now stale.
*
* @param {Object} req
* @param {Object} res
* @return {Boolean}
* @api pu... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/pause/index.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/pause/index.js |
module.exports = function(obj){
var onData
, onEnd
, events = [];
// buffer data
obj.on('data', onData = function(data, encoding){
events.push(['data', data, encoding]);
});
// buffer end
obj.on('end', onEnd = function(data, encoding){
events.push(['end', data, encoding]);
});
return... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/cookie-signature/index.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/cookie-signature/index.js |
/**
* Module dependencies.
*/
var crypto = require('crypto');
/**
* Sign the given `val` with `secret`.
*
* @param {String} val
* @param {String} secret
* @return {String}
* @api private
*/
exports.sign = function(val, secret){
if ('string' != typeof val) throw new TypeError('cookie required');
if ('st... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/index.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/index.js | exports.Form = Form;
var stream = require('readable-stream')
, util = require('util')
, fs = require('fs')
, crypto = require('crypto')
, path = require('path')
, os = require('os')
, assert = require('assert')
, StringDecoder = require('string_decoder').StringDecoder
, StreamCounter = require('stream-... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/stream-counter/index.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/stream-counter/index.js | module.exports = ByteCounter;
var Writable = require('readable-stream').Writable;
var util = require('util');
util.inherits(ByteCounter, Writable);
function ByteCounter(options) {
Writable.call(this, options);
this.bytes = 0;
}
ByteCounter.prototype._write = function(chunk, encoding, cb) {
this.bytes += chunk.... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/stream-counter/test/test.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/stream-counter/test/test.js | var ByteCounter = require('../');
var fs = require('fs');
var path = require('path');
var assert = require('assert');
var counter = new ByteCounter();
var remainingTests = 2;
counter.once('progress', function() {
assert.strictEqual(counter.bytes, 5);
remainingTests -= 1;
});
var is = fs.createReadStream(path.join(... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/readable.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/readable.js | exports = module.exports = require('./lib/_stream_readable.js');
exports.Readable = exports;
exports.Writable = require('./lib/_stream_writable.js');
exports.Duplex = require('./lib/_stream_duplex.js');
exports.Transform = require('./lib/_stream_transform.js');
exports.PassThrough = require('./lib/_stream_passthrough.j... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/zlib.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/zlib.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/duplex.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/duplex.js | module.exports = require("./lib/_stream_duplex.js")
| javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/passthrough.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/passthrough.js | module.exports = require("./lib/_stream_passthrough.js")
| javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/fs.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/fs.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | true |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/writable.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/writable.js | module.exports = require("./lib/_stream_writable.js")
| javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/transform.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/transform.js | module.exports = require("./lib/_stream_transform.js")
| javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/common.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/common.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-pipe-error-handling.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-pipe-error-handling.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-readable-non-empty-end.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-readable-non-empty-end.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-readable-legacy-drain.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-readable-legacy-drain.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-unpipe-leak.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-unpipe-leak.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-readable-empty-buffer-no-eof.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-readable-empty-buffer-no-eof.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-transform.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-transform.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-compatibility.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-compatibility.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-writable.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-writable.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-basic.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-basic.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-objects.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-objects.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-finish-pipe.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-finish-pipe.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-readable-from-list.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-readable-from-list.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-unpipe-drain.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-unpipe-drain.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-push.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-push.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-large-read-stall.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-large-read-stall.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-read-sync-stack.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-read-sync-stack.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-set-encoding.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/test/simple/test-stream2-set-encoding.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/examples/typer.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/examples/typer.js | var fs = require('fs');
var fst = fs.createReadStream(__filename);
var Readable = require('../readable.js');
var rst = new Readable();
rst.wrap(fst);
rst.on('end', function() {
process.stdin.pause();
});
process.stdin.setRawMode(true);
process.stdin.on('data', function() {
var c = rst.read(3);
if (!c) return se... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/examples/typer-fsr.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/examples/typer-fsr.js | var fs = require('fs');
var FSReadable = require('../fs.js');
var rst = new FSReadable(__filename);
rst.on('end', function() {
process.stdin.pause();
});
process.stdin.setRawMode(true);
process.stdin.on('data', function() {
var c = rst.read(3);
if (!c) return;
process.stdout.write(c);
});
process.stdin.resume... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/lib/_stream_writable.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/lib/_stream_writable.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/lib/_stream_duplex.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/lib/_stream_duplex.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/lib/_stream_passthrough.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/lib/_stream_passthrough.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/lib/_stream_transform.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/lib/_stream_transform.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/lib/_stream_readable.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/node_modules/readable-stream/lib/_stream_readable.js | // Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modi... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/record.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/record.js | var http = require('http');
var fs = require('fs');
var connections = 0;
var server = http.createServer(function(req, res) {
var socket = req.socket;
console.log('Request: %s %s -> %s', req.method, req.url, socket.filename);
req.on('end', function() {
if (req.url !== '/') {
res.end(JSON.stringify({
... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/bench-multipart-parser.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/bench-multipart-parser.js | var assert = require('assert')
, Form = require('../').Form
, boundary = '-----------------------------168072824752491622650073'
, mb = 100
, buffer = createMultipartBuffer(boundary, mb * 1024 * 1024)
var callbacks = {
partBegin: -1,
partEnd: -1,
headerField: -1,
headerValue: -1,
partData: -1,
end:... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/test.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/test.js | var spawn = require('child_process').spawn
, findit = require('findit')
, path = require('path')
, hashish = require('hashish')
, fs = require('fs')
, http = require('http')
, net = require('net')
, assert = require('assert')
, multiparty = require('../')
, mkdirp = require('mkdirp')
, STANDALONE_PA... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/fixture/multipart.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/fixture/multipart.js | exports['rfc1867'] =
{ boundary: 'AaB03x',
raw:
'--AaB03x\r\n'+
'content-disposition: form-data; name="field1"\r\n'+
'\r\n'+
'Joe Blow\r\nalmost tricked you!\r\n'+
'--AaB03x\r\n'+
'content-disposition: form-data; name="pics"; filename="file1.txt"\r\n'+
'Content-Type: text... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/fixture/js/no-filename.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/fixture/js/no-filename.js | module.exports['generic.http'] = [
{type: 'file', name: 'upload', filename: '', fixture: 'plain.txt',
sha1: 'b31d07bac24ac32734de88b3687dddb10e976872'},
];
module.exports['filename-name.http'] = [
{type: 'file', name: 'upload', filename: 'plain.txt', fixture: 'plain.txt',
sha1: 'b31d07bac24ac32734de88b3687dddb... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/fixture/js/preamble.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/fixture/js/preamble.js | module.exports['crlf.http'] = [
{type: 'file', name: 'upload', filename: 'plain.txt', fixture: 'plain.txt',
sha1: 'b31d07bac24ac32734de88b3687dddb10e976872'},
];
module.exports['preamble.http'] = [
{type: 'file', name: 'upload', filename: 'plain.txt', fixture: 'plain.txt',
sha1: 'b31d07bac24ac32734de88b3687ddd... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/fixture/js/special-chars-in-filename.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/fixture/js/special-chars-in-filename.js | var properFilename = 'funkyfilename.txt';
function expect(filename) {
return [
{
type: 'field',
name: 'title',
value: 'Weird filename',
},
{
type: 'file',
name: 'upload',
filename: filename,
fixture: properFilename,
},
];
}
var webkit = " ? % * | \" < > . ... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/fixture/js/encoding.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/fixture/js/encoding.js | module.exports['menu_seperator.png.http'] = [
{
type: 'file',
name: 'image',
filename: 'menu_separator.png',
fixture: 'menu_separator.png',
sha1: 'c845ca3ea794be298f2a1b79769b71939eaf4e54',
size: 931,
}
];
module.exports['beta-sticker-1.png.http'] = [
{
type: 'file',
name: 'sticke... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/fixture/js/workarounds.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/fixture/js/workarounds.js | module.exports['missing-hyphens1.http'] = [
{type: 'file', name: 'upload', filename: 'plain.txt', fixture: 'plain.txt',
sha1: 'b31d07bac24ac32734de88b3687dddb10e976872'},
];
module.exports['missing-hyphens2.http'] = [
{type: 'file', name: 'upload', filename: 'plain.txt', fixture: 'plain.txt',
sha1: 'b31d07bac24... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/standalone/test-invalid.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/standalone/test-invalid.js | var superagent = require('superagent')
, multiparty = require('../../')
, http = require('http')
var server = http.createServer(function(req, resp) {
var form = new multiparty.Form();
var errCount = 0;
form.on('error', function(err) {
errCount += 1;
resp.end();
});
form.on('file', function(name,... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/standalone/test-issue-46.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/standalone/test-issue-46.js | var http = require('http'),
multiparty = require('../../'),
request = require('request'),
assert = require('assert');
var host = 'localhost';
var index = [
'<form action="/" method="post" enctype="multipart/form-data">',
' <input type="text" name="foo" />',
' <input type="submit" />',... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/standalone/test-content-transfer-encoding.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/standalone/test-content-transfer-encoding.js | var assert = require('assert')
, multiparty = require('../../')
, http = require('http')
, path = require('path')
, TMP_PATH = path.join(__dirname, '..', 'tmp')
var server = http.createServer(function(req, res) {
var form = new multiparty.Form();
form.uploadDir = TMP_PATH;
form.on('close', function () {
... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/standalone/test-issue-4.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/standalone/test-issue-4.js | var http = require('http')
, multiparty = require('../../')
, assert = require('assert')
, superagent = require('superagent')
, path = require('path')
var server = http.createServer(function(req, res) {
assert.strictEqual(req.url, '/upload');
assert.strictEqual(req.method, 'POST');
var form = new multip... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/standalone/test-connection-aborted.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/test/standalone/test-connection-aborted.js | var assert = require('assert');
var http = require('http');
var net = require('net');
var multiparty = require('../../');
var server = http.createServer(function (req, res) {
var form = new multiparty.Form();
var aborted_received = false;
form.on('aborted', function () {
aborted_received = true;
});
form... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/examples/azureblobstorage.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/examples/azureblobstorage.js | var http = require('http')
, util = require('util')
, multiparty = require('../')
, azure = require('azure')
, PORT = process.env.PORT || 27372
var server = http.createServer(function(req, res) {
if (req.url === '/') {
res.writeHead(200, {'content-type': 'text/html'});
res.end(
'<form action="/... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/examples/upload.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/examples/upload.js | var http = require('http')
, util = require('util')
, multiparty = require('../')
, PORT = process.env.PORT || 27372
var server = http.createServer(function(req, res) {
if (req.url === '/') {
res.writeHead(200, {'content-type': 'text/html'});
res.end(
'<form action="/upload" enctype="multipart/fo... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/examples/s3.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/multiparty/examples/s3.js | var http = require('http')
, util = require('util')
, multiparty = require('../')
, knox = require('knox')
, Batch = require('batch')
, PORT = process.env.PORT || 27372
var s3Client = knox.createClient({
secure: false,
key: process.env.S3_KEY,
secret: process.env.S3_SECRET,
bucket: process.env.S3_BUC... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/bytes/index.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/bytes/index.js |
/**
* Parse byte `size` string.
*
* @param {String} size
* @return {Number}
* @api public
*/
module.exports = function(size) {
if ('number' == typeof size) return convert(size);
var parts = size.match(/^(\d+(?:\.\d+)?) *(kb|mb|gb)$/)
, n = parseFloat(parts[1])
, type = parts[2];
var map = {
... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/uid2/index.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/uid2/index.js | /**
* Module dependencies
*/
var crypto = require('crypto');
/**
* The size ratio between a base64 string and the equivalent byte buffer
*/
var ratio = Math.log(64) / Math.log(256);
/**
* Make a Base64 string ready for use in URLs
*
* @param {String}
* @returns {String}
* @api private
*/
function urlRead... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/send/index.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/send/index.js |
module.exports = require('./lib/send'); | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/send/node_modules/range-parser/index.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/send/node_modules/range-parser/index.js |
/**
* Parse "Range" header `str` relative to the given file `size`.
*
* @param {Number} size
* @param {String} str
* @return {Array}
* @api public
*/
module.exports = function(size, str){
var valid = true;
var i = str.indexOf('=');
if (-1 == i) return -2;
var arr = str.slice(i + 1).split(',').map(fun... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/send/node_modules/mime/mime.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/send/node_modules/mime/mime.js | var path = require('path');
var fs = require('fs');
function Mime() {
// Map of extension -> mime type
this.types = Object.create(null);
// Map of mime type -> extension
this.extensions = Object.create(null);
}
/**
* Define mimetype -> extension mappings. Each key is a mime-type that maps
* to an array of... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/send/node_modules/mime/test.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/send/node_modules/mime/test.js | /**
* Usage: node test.js
*/
var mime = require('./mime');
var assert = require('assert');
var path = require('path');
function eq(a, b) {
console.log('Test: ' + a + ' === ' + b);
assert.strictEqual.apply(null, arguments);
}
console.log(Object.keys(mime.extensions).length + ' types');
console.log(Object.keys(m... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/send/lib/send.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/send/lib/send.js |
/**
* Module dependencies.
*/
var debug = require('debug')('send')
, parseRange = require('range-parser')
, Stream = require('stream')
, mime = require('mime')
, fresh = require('fresh')
, path = require('path')
, http = require('http')
, fs = require('fs')
, basename = path.basename
, normalize =... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/send/lib/utils.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/send/lib/utils.js |
/**
* Return an ETag in the form of `"<size>-<mtime>"`
* from the given `stat`.
*
* @param {Object} stat
* @return {String}
* @api private
*/
exports.etag = function(stat) {
return '"' + stat.size + '-' + Number(stat.mtime) + '"';
};
/**
* decodeURIComponent.
*
* Allows V8 to only deoptimize this fn inst... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/debug/index.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/debug/index.js | if ('undefined' == typeof window) {
module.exports = require('./lib/debug');
} else {
module.exports = require('./debug');
}
| javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/debug/debug.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/debug/debug.js |
/**
* Expose `debug()` as the module.
*/
module.exports = debug;
/**
* Create a debugger with the given `name`.
*
* @param {String} name
* @return {Type}
* @api public
*/
function debug(name) {
if (!debug.enabled(name)) return function(){};
return function(fmt){
var curr = new Date;
var ms = cu... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/debug/example/wildcards.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/debug/example/wildcards.js |
var debug = {
foo: require('../')('test:foo'),
bar: require('../')('test:bar'),
baz: require('../')('test:baz')
};
debug.foo('foo')
debug.bar('bar')
debug.baz('baz') | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/debug/example/app.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/debug/example/app.js |
var debug = require('../')('http')
, http = require('http')
, name = 'My App';
// fake app
debug('booting %s', name);
http.createServer(function(req, res){
debug(req.method + ' ' + req.url);
res.end('hello\n');
}).listen(3000, function(){
debug('listening');
});
// fake worker of some kind
require('./wo... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/debug/example/worker.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/debug/example/worker.js |
// DEBUG=* node example/worker
// DEBUG=worker:* node example/worker
// DEBUG=worker:a node example/worker
// DEBUG=worker:b node example/worker
var a = require('../')('worker:a')
, b = require('../')('worker:b');
function work() {
a('doing lots of uninteresting work');
setTimeout(work, Math.random() * 1000);
... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
adobe/brackets | https://github.com/adobe/brackets/blob/d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a/src/extensions/default/StaticServer/node/node_modules/connect/node_modules/debug/lib/debug.js | src/extensions/default/StaticServer/node/node_modules/connect/node_modules/debug/lib/debug.js | /**
* Module dependencies.
*/
var tty = require('tty');
/**
* Expose `debug()` as the module.
*/
module.exports = debug;
/**
* Enabled debuggers.
*/
var names = []
, skips = [];
(process.env.DEBUG || '')
.split(/[\s,]+/)
.forEach(function(name){
name = name.replace('*', '.*?');
if (name[0] ===... | javascript | MIT | d55ac606ac44e7169dbeaf959c9ed47dac6a6b9a | 2026-01-04T15:00:40.278945Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.