@markuplint/language-server 5.1.1 → 5.3.0

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.
@@ -1,3 +1,7 @@
1
1
  import debug from 'debug';
2
+ /**
3
+ * Read `.enabled` at call time; never cache it at module load. `debug.enable()` (including via `verbosely()` /
4
+ * `enableDebug()`) can switch a namespace on after import.
5
+ */
2
6
  export declare const log: debug.Debugger;
3
7
  export declare function verbosely(): void;
@@ -1,4 +1,8 @@
1
1
  import debug from 'debug';
2
+ /**
3
+ * Read `.enabled` at call time; never cache it at module load. `debug.enable()` (including via `verbosely()` /
4
+ * `enableDebug()`) can switch a namespace on after import.
5
+ */
2
6
  export const log = debug('vscode:markuplint');
3
7
  const NAMESPACES = 'vscode:markuplint*,markuplint*,ml-*';
4
8
  export function verbosely() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markuplint/language-server",
3
- "version": "5.1.1",
3
+ "version": "5.3.0",
4
4
  "description": "Language Server Protocol server for markuplint",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,12 +15,12 @@
15
15
  "type": "module",
16
16
  "exports": {
17
17
  ".": {
18
- "import": "./lib/index.js",
19
- "types": "./lib/index.d.ts"
18
+ "types": "./lib/index.d.ts",
19
+ "default": "./lib/index.js"
20
20
  },
21
21
  "./protocol": {
22
- "import": "./lib/protocol.js",
23
- "types": "./lib/protocol.d.ts"
22
+ "types": "./lib/protocol.d.ts",
23
+ "default": "./lib/protocol.js"
24
24
  },
25
25
  "./package.json": "./package.json"
26
26
  },
@@ -41,20 +41,20 @@
41
41
  "clean": "tsc --build --clean tsconfig.build.json"
42
42
  },
43
43
  "dependencies": {
44
- "@markuplint/file-resolver": "5.1.1",
45
- "@markuplint/i18n": "5.1.1",
46
- "@markuplint/ml-config": "5.1.1",
47
- "@markuplint/ml-spec": "5.1.1",
48
- "debug": "4.4.3",
49
- "markuplint": "5.1.1",
50
- "semver": "7.7.4",
51
- "vscode-languageserver": "9.0.1",
52
- "vscode-languageserver-textdocument": "1.0.12"
44
+ "@markuplint/file-resolver": "5.3.0",
45
+ "@markuplint/i18n": "5.3.0",
46
+ "@markuplint/ml-config": "5.3.0",
47
+ "@markuplint/ml-spec": "5.3.0",
48
+ "debug": "^4.4.3",
49
+ "markuplint": "5.3.0",
50
+ "semver": "^7.8.5",
51
+ "vscode-languageserver": "^9.0.1",
52
+ "vscode-languageserver-textdocument": "^1.0.15"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@types/debug": "4.1.13",
56
- "@types/semver": "7.7.1",
57
- "vscode-jsonrpc": "8.2.0"
56
+ "@types/semver": "7.8.0",
57
+ "vscode-jsonrpc": "8.2.1"
58
58
  },
59
- "gitHead": "a940c8526e971d590d97395ce924910221208820"
59
+ "gitHead": "f587cf0206c8426e57369a48d6d5fb22306eafde"
60
60
  }