Releases: Kalininator/cookie-thief
Releases · Kalininator/cookie-thief
Dependency updates
Updated some dependencies that were flagged in npm audit
What's Changed
- Improve test coverage by @Kalininator in #19
- add tests, improve error return from assertUnreachable by @Kalininator in #20
- Add more tests by @Kalininator in #21
- npm audit issues by @Kalininator in #24
- npm ci by @Kalininator in #25
- Update _config.yml by @Kalininator in #26
Full Changelog: v1.1.0...v1.1.1
Enforce platform specific package installation
What's Changed
- Ensure required modules installed on platforms. This should flag any errors at install time instead of runtime in the case that the optionalDependencies don't get installed on the platforms that require them.
1.0.0 Release
- Removed tldjs from dependencies. Domain should be provided now instead of URL, as it is not consistent how sites choose their cookie domain relative to the URL.
- Removed deprecated functions
getChromeCookie
andgetFirefoxCookie
. Should use the more genericgetCookie
now
Added listProfiles function
const profiles = await listProfiles(Browser.Firefox);
// profiles:
// ['default', 'default-release']
Added listCookies function
Added a listCookies function that will return all cookies for a browser
Add generic getCookie function
- Added getCookie function with option to choose the browser
- Added listSupportedBrowsers for dynamically fetching list of supported browsers
- Marked getFirefoxCookie and getChromeCookie as deprecated
Added profile options for both firefox and chrome
The profile being used to fetch cookies can now be customised
Added Firefox support
Added firefox support
Firefox cookies can now be fetched with getFirefoxCookie
Switched sqlite libraries
Switched to better-sqlite3, as it is a much smaller package and does the job well
Fixed domain bug
Also added some tests for existing code