@hunterzhu/pulse-runtime 0.1.9 → 0.1.11

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.
@@ -2,7 +2,7 @@ import { createHash } from 'node:crypto';
2
2
  import { normalize } from 'node:path';
3
3
  import { validateJsonSchema } from '../models/router.js';
4
4
  function normalizeWorkspaceRoot(root) { if (root === '*')
5
- return root; const value = normalize(root); return value.length > 1 ? value.replace(/\/$/, '') : value; }
5
+ return root; const value = normalize(root).replace(/\\/g, '/'); const normalized = value.length > 1 ? value.replace(/\/$/, '') : value; return process.platform === 'win32' ? normalized.toLowerCase() : normalized; }
6
6
  function normalizeNetworkHost(host) { return host.toLocaleLowerCase().replace(/\.$/, ''); }
7
7
  function isJsonSchema(value) {
8
8
  const seen = new Set();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hunterzhu/pulse-runtime",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/zhuhengtan/Pulse"