From 8590e13b192ad837e86b5ff57b8706ad6e821df2 Mon Sep 17 00:00:00 2001 From: ncousineau Date: Fri, 2 Dec 2022 19:57:21 -0700 Subject: [PATCH 1/2] Fix syntax for regex replacement pattern --- src/lib/v7/v7.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/v7/v7.coffee b/src/lib/v7/v7.coffee index 7d723fd..04a1011 100644 --- a/src/lib/v7/v7.coffee +++ b/src/lib/v7/v7.coffee @@ -16,7 +16,7 @@ class V7 extends SportApi this.getResource '/seasons/%(year)s/%(season)s/standings/season.xml', params, callback getGameStatistics: (params, callback) -> - this.getResource '/games/%(gameId)s/statistics.xml', params, callback + this.getResource '/games/%(gameId)s/%statistics.xml', params, callback getPlayByPlay: (params, callback) -> this.getResource '/games/%(gameId)s/pbp.xml', params, callback From afab41e29cce86b7369d3deb635de9b1e8418124 Mon Sep 17 00:00:00 2001 From: ncousineau Date: Fri, 2 Dec 2022 20:14:33 -0700 Subject: [PATCH 2/2] Bump up the version --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 95c7664..c6238f9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "node-sportsdata", - "version": "0.4.4", + "version": "0.4.5", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "node-sportsdata", - "version": "0.4.4", + "version": "0.4.5", "dependencies": { "moment": "~2.0.0", "sprintf-js": "0.0.7", diff --git a/package.json b/package.json index 443bb0e..b02ecff 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "node-sportsdata", "description": "A wrapper for the SportsData API", - "version": "0.4.4", + "version": "0.4.5", "homepage": "https://github.com/pac12/node-sportsdata", "author": { "name": "PAC-12",