Skip to content

Commit 6f14934

Browse files
Bumped version to 8.1.4
1 parent 504bec9 commit 6f14934

File tree

7 files changed

+17
-11
lines changed

7 files changed

+17
-11
lines changed

changelog.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
### [v8.1.4](https://github.com/fabiospampinato/cash/releases/tag/8.1.4) (2023-03-08)
2+
3+
- Updatd contribution guide
4+
- Replaced Karma with Playwright, removing most dev dependencies, removing coverage reports, and adding support for Safari
5+
- Updated dependencies
6+
- Lowercased readme file
7+
- Lowercased changelog file
8+
- $.serialize: avoiding encoding "%20" as "+", for better alignment with jQuery
9+
110
### [v8.1.3](https://github.com/fabiospampinato/cash/releases/tag/8.1.3) (2023-01-31)
211

312
- $.fn.text: ensuring it reads text from every node in the collection, not just the first one, for better alignment with jQuery

dist/cash.esm.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,10 +1101,9 @@ function one(eventFullName, selector, data, callback) {
11011101
}
11021102
;
11031103
fn.one = one;
1104-
const queryEncodeSpaceRe = /%20/g;
11051104
const queryEncodeCRLFRe = /\r?\n/g;
11061105
function queryEncode(prop, value) {
1107-
return `&${encodeURIComponent(prop)}=${encodeURIComponent(value.replace(queryEncodeCRLFRe, '\r\n')).replace(queryEncodeSpaceRe, '+')}`;
1106+
return `&${encodeURIComponent(prop)}=${encodeURIComponent(value.replace(queryEncodeCRLFRe, '\r\n'))}`;
11081107
}
11091108
const skippableRe = /file|reset|submit|button|image/i;
11101109
const checkableRe = /radio|checkbox/i;

dist/cash.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1113,10 +1113,9 @@ function one(eventFullName, selector, data, callback) {
11131113
}
11141114
;
11151115
fn.one = one;
1116-
var queryEncodeSpaceRe = /%20/g;
11171116
var queryEncodeCRLFRe = /\r?\n/g;
11181117
function queryEncode(prop, value) {
1119-
return "&".concat(encodeURIComponent(prop), "=").concat(encodeURIComponent(value.replace(queryEncodeCRLFRe, '\r\n')).replace(queryEncodeSpaceRe, '+'));
1118+
return "&".concat(encodeURIComponent(prop), "=").concat(encodeURIComponent(value.replace(queryEncodeCRLFRe, '\r\n')));
11201119
}
11211120
var skippableRe = /file|reset|submit|button|image/i;
11221121
var checkableRe = /radio|checkbox/i;

dist/cash.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/cash.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2771,12 +2771,11 @@ function one ( this: Cash, eventFullName: Record<string, EventCallback> | string
27712771
fn.one = one;
27722772

27732773

2774-
const queryEncodeSpaceRe = /%20/g;
27752774
const queryEncodeCRLFRe = /\r?\n/g;
27762775

27772776
function queryEncode ( prop: string, value: string ): string {
27782777

2779-
return `&${encodeURIComponent ( prop )}=${encodeURIComponent ( value.replace ( queryEncodeCRLFRe, '\r\n' ) ).replace ( queryEncodeSpaceRe, '+' )}`;
2778+
return `&${encodeURIComponent ( prop )}=${encodeURIComponent ( value.replace ( queryEncodeCRLFRe, '\r\n' ) )}`;
27802779

27812780
}
27822781

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "cash-dom",
33
"repository": "github:fabiospampinato/cash",
44
"description": "An absurdly small jQuery alternative for modern browsers.",
5-
"version": "8.1.3",
5+
"version": "8.1.4",
66
"license": "MIT",
77
"browser": "./dist/cash.js",
88
"main": "./dist/cash.js",

readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ If you're migrating from jQuery be sure to read our [migration guide](https://gi
3131

3232
## Usage
3333

34-
Get Cash from [CloudFlare](https://cdnjs.cloudflare.com/ajax/libs/cash/8.1.3/cash.min.js) or [jsDelivr](https://cdn.jsdelivr.net/npm/cash-dom@8.1.3/dist/cash.min.js) and use it like this:
34+
Get Cash from [CloudFlare](https://cdnjs.cloudflare.com/ajax/libs/cash/8.1.4/cash.min.js) or [jsDelivr](https://cdn.jsdelivr.net/npm/cash-dom@8.1.4/dist/cash.min.js) and use it like this:
3535

3636
```html
37-
<script src="https://cdnjs.cloudflare.com/ajax/libs/cash/8.1.3/cash.min.js"></script>
37+
<script src="https://cdnjs.cloudflare.com/ajax/libs/cash/8.1.4/cash.min.js"></script>
3838
<script>
3939
$(function () {
4040
$('html').addClass ( 'dom-loaded' );

0 commit comments

Comments
 (0)