Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
JavaScriptExample
/
js-cookie
Public
forked from
js-cookie/js-cookie
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
js-cookie
test
on
fix-release-steps
User selector
All users
All time
Commit history
Commits on Aug 26, 2016
Register in AMD and UMD if both available
Show description for 92f8e2b
FagnerMartinsBrack
committed
92f8e2b
View commit details
Copy full SHA for 92f8e2b
View code at this point
Browse repository at this point
Commits on Aug 4, 2016
Remove QUnit.expect from amd test
Show description for ec189f1
FagnerMartinsBrack
committed
ec189f1
View commit details
Copy full SHA for ec189f1
View code at this point
Browse repository at this point
Do not parse as JSON when window has a truthy 'json' prop
Show description for bccdaf7
FagnerMartinsBrack
committed
bccdaf7
View commit details
Copy full SHA for bccdaf7
View code at this point
Browse repository at this point
Commits on Jun 19, 2016
Revert "Update QUnit to version 2.0.0"
Show description for 3d47ad8
FagnerMartinsBrack
committed
3d47ad8
View commit details
Copy full SHA for 3d47ad8
View code at this point
Browse repository at this point
Update QUnit to version 2.0.0
Show description for 337419f
FagnerMartinsBrack
committed
337419f
View commit details
Copy full SHA for 337419f
View code at this point
Browse repository at this point
Add support for UglifyJS 'unsafe' option
Show description for 79037c2
everdimension
authored and
FagnerMartinsBrack
committed
79037c2
View commit details
Copy full SHA for 79037c2
View code at this point
Browse repository at this point
Commits on May 27, 2016
Do not fail if there is a malformed cookie name
Show description for 81e202a
FagnerMartinsBrack
committed
81e202a
View commit details
Copy full SHA for 81e202a
View code at this point
Browse repository at this point
Commits on Apr 16, 2016
Add semicolon to the begining of the library source
Show description for dbce759
icamys
authored and
FagnerMartinsBrack
committed
dbce759
View commit details
Copy full SHA for dbce759
View code at this point
Browse repository at this point
Commits on Apr 9, 2016
Do not create cookie if using .set() incorrectly
Show description for 0c8f5e1
FagnerMartinsBrack
committed
0c8f5e1
View commit details
Copy full SHA for 0c8f5e1
View code at this point
Browse repository at this point
Commits on Apr 5, 2016
Do not throw errors if the methods are called in node
Show description for 84eb324
FagnerMartinsBrack
committed
84eb324
View commit details
Copy full SHA for 84eb324
View code at this point
Browse repository at this point
Commits on Mar 30, 2016
Rename commonjs test file to general nodejs tests
FagnerMartinsBrack
committed
3c85aee
View commit details
Copy full SHA for 3c85aee
View code at this point
Browse repository at this point
Commits on Oct 17, 2015
Add an API to pass an Object Literal for the write converter
Show description for a5640d4
FagnerMartinsBrack
committed
a5640d4
View commit details
Copy full SHA for a5640d4
View code at this point
Browse repository at this point
Commits on Jul 15, 2015
Test the behavior for `undefined` value in custom attributes
Show description for 6ffc0b4
FagnerMartinsBrack
committed
6ffc0b4
View commit details
Copy full SHA for 6ffc0b4
View code at this point
Browse repository at this point
Commits on Jul 11, 2015
Should not throw an exception for a third party malformed cookie
Show description for e36ddd2
FagnerMartinsBrack
committed
e36ddd2
View commit details
Copy full SHA for e36ddd2
View code at this point
Browse repository at this point
Commits on Jun 25, 2015
false secure option should not modify the cookie path
Show description for f8e01f4
dimac
authored and
FagnerMartinsBrack
committed
f8e01f4
View commit details
Copy full SHA for f8e01f4
View code at this point
Browse repository at this point
Commits on Jun 8, 2015
Fix jscs code style violations and run jscs in the test operation
Show description for 7c3a8bd
FagnerMartinsBrack
committed
7c3a8bd
View commit details
Copy full SHA for 7c3a8bd
View code at this point
Browse repository at this point
This is just tests if js-cookie can be loaded in a commonjs environment
Show description for f5d0966
FagnerMartinsBrack
committed
f5d0966
View commit details
Copy full SHA for f5d0966
View code at this point
Browse repository at this point
Pass the quoted value test through the encoding integration test
FagnerMartinsBrack
committed
4087398
View commit details
Copy full SHA for 4087398
View code at this point
Browse repository at this point
Commits on Jun 6, 2015
Do not stop the whole test suite if it fails to parse the JSON response
FagnerMartinsBrack
committed
2fb8854
View commit details
Copy full SHA for 2fb8854
View code at this point
Browse repository at this point
Commits on May 25, 2015
The url is supposed to end with a slash
FagnerMartinsBrack
committed
168f4c2
View commit details
Copy full SHA for 168f4c2
View code at this point
Browse repository at this point
Commits on May 23, 2015
Test the server encoding integration using grunt-contrib-connect
FagnerMartinsBrack
committed
21bf118
View commit details
Copy full SHA for 21bf118
View code at this point
Browse repository at this point
Wrap the tests in the encoding routine
FagnerMartinsBrack
committed
1dcbd9c
View commit details
Copy full SHA for 1dcbd9c
View code at this point
Browse repository at this point
Should also pass the plain cookie format and finish the async routine
FagnerMartinsBrack
committed
13e4178
View commit details
Copy full SHA for 13e4178
View code at this point
Browse repository at this point
Add utility to conditionally send a request to the server
FagnerMartinsBrack
committed
8e91807
View commit details
Copy full SHA for 8e91807
View code at this point
Browse repository at this point
Commits on May 3, 2015
I know it's encoding test, it's in the encoding file
FagnerMartinsBrack
committed
9b1fd50
View commit details
Copy full SHA for 9b1fd50
View code at this point
Browse repository at this point
teardown has been renamed to "afterEach"
Show description for 5266429
FagnerMartinsBrack
committed
5266429
View commit details
Copy full SHA for 5266429
View code at this point
Browse repository at this point
update the QUnit code to prepare for v2
FagnerMartinsBrack
committed
7e3bee7
View commit details
Copy full SHA for 7e3bee7
View code at this point
Browse repository at this point
Split the encoding tests into a separate file
FagnerMartinsBrack
committed
0e5a226
View commit details
Copy full SHA for 0e5a226
View code at this point
Browse repository at this point
Commits on May 2, 2015
Make sure cookies created outside js-cookie default instance are removed
Show description for c00df64
FagnerMartinsBrack
committed
c00df64
View commit details
Copy full SHA for c00df64
View code at this point
Browse repository at this point
Commits on May 1, 2015
Deleting an attribute should roll back to the default definition
FagnerMartinsBrack
committed
38dc9e2
View commit details
Copy full SHA for 38dc9e2
View code at this point
Browse repository at this point
Create the default path attribute implementation
FagnerMartinsBrack
committed
bc4b822
View commit details
Copy full SHA for bc4b822
View code at this point
Browse repository at this point
This is not called "options" anymore, but "attributes"
FagnerMartinsBrack
committed
6ff48c8
View commit details
Copy full SHA for 6ff48c8
View code at this point
Browse repository at this point
Let's keep this test atomic and remove all cookies
Show description for f43aecb
FagnerMartinsBrack
committed
f43aecb
View commit details
Copy full SHA for f43aecb
View code at this point
Browse repository at this point
The returned value has the path added here too if set as default
FagnerMartinsBrack
committed
740f65b
View commit details
Copy full SHA for 740f65b
View code at this point
Browse repository at this point
Again, test if it starts with the expected value
FagnerMartinsBrack
committed
b9212c1
View commit details
Copy full SHA for b9212c1
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.