@apify/input_schema 3.5.14 → 3.5.15

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/esm/index.mjs +2 -1
  2. package/package.json +3 -3
package/esm/index.mjs CHANGED
@@ -402,7 +402,8 @@ __name(validateInputSchema, "validateInputSchema");
402
402
  // src/utilities.ts
403
403
  import { PROXY_URL_REGEX, URL_REGEX } from "@apify/consts";
404
404
  import { countries } from "countries-list";
405
- import { parseScript } from "escaya";
405
+ import escaya from "escaya";
406
+ const { parseScript } = escaya;
406
407
  function validateProxyField(fieldKey, value, isRequired = false, options = null) {
407
408
  const fieldErrors = [];
408
409
  if (isRequired) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apify/input_schema",
3
- "version": "3.5.14",
3
+ "version": "3.5.15",
4
4
  "description": "Tools and constants shared across Apify projects.",
5
5
  "main": "./cjs/index.cjs",
6
6
  "module": "./esm/index.mjs",
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "homepage": "https://apify.com",
41
41
  "scripts": {
42
- "build": "npm run clean && npm run compile && npm run copy",
42
+ "build": "npm run clean && npm run compile && npm run copy && ts-node -T scripts/fix-esm.ts",
43
43
  "clean": "rimraf ./dist",
44
44
  "compile": "tsup",
45
45
  "copy": "ts-node -T ../../scripts/copy.ts"
@@ -55,5 +55,5 @@
55
55
  "peerDependencies": {
56
56
  "ajv": "^8.0.0"
57
57
  },
58
- "gitHead": "bbbd929dd531566d9db0b817035c5f43d6645bb1"
58
+ "gitHead": "ce4ec8c32ed6859339c69de2b1a27f7b7df159f2"
59
59
  }