{"library":"should-send-same-site-none","type":"library","category":null,"description":"This package provides a utility function (`isSameSiteNoneCompatible`) and an Express.js middleware (`shouldSendSameSiteNone`) to address specific browser compatibility issues with the `SameSite=None; Secure` cookie attribute. Introduced around Chrome 80 in February 2020, the `SameSite=None; Secure` setting is required for cross-site cookies, but some older browsers (notably Chrome 51-66, certain Safari versions, and UC Browser) handle this attribute incorrectly, potentially leading to cookies being rejected or mismanaged. This library detects these incompatible user agents based on a known list from Chromium, allowing developers to dynamically adjust cookie settings to ensure functionality across a broader range of clients. The current stable version is 2.0.5, with recent updates focused on bug fixes and improved TypeScript declarations. It offers a crucial compatibility layer for web applications relying on cross-site cookie functionality, saving developers from maintaining an exhaustive list of incompatible clients themselves.","language":"javascript","status":"active","version":"2.0.5","tags":["javascript","Express","samesite","cookie","middleware","typescript"],"install":[{"cmd":"npm install should-send-same-site-none","imports":["import { isSameSiteNoneCompatible } from 'should-send-same-site-none';","import { shouldSendSameSiteNone } from 'should-send-same-site-none';","import * as SameSiteNone from 'should-send-same-site-none';"]},{"cmd":"yarn add should-send-same-site-none","imports":[]},{"cmd":"pnpm add should-send-same-site-none","imports":[]}],"homepage":null,"github":"https://github.com/linsight/should-send-same-site-none","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/should-send-same-site-none","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/should-send-same-site-none/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}