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

ngx-cookie-service

Package Overview
Dependencies
Maintainers
2
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ngx-cookie-service - npm Package Compare versions

Comparing version 13.1.2-rc.1 to 13.1.2

2

package.json
{
"name": "ngx-cookie-service",
"description": "Angular cookie service",
"version": "13.1.2-rc.1",
"version": "13.1.2",
"license": "MIT",

@@ -6,0 +6,0 @@ "author": "Stepan Suvorov <stevermeister@gmail.com>",

@@ -62,6 +62,7 @@ # NGX Cookie Service

## Server Side Rendering
## Server Side Rendering (Coming Soon)
`ngx-cookie-service` supports Server Side Rendering (SSR) through Angular Universal. By default, browser cookies are not available in SSR because `document` object is not available. To overcome this, navigate to `server.ts` file
in your SSR project, and replace the following code
`ngx-cookie-service` supports Server Side Rendering (SSR) through Angular Universal. By default, browser cookies are not
available in SSR because `document` object is not available. To overcome this, navigate to `server.ts` file in your SSR
project, and replace the following code

@@ -89,4 +90,5 @@ ```typescript

This will make sure the cookies are available in `REQUEST` object and you can then use `REQUEST.cookies` to access the cookies.
Then proceed to use `ngx-cookie-service` as usual.
This will make sure the cookies are available in `REQUEST` object, and the `ngx-cookie-service` can use `REQUEST.cookies` to access the
cookies in SSR. Then proceed to use `ngx-cookie-service` as usual. See
the [sample repo](https://github.com/pavankjadda/angular-ssr-docker) for more details.

@@ -93,0 +95,0 @@ ## Demo

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