🚀. Socket Launch Week Day 3:Socket Firewall Now Blocks Malicious VS Code and Open VSX Extensions.Learn more
Sign In

pgn-parser

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pgn-parser - npm Package Compare versions

Comparing version
2.2.0
to
2.2.1
+2
-3
package.json
{
"name": "pgn-parser",
"version": "2.2.0",
"version": "2.2.1",
"description": "pgn parser",

@@ -25,7 +25,6 @@ "keywords": [

"main": "dist/pgn-parser.js",
"dependencies": {},
"devDependencies": {
"chai": "^4.3.4",
"clean-webpack-plugin": "^3.0.0",
"mocha": "^4.1.0",
"mocha": "^11.1.0",
"pegjs": "^0.10.0",

@@ -32,0 +31,0 @@ "raw-loader": "^4.0.2",

+1
-1

@@ -35,3 +35,3 @@ ### pgn-parser

{ move: 'e4', move_number: 1},
{ move: 'e5',
{ move: 'e5'},
{ move: 'Nf3', move_number: 2},

@@ -38,0 +38,0 @@ { move: 'Nc6'},

@@ -16,2 +16,4 @@ const chai = require('chai'),

result.moves.should.have.lengthOf(6);
result.headers.should.have.lengthOf(2);
result.headers[0].name.should.be.eql("Event");
});

@@ -84,2 +86,7 @@

it('should allow space after ...', () => {
const [result] = parser.parse('1. d4 {some commentary then} 1. ... d5 2. c4 dxc4 *');
result.moves.should.have.lengthOf(4);
});
it('should allow RAV', () => {

@@ -86,0 +93,0 @@ const [result] = parser.parse('1. e4 (1. d4 d5 ) e5 2. d4 (2. Nf3 Nc6 ) exd4 *');

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