node-themoviedb
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -6,7 +6,8 @@ "use strict"; | ||
var parsedEndpoint = endpoint; | ||
var match = null; | ||
// eslint-disable-next-line no-cond-assign | ||
while (match = regExp.exec(parsedEndpoint)) | ||
var match = regExp.exec(parsedEndpoint); | ||
while (match) { | ||
parsedEndpoint = parsedEndpoint.replace(match[0], params[match[1]]); | ||
match = regExp.exec(parsedEndpoint); | ||
} | ||
return parsedEndpoint; | ||
}); |
{ | ||
"name": "node-themoviedb", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"description": "A Node.JS wrapper for The Movie DB API.", | ||
@@ -10,4 +10,4 @@ "author": "Andy Wampir <wampirchikkkk@yandex.ru>", | ||
"@types/node": "^14.14.6", | ||
"@typescript-eslint/eslint-plugin": "^4.11.1", | ||
"@typescript-eslint/parser": "^4.11.1", | ||
"@typescript-eslint/eslint-plugin": "^4.14.1", | ||
"@typescript-eslint/parser": "^4.14.1", | ||
"del-cli": "^3.0.1", | ||
@@ -25,3 +25,4 @@ "eslint": "^7", | ||
"release": "yarn build && np", | ||
"release:preview": "np --preview" | ||
"release:preview": "np --preview", | ||
"prepublish": "eslint --ext .ts ./src/**" | ||
}, | ||
@@ -28,0 +29,0 @@ "files": [ |
Sorry, the diff of this file is too big to display
139995
3724