@crawlee/core 3.17.1-beta.49 → 3.17.1-beta.50

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.
Files changed (2) hide show
  1. package/cookie_utils.js +2 -0
  2. package/package.json +5 -5
package/cookie_utils.js CHANGED
@@ -107,6 +107,8 @@ function mergeCookies(url, sourceCookies) {
107
107
  if (!cookieString)
108
108
  continue;
109
109
  const cookie = tough_cookie_1.Cookie.parse(cookieString);
110
+ if (!cookie)
111
+ throw new errors_1.CookieParseError(cookieString);
110
112
  const similarKeyCookie = jar.getCookiesSync(url).find((c) => {
111
113
  return cookie.key !== c.key && cookie.key.toLowerCase() === c.key.toLowerCase();
112
114
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlee/core",
3
- "version": "3.17.1-beta.49",
3
+ "version": "3.17.1-beta.50",
4
4
  "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.",
5
5
  "engines": {
6
6
  "node": ">=16.0.0"
@@ -59,9 +59,9 @@
59
59
  "@apify/pseudo_url": "^2.0.30",
60
60
  "@apify/timeout": "^0.3.0",
61
61
  "@apify/utilities": "^2.7.10",
62
- "@crawlee/memory-storage": "3.17.1-beta.49",
63
- "@crawlee/types": "3.17.1-beta.49",
64
- "@crawlee/utils": "3.17.1-beta.49",
62
+ "@crawlee/memory-storage": "3.17.1-beta.50",
63
+ "@crawlee/types": "3.17.1-beta.50",
64
+ "@crawlee/utils": "3.17.1-beta.50",
65
65
  "@sapphire/async-queue": "^1.5.1",
66
66
  "@vladfrangu/async_event_emitter": "^2.2.2",
67
67
  "csv-stringify": "^6.2.0",
@@ -83,5 +83,5 @@
83
83
  }
84
84
  }
85
85
  },
86
- "gitHead": "b0289f3aacfab1a7f9f20c7c0f5d35a2329b8346"
86
+ "gitHead": "adfd432d80ce08c0f0f04bbfce7dc53efc28aeb0"
87
87
  }