@leftium/gg 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leftium/gg",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/Leftium/gg.git"
@@ -16,12 +16,13 @@
16
16
  "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
17
17
  "format": "prettier --write .",
18
18
  "lint": "prettier --check . && eslint .",
19
- "postinstall": "patch-package"
19
+ "postinstall": "PATCH_PACKAGE_IGNORE_LOCKFILE=true patch-package"
20
20
  },
21
21
  "files": [
22
22
  "dist",
23
23
  "!dist/**/*.test.*",
24
- "!dist/**/*.spec.*"
24
+ "!dist/**/*.spec.*",
25
+ "patches/"
25
26
  ],
26
27
  "sideEffects": [
27
28
  "**/*.css"
@@ -0,0 +1,35 @@
1
+ diff --git a/node_modules/debug/src/browser.js b/node_modules/debug/src/browser.js
2
+ index 5993451..a2eb7c6 100644
3
+ --- a/node_modules/debug/src/browser.js
4
+ +++ b/node_modules/debug/src/browser.js
5
+ @@ -148,11 +148,11 @@ function useColors() {
6
+
7
+ function formatArgs(args) {
8
+ args[0] = (this.useColors ? '%c' : '') +
9
+ - this.namespace +
10
+ + `${('+' + module.exports.humanize(this.diff)).padStart(6)} ${this.namespace}` +
11
+ (this.useColors ? ' %c' : ' ') +
12
+ args[0] +
13
+ (this.useColors ? '%c ' : ' ') +
14
+ - '+' + module.exports.humanize(this.diff);
15
+ + '';
16
+
17
+ if (!this.useColors) {
18
+ return;
19
+ diff --git a/node_modules/debug/src/node.js b/node_modules/debug/src/node.js
20
+ index 715560a..3829ba3 100644
21
+ --- a/node_modules/debug/src/node.js
22
+ +++ b/node_modules/debug/src/node.js
23
+ @@ -170,10 +170,10 @@ function formatArgs(args) {
24
+ if (useColors) {
25
+ const c = this.color;
26
+ const colorCode = '\u001B[3' + (c < 8 ? c : '8;5;' + c);
27
+ - const prefix = ` ${colorCode};1m${name} \u001B[0m`;
28
+ + const prefix = `${colorCode};1m${('+' + module.exports.humanize(this.diff)).padStart(6)} ${name} \u001B[0m`;
29
+
30
+ args[0] = prefix + args[0].split('\n').join('\n' + prefix);
31
+ - args.push(colorCode + 'm+' + module.exports.humanize(this.diff) + '\u001B[0m');
32
+ + args.push(colorCode + '' + '\u001B[0m');
33
+ } else {
34
+ args[0] = getDate() + name + ' ' + args[0];
35
+ }