Skip to content

Commit f1ac033

Browse files
authored
Merge branch 'master' into feat/add-max-cost-per-run
2 parents 3413089 + 6fb8772 commit f1ac033

File tree

11 files changed

+2443
-14543
lines changed

11 files changed

+2443
-14543
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ package | version | changelog
1111
`@apify/consts` | 2.31.0 | [CHANGELOG](./packages/consts/CHANGELOG.md)
1212
`@apify/datastructures` | 2.0.2 | [CHANGELOG](./packages/datastructures/CHANGELOG.md)
1313
`@apify/dummy-package-for-testing` | 2.2.0 | [CHANGELOG](./packages/dummy/CHANGELOG.md)
14-
`@apify/git` | 2.1.2 | [CHANGELOG](./packages/git/CHANGELOG.md)
14+
`@apify/git` | 2.1.3 | [CHANGELOG](./packages/git/CHANGELOG.md)
1515
`@apify/image_proxy_client` | 2.0.2 | [CHANGELOG](./packages/image_proxy_client/CHANGELOG.md)
16-
`@apify/input_schema` | 3.9.1 | [CHANGELOG](./packages/input_schema/CHANGELOG.md)
16+
`@apify/input_schema` | 3.9.2 | [CHANGELOG](./packages/input_schema/CHANGELOG.md)
1717
`@apify/input_secrets` | 1.1.55 | [CHANGELOG](./packages/input_secrets/CHANGELOG.md)
1818
`@apify/log` | 2.5.7 | [CHANGELOG](./packages/log/CHANGELOG.md)
1919
`@apify/markdown` | 3.0.3 | [CHANGELOG](./packages/markdown/CHANGELOG.md)

package-lock.json

Lines changed: 2409 additions & 14529 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@
6969
"strip-ansi": "^6.0.0",
7070
"ts-jest": "^29.2.4",
7171
"ts-node": "^10.9.2",
72-
"tsup": "^8.2.3",
73-
"typescript": "^5.5.4",
72+
"tsup": "^8.3.0",
73+
"typescript": "^5.6.3",
7474
"underscore": "^1.13.7"
7575
},
7676
"packageManager": "[email protected]"

packages/git/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [2.1.3](https://github.com/apify/apify-shared-js/compare/@apify/[email protected]...@apify/[email protected]) (2024-10-14)
7+
8+
**Note:** Version bump only for package @apify/git
9+
10+
11+
12+
13+
614
## [2.1.2](https://github.com/apify/apify-shared-js/compare/@apify/[email protected]...@apify/[email protected]) (2024-01-16)
715

816
**Note:** Version bump only for package @apify/git

packages/git/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apify/git",
3-
"version": "2.1.2",
3+
"version": "2.1.3",
44
"description": "Tools and constants shared across Apify projects.",
55
"main": "./dist/cjs/index.cjs",
66
"module": "./dist/esm/index.mjs",
@@ -48,6 +48,6 @@
4848
"access": "public"
4949
},
5050
"dependencies": {
51-
"git-url-parse": "^14.0.0"
51+
"git-url-parse": "^15.0.0"
5252
}
5353
}

packages/input_schema/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,17 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [3.9.2](https://github.com/apify/apify-shared-js/compare/@apify/[email protected]...@apify/[email protected]) (2024-10-14)
7+
8+
9+
### Bug Fixes
10+
11+
* **input_schema:** disable datepicker validation ([#482](https://github.com/apify/apify-shared-js/issues/482)) ([688a243](https://github.com/apify/apify-shared-js/commit/688a24345cce976d9aba1d40d10cec2a90acc472))
12+
13+
14+
15+
16+
617
## [3.9.1](https://github.com/apify/apify-shared-js/compare/@apify/[email protected]...@apify/[email protected]) (2024-10-02)
718

819
**Note:** Version bump only for package @apify/input_schema

packages/input_schema/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apify/input_schema",
3-
"version": "3.9.1",
3+
"version": "3.9.2",
44
"description": "Tools and constants shared across Apify projects.",
55
"main": "./dist/cjs/index.cjs",
66
"module": "./dist/esm/index.mjs",

packages/input_schema/src/utilities.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export function validateInputUsingValidator(
138138

139139
Object.keys(properties).forEach((property) => {
140140
const value = input[property];
141-
const { type, editor, patternKey, patternValue, allowAbsolute, allowRelative } = properties[property];
141+
const { type, editor, patternKey, patternValue } = properties[property];
142142
const fieldErrors = [];
143143
// Check that proxy is required, if yes, valides that it's correctly setup
144144
if (type === 'object' && editor === 'proxy') {
@@ -249,7 +249,8 @@ export function validateInputUsingValidator(
249249
}
250250

251251
// Check datepicker editor format
252-
if (type === 'string' && editor === 'datepicker' && value && typeof value === 'string') {
252+
// TODO: enable validation for datepicker editor later
253+
/* if (type === 'string' && editor === 'datepicker' && value && typeof value === 'string') {
253254
const acceptAbsolute = allowAbsolute !== false;
254255
const acceptRelative = allowRelative === true;
255256
const isValidAbsolute = /^[0-9]{4}-[0-9]{2}-[0-9]{2}$/.test(value);
@@ -289,7 +290,7 @@ export function validateInputUsingValidator(
289290
fieldKey: property,
290291
}));
291292
}
292-
}
293+
} */
293294

294295
if (fieldErrors.length > 0) {
295296
const message = fieldErrors.join(', ');

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"automergeType": "branch"
1212
},
1313
"constraints": {
14-
"npm": "^7.0.0"
14+
"npm": "^10.0.0"
1515
},
1616
"packageRules": [
1717
{

test/utilities.client.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,6 +1019,7 @@ describe('utilities.client', () => {
10191019
});
10201020
});
10211021

1022+
/* TODO - enable this tests when the datepicker validation is back on
10221023
describe('special cases for datepicker string type', () => {
10231024
it('should allow absolute dates when allowAbsolute is omitted', () => {
10241025
const { inputSchema, validator } = buildInputSchema({
@@ -1231,6 +1232,7 @@ describe('utilities.client', () => {
12311232
});
12321233
});
12331234
});
1235+
*/
12341236
});
12351237

12361238
describe('#jsonStringifyExtended()', () => {

0 commit comments

Comments
 (0)