-
Notifications
You must be signed in to change notification settings - Fork 963
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: debug-js/debug
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 3ad8df75614cd4306709ad73519fd579971fb8d9
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: debug-js/debug
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b82d4e6c799198b3d39b05265bf68da9a9aacd41
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 7 commits
- 8 files changed
- 5 contributors
Commits on Nov 22, 2016
-
Revert "handle regex special characters"
This reverts commit 8dd8345. We shouldn't have changed the original behavior, which too many people are relying on at this point. It's also technically a breaking change, which we shouldn't have landed on a minor/patch version change. So in the interest of not breaking people's logs in production, reverting this. We can discuss in a new issue if we want to restore this patch for a `v3` release, but at the moment I'm personally leaningo towards *no*, for historical reasons (i.e. this is reminding me of Node.js trying to remove `sys` if anybody reading this remembers those days). See the discussion in #250 for more backlog.
Configuration menu - View commit details
-
Copy full SHA for e2a1955 - Browse repository at this point
Copy the full SHA e2a1955View commit details
Commits on Dec 6, 2016
-
Use same color for same namespace. (#338)
* Use same color for same namespace. CF #258 * Remove unused var.
Configuration menu - View commit details
-
Copy full SHA for 501521f - Browse repository at this point
Copy the full SHA 501521fView commit details
Commits on Dec 12, 2016
-
Configuration menu - View commit details
-
Copy full SHA for bd9faa1 - Browse repository at this point
Copy the full SHA bd9faa1View commit details -
Node:
%O
(big O) pretty-prints the object (#322)* %O (big O) pretty-prints the object For example: ```js var debug = require('./')('foo') var o = { foo: 'bar', b: new Buffer(10), c: Math.PI } debug('%O', o) ``` Previously: ``` foo { foo: 'bar', b: <Buffer 01 00 00 00 01 00 00 00 c0 82>, c: 3.141592653589793 } +0ms ``` Now: ``` foo { foo: 'bar', foo b: <Buffer 01 00 00 00 01 00 00 00 c0 82>, foo c: 3.141592653589793 } +0ms ``` This is a breaking change for anybody relying on the old `%O` behavior. Though I don't think `%O` was working previously because the formatters regexp wasn't checking for uppercase formatters (now fixed in this patch). * use %O by default if no formatting string is given * Readme: add Formatters section Fixes #302. * Readme: finish custom formatters example
Configuration menu - View commit details
-
Copy full SHA for 00f3046 - Browse repository at this point
Copy the full SHA 00f3046View commit details -
Node: configurable
util.inspect()
options (#327)* `formatArgs()` gets passed the args Array directly Rather than working on `arguments`. The Node.js version was for some reason turning the arguments into an Array again so it was happening twice! This should make things faster overall. * whitespace * rename `Readme.md` to `README.md` * refactor the `debug()` constructor a bit Now, debug instances are hot-enabelable. That is, you can toggle the `debug.enabled` boolean on instances to enable or disable an instance. There is still no global version of this functionality. Now all instances get a `useColors` and `colors` property, even disabled ones, in case they get enabled later on. Boot-up time impact should be negligible. * node: allow configurable `util.inspect()` options Via env variables by default. So to get more object depth, you pass the `DEBUG_DEPTH=10` env var. For the `showHidden` option, you set `DEBUG_SHOW_HIDDEN=on`. See the Node.js docs for the complete list of `util.inspect()` options: https://nodejs.org/api/util.html#util_util_inspect_object_options * README: document inspect env variables
3Configuration menu - View commit details
-
Copy full SHA for e58d54b - Browse repository at this point
Copy the full SHA e58d54bView commit details -
Error thrown if using `bower.json` to require files. `.npmignore` contains `dist`.
Configuration menu - View commit details
-
Copy full SHA for 41002f1 - Browse repository at this point
Copy the full SHA 41002f1View commit details
Commits on Dec 14, 2016
-
Configuration menu - View commit details
-
Copy full SHA for b82d4e6 - Browse repository at this point
Copy the full SHA b82d4e6View commit details
There are no files selected for viewing