postdoc 0.2.0.beta4 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/postdoc.rb +50 -18
- metadata +24 -378
- data/lib/pdf.js +0 -27
- data/node_modules/agent-base/History.md +0 -113
- data/node_modules/agent-base/README.md +0 -145
- data/node_modules/agent-base/index.js +0 -160
- data/node_modules/agent-base/package.json +0 -35
- data/node_modules/agent-base/patch-core.js +0 -37
- data/node_modules/agent-base/test/ssl-cert-snakeoil.key +0 -15
- data/node_modules/agent-base/test/ssl-cert-snakeoil.pem +0 -12
- data/node_modules/agent-base/test/test.js +0 -673
- data/node_modules/async-limiter/LICENSE +0 -8
- data/node_modules/async-limiter/coverage/coverage.json +0 -1
- data/node_modules/async-limiter/coverage/lcov-report/async-throttle/index.html +0 -73
- data/node_modules/async-limiter/coverage/lcov-report/async-throttle/index.js.html +0 -246
- data/node_modules/async-limiter/coverage/lcov-report/base.css +0 -182
- data/node_modules/async-limiter/coverage/lcov-report/index.html +0 -73
- data/node_modules/async-limiter/coverage/lcov-report/prettify.css +0 -1
- data/node_modules/async-limiter/coverage/lcov-report/prettify.js +0 -1
- data/node_modules/async-limiter/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- data/node_modules/async-limiter/coverage/lcov-report/sorter.js +0 -156
- data/node_modules/async-limiter/coverage/lcov.info +0 -74
- data/node_modules/async-limiter/index.js +0 -67
- data/node_modules/async-limiter/package.json +0 -35
- data/node_modules/async-limiter/readme.md +0 -132
- data/node_modules/balanced-match/LICENSE.md +0 -21
- data/node_modules/balanced-match/README.md +0 -91
- data/node_modules/balanced-match/index.js +0 -59
- data/node_modules/balanced-match/package.json +0 -49
- data/node_modules/brace-expansion/LICENSE +0 -21
- data/node_modules/brace-expansion/README.md +0 -129
- data/node_modules/brace-expansion/index.js +0 -201
- data/node_modules/brace-expansion/package.json +0 -47
- data/node_modules/buffer-from/index.js +0 -69
- data/node_modules/buffer-from/package.json +0 -16
- data/node_modules/buffer-from/readme.md +0 -69
- data/node_modules/buffer-from/test.js +0 -12
- data/node_modules/concat-map/LICENSE +0 -18
- data/node_modules/concat-map/README.markdown +0 -62
- data/node_modules/concat-map/example/map.js +0 -6
- data/node_modules/concat-map/index.js +0 -13
- data/node_modules/concat-map/package.json +0 -43
- data/node_modules/concat-map/test/map.js +0 -39
- data/node_modules/concat-stream/LICENSE +0 -24
- data/node_modules/concat-stream/index.js +0 -144
- data/node_modules/concat-stream/package.json +0 -55
- data/node_modules/concat-stream/readme.md +0 -102
- data/node_modules/core-util-is/LICENSE +0 -19
- data/node_modules/core-util-is/README.md +0 -3
- data/node_modules/core-util-is/float.patch +0 -604
- data/node_modules/core-util-is/lib/util.js +0 -107
- data/node_modules/core-util-is/package.json +0 -32
- data/node_modules/core-util-is/test.js +0 -68
- data/node_modules/debug/CHANGELOG.md +0 -395
- data/node_modules/debug/LICENSE +0 -19
- data/node_modules/debug/Makefile +0 -58
- data/node_modules/debug/README.md +0 -368
- data/node_modules/debug/karma.conf.js +0 -70
- data/node_modules/debug/node.js +0 -1
- data/node_modules/debug/package.json +0 -43
- data/node_modules/debug/src/browser.js +0 -195
- data/node_modules/debug/src/debug.js +0 -225
- data/node_modules/debug/src/index.js +0 -10
- data/node_modules/debug/src/node.js +0 -186
- data/node_modules/es6-promise/CHANGELOG.md +0 -151
- data/node_modules/es6-promise/LICENSE +0 -19
- data/node_modules/es6-promise/README.md +0 -97
- data/node_modules/es6-promise/auto.js +0 -4
- data/node_modules/es6-promise/dist/es6-promise.auto.js +0 -1181
- data/node_modules/es6-promise/dist/es6-promise.auto.map +0 -1
- data/node_modules/es6-promise/dist/es6-promise.auto.min.js +0 -1
- data/node_modules/es6-promise/dist/es6-promise.auto.min.map +0 -1
- data/node_modules/es6-promise/dist/es6-promise.js +0 -1179
- data/node_modules/es6-promise/dist/es6-promise.map +0 -1
- data/node_modules/es6-promise/dist/es6-promise.min.js +0 -1
- data/node_modules/es6-promise/dist/es6-promise.min.map +0 -1
- data/node_modules/es6-promise/es6-promise.d.ts +0 -81
- data/node_modules/es6-promise/lib/es6-promise.auto.js +0 -3
- data/node_modules/es6-promise/lib/es6-promise.js +0 -7
- data/node_modules/es6-promise/lib/es6-promise/-internal.js +0 -266
- data/node_modules/es6-promise/lib/es6-promise/asap.js +0 -119
- data/node_modules/es6-promise/lib/es6-promise/enumerator.js +0 -113
- data/node_modules/es6-promise/lib/es6-promise/polyfill.js +0 -35
- data/node_modules/es6-promise/lib/es6-promise/promise.js +0 -427
- data/node_modules/es6-promise/lib/es6-promise/promise/all.js +0 -52
- data/node_modules/es6-promise/lib/es6-promise/promise/race.js +0 -84
- data/node_modules/es6-promise/lib/es6-promise/promise/reject.js +0 -46
- data/node_modules/es6-promise/lib/es6-promise/promise/resolve.js +0 -48
- data/node_modules/es6-promise/lib/es6-promise/then.js +0 -32
- data/node_modules/es6-promise/lib/es6-promise/utils.js +0 -21
- data/node_modules/es6-promise/package.json +0 -75
- data/node_modules/es6-promisify/README.md +0 -89
- data/node_modules/es6-promisify/dist/promise.js +0 -73
- data/node_modules/es6-promisify/dist/promisify.js +0 -85
- data/node_modules/es6-promisify/package.json +0 -41
- data/node_modules/extract-zip/CONTRIBUTING.md +0 -1
- data/node_modules/extract-zip/LICENSE +0 -23
- data/node_modules/extract-zip/cli.js +0 -20
- data/node_modules/extract-zip/index.js +0 -205
- data/node_modules/extract-zip/node_modules/debug/CHANGELOG.md +0 -362
- data/node_modules/extract-zip/node_modules/debug/LICENSE +0 -19
- data/node_modules/extract-zip/node_modules/debug/Makefile +0 -50
- data/node_modules/extract-zip/node_modules/debug/README.md +0 -312
- data/node_modules/extract-zip/node_modules/debug/component.json +0 -19
- data/node_modules/extract-zip/node_modules/debug/karma.conf.js +0 -70
- data/node_modules/extract-zip/node_modules/debug/node.js +0 -1
- data/node_modules/extract-zip/node_modules/debug/package.json +0 -49
- data/node_modules/extract-zip/node_modules/debug/src/browser.js +0 -185
- data/node_modules/extract-zip/node_modules/debug/src/debug.js +0 -202
- data/node_modules/extract-zip/node_modules/debug/src/index.js +0 -10
- data/node_modules/extract-zip/node_modules/debug/src/inspector-log.js +0 -15
- data/node_modules/extract-zip/node_modules/debug/src/node.js +0 -248
- data/node_modules/extract-zip/package.json +0 -35
- data/node_modules/extract-zip/readme.md +0 -49
- data/node_modules/fd-slicer/CHANGELOG.md +0 -49
- data/node_modules/fd-slicer/LICENSE +0 -21
- data/node_modules/fd-slicer/README.md +0 -189
- data/node_modules/fd-slicer/index.js +0 -277
- data/node_modules/fd-slicer/package.json +0 -36
- data/node_modules/fd-slicer/test/test.js +0 -350
- data/node_modules/fs.realpath/LICENSE +0 -43
- data/node_modules/fs.realpath/README.md +0 -33
- data/node_modules/fs.realpath/index.js +0 -66
- data/node_modules/fs.realpath/old.js +0 -303
- data/node_modules/fs.realpath/package.json +0 -26
- data/node_modules/glob/LICENSE +0 -15
- data/node_modules/glob/README.md +0 -368
- data/node_modules/glob/changelog.md +0 -67
- data/node_modules/glob/common.js +0 -240
- data/node_modules/glob/glob.js +0 -790
- data/node_modules/glob/package.json +0 -43
- data/node_modules/glob/sync.js +0 -486
- data/node_modules/https-proxy-agent/History.md +0 -124
- data/node_modules/https-proxy-agent/README.md +0 -137
- data/node_modules/https-proxy-agent/index.js +0 -229
- data/node_modules/https-proxy-agent/package.json +0 -35
- data/node_modules/https-proxy-agent/test/ssl-cert-snakeoil.key +0 -15
- data/node_modules/https-proxy-agent/test/ssl-cert-snakeoil.pem +0 -12
- data/node_modules/https-proxy-agent/test/test.js +0 -342
- data/node_modules/inflight/LICENSE +0 -15
- data/node_modules/inflight/README.md +0 -37
- data/node_modules/inflight/inflight.js +0 -54
- data/node_modules/inflight/package.json +0 -29
- data/node_modules/inherits/LICENSE +0 -16
- data/node_modules/inherits/README.md +0 -42
- data/node_modules/inherits/inherits.js +0 -7
- data/node_modules/inherits/inherits_browser.js +0 -23
- data/node_modules/inherits/package.json +0 -29
- data/node_modules/isarray/Makefile +0 -6
- data/node_modules/isarray/README.md +0 -60
- data/node_modules/isarray/component.json +0 -19
- data/node_modules/isarray/index.js +0 -5
- data/node_modules/isarray/package.json +0 -45
- data/node_modules/isarray/test.js +0 -20
- data/node_modules/mime/CHANGELOG.md +0 -225
- data/node_modules/mime/CONTRIBUTING.md +0 -5
- data/node_modules/mime/LICENSE +0 -21
- data/node_modules/mime/Mime.js +0 -89
- data/node_modules/mime/README.md +0 -188
- data/node_modules/mime/cli.js +0 -10
- data/node_modules/mime/index.js +0 -4
- data/node_modules/mime/lite.js +0 -4
- data/node_modules/mime/package.json +0 -43
- data/node_modules/mime/src/README_js.md +0 -179
- data/node_modules/mime/src/build.js +0 -71
- data/node_modules/mime/src/test.js +0 -257
- data/node_modules/mime/types/other.json +0 -1
- data/node_modules/mime/types/standard.json +0 -1
- data/node_modules/minimatch/LICENSE +0 -15
- data/node_modules/minimatch/README.md +0 -209
- data/node_modules/minimatch/minimatch.js +0 -923
- data/node_modules/minimatch/package.json +0 -30
- data/node_modules/minimist/LICENSE +0 -18
- data/node_modules/minimist/example/parse.js +0 -2
- data/node_modules/minimist/index.js +0 -187
- data/node_modules/minimist/package.json +0 -40
- data/node_modules/minimist/readme.markdown +0 -73
- data/node_modules/minimist/test/dash.js +0 -24
- data/node_modules/minimist/test/default_bool.js +0 -20
- data/node_modules/minimist/test/dotted.js +0 -16
- data/node_modules/minimist/test/long.js +0 -31
- data/node_modules/minimist/test/parse.js +0 -318
- data/node_modules/minimist/test/parse_modified.js +0 -9
- data/node_modules/minimist/test/short.js +0 -67
- data/node_modules/minimist/test/whitespace.js +0 -8
- data/node_modules/mkdirp/LICENSE +0 -21
- data/node_modules/mkdirp/bin/cmd.js +0 -33
- data/node_modules/mkdirp/bin/usage.txt +0 -12
- data/node_modules/mkdirp/examples/pow.js +0 -6
- data/node_modules/mkdirp/index.js +0 -98
- data/node_modules/mkdirp/package.json +0 -27
- data/node_modules/mkdirp/readme.markdown +0 -100
- data/node_modules/mkdirp/test/chmod.js +0 -41
- data/node_modules/mkdirp/test/clobber.js +0 -38
- data/node_modules/mkdirp/test/mkdirp.js +0 -28
- data/node_modules/mkdirp/test/opts_fs.js +0 -29
- data/node_modules/mkdirp/test/opts_fs_sync.js +0 -27
- data/node_modules/mkdirp/test/perm.js +0 -32
- data/node_modules/mkdirp/test/perm_sync.js +0 -36
- data/node_modules/mkdirp/test/race.js +0 -37
- data/node_modules/mkdirp/test/rel.js +0 -32
- data/node_modules/mkdirp/test/return.js +0 -25
- data/node_modules/mkdirp/test/return_sync.js +0 -24
- data/node_modules/mkdirp/test/root.js +0 -19
- data/node_modules/mkdirp/test/sync.js +0 -32
- data/node_modules/mkdirp/test/umask.js +0 -28
- data/node_modules/mkdirp/test/umask_sync.js +0 -32
- data/node_modules/ms/index.js +0 -152
- data/node_modules/ms/license.md +0 -21
- data/node_modules/ms/package.json +0 -37
- data/node_modules/ms/readme.md +0 -51
- data/node_modules/once/LICENSE +0 -15
- data/node_modules/once/README.md +0 -79
- data/node_modules/once/once.js +0 -42
- data/node_modules/once/package.json +0 -33
- data/node_modules/path-is-absolute/index.js +0 -20
- data/node_modules/path-is-absolute/license +0 -21
- data/node_modules/path-is-absolute/package.json +0 -43
- data/node_modules/path-is-absolute/readme.md +0 -59
- data/node_modules/pend/LICENSE +0 -23
- data/node_modules/pend/README.md +0 -41
- data/node_modules/pend/index.js +0 -55
- data/node_modules/pend/package.json +0 -18
- data/node_modules/pend/test.js +0 -137
- data/node_modules/process-nextick-args/index.js +0 -44
- data/node_modules/process-nextick-args/license.md +0 -19
- data/node_modules/process-nextick-args/package.json +0 -25
- data/node_modules/process-nextick-args/readme.md +0 -18
- data/node_modules/progress/CHANGELOG.md +0 -115
- data/node_modules/progress/LICENSE +0 -22
- data/node_modules/progress/Makefile +0 -8
- data/node_modules/progress/README.md +0 -146
- data/node_modules/progress/index.js +0 -1
- data/node_modules/progress/lib/node-progress.js +0 -231
- data/node_modules/progress/package.json +0 -25
- data/node_modules/proxy-from-env/README.md +0 -131
- data/node_modules/proxy-from-env/index.js +0 -103
- data/node_modules/proxy-from-env/package.json +0 -35
- data/node_modules/proxy-from-env/test.js +0 -393
- data/node_modules/puppeteer/CONTRIBUTING.md +0 -206
- data/node_modules/puppeteer/DeviceDescriptors.js +0 -704
- data/node_modules/puppeteer/LICENSE +0 -202
- data/node_modules/puppeteer/README.md +0 -306
- data/node_modules/puppeteer/index.js +0 -28
- data/node_modules/puppeteer/install.js +0 -122
- data/node_modules/puppeteer/lib/Browser.js +0 -186
- data/node_modules/puppeteer/lib/BrowserFetcher.js +0 -279
- data/node_modules/puppeteer/lib/Connection.js +0 -246
- data/node_modules/puppeteer/lib/Coverage.js +0 -301
- data/node_modules/puppeteer/lib/Dialog.js +0 -84
- data/node_modules/puppeteer/lib/ElementHandle.js +0 -328
- data/node_modules/puppeteer/lib/EmulationManager.js +0 -89
- data/node_modules/puppeteer/lib/ExecutionContext.js +0 -232
- data/node_modules/puppeteer/lib/FrameManager.js +0 -997
- data/node_modules/puppeteer/lib/Input.js +0 -309
- data/node_modules/puppeteer/lib/Launcher.js +0 -310
- data/node_modules/puppeteer/lib/Multimap.js +0 -95
- data/node_modules/puppeteer/lib/NavigatorWatcher.js +0 -137
- data/node_modules/puppeteer/lib/NetworkManager.js +0 -796
- data/node_modules/puppeteer/lib/Page.js +0 -1098
- data/node_modules/puppeteer/lib/Pipe.js +0 -69
- data/node_modules/puppeteer/lib/Puppeteer.js +0 -60
- data/node_modules/puppeteer/lib/Target.js +0 -88
- data/node_modules/puppeteer/lib/TaskQueue.js +0 -17
- data/node_modules/puppeteer/lib/Tracing.js +0 -99
- data/node_modules/puppeteer/lib/USKeyboardLayout.js +0 -281
- data/node_modules/puppeteer/lib/helper.js +0 -248
- data/node_modules/puppeteer/node6/lib/Browser.js +0 -394
- data/node_modules/puppeteer/node6/lib/BrowserFetcher.js +0 -357
- data/node_modules/puppeteer/node6/lib/Connection.js +0 -350
- data/node_modules/puppeteer/node6/lib/Coverage.js +0 -561
- data/node_modules/puppeteer/node6/lib/Dialog.js +0 -136
- data/node_modules/puppeteer/node6/lib/ElementHandle.js +0 -796
- data/node_modules/puppeteer/node6/lib/EmulationManager.js +0 -115
- data/node_modules/puppeteer/node6/lib/ExecutionContext.js +0 -414
- data/node_modules/puppeteer/node6/lib/FrameManager.js +0 -1621
- data/node_modules/puppeteer/node6/lib/Input.js +0 -569
- data/node_modules/puppeteer/node6/lib/Launcher.js +0 -362
- data/node_modules/puppeteer/node6/lib/Multimap.js +0 -95
- data/node_modules/puppeteer/node6/lib/NavigatorWatcher.js +0 -163
- data/node_modules/puppeteer/node6/lib/NetworkManager.js +0 -1108
- data/node_modules/puppeteer/node6/lib/Page.js +0 -2242
- data/node_modules/puppeteer/node6/lib/Pipe.js +0 -69
- data/node_modules/puppeteer/node6/lib/Puppeteer.js +0 -60
- data/node_modules/puppeteer/node6/lib/Target.js +0 -114
- data/node_modules/puppeteer/node6/lib/TaskQueue.js +0 -17
- data/node_modules/puppeteer/node6/lib/Tracing.js +0 -177
- data/node_modules/puppeteer/node6/lib/USKeyboardLayout.js +0 -281
- data/node_modules/puppeteer/node6/lib/helper.js +0 -274
- data/node_modules/puppeteer/package.json +0 -61
- data/node_modules/readable-stream/CONTRIBUTING.md +0 -38
- data/node_modules/readable-stream/GOVERNANCE.md +0 -136
- data/node_modules/readable-stream/LICENSE +0 -47
- data/node_modules/readable-stream/README.md +0 -58
- data/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +0 -60
- data/node_modules/readable-stream/duplex-browser.js +0 -1
- data/node_modules/readable-stream/duplex.js +0 -1
- data/node_modules/readable-stream/lib/_stream_duplex.js +0 -131
- data/node_modules/readable-stream/lib/_stream_passthrough.js +0 -47
- data/node_modules/readable-stream/lib/_stream_readable.js +0 -1019
- data/node_modules/readable-stream/lib/_stream_transform.js +0 -214
- data/node_modules/readable-stream/lib/_stream_writable.js +0 -687
- data/node_modules/readable-stream/lib/internal/streams/BufferList.js +0 -79
- data/node_modules/readable-stream/lib/internal/streams/destroy.js +0 -74
- data/node_modules/readable-stream/lib/internal/streams/stream-browser.js +0 -1
- data/node_modules/readable-stream/lib/internal/streams/stream.js +0 -1
- data/node_modules/readable-stream/package.json +0 -52
- data/node_modules/readable-stream/passthrough.js +0 -1
- data/node_modules/readable-stream/readable-browser.js +0 -7
- data/node_modules/readable-stream/readable.js +0 -19
- data/node_modules/readable-stream/transform.js +0 -1
- data/node_modules/readable-stream/writable-browser.js +0 -1
- data/node_modules/readable-stream/writable.js +0 -8
- data/node_modules/rimraf/LICENSE +0 -15
- data/node_modules/rimraf/README.md +0 -101
- data/node_modules/rimraf/bin.js +0 -50
- data/node_modules/rimraf/package.json +0 -26
- data/node_modules/rimraf/rimraf.js +0 -364
- data/node_modules/safe-buffer/LICENSE +0 -21
- data/node_modules/safe-buffer/README.md +0 -584
- data/node_modules/safe-buffer/index.d.ts +0 -187
- data/node_modules/safe-buffer/index.js +0 -62
- data/node_modules/safe-buffer/package.json +0 -37
- data/node_modules/string_decoder/LICENSE +0 -48
- data/node_modules/string_decoder/README.md +0 -47
- data/node_modules/string_decoder/lib/string_decoder.js +0 -296
- data/node_modules/string_decoder/package.json +0 -31
- data/node_modules/typedarray/LICENSE +0 -35
- data/node_modules/typedarray/example/tarray.js +0 -4
- data/node_modules/typedarray/index.js +0 -630
- data/node_modules/typedarray/package.json +0 -55
- data/node_modules/typedarray/readme.markdown +0 -61
- data/node_modules/typedarray/test/server/undef_globals.js +0 -19
- data/node_modules/typedarray/test/tarray.js +0 -10
- data/node_modules/ultron/LICENSE +0 -22
- data/node_modules/ultron/README.md +0 -113
- data/node_modules/ultron/index.js +0 -136
- data/node_modules/ultron/package.json +0 -41
- data/node_modules/util-deprecate/History.md +0 -16
- data/node_modules/util-deprecate/LICENSE +0 -24
- data/node_modules/util-deprecate/README.md +0 -53
- data/node_modules/util-deprecate/browser.js +0 -67
- data/node_modules/util-deprecate/node.js +0 -6
- data/node_modules/util-deprecate/package.json +0 -27
- data/node_modules/wrappy/LICENSE +0 -15
- data/node_modules/wrappy/README.md +0 -36
- data/node_modules/wrappy/package.json +0 -29
- data/node_modules/wrappy/wrappy.js +0 -33
- data/node_modules/ws/LICENSE +0 -21
- data/node_modules/ws/README.md +0 -341
- data/node_modules/ws/index.js +0 -15
- data/node_modules/ws/lib/BufferUtil.js +0 -71
- data/node_modules/ws/lib/Constants.js +0 -10
- data/node_modules/ws/lib/ErrorCodes.js +0 -28
- data/node_modules/ws/lib/EventTarget.js +0 -151
- data/node_modules/ws/lib/Extensions.js +0 -203
- data/node_modules/ws/lib/PerMessageDeflate.js +0 -507
- data/node_modules/ws/lib/Receiver.js +0 -553
- data/node_modules/ws/lib/Sender.js +0 -412
- data/node_modules/ws/lib/Validation.js +0 -17
- data/node_modules/ws/lib/WebSocket.js +0 -717
- data/node_modules/ws/lib/WebSocketServer.js +0 -326
- data/node_modules/ws/package.json +0 -46
- data/node_modules/yauzl/LICENSE +0 -21
- data/node_modules/yauzl/README.md +0 -467
- data/node_modules/yauzl/index.js +0 -626
- data/node_modules/yauzl/package.json +0 -36
- data/package.json +0 -5
- data/yarn.lock +0 -240
@@ -1,107 +0,0 @@
|
|
1
|
-
// Copyright Joyent, Inc. and other Node contributors.
|
2
|
-
//
|
3
|
-
// Permission is hereby granted, free of charge, to any person obtaining a
|
4
|
-
// copy of this software and associated documentation files (the
|
5
|
-
// "Software"), to deal in the Software without restriction, including
|
6
|
-
// without limitation the rights to use, copy, modify, merge, publish,
|
7
|
-
// distribute, sublicense, and/or sell copies of the Software, and to permit
|
8
|
-
// persons to whom the Software is furnished to do so, subject to the
|
9
|
-
// following conditions:
|
10
|
-
//
|
11
|
-
// The above copyright notice and this permission notice shall be included
|
12
|
-
// in all copies or substantial portions of the Software.
|
13
|
-
//
|
14
|
-
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
15
|
-
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
-
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
|
17
|
-
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
18
|
-
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
19
|
-
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
|
20
|
-
// USE OR OTHER DEALINGS IN THE SOFTWARE.
|
21
|
-
|
22
|
-
// NOTE: These type checking functions intentionally don't use `instanceof`
|
23
|
-
// because it is fragile and can be easily faked with `Object.create()`.
|
24
|
-
|
25
|
-
function isArray(arg) {
|
26
|
-
if (Array.isArray) {
|
27
|
-
return Array.isArray(arg);
|
28
|
-
}
|
29
|
-
return objectToString(arg) === '[object Array]';
|
30
|
-
}
|
31
|
-
exports.isArray = isArray;
|
32
|
-
|
33
|
-
function isBoolean(arg) {
|
34
|
-
return typeof arg === 'boolean';
|
35
|
-
}
|
36
|
-
exports.isBoolean = isBoolean;
|
37
|
-
|
38
|
-
function isNull(arg) {
|
39
|
-
return arg === null;
|
40
|
-
}
|
41
|
-
exports.isNull = isNull;
|
42
|
-
|
43
|
-
function isNullOrUndefined(arg) {
|
44
|
-
return arg == null;
|
45
|
-
}
|
46
|
-
exports.isNullOrUndefined = isNullOrUndefined;
|
47
|
-
|
48
|
-
function isNumber(arg) {
|
49
|
-
return typeof arg === 'number';
|
50
|
-
}
|
51
|
-
exports.isNumber = isNumber;
|
52
|
-
|
53
|
-
function isString(arg) {
|
54
|
-
return typeof arg === 'string';
|
55
|
-
}
|
56
|
-
exports.isString = isString;
|
57
|
-
|
58
|
-
function isSymbol(arg) {
|
59
|
-
return typeof arg === 'symbol';
|
60
|
-
}
|
61
|
-
exports.isSymbol = isSymbol;
|
62
|
-
|
63
|
-
function isUndefined(arg) {
|
64
|
-
return arg === void 0;
|
65
|
-
}
|
66
|
-
exports.isUndefined = isUndefined;
|
67
|
-
|
68
|
-
function isRegExp(re) {
|
69
|
-
return objectToString(re) === '[object RegExp]';
|
70
|
-
}
|
71
|
-
exports.isRegExp = isRegExp;
|
72
|
-
|
73
|
-
function isObject(arg) {
|
74
|
-
return typeof arg === 'object' && arg !== null;
|
75
|
-
}
|
76
|
-
exports.isObject = isObject;
|
77
|
-
|
78
|
-
function isDate(d) {
|
79
|
-
return objectToString(d) === '[object Date]';
|
80
|
-
}
|
81
|
-
exports.isDate = isDate;
|
82
|
-
|
83
|
-
function isError(e) {
|
84
|
-
return (objectToString(e) === '[object Error]' || e instanceof Error);
|
85
|
-
}
|
86
|
-
exports.isError = isError;
|
87
|
-
|
88
|
-
function isFunction(arg) {
|
89
|
-
return typeof arg === 'function';
|
90
|
-
}
|
91
|
-
exports.isFunction = isFunction;
|
92
|
-
|
93
|
-
function isPrimitive(arg) {
|
94
|
-
return arg === null ||
|
95
|
-
typeof arg === 'boolean' ||
|
96
|
-
typeof arg === 'number' ||
|
97
|
-
typeof arg === 'string' ||
|
98
|
-
typeof arg === 'symbol' || // ES6 symbol
|
99
|
-
typeof arg === 'undefined';
|
100
|
-
}
|
101
|
-
exports.isPrimitive = isPrimitive;
|
102
|
-
|
103
|
-
exports.isBuffer = Buffer.isBuffer;
|
104
|
-
|
105
|
-
function objectToString(o) {
|
106
|
-
return Object.prototype.toString.call(o);
|
107
|
-
}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "core-util-is",
|
3
|
-
"version": "1.0.2",
|
4
|
-
"description": "The `util.is*` functions introduced in Node v0.12.",
|
5
|
-
"main": "lib/util.js",
|
6
|
-
"repository": {
|
7
|
-
"type": "git",
|
8
|
-
"url": "git://github.com/isaacs/core-util-is"
|
9
|
-
},
|
10
|
-
"keywords": [
|
11
|
-
"util",
|
12
|
-
"isBuffer",
|
13
|
-
"isArray",
|
14
|
-
"isNumber",
|
15
|
-
"isString",
|
16
|
-
"isRegExp",
|
17
|
-
"isThis",
|
18
|
-
"isThat",
|
19
|
-
"polyfill"
|
20
|
-
],
|
21
|
-
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
22
|
-
"license": "MIT",
|
23
|
-
"bugs": {
|
24
|
-
"url": "https://github.com/isaacs/core-util-is/issues"
|
25
|
-
},
|
26
|
-
"scripts": {
|
27
|
-
"test": "tap test.js"
|
28
|
-
},
|
29
|
-
"devDependencies": {
|
30
|
-
"tap": "^2.3.0"
|
31
|
-
}
|
32
|
-
}
|
@@ -1,68 +0,0 @@
|
|
1
|
-
var assert = require('tap');
|
2
|
-
|
3
|
-
var t = require('./lib/util');
|
4
|
-
|
5
|
-
assert.equal(t.isArray([]), true);
|
6
|
-
assert.equal(t.isArray({}), false);
|
7
|
-
|
8
|
-
assert.equal(t.isBoolean(null), false);
|
9
|
-
assert.equal(t.isBoolean(true), true);
|
10
|
-
assert.equal(t.isBoolean(false), true);
|
11
|
-
|
12
|
-
assert.equal(t.isNull(null), true);
|
13
|
-
assert.equal(t.isNull(undefined), false);
|
14
|
-
assert.equal(t.isNull(false), false);
|
15
|
-
assert.equal(t.isNull(), false);
|
16
|
-
|
17
|
-
assert.equal(t.isNullOrUndefined(null), true);
|
18
|
-
assert.equal(t.isNullOrUndefined(undefined), true);
|
19
|
-
assert.equal(t.isNullOrUndefined(false), false);
|
20
|
-
assert.equal(t.isNullOrUndefined(), true);
|
21
|
-
|
22
|
-
assert.equal(t.isNumber(null), false);
|
23
|
-
assert.equal(t.isNumber('1'), false);
|
24
|
-
assert.equal(t.isNumber(1), true);
|
25
|
-
|
26
|
-
assert.equal(t.isString(null), false);
|
27
|
-
assert.equal(t.isString('1'), true);
|
28
|
-
assert.equal(t.isString(1), false);
|
29
|
-
|
30
|
-
assert.equal(t.isSymbol(null), false);
|
31
|
-
assert.equal(t.isSymbol('1'), false);
|
32
|
-
assert.equal(t.isSymbol(1), false);
|
33
|
-
assert.equal(t.isSymbol(Symbol()), true);
|
34
|
-
|
35
|
-
assert.equal(t.isUndefined(null), false);
|
36
|
-
assert.equal(t.isUndefined(undefined), true);
|
37
|
-
assert.equal(t.isUndefined(false), false);
|
38
|
-
assert.equal(t.isUndefined(), true);
|
39
|
-
|
40
|
-
assert.equal(t.isRegExp(null), false);
|
41
|
-
assert.equal(t.isRegExp('1'), false);
|
42
|
-
assert.equal(t.isRegExp(new RegExp()), true);
|
43
|
-
|
44
|
-
assert.equal(t.isObject({}), true);
|
45
|
-
assert.equal(t.isObject([]), true);
|
46
|
-
assert.equal(t.isObject(new RegExp()), true);
|
47
|
-
assert.equal(t.isObject(new Date()), true);
|
48
|
-
|
49
|
-
assert.equal(t.isDate(null), false);
|
50
|
-
assert.equal(t.isDate('1'), false);
|
51
|
-
assert.equal(t.isDate(new Date()), true);
|
52
|
-
|
53
|
-
assert.equal(t.isError(null), false);
|
54
|
-
assert.equal(t.isError({ err: true }), false);
|
55
|
-
assert.equal(t.isError(new Error()), true);
|
56
|
-
|
57
|
-
assert.equal(t.isFunction(null), false);
|
58
|
-
assert.equal(t.isFunction({ }), false);
|
59
|
-
assert.equal(t.isFunction(function() {}), true);
|
60
|
-
|
61
|
-
assert.equal(t.isPrimitive(null), true);
|
62
|
-
assert.equal(t.isPrimitive(''), true);
|
63
|
-
assert.equal(t.isPrimitive(0), true);
|
64
|
-
assert.equal(t.isPrimitive(new Date()), false);
|
65
|
-
|
66
|
-
assert.equal(t.isBuffer(null), false);
|
67
|
-
assert.equal(t.isBuffer({}), false);
|
68
|
-
assert.equal(t.isBuffer(new Buffer(0)), true);
|
@@ -1,395 +0,0 @@
|
|
1
|
-
|
2
|
-
3.1.0 / 2017-09-26
|
3
|
-
==================
|
4
|
-
|
5
|
-
* Add `DEBUG_HIDE_DATE` env var (#486)
|
6
|
-
* Remove ReDoS regexp in %o formatter (#504)
|
7
|
-
* Remove "component" from package.json
|
8
|
-
* Remove `component.json`
|
9
|
-
* Ignore package-lock.json
|
10
|
-
* Examples: fix colors printout
|
11
|
-
* Fix: browser detection
|
12
|
-
* Fix: spelling mistake (#496, @EdwardBetts)
|
13
|
-
|
14
|
-
3.0.1 / 2017-08-24
|
15
|
-
==================
|
16
|
-
|
17
|
-
* Fix: Disable colors in Edge and Internet Explorer (#489)
|
18
|
-
|
19
|
-
3.0.0 / 2017-08-08
|
20
|
-
==================
|
21
|
-
|
22
|
-
* Breaking: Remove DEBUG_FD (#406)
|
23
|
-
* Breaking: Use `Date#toISOString()` instead to `Date#toUTCString()` when output is not a TTY (#418)
|
24
|
-
* Breaking: Make millisecond timer namespace specific and allow 'always enabled' output (#408)
|
25
|
-
* Addition: document `enabled` flag (#465)
|
26
|
-
* Addition: add 256 colors mode (#481)
|
27
|
-
* Addition: `enabled()` updates existing debug instances, add `destroy()` function (#440)
|
28
|
-
* Update: component: update "ms" to v2.0.0
|
29
|
-
* Update: separate the Node and Browser tests in Travis-CI
|
30
|
-
* Update: refactor Readme, fixed documentation, added "Namespace Colors" section, redid screenshots
|
31
|
-
* Update: separate Node.js and web browser examples for organization
|
32
|
-
* Update: update "browserify" to v14.4.0
|
33
|
-
* Fix: fix Readme typo (#473)
|
34
|
-
|
35
|
-
2.6.9 / 2017-09-22
|
36
|
-
==================
|
37
|
-
|
38
|
-
* remove ReDoS regexp in %o formatter (#504)
|
39
|
-
|
40
|
-
2.6.8 / 2017-05-18
|
41
|
-
==================
|
42
|
-
|
43
|
-
* Fix: Check for undefined on browser globals (#462, @marbemac)
|
44
|
-
|
45
|
-
2.6.7 / 2017-05-16
|
46
|
-
==================
|
47
|
-
|
48
|
-
* Fix: Update ms to 2.0.0 to fix regular expression denial of service vulnerability (#458, @hubdotcom)
|
49
|
-
* Fix: Inline extend function in node implementation (#452, @dougwilson)
|
50
|
-
* Docs: Fix typo (#455, @msasad)
|
51
|
-
|
52
|
-
2.6.5 / 2017-04-27
|
53
|
-
==================
|
54
|
-
|
55
|
-
* Fix: null reference check on window.documentElement.style.WebkitAppearance (#447, @thebigredgeek)
|
56
|
-
* Misc: clean up browser reference checks (#447, @thebigredgeek)
|
57
|
-
* Misc: add npm-debug.log to .gitignore (@thebigredgeek)
|
58
|
-
|
59
|
-
|
60
|
-
2.6.4 / 2017-04-20
|
61
|
-
==================
|
62
|
-
|
63
|
-
* Fix: bug that would occur if process.env.DEBUG is a non-string value. (#444, @LucianBuzzo)
|
64
|
-
* Chore: ignore bower.json in npm installations. (#437, @joaovieira)
|
65
|
-
* Misc: update "ms" to v0.7.3 (@tootallnate)
|
66
|
-
|
67
|
-
2.6.3 / 2017-03-13
|
68
|
-
==================
|
69
|
-
|
70
|
-
* Fix: Electron reference to `process.env.DEBUG` (#431, @paulcbetts)
|
71
|
-
* Docs: Changelog fix (@thebigredgeek)
|
72
|
-
|
73
|
-
2.6.2 / 2017-03-10
|
74
|
-
==================
|
75
|
-
|
76
|
-
* Fix: DEBUG_MAX_ARRAY_LENGTH (#420, @slavaGanzin)
|
77
|
-
* Docs: Add backers and sponsors from Open Collective (#422, @piamancini)
|
78
|
-
* Docs: Add Slackin invite badge (@tootallnate)
|
79
|
-
|
80
|
-
2.6.1 / 2017-02-10
|
81
|
-
==================
|
82
|
-
|
83
|
-
* Fix: Module's `export default` syntax fix for IE8 `Expected identifier` error
|
84
|
-
* Fix: Whitelist DEBUG_FD for values 1 and 2 only (#415, @pi0)
|
85
|
-
* Fix: IE8 "Expected identifier" error (#414, @vgoma)
|
86
|
-
* Fix: Namespaces would not disable once enabled (#409, @musikov)
|
87
|
-
|
88
|
-
2.6.0 / 2016-12-28
|
89
|
-
==================
|
90
|
-
|
91
|
-
* Fix: added better null pointer checks for browser useColors (@thebigredgeek)
|
92
|
-
* Improvement: removed explicit `window.debug` export (#404, @tootallnate)
|
93
|
-
* Improvement: deprecated `DEBUG_FD` environment variable (#405, @tootallnate)
|
94
|
-
|
95
|
-
2.5.2 / 2016-12-25
|
96
|
-
==================
|
97
|
-
|
98
|
-
* Fix: reference error on window within webworkers (#393, @KlausTrainer)
|
99
|
-
* Docs: fixed README typo (#391, @lurch)
|
100
|
-
* Docs: added notice about v3 api discussion (@thebigredgeek)
|
101
|
-
|
102
|
-
2.5.1 / 2016-12-20
|
103
|
-
==================
|
104
|
-
|
105
|
-
* Fix: babel-core compatibility
|
106
|
-
|
107
|
-
2.5.0 / 2016-12-20
|
108
|
-
==================
|
109
|
-
|
110
|
-
* Fix: wrong reference in bower file (@thebigredgeek)
|
111
|
-
* Fix: webworker compatibility (@thebigredgeek)
|
112
|
-
* Fix: output formatting issue (#388, @kribblo)
|
113
|
-
* Fix: babel-loader compatibility (#383, @escwald)
|
114
|
-
* Misc: removed built asset from repo and publications (@thebigredgeek)
|
115
|
-
* Misc: moved source files to /src (#378, @yamikuronue)
|
116
|
-
* Test: added karma integration and replaced babel with browserify for browser tests (#378, @yamikuronue)
|
117
|
-
* Test: coveralls integration (#378, @yamikuronue)
|
118
|
-
* Docs: simplified language in the opening paragraph (#373, @yamikuronue)
|
119
|
-
|
120
|
-
2.4.5 / 2016-12-17
|
121
|
-
==================
|
122
|
-
|
123
|
-
* Fix: `navigator` undefined in Rhino (#376, @jochenberger)
|
124
|
-
* Fix: custom log function (#379, @hsiliev)
|
125
|
-
* Improvement: bit of cleanup + linting fixes (@thebigredgeek)
|
126
|
-
* Improvement: rm non-maintainted `dist/` dir (#375, @freewil)
|
127
|
-
* Docs: simplified language in the opening paragraph. (#373, @yamikuronue)
|
128
|
-
|
129
|
-
2.4.4 / 2016-12-14
|
130
|
-
==================
|
131
|
-
|
132
|
-
* Fix: work around debug being loaded in preload scripts for electron (#368, @paulcbetts)
|
133
|
-
|
134
|
-
2.4.3 / 2016-12-14
|
135
|
-
==================
|
136
|
-
|
137
|
-
* Fix: navigation.userAgent error for react native (#364, @escwald)
|
138
|
-
|
139
|
-
2.4.2 / 2016-12-14
|
140
|
-
==================
|
141
|
-
|
142
|
-
* Fix: browser colors (#367, @tootallnate)
|
143
|
-
* Misc: travis ci integration (@thebigredgeek)
|
144
|
-
* Misc: added linting and testing boilerplate with sanity check (@thebigredgeek)
|
145
|
-
|
146
|
-
2.4.1 / 2016-12-13
|
147
|
-
==================
|
148
|
-
|
149
|
-
* Fix: typo that broke the package (#356)
|
150
|
-
|
151
|
-
2.4.0 / 2016-12-13
|
152
|
-
==================
|
153
|
-
|
154
|
-
* Fix: bower.json references unbuilt src entry point (#342, @justmatt)
|
155
|
-
* Fix: revert "handle regex special characters" (@tootallnate)
|
156
|
-
* Feature: configurable util.inspect()`options for NodeJS (#327, @tootallnate)
|
157
|
-
* Feature: %O`(big O) pretty-prints objects (#322, @tootallnate)
|
158
|
-
* Improvement: allow colors in workers (#335, @botverse)
|
159
|
-
* Improvement: use same color for same namespace. (#338, @lchenay)
|
160
|
-
|
161
|
-
2.3.3 / 2016-11-09
|
162
|
-
==================
|
163
|
-
|
164
|
-
* Fix: Catch `JSON.stringify()` errors (#195, Jovan Alleyne)
|
165
|
-
* Fix: Returning `localStorage` saved values (#331, Levi Thomason)
|
166
|
-
* Improvement: Don't create an empty object when no `process` (Nathan Rajlich)
|
167
|
-
|
168
|
-
2.3.2 / 2016-11-09
|
169
|
-
==================
|
170
|
-
|
171
|
-
* Fix: be super-safe in index.js as well (@TooTallNate)
|
172
|
-
* Fix: should check whether process exists (Tom Newby)
|
173
|
-
|
174
|
-
2.3.1 / 2016-11-09
|
175
|
-
==================
|
176
|
-
|
177
|
-
* Fix: Added electron compatibility (#324, @paulcbetts)
|
178
|
-
* Improvement: Added performance optimizations (@tootallnate)
|
179
|
-
* Readme: Corrected PowerShell environment variable example (#252, @gimre)
|
180
|
-
* Misc: Removed yarn lock file from source control (#321, @fengmk2)
|
181
|
-
|
182
|
-
2.3.0 / 2016-11-07
|
183
|
-
==================
|
184
|
-
|
185
|
-
* Fix: Consistent placement of ms diff at end of output (#215, @gorangajic)
|
186
|
-
* Fix: Escaping of regex special characters in namespace strings (#250, @zacronos)
|
187
|
-
* Fix: Fixed bug causing crash on react-native (#282, @vkarpov15)
|
188
|
-
* Feature: Enabled ES6+ compatible import via default export (#212 @bucaran)
|
189
|
-
* Feature: Added %O formatter to reflect Chrome's console.log capability (#279, @oncletom)
|
190
|
-
* Package: Update "ms" to 0.7.2 (#315, @DevSide)
|
191
|
-
* Package: removed superfluous version property from bower.json (#207 @kkirsche)
|
192
|
-
* Readme: fix USE_COLORS to DEBUG_COLORS
|
193
|
-
* Readme: Doc fixes for format string sugar (#269, @mlucool)
|
194
|
-
* Readme: Updated docs for DEBUG_FD and DEBUG_COLORS environment variables (#232, @mattlyons0)
|
195
|
-
* Readme: doc fixes for PowerShell (#271 #243, @exoticknight @unreadable)
|
196
|
-
* Readme: better docs for browser support (#224, @matthewmueller)
|
197
|
-
* Tooling: Added yarn integration for development (#317, @thebigredgeek)
|
198
|
-
* Misc: Renamed History.md to CHANGELOG.md (@thebigredgeek)
|
199
|
-
* Misc: Added license file (#226 #274, @CantemoInternal @sdaitzman)
|
200
|
-
* Misc: Updated contributors (@thebigredgeek)
|
201
|
-
|
202
|
-
2.2.0 / 2015-05-09
|
203
|
-
==================
|
204
|
-
|
205
|
-
* package: update "ms" to v0.7.1 (#202, @dougwilson)
|
206
|
-
* README: add logging to file example (#193, @DanielOchoa)
|
207
|
-
* README: fixed a typo (#191, @amir-s)
|
208
|
-
* browser: expose `storage` (#190, @stephenmathieson)
|
209
|
-
* Makefile: add a `distclean` target (#189, @stephenmathieson)
|
210
|
-
|
211
|
-
2.1.3 / 2015-03-13
|
212
|
-
==================
|
213
|
-
|
214
|
-
* Updated stdout/stderr example (#186)
|
215
|
-
* Updated example/stdout.js to match debug current behaviour
|
216
|
-
* Renamed example/stderr.js to stdout.js
|
217
|
-
* Update Readme.md (#184)
|
218
|
-
* replace high intensity foreground color for bold (#182, #183)
|
219
|
-
|
220
|
-
2.1.2 / 2015-03-01
|
221
|
-
==================
|
222
|
-
|
223
|
-
* dist: recompile
|
224
|
-
* update "ms" to v0.7.0
|
225
|
-
* package: update "browserify" to v9.0.3
|
226
|
-
* component: fix "ms.js" repo location
|
227
|
-
* changed bower package name
|
228
|
-
* updated documentation about using debug in a browser
|
229
|
-
* fix: security error on safari (#167, #168, @yields)
|
230
|
-
|
231
|
-
2.1.1 / 2014-12-29
|
232
|
-
==================
|
233
|
-
|
234
|
-
* browser: use `typeof` to check for `console` existence
|
235
|
-
* browser: check for `console.log` truthiness (fix IE 8/9)
|
236
|
-
* browser: add support for Chrome apps
|
237
|
-
* Readme: added Windows usage remarks
|
238
|
-
* Add `bower.json` to properly support bower install
|
239
|
-
|
240
|
-
2.1.0 / 2014-10-15
|
241
|
-
==================
|
242
|
-
|
243
|
-
* node: implement `DEBUG_FD` env variable support
|
244
|
-
* package: update "browserify" to v6.1.0
|
245
|
-
* package: add "license" field to package.json (#135, @panuhorsmalahti)
|
246
|
-
|
247
|
-
2.0.0 / 2014-09-01
|
248
|
-
==================
|
249
|
-
|
250
|
-
* package: update "browserify" to v5.11.0
|
251
|
-
* node: use stderr rather than stdout for logging (#29, @stephenmathieson)
|
252
|
-
|
253
|
-
1.0.4 / 2014-07-15
|
254
|
-
==================
|
255
|
-
|
256
|
-
* dist: recompile
|
257
|
-
* example: remove `console.info()` log usage
|
258
|
-
* example: add "Content-Type" UTF-8 header to browser example
|
259
|
-
* browser: place %c marker after the space character
|
260
|
-
* browser: reset the "content" color via `color: inherit`
|
261
|
-
* browser: add colors support for Firefox >= v31
|
262
|
-
* debug: prefer an instance `log()` function over the global one (#119)
|
263
|
-
* Readme: update documentation about styled console logs for FF v31 (#116, @wryk)
|
264
|
-
|
265
|
-
1.0.3 / 2014-07-09
|
266
|
-
==================
|
267
|
-
|
268
|
-
* Add support for multiple wildcards in namespaces (#122, @seegno)
|
269
|
-
* browser: fix lint
|
270
|
-
|
271
|
-
1.0.2 / 2014-06-10
|
272
|
-
==================
|
273
|
-
|
274
|
-
* browser: update color palette (#113, @gscottolson)
|
275
|
-
* common: make console logging function configurable (#108, @timoxley)
|
276
|
-
* node: fix %o colors on old node <= 0.8.x
|
277
|
-
* Makefile: find node path using shell/which (#109, @timoxley)
|
278
|
-
|
279
|
-
1.0.1 / 2014-06-06
|
280
|
-
==================
|
281
|
-
|
282
|
-
* browser: use `removeItem()` to clear localStorage
|
283
|
-
* browser, node: don't set DEBUG if namespaces is undefined (#107, @leedm777)
|
284
|
-
* package: add "contributors" section
|
285
|
-
* node: fix comment typo
|
286
|
-
* README: list authors
|
287
|
-
|
288
|
-
1.0.0 / 2014-06-04
|
289
|
-
==================
|
290
|
-
|
291
|
-
* make ms diff be global, not be scope
|
292
|
-
* debug: ignore empty strings in enable()
|
293
|
-
* node: make DEBUG_COLORS able to disable coloring
|
294
|
-
* *: export the `colors` array
|
295
|
-
* npmignore: don't publish the `dist` dir
|
296
|
-
* Makefile: refactor to use browserify
|
297
|
-
* package: add "browserify" as a dev dependency
|
298
|
-
* Readme: add Web Inspector Colors section
|
299
|
-
* node: reset terminal color for the debug content
|
300
|
-
* node: map "%o" to `util.inspect()`
|
301
|
-
* browser: map "%j" to `JSON.stringify()`
|
302
|
-
* debug: add custom "formatters"
|
303
|
-
* debug: use "ms" module for humanizing the diff
|
304
|
-
* Readme: add "bash" syntax highlighting
|
305
|
-
* browser: add Firebug color support
|
306
|
-
* browser: add colors for WebKit browsers
|
307
|
-
* node: apply log to `console`
|
308
|
-
* rewrite: abstract common logic for Node & browsers
|
309
|
-
* add .jshintrc file
|
310
|
-
|
311
|
-
0.8.1 / 2014-04-14
|
312
|
-
==================
|
313
|
-
|
314
|
-
* package: re-add the "component" section
|
315
|
-
|
316
|
-
0.8.0 / 2014-03-30
|
317
|
-
==================
|
318
|
-
|
319
|
-
* add `enable()` method for nodejs. Closes #27
|
320
|
-
* change from stderr to stdout
|
321
|
-
* remove unnecessary index.js file
|
322
|
-
|
323
|
-
0.7.4 / 2013-11-13
|
324
|
-
==================
|
325
|
-
|
326
|
-
* remove "browserify" key from package.json (fixes something in browserify)
|
327
|
-
|
328
|
-
0.7.3 / 2013-10-30
|
329
|
-
==================
|
330
|
-
|
331
|
-
* fix: catch localStorage security error when cookies are blocked (Chrome)
|
332
|
-
* add debug(err) support. Closes #46
|
333
|
-
* add .browser prop to package.json. Closes #42
|
334
|
-
|
335
|
-
0.7.2 / 2013-02-06
|
336
|
-
==================
|
337
|
-
|
338
|
-
* fix package.json
|
339
|
-
* fix: Mobile Safari (private mode) is broken with debug
|
340
|
-
* fix: Use unicode to send escape character to shell instead of octal to work with strict mode javascript
|
341
|
-
|
342
|
-
0.7.1 / 2013-02-05
|
343
|
-
==================
|
344
|
-
|
345
|
-
* add repository URL to package.json
|
346
|
-
* add DEBUG_COLORED to force colored output
|
347
|
-
* add browserify support
|
348
|
-
* fix component. Closes #24
|
349
|
-
|
350
|
-
0.7.0 / 2012-05-04
|
351
|
-
==================
|
352
|
-
|
353
|
-
* Added .component to package.json
|
354
|
-
* Added debug.component.js build
|
355
|
-
|
356
|
-
0.6.0 / 2012-03-16
|
357
|
-
==================
|
358
|
-
|
359
|
-
* Added support for "-" prefix in DEBUG [Vinay Pulim]
|
360
|
-
* Added `.enabled` flag to the node version [TooTallNate]
|
361
|
-
|
362
|
-
0.5.0 / 2012-02-02
|
363
|
-
==================
|
364
|
-
|
365
|
-
* Added: humanize diffs. Closes #8
|
366
|
-
* Added `debug.disable()` to the CS variant
|
367
|
-
* Removed padding. Closes #10
|
368
|
-
* Fixed: persist client-side variant again. Closes #9
|
369
|
-
|
370
|
-
0.4.0 / 2012-02-01
|
371
|
-
==================
|
372
|
-
|
373
|
-
* Added browser variant support for older browsers [TooTallNate]
|
374
|
-
* Added `debug.enable('project:*')` to browser variant [TooTallNate]
|
375
|
-
* Added padding to diff (moved it to the right)
|
376
|
-
|
377
|
-
0.3.0 / 2012-01-26
|
378
|
-
==================
|
379
|
-
|
380
|
-
* Added millisecond diff when isatty, otherwise UTC string
|
381
|
-
|
382
|
-
0.2.0 / 2012-01-22
|
383
|
-
==================
|
384
|
-
|
385
|
-
* Added wildcard support
|
386
|
-
|
387
|
-
0.1.0 / 2011-12-02
|
388
|
-
==================
|
389
|
-
|
390
|
-
* Added: remove colors unless stderr isatty [TooTallNate]
|
391
|
-
|
392
|
-
0.0.1 / 2010-01-03
|
393
|
-
==================
|
394
|
-
|
395
|
-
* Initial release
|