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

angular-cookies

Package Overview
Dependencies
Maintainers
1
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-cookies - npm Package Compare versions

Comparing version 1.2.16 to 1.2.17

2

package.json
{
"name": "angular-cookies",
"version": "1.2.16",
"version": "1.2.17",
"description": "AngularJS Cookie Module",

@@ -5,0 +5,0 @@ "main": "src/angular-cookies.js",

/**
* @license AngularJS v1.2.16
* @license AngularJS v1.2.17
* (c) 2010-2014 Google, Inc. http://angularjs.org

@@ -40,14 +40,11 @@ * License: MIT

* @example
<example>
<file name="index.html">
<script>
function ExampleController($cookies) {
// Retrieving a cookie
var favoriteCookie = $cookies.myFavorite;
// Setting a cookie
$cookies.myFavorite = 'oatmeal';
}
</script>
</file>
</example>
*
* ```js
* function ExampleController($cookies) {
* // Retrieving a cookie
* var favoriteCookie = $cookies.myFavorite;
* // Setting a cookie
* $cookies.myFavorite = 'oatmeal';
* }
* ```
*/

@@ -147,2 +144,13 @@ factory('$cookies', ['$rootScope', '$browser', function ($rootScope, $browser) {

* @example
*
* ```js
* function ExampleController($cookies) {
* // Put cookie
* $cookieStore.put('myFavorite','oatmeal');
* // Get cookie
* var favoriteCookie = $cookieStore.get('myFavorite');
* // Removing a cookie
* $cookieStore.remove('myFavorite');
* }
* ```
*/

@@ -149,0 +157,0 @@ factory('$cookieStore', ['$cookies', function($cookies) {

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