handsontable 0.0.0-next-923d6c1-20230821 → 0.0.0-next-fc85d23-20230823
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of handsontable might be problematic. Click here for more details.
- package/LICENSE.txt +2 -2
- package/base.js +2 -2
- package/base.mjs +2 -2
- package/dist/handsontable.css +4 -4
- package/dist/handsontable.full.css +4 -4
- package/dist/handsontable.full.js +8 -8
- package/dist/handsontable.full.min.css +4 -4
- package/dist/handsontable.full.min.js +6 -6
- package/dist/handsontable.js +8 -8
- package/dist/handsontable.min.css +4 -4
- package/dist/handsontable.min.js +6 -6
- package/helpers/mixed.js +1 -1
- package/helpers/mixed.mjs +1 -1
- package/package.json +1 -1
- package/utils/parseTable.js +1 -1
- package/utils/parseTable.mjs +1 -1
package/helpers/mixed.js
CHANGED
@@ -134,7 +134,7 @@ const domMessages = {
|
|
134
134
|
function _injectProductInfo(key, element) {
|
135
135
|
const hasValidType = !isEmpty(key);
|
136
136
|
const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
137
|
-
const hotVersion = "0.0.0-next-
|
137
|
+
const hotVersion = "0.0.0-next-fc85d23-20230823";
|
138
138
|
let keyValidityDate;
|
139
139
|
let consoleMessageState = 'invalid';
|
140
140
|
let domMessageState = 'invalid';
|
package/helpers/mixed.mjs
CHANGED
@@ -124,7 +124,7 @@ const domMessages = {
|
|
124
124
|
export function _injectProductInfo(key, element) {
|
125
125
|
const hasValidType = !isEmpty(key);
|
126
126
|
const isNonCommercial = typeof key === 'string' && key.toLowerCase() === 'non-commercial-and-evaluation';
|
127
|
-
const hotVersion = "0.0.0-next-
|
127
|
+
const hotVersion = "0.0.0-next-fc85d23-20230823";
|
128
128
|
let keyValidityDate;
|
129
129
|
let consoleMessageState = 'invalid';
|
130
130
|
let domMessageState = 'invalid';
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"url": "https://github.com/handsontable/handsontable/issues"
|
11
11
|
},
|
12
12
|
"author": "Handsoncode <hello@handsontable.com>",
|
13
|
-
"version": "0.0.0-next-
|
13
|
+
"version": "0.0.0-next-fc85d23-20230823",
|
14
14
|
"main": "index",
|
15
15
|
"module": "index.mjs",
|
16
16
|
"jsnext:main": "index.mjs",
|
package/utils/parseTable.js
CHANGED
@@ -107,7 +107,7 @@ function _dataToHTML(input) {
|
|
107
107
|
}
|
108
108
|
for (let column = 0; column < columnsLen; column += 1) {
|
109
109
|
const cellData = rowData[column];
|
110
|
-
const parsedCellData = (0, _mixed.isEmpty)(cellData) ? '' : cellData.toString().replace(/</g, '<').replace(/>/g, '>').replace(/(<br(\s*|\/)>(\r\n|\n)?|\r\n|\n)/g, '<br>\r\n').replace(/\x20{2,}/gi, substring => {
|
110
|
+
const parsedCellData = (0, _mixed.isEmpty)(cellData) ? '' : cellData.toString().replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/(<br(\s*|\/)>(\r\n|\n)?|\r\n|\n)/g, '<br>\r\n').replace(/\x20{2,}/gi, substring => {
|
111
111
|
// The way how Excel serializes data with at least two spaces.
|
112
112
|
return `<span style="mso-spacerun: yes">${' '.repeat(substring.length - 1)} </span>`;
|
113
113
|
}).replace(/\t/gi, '	');
|
package/utils/parseTable.mjs
CHANGED
@@ -101,7 +101,7 @@ export function _dataToHTML(input) {
|
|
101
101
|
}
|
102
102
|
for (let column = 0; column < columnsLen; column += 1) {
|
103
103
|
const cellData = rowData[column];
|
104
|
-
const parsedCellData = isEmpty(cellData) ? '' : cellData.toString().replace(/</g, '<').replace(/>/g, '>').replace(/(<br(\s*|\/)>(\r\n|\n)?|\r\n|\n)/g, '<br>\r\n').replace(/\x20{2,}/gi, substring => {
|
104
|
+
const parsedCellData = isEmpty(cellData) ? '' : cellData.toString().replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/(<br(\s*|\/)>(\r\n|\n)?|\r\n|\n)/g, '<br>\r\n').replace(/\x20{2,}/gi, substring => {
|
105
105
|
// The way how Excel serializes data with at least two spaces.
|
106
106
|
return `<span style="mso-spacerun: yes">${' '.repeat(substring.length - 1)} </span>`;
|
107
107
|
}).replace(/\t/gi, '	');
|