diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b8eff388..8033a0a4d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,35 @@ -#### 2.2.0-beta.1: Beta Release +#### 2.1.5: Maintenance Release +Runtime + - Handle reporting error location when stack is truncated (#3346) @knolleary + - Initialize passport when only adminAuth.tokens is set (#3343) @knolleary + - Add log logging (#3342) @knolleary + +Editor + + - Fix copy buttons on the debug window (another method) (#3331) @kazuhitoyokoi + - Add Japanese translations for hidden flow (#3302) @kazuhitoyokoi + - Improve jsonata legacy mode detection regex (#3345) @knolleary + - Fix generating flow name with incrementing number (#3347) @knolleary + - resume focus after import/export dialog close (#3337) @HiroyasuNishiyama + - Fix findPreviousVisibleTab action (#3321) @knolleary + - Fix storing hidden tab state when not hidden via action (#3312) @knolleary + - Avoid adding empty env properties to tabs/groups (#3311) @knolleary + - Fix hide icon in tour guide (#3301) @kazuhitoyokoi + +Nodes + + - File: Update file node examples according to node name change (#3335) @HiroyasuNishiyama + - Filter (RBE): Fix for filter node narrrowbandEq mode start condition failure (#3339) @dceejay + - Function: Prevent function scrollbar from obscuring expand button (#3348) @knolleary + - Function: load extralibs when expanding monaco. fixes #3319 (#3334) @Steve-Mcl + - Function: Update Function to use correct api to access env vars (#3310) @knolleary + - HTTP Request: Fix basic auth with empty username or password (#3325) @hardillb + - Inject: Fix incorrect clearing of blank payload property in Inject node (#3322) @knolleary + - Link Call: add link call example (#3336) @HiroyasuNishiyama + - WebSocket: Only setup ws client heartbeat once it is connected (#3344) @knolleary + - Update Japanese translations in node help (#3332) @kazuhitoyokoi #### 2.1.4: Maintenance Release diff --git a/package.json b/package.json index 15ce9148c..c07d17a98 100644 --- a/package.json +++ b/package.json @@ -26,13 +26,13 @@ } ], "dependencies": { - "acorn": "8.6.0", + "acorn": "8.7.0", "acorn-walk": "8.2.0", "ajv": "8.8.2", "async-mutex": "0.3.2", "basic-auth": "2.0.1", "bcryptjs": "2.4.3", - "body-parser": "1.19.0", + "body-parser": "1.19.1", "cheerio": "1.0.0-rc.10", "clone": "2.1.2", "content-type": "1.0.4", @@ -41,7 +41,7 @@ "cors": "2.8.5", "cronosjs": "1.7.1", "denque": "2.0.1", - "express": "4.17.1", + "express": "4.17.2", "express-session": "1.17.2", "form-data": "4.0.0", "fs-extra": "10.0.0", @@ -50,7 +50,7 @@ "hash-sum": "2.0.0", "hpagent": "0.1.2", "https-proxy-agent": "5.0.0", - "i18next": "21.5.4", + "i18next": "21.6.6", "iconv-lite": "0.6.3", "is-utf8": "0.2.1", "js-yaml": "3.14.1", @@ -61,21 +61,21 @@ "memorystore": "1.6.6", "mime": "2.5.2", "moment-timezone": "0.5.34", - "mqtt": "4.2.8", + "mqtt": "4.3.4", "multer": "1.4.3", "mustache": "4.2.0", "node-red-admin": "^2.2.1", "nopt": "5.0.0", "oauth2orize": "1.11.1", "on-headers": "1.0.2", - "passport": "0.5.0", + "passport": "0.5.2", "passport-http-bearer": "1.0.1", "passport-oauth2-client-password": "0.1.2", "raw-body": "2.4.2", "semver": "7.3.5", "tar": "6.1.11", "tough-cookie": "4.0.0", - "uglify-js": "3.14.4", + "uglify-js": "3.14.5", "uuid": "8.3.2", "ws": "7.5.1", "xml2js": "0.4.23" @@ -84,7 +84,7 @@ "bcrypt": "5.0.1" }, "devDependencies": { - "dompurify": "2.3.3", + "dompurify": "2.3.4", "grunt": "1.4.1", "grunt-chmod": "~1.1.1", "grunt-cli": "~1.4.3", @@ -113,11 +113,11 @@ "node-red-node-test-helper": "^0.2.7", "nodemon": "2.0.15", "proxy": "^1.0.2", - "sass": "1.44.0", + "sass": "1.48.0", "should": "13.2.3", "sinon": "11.1.2", "stoppable": "^1.1.0", - "supertest": "6.1.6" + "supertest": "6.2.1" }, "engines": { "node": ">=12" diff --git a/packages/node_modules/@node-red/editor-api/package.json b/packages/node_modules/@node-red/editor-api/package.json index aebb7454e..69743e400 100644 --- a/packages/node_modules/@node-red/editor-api/package.json +++ b/packages/node_modules/@node-red/editor-api/package.json @@ -19,11 +19,11 @@ "@node-red/util": "2.2.0-beta.1", "@node-red/editor-client": "2.2.0-beta.1", "bcryptjs": "2.4.3", - "body-parser": "1.19.0", + "body-parser": "1.19.1", "clone": "2.1.2", "cors": "2.8.5", "express-session": "1.17.2", - "express": "4.17.1", + "express": "4.17.2", "memorystore": "1.6.6", "mime": "2.5.2", "multer": "1.4.3", @@ -31,7 +31,7 @@ "oauth2orize": "1.11.1", "passport-http-bearer": "1.0.1", "passport-oauth2-client-password": "0.1.2", - "passport": "0.5.0", + "passport": "0.5.2", "ws": "7.5.1" }, "optionalDependencies": { diff --git a/packages/node_modules/@node-red/editor-client/src/js/ui/clipboard.js b/packages/node_modules/@node-red/editor-client/src/js/ui/clipboard.js index b9db8fafb..f6a613f5f 100644 --- a/packages/node_modules/@node-red/editor-client/src/js/ui/clipboard.js +++ b/packages/node_modules/@node-red/editor-client/src/js/ui/clipboard.js @@ -946,28 +946,25 @@ RED.clipboard = (function() { if (truncated) { msg += "_truncated"; } - $("#red-ui-clipboard-hidden").val(value).focus().select(); - var result = document.execCommand("copy"); - if (result && element) { - var popover = RED.popover.create({ - target: element, - direction: 'left', - size: 'small', - content: RED._(msg) - }); - setTimeout(function() { - popover.close(); - },1000); - popover.open(); - } - $("#red-ui-clipboard-hidden").val(""); - if (currentFocus) { - $(currentFocus).focus(); - } - return result; + navigator.clipboard.writeText(value).then(function () { + if (element) { + var popover = RED.popover.create({ + target: element, + direction: 'left', + size: 'small', + content: RED._(msg) + }); + setTimeout(function() { + popover.close(); + },1000); + popover.open(); + } + if (currentFocus) { + $(currentFocus).focus(); + } + }).catch(err => { console.error("Failed to copy:",err) }); } - function importNodes(nodesStr,addFlow) { var newNodes = nodesStr; if (typeof nodesStr === 'string') { @@ -1242,8 +1239,6 @@ RED.clipboard = (function() { init: function() { setupDialogs(); - $('