songsheet 6.3.0 → 6.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "songsheet",
3
- "version": "6.3.0",
3
+ "version": "6.4.0",
4
4
  "description": "A songsheet interpreter",
5
5
  "type": "module",
6
6
  "exports": "./index.js",
package/src/lexer.js CHANGED
@@ -186,8 +186,8 @@ export function scanChordLine(line) {
186
186
  return null
187
187
  }
188
188
 
189
- // must have at least one chord
190
- if (!tokens.some(t => t.type === 'CHORD')) return null
189
+ // must have at least one chord or bar line
190
+ if (tokens.length === 0) return null
191
191
 
192
192
  return tokens
193
193
  }
@@ -1,18 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(/usr/bin/git -C /Users/administrator/Projects/songsheet log --oneline --all)",
5
- "Bash(/usr/bin/git -C /Users/administrator/Projects/songsheet diff v4.0.0..v5.0.0 -- index.js)",
6
- "Bash(npm install:*)",
7
- "Bash(npx vitest run:*)",
8
- "Bash(node -e:*)",
9
- "WebSearch",
10
- "WebFetch(domain:tonejs.github.io)",
11
- "WebFetch(domain:github.com)",
12
- "WebFetch(domain:www.andronio.me)",
13
- "WebFetch(domain:www.guitarland.com)",
14
- "Bash(npm test:*)",
15
- "Bash(/usr/bin/git diff HEAD~2..HEAD -- package.json)"
16
- ]
17
- }
18
- }