Skip to content

Commit

Permalink
Release v4.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
eXon committed Dec 27, 2019
1 parent cdb3bad commit c48b577
Show file tree
Hide file tree
Showing 8 changed files with 1,475 additions and 2,188 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

##vNEXT

##v4.0.3

- All: improved tree shaking by adding `"sideEffects": false`
- `universal-cookie`: JSDOM is now using the real browser cookies
- `universal-cookie`: You can specify your cookie parsing function

##v4.0.2

- `universal-cookie`: Add support for explicit `None` value on `sameSite` attribute
Expand Down
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,27 @@
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@size-limit/preset-small-lib": "^2.2.4",
"awesome-typescript-loader": "^5.2.0",
"babel-loader": "^8.0.0",
"babel-plugin-add-module-exports": "^1.0.0",
"husky": "^3.0.0",
"jasmine-core": "^3.2.0",
"karma": "^4.1.0",
"karma-chrome-launcher": "^2.0.0",
"karma-chrome-launcher": "^3.1.0",
"karma-jasmine": "^2.0.1",
"karma-jasmine-html-reporter": "^1.3.0",
"karma-sauce-launcher": "^1.1.0",
"karma-sauce-launcher": "^2.0.2",
"karma-sourcemap-loader": "^0.3.7",
"karma-spec-reporter": "^0.0.32",
"karma-webpack": "^4.0.2",
"prettier": "^1.14.2",
"rimraf": "^2.6.1",
"rimraf": "^3.0.0",
"rollup": "^1.16.4",
"rollup-plugin-commonjs": "^10.0.1",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.0.0",
"rollup-plugin-uglify": "^6.0.2",
"size-limit": "^1.3.7",
"typescript": "^3.0.1",
"webpack": "^4.16.5"
},
Expand Down Expand Up @@ -59,6 +59,10 @@
"path": "./packages/universal-cookie-express/lib/index.js",
"limit": "2.5 KB"
},
{
"path": "./packages/universal-cookie-koa/lib/index.js",
"limit": "2.5 KB"
},
{
"path": "./packages/react-cookie/lib/index.js",
"limit": "10 KB"
Expand Down
2 changes: 1 addition & 1 deletion packages/react-cookie/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-cookie",
"version": "4.0.1",
"version": "4.0.3",
"description": "Universal cookies for React",
"main": "cjs/index.js",
"module": "es6/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/universal-cookie-express/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "universal-cookie-express",
"version": "4.0.1",
"version": "4.0.3",
"description": "Hook cookies get/set on Express for server-rendering",
"main": "cjs/index.js",
"module": "es6/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/universal-cookie-koa/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "universal-cookie-koa",
"version": "4.0.1",
"version": "4.0.3",
"description": "Hook cookies get/set on Koa for server-rendering",
"main": "cjs/index.js",
"module": "es6/index.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/universal-cookie/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "universal-cookie",
"version": "4.0.2",
"version": "4.0.3",
"description": "Universal cookies for JavaScript",
"main": "cjs/index.js",
"module": "es6/index.js",
Expand Down Expand Up @@ -42,7 +42,7 @@
},
"devDependencies": {
"@babel/cli": "^7.0.0",
"rimraf": "^2.6.1",
"rimraf": "^3.0.0",
"rollup": "^1.16.4",
"typescript": "^3.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/universal-cookie/src/__tests__/Cookies-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ describe('Cookies', () => {
document.cookie = 'testingCookie=yes';
const cookies = new Cookies();
cookies.remove('testingCookie');
expect(cookies.get('testingCookie')).toBe(undefined);
expect(cookies.get('testingCookie')).toBe('');
});
});

Expand Down
Loading

0 comments on commit c48b577

Please sign in to comment.