trackparse 0.4.0 → 0.5.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.
package/README.md CHANGED
@@ -11,7 +11,7 @@ Parse music track names into structured metadata: artists, featured artists, rem
11
11
 
12
12
  This is the JavaScript/TypeScript reference implementation of the
13
13
  [trackparse spec](https://github.com/4matic/trackparse/blob/main/spec/SPEC.md). It passes all
14
- 13,124 shared fixtures. Zero dependencies, ESM and CommonJS, TypeScript types included, never
14
+ 13,130 shared fixtures. Zero dependencies, ESM and CommonJS, TypeScript types included, never
15
15
  throws.
16
16
 
17
17
  The principle is **extract, don't delete**: everything recognised lands in a field (artists with
@@ -1,5 +1,5 @@
1
1
  // src/data.generated.ts
2
- var SPEC_VERSION = "0.4.0";
2
+ var SPEC_VERSION = "0.5.0";
3
3
  var descriptorsData = {
4
4
  "descriptors": [
5
5
  "radio",
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  // src/data.generated.ts
4
- var SPEC_VERSION = "0.4.0";
4
+ var SPEC_VERSION = "0.5.0";
5
5
  var descriptorsData = {
6
6
  "descriptors": [
7
7
  "radio",
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { P as ParsedTrack, A as Artist, F as FormatOptions, a as ParseOptions } from './types-DqJSn18b.cjs';
2
2
  export { b as ArtistRole, c as ArtistSource, d as Flags, J as Junk, e as JunkKind, K as KeywordOptions, M as Mode, f as ModeOption, g as Position, T as Timestamp, V as Version, h as VersionDelimiter, i as VersionType, W as Warning } from './types-DqJSn18b.cjs';
3
3
 
4
- declare const SPEC_VERSION = "0.4.0";
4
+ declare const SPEC_VERSION = "0.5.0";
5
5
 
6
6
  declare function format(track: ParsedTrack, options?: FormatOptions): string;
7
7
  /** All credited names: track artists plus every version's remixers, deduped by R0.4 key. */
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { P as ParsedTrack, A as Artist, F as FormatOptions, a as ParseOptions } from './types-DqJSn18b.js';
2
2
  export { b as ArtistRole, c as ArtistSource, d as Flags, J as Junk, e as JunkKind, K as KeywordOptions, M as Mode, f as ModeOption, g as Position, T as Timestamp, V as Version, h as VersionDelimiter, i as VersionType, W as Warning } from './types-DqJSn18b.js';
3
3
 
4
- declare const SPEC_VERSION = "0.4.0";
4
+ declare const SPEC_VERSION = "0.5.0";
5
5
 
6
6
  declare function format(track: ParsedTrack, options?: FormatOptions): string;
7
7
  /** All credited names: track artists plus every version's remixers, deduped by R0.4 key. */
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { getDefaultTables, renderVersion, dedupKey, wordMatches } from './chunk-OY536C3I.js';
2
- export { SPEC_VERSION, createParser, normalize, parse, parseArtists } from './chunk-OY536C3I.js';
1
+ import { getDefaultTables, renderVersion, dedupKey, wordMatches } from './chunk-JHK5DWK5.js';
2
+ export { SPEC_VERSION, createParser, normalize, parse, parseArtists } from './chunk-JHK5DWK5.js';
3
3
 
4
4
  // src/format.ts
5
5
  function resolve(o) {
@@ -709,7 +709,7 @@ function applyEdits(text, edits, options) {
709
709
  }
710
710
 
711
711
  // src/data.generated.ts
712
- var SPEC_VERSION = "0.4.0";
712
+ var SPEC_VERSION = "0.5.0";
713
713
  var descriptorsData = {
714
714
  "descriptors": [
715
715
  "radio",
package/dist/tracklist.js CHANGED
@@ -1,4 +1,4 @@
1
- import { headerWordsData, layeredWordsData, createListParser, SPEC_VERSION, stringList, PhraseTable, markerWordsData, isWhitespace, isDigit, digitRun, inVocab, asciiLower, splitWords } from './chunk-OY536C3I.js';
1
+ import { headerWordsData, layeredWordsData, createListParser, SPEC_VERSION, stringList, PhraseTable, markerWordsData, isWhitespace, isDigit, digitRun, inVocab, asciiLower, splitWords } from './chunk-JHK5DWK5.js';
2
2
 
3
3
  // src/tracklist/split.ts
4
4
  function splitLines(text) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trackparse",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Spec-driven parser for music track strings: artists, feat credits, remixes/versions, junk and more from single track strings (store titles, YouTube titles, filenames) and multi-line tracklists.",
5
5
  "license": "MIT",
6
6
  "author": "Maksim Maksimov",