node-csfd-api 2.4.2 → 2.4.3

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.
@@ -56,7 +56,8 @@ const parseBirthPlace = (text) => {
56
56
  };
57
57
  exports.parseBirthPlace = parseBirthPlace;
58
58
  const getFilms = (el) => {
59
- const filmNodes = el.querySelectorAll('.box:first-of-type table tr');
59
+ var _a;
60
+ const filmNodes = (_a = el.querySelectorAll('.box')[0]) === null || _a === void 0 ? void 0 : _a.querySelectorAll('table tr');
60
61
  let yearCache;
61
62
  const films = filmNodes.map((filmNode) => {
62
63
  var _a, _b, _c;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-csfd-api",
3
- "version": "2.4.2",
3
+ "version": "2.4.3",
4
4
  "description": "ČSFD API in JavaScript. Amazing NPM library for scrapping csfd.cz :)",
5
5
  "main": "./index.js",
6
6
  "author": "BART! <bart@bartweb.cz>",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "cross-fetch": "^3.1.5",
26
- "node-html-parser": "^5.4.2-0"
26
+ "node-html-parser": "^6.1.1"
27
27
  },
28
28
  "repository": {
29
29
  "url": "git+https://github.com/bartholomej/node-csfd-api.git",