react-simple-keyboard 3.4.23 → 3.4.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * react-simple-keyboard v3.4.23
3
+ * react-simple-keyboard v3.4.27
4
4
  * https://github.com/hodgef/react-simple-keyboard
5
5
  *
6
6
  * Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.
@@ -11,7 +11,7 @@
11
11
  */
12
12
  /*!
13
13
  *
14
- * simple-keyboard v3.4.19
14
+ * simple-keyboard v3.4.21
15
15
  * https://github.com/hodgef/simple-keyboard
16
16
  *
17
17
  * Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.
package/build/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * react-simple-keyboard v3.4.23
3
+ * react-simple-keyboard v3.4.27
4
4
  * https://github.com/hodgef/react-simple-keyboard
5
5
  *
6
6
  * Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.
@@ -12,7 +12,7 @@
12
12
  !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReactSimpleKeyboard=e(require("react")):t.ReactSimpleKeyboard=e(t.React)}(this,(function(t){return function(){var e={752:function(){"undefined"==typeof Element||"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)}),"undefined"!=typeof self&&"document"in self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&function(t){"use strict";if("Element"in t){var e="classList",n=t.Element.prototype,o=Object,r=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},i=Array.prototype.indexOf||function(t){for(var e=0,n=this.length;e<n;e++)if(e in this&&this[e]===t)return e;return-1},a=function(t,e){this.name=t,this.code=DOMException[t],this.message=e},s=function(t,e){if(""===e)throw new a("SYNTAX_ERR","The token must not be empty.");if(/\s/.test(e))throw new a("INVALID_CHARACTER_ERR","The token must not contain space characters.");return i.call(t,e)},u=function(t){for(var e=r.call(t.getAttribute("class")||""),n=e?e.split(/\s+/):[],o=0,i=n.length;o<i;o++)this.push(n[o]);this._updateClassName=function(){t.setAttribute("class",this.toString())}},c=u.prototype=[],l=function(){return new u(this)};if(a.prototype=Error.prototype,c.item=function(t){return this[t]||null},c.contains=function(t){return~s(this,t+"")},c.add=function(){var t,e=arguments,n=0,o=e.length,r=!1;do{t=e[n]+"",~s(this,t)||(this.push(t),r=!0)}while(++n<o);r&&this._updateClassName()},c.remove=function(){var t,e,n=arguments,o=0,r=n.length,i=!1;do{for(t=n[o]+"",e=s(this,t);~e;)this.splice(e,1),i=!0,e=s(this,t)}while(++o<r);i&&this._updateClassName()},c.toggle=function(t,e){var n=this.contains(t),o=n?!0!==e&&"remove":!1!==e&&"add";return o&&this[o](t),!0===e||!1===e?e:!n},c.replace=function(t,e){var n=s(t+"");~n&&(this.splice(n,1,e),this._updateClassName())},c.toString=function(){return this.join(" ")},o.defineProperty){var f={get:l,enumerable:!0,configurable:!0};try{o.defineProperty(n,e,f)}catch(t){void 0!==t.number&&-2146823252!==t.number||(f.enumerable=!1,o.defineProperty(n,e,f))}}else o.prototype.__defineGetter__&&n.__defineGetter__(e,l)}}(self),function(){"use strict";var t=document.createElement("_");if(t.classList.add("c1","c2"),!t.classList.contains("c2")){var e=function(t){var e=DOMTokenList.prototype[t];DOMTokenList.prototype[t]=function(t){var n,o=arguments.length;for(n=0;n<o;n++)t=arguments[n],e.call(this,t)}};e("add"),e("remove")}if(t.classList.toggle("c3",!1),t.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return 1 in arguments&&!this.contains(t)==!e?e:n.call(this,t)}}"replace"in document.createElement("_").classList||(DOMTokenList.prototype.replace=function(t,e){var n=this.toString().split(" "),o=n.indexOf(t+"");~o&&(n=n.slice(o),this.remove.apply(this,n),this.add(e),this.add.apply(this,n.slice(1)))}),t=null}())},86:function(t){
13
13
  /*!
14
14
  *
15
- * simple-keyboard v3.4.19
15
+ * simple-keyboard v3.4.21
16
16
  * https://github.com/hodgef/simple-keyboard
17
17
  *
18
18
  * Copyright (c) Francisco Hodge (https://github.com/hodgef) and project contributors.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * react-simple-keyboard v3.4.23 (index.modern.js - Modern Browsers bundle)
3
+ * react-simple-keyboard v3.4.27 (index.modern.js - Modern Browsers bundle)
4
4
  * https://github.com/hodgef/react-simple-keyboard
5
5
  *
6
6
  * NOTE: This modern browsers bundle (index.modern.js) removes all polyfills
@@ -16,7 +16,7 @@
16
16
  !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("react")):"function"==typeof define&&define.amd?define(["react"],e):"object"==typeof exports?exports.ReactSimpleKeyboard=e(require("react")):t.ReactSimpleKeyboard=e(t.React)}(this,(function(t){return function(){var e={689:function(t){
17
17
  /*!
18
18
  *
19
- * simple-keyboard v3.4.19 (index.modern.js - Modern Browsers bundle)
19
+ * simple-keyboard v3.4.21 (index.modern.js - Modern Browsers bundle)
20
20
  * https://github.com/hodgef/simple-keyboard
21
21
  *
22
22
  * NOTE: This modern browsers bundle (index.modern.js) removes all polyfills
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-simple-keyboard",
3
- "version": "3.4.23",
3
+ "version": "3.4.27",
4
4
  "description": "React.js Virtual Keyboard",
5
5
  "main": "build/index.js",
6
6
  "scripts": {
@@ -41,27 +41,27 @@
41
41
  ],
42
42
  "license": "MIT",
43
43
  "devDependencies": {
44
- "@babel/cli": "^7.16.0",
44
+ "@babel/cli": "^7.16.7",
45
45
  "@babel/core": "^7.15.8",
46
- "@babel/plugin-proposal-class-properties": "^7.16.5",
46
+ "@babel/plugin-proposal-class-properties": "^7.16.7",
47
47
  "@babel/plugin-transform-typescript": "^7.15.0",
48
48
  "@babel/preset-env": "^7.16.4",
49
- "@babel/preset-react": "^7.16.5",
49
+ "@babel/preset-react": "^7.16.7",
50
50
  "@babel/preset-typescript": "^7.16.0",
51
- "@types/enzyme": "^3.10.10",
51
+ "@types/enzyme": "^3.10.11",
52
52
  "@types/enzyme-adapter-react-16": "^1.0.6",
53
- "@types/jest": "^27.0.3",
53
+ "@types/jest": "^27.4.0",
54
54
  "@types/react": "^17.0.38",
55
55
  "@types/react-dom": "^17.0.10",
56
56
  "@typescript-eslint/eslint-plugin": "^4.33.0",
57
57
  "@typescript-eslint/parser": "^4.32.0",
58
58
  "@wojtekmaj/enzyme-adapter-react-17": "^0.6.6",
59
- "autoprefixer": "^10.4.0",
59
+ "autoprefixer": "^10.4.1",
60
60
  "babel-eslint": "^10.1.0",
61
61
  "babel-loader": "^8.2.3",
62
62
  "babel-preset-minify": "^0.5.0",
63
63
  "copy-webpack-plugin": "^10.2.0",
64
- "core-js": "^3.20.1",
64
+ "core-js": "^3.20.2",
65
65
  "css-loader": "^6.5.1",
66
66
  "dts-bundle": "^0.7.3",
67
67
  "enzyme": "^3.11.0",
@@ -78,7 +78,7 @@
78
78
  "prettier-webpack-plugin": "^1.2.0",
79
79
  "react": "^16.14.0 || ^17.0.0",
80
80
  "react-dom": "^16.14.0 || ^17.0.0",
81
- "simple-keyboard": "3.4.19",
81
+ "simple-keyboard": "3.4.21",
82
82
  "style-loader": "^3.2.1",
83
83
  "terser-webpack-plugin": "^5.3.0",
84
84
  "typescript": "^4.5.4",