Bugfix/fix jsonpath import (#4115)

* Fix jsonpath import

* Update changelog
This commit is contained in:
Ed 2024-12-11 04:04:15 +07:00 committed by GitHub
parent 801030ce64
commit febb4119c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Upgraded `@internationalized/number` from version `3.5.2` to `3.6.0`
### Fixed
- Fixed the import of `jsonpath` to support REST APIs (`JSON`) via the scraper configuration
## 2.127.0 - 2024-12-08
### Added

View File

@ -29,7 +29,7 @@ import * as cheerio from 'cheerio';
import { isUUID } from 'class-validator';
import { addDays, format, isBefore } from 'date-fns';
import got, { Headers } from 'got';
import jsonpath from 'jsonpath';
import * as jsonpath from 'jsonpath';
@Injectable()
export class ManualService implements DataProviderInterface {