pgn-parser
Advanced tools
+3
-3
| { | ||
| "name": "pgn-parser", | ||
| "version": "2.1.1", | ||
| "version": "2.2.0", | ||
| "description": "pgn parser", | ||
@@ -27,5 +27,5 @@ "keywords": [ | ||
| "devDependencies": { | ||
| "chai": "^4.2.0", | ||
| "chai": "^4.3.4", | ||
| "clean-webpack-plugin": "^3.0.0", | ||
| "mocha": "^8.2.1", | ||
| "mocha": "^4.1.0", | ||
| "pegjs": "^0.10.0", | ||
@@ -32,0 +32,0 @@ "raw-loader": "^4.0.2", |
@@ -93,2 +93,7 @@ const chai = require('chai'), | ||
| it('should allow RAV with comments', () => { | ||
| const [result] = parser.parse('1. e4 ({c1} {c2} 1. d4 d5) e5 2. d4 exd4 *'); | ||
| result.moves.should.have.lengthOf(4); | ||
| }); | ||
| it('should allow RAV with no trailing whitespace', () => { | ||
@@ -108,3 +113,3 @@ const [result] = parser.parse('1. e4 (1. d4 d5) e5 2. d4 exd4 *'); | ||
| }); | ||
| it('should allow promotion without equal sign', () => { | ||
@@ -111,0 +116,0 @@ const [result] = parser.parse('1. e4 f5 2. exf5 g6 3. fxg6 h6 4. g7 Rh7 5. gxf8Q+ *'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
504677
0.09%612
0.66%11
-8.33%