Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@2bad/ryanair

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@2bad/ryanair - npm Package Versions

2

7.1.1

Diff

Changelog

Source

[7.1.1] - 2024-06-10

Fixed

  • Fix publishing ci action to run npm publish with --ws flag
mrhyde
published 7.0.0 •

Changelog

Source

[7.0.0] - 2024-01-23

Breaking Changes

  • Updated got dependency to v14.
  • Dropped support for node@18.

Added

  • Implemented airports.getSchedules method.
  • Implemented airports.getNearby method.
  • Added renovate for dependency management.
  • Pinned npm version and added section for corepack.
  • Added tests for extractCoordinates helper.
  • Added postman badge with a link to the collection.

Changed

  • Now reports unused disable directives while using eslint.
  • getFirstDayOfEachMonthInRange now throws a RangeError if the end date is before the start date.
  • Will no longer try to match snapshots on dynamic values.
  • Updated dependencies.
mrhyde
published 6.0.1 •

Changelog

Source

[6.0.1] - 2023-11-03

Fixed

  • Addressed an issue where both swc and tsc were generating module specifiers with the .ts extension by utilizing the fix-ext.sh script
mrhyde
published 6.0.0 •

Changelog

Source

[6.0.0] - 2023-10-31

Breaking Changes

  • Rolled back to got based client since cookie modification is impossible with fetch.
  • Prefixed methods that require multiple API calls and computations with find...:
    • getCheapestRoundTrip() -> findCheapestRoundTrip()
    • getDailyFaresInRange() -> findDailyFaresInRange()

Added

  • Implemented debounce to limit requests at a rate of 100 per minute.
  • Added airports.findRoutes() - to find available routes between two airports.
  • Added airports.calculateDistance() - calculates distance between two geo points using the haversine formula.

Fixed

  • Used spoofed cookie value to circumvent API restrictions.
mrhyde
published 5.0.0 •

Changelog

Source

[5.0.0] - 2023-07-20

Breaking Changes

  • Removed got HTTP client dependency. This was previously used for cookie spoofing, which is no longer required.
  • Support for node@16 has been dropped as it has reached its End of Life (EOL).
mrhyde
published 4.0.0 •

Changelog

Source

[4.0.0] - 2023-06-23

Breaking Changes

  • The airports.searchByPhrase and airports.searchByRoute methods have been removed as the autocomplete endpoint can no longer be publicly accessed.

Added

  • The fares.getCheapestRoundTrip method has been added, which finds the cheapest round trip fares for a given route and date range in a specific currency.

Changed

  • TypeScript compilation has been switched from tsc to swc.
  • Paths have been updated to conform with the esm module resolution specification.
  • allowImportingTsExtensions has been set to true.
  • Dependencies have been updated.
mrhyde
published 3.0.0 •

Changelog

Source

[3.0.0] - 2023-05-20

Breaking Changes

  • The method fares.cheapestPerDay() has been renamed to fares.getCheapestPerDay(). This change was made to maintain consistency across all other methods.

Added

  • A new method, fares.getDailyFaresInRange(), has been included.
  • Various utility methods to work with dates using date-fns.
  • Renovate config has been configured to update dependencies every week automatically.
  • Eslint plugins have been added to validate jsdoc blocks and tests.

Fixed

  • A separate tsconfig has been added for build purposes to avoid shipping test files with builds.

Changed

  • Dev dependencies have been updated and cleaned up
mrhyde
published 2.0.2 •

Changelog

Source

[2.0.2] - 2023-05-11

Fixed

  • Add missing mkt cookie
  • Set user-agent header to valid browser
mrhyde
published 2.0.1 •

Changelog

Source

[2.0.1] - 2023-05-10

Fixed

  • Resolved ERR_UNSUPPORTED_DIR_IMPORT error for module import by resolving full path in build output with tsc-alias
mrhyde
published 2.0.0 •

Changelog

Source

[2.0.0] - 2023-05-08

Breaking Changes

  • The replacement of fetch with got resulted in the loss of support for browsers.

Added

  • CHANGELOG.md file in the repository
  • Retrieve and retain necessary cookies to access specific API endpoints
  • Helper function to generate tomorrow date for tests 8719967

Fixed

  • CheapestFares.outbound.minFare and ...maxFare can be null 86d49f2
  • FareType can be undefined 0abff91

Changed

  • Updated headings in documentation and some other cosmetic changes
  • Changed prettier printWidth to 120 symbols
  • Set tests timeouts for vitest to 30 seconds
  • Unify origin and destination airports for testing purposes f72af1b
2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc