@jbrowse/cli 4.1.14 → 4.2.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.
@@ -10,13 +10,6 @@ export function parseCommaSeparatedString(value) {
10
10
  .map(s => s.trim())
11
11
  .filter(Boolean) ?? []);
12
12
  }
13
- /**
14
- * Sanitizes a name for use in file paths by replacing invalid characters
15
- * Replaces characters that are problematic in file paths: / \ : * ? " < > |
16
- */
17
- export function sanitizeNameForPath(name) {
18
- return name.replace(/[/\\:*?"<>|]/g, '_');
19
- }
20
13
  /**
21
14
  * Validates and parses a prefix size value
22
15
  */
@@ -118,3 +111,4 @@ export function getTrackConfigs(config, trackIds, assemblyName, excludeTrackIds)
118
111
  return true;
119
112
  });
120
113
  }
114
+ export { sanitizeForFilename as sanitizeNameForPath } from '@jbrowse/text-indexing-core';
@@ -88,7 +88,7 @@ export async function indexDriver({ trackConfigs, attributes, outLocation, name,
88
88
  prefixSize,
89
89
  quiet,
90
90
  });
91
- await generateMeta({
91
+ generateMeta({
92
92
  configs: trackConfigs,
93
93
  attributesToIndex: attributes,
94
94
  outDir: outLocation,
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const version = '4.1.14';
1
+ export const version = '4.2.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/cli",
3
- "version": "4.1.14",
3
+ "version": "4.2.0",
4
4
  "type": "module",
5
5
  "description": "A command line tool for working with JBrowse 2",
6
6
  "keywords": [
@@ -37,7 +37,7 @@
37
37
  "ixixx": "^3.0.3",
38
38
  "json-parse-better-errors": "^1.0.2",
39
39
  "tmp": "^0.2.5",
40
- "@jbrowse/text-indexing-core": "^4.1.14"
40
+ "@jbrowse/text-indexing-core": "^4.2.0"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"