Browse Source

Pin preact to 10.5.10 to fix broken player layout. #661

pull/668/head
Gabe Kangas 4 years ago
parent
commit
ca66ea6588
  1. 6
      build/javascript/package-lock.json
  2. 2
      build/javascript/package.json
  3. 34
      webroot/js/web_modules/@videojs/http-streaming/dist/videojs-http-streaming.min.js
  4. 29386
      webroot/js/web_modules/common/core-02e93804.js
  5. 29619
      webroot/js/web_modules/common/core-440932cf.js
  6. 29641
      webroot/js/web_modules/common/core-b8f2ee39.js
  7. 4
      webroot/js/web_modules/common/core-d14f1e1c.js
  8. 4
      webroot/js/web_modules/preact.js
  9. 2
      webroot/js/web_modules/videojs/core.js

6
build/javascript/package-lock.json generated

@ -2841,9 +2841,9 @@
"integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==" "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ=="
}, },
"preact": { "preact": {
"version": "10.5.11", "version": "10.5.10",
"resolved": "https://registry.npmjs.org/preact/-/preact-10.5.11.tgz", "resolved": "https://registry.npmjs.org/preact/-/preact-10.5.10.tgz",
"integrity": "sha512-BdtFePVilR1430kDuzh3VkkZktCmp8RTqHOjG8qesyGZXHNYJjdrjEBuc2f7O/vthhVENxJd0/aTjWtYeH46aw==" "integrity": "sha512-A6SITnHaj5CS4JPLVroQDNOEozq4Y0B4yQSGHLznxHe66Jb2DvoeTEibLjXmfeofgQE3BZ2zurltBIapzCMlwg=="
}, },
"pretty-hrtime": { "pretty-hrtime": {
"version": "1.0.3", "version": "1.0.3",

2
build/javascript/package.json

@ -10,7 +10,7 @@
"@videojs/themes": "^1.0.1", "@videojs/themes": "^1.0.1",
"htm": "^3.0.4", "htm": "^3.0.4",
"mark.js": "^8.11.1", "mark.js": "^8.11.1",
"preact": "^10.5.11", "preact": "10.5.10",
"tailwindcss": "^1.9.6", "tailwindcss": "^1.9.6",
"video.js": "7.10.2" "video.js": "7.10.2"
}, },

34
webroot/js/web_modules/@videojs/http-streaming/dist/videojs-http-streaming.min.js vendored

@ -1,5 +1,5 @@
import { c as createCommonjsModule, g as getDefaultExportFromCjs, a as commonjsGlobal } from '../../../common/_commonjsHelpers-37fa8da4.js'; import { c as createCommonjsModule, g as getDefaultExportFromCjs, a as commonjsGlobal } from '../../../common/_commonjsHelpers-37fa8da4.js';
import { d as document_1, w as window_1, c as core } from '../../../common/core-c3086d77.js'; import { d as document_1, w as window_1, c as core } from '../../../common/core-d14f1e1c.js';
var entityMap = { var entityMap = {
lt: '<', lt: '<',
@ -606,7 +606,7 @@ function parseElementStartPart(source,start,el,currentNSMap,entityReplacer,error
//case S_ATTR:void();break; //case S_ATTR:void();break;
//case S_ATTR_NOQUOT_VALUE:void();break; //case S_ATTR_NOQUOT_VALUE:void();break;
case S_ATTR_SPACE: case S_ATTR_SPACE:
var tagName = el.tagName; el.tagName;
if(currentNSMap[''] !== 'http://www.w3.org/1999/xhtml' || !attrName.match(/^(?:disabled|checked|selected)$/i)){ if(currentNSMap[''] !== 'http://www.w3.org/1999/xhtml' || !attrName.match(/^(?:disabled|checked|selected)$/i)){
errorHandler.warning('attribute "'+attrName+'" missed value!! "'+attrName+'" instead2!!'); errorHandler.warning('attribute "'+attrName+'" missed value!! "'+attrName+'" instead2!!');
} }
@ -810,7 +810,7 @@ function parseInstruction(source,start,domBuilder){
if(end){ if(end){
var match = source.substring(start,end).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/); var match = source.substring(start,end).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);
if(match){ if(match){
var len = match[0].length; match[0].length;
domBuilder.processingInstruction(match[1], match[2]) ; domBuilder.processingInstruction(match[1], match[2]) ;
return end+2; return end+2;
}else {//error }else {//error
@ -927,22 +927,22 @@ var NOTATION_NODE = NodeType.NOTATION_NODE = 12;
// ExceptionCode // ExceptionCode
var ExceptionCode = {}; var ExceptionCode = {};
var ExceptionMessage = {}; var ExceptionMessage = {};
var INDEX_SIZE_ERR = ExceptionCode.INDEX_SIZE_ERR = ((ExceptionMessage[1]="Index size error"),1); ExceptionCode.INDEX_SIZE_ERR = ((ExceptionMessage[1]="Index size error"),1);
var DOMSTRING_SIZE_ERR = ExceptionCode.DOMSTRING_SIZE_ERR = ((ExceptionMessage[2]="DOMString size error"),2); ExceptionCode.DOMSTRING_SIZE_ERR = ((ExceptionMessage[2]="DOMString size error"),2);
var HIERARCHY_REQUEST_ERR = ExceptionCode.HIERARCHY_REQUEST_ERR = ((ExceptionMessage[3]="Hierarchy request error"),3); var HIERARCHY_REQUEST_ERR = ExceptionCode.HIERARCHY_REQUEST_ERR = ((ExceptionMessage[3]="Hierarchy request error"),3);
var WRONG_DOCUMENT_ERR = ExceptionCode.WRONG_DOCUMENT_ERR = ((ExceptionMessage[4]="Wrong document"),4); ExceptionCode.WRONG_DOCUMENT_ERR = ((ExceptionMessage[4]="Wrong document"),4);
var INVALID_CHARACTER_ERR = ExceptionCode.INVALID_CHARACTER_ERR = ((ExceptionMessage[5]="Invalid character"),5); ExceptionCode.INVALID_CHARACTER_ERR = ((ExceptionMessage[5]="Invalid character"),5);
var NO_DATA_ALLOWED_ERR = ExceptionCode.NO_DATA_ALLOWED_ERR = ((ExceptionMessage[6]="No data allowed"),6); ExceptionCode.NO_DATA_ALLOWED_ERR = ((ExceptionMessage[6]="No data allowed"),6);
var NO_MODIFICATION_ALLOWED_ERR = ExceptionCode.NO_MODIFICATION_ALLOWED_ERR = ((ExceptionMessage[7]="No modification allowed"),7); ExceptionCode.NO_MODIFICATION_ALLOWED_ERR = ((ExceptionMessage[7]="No modification allowed"),7);
var NOT_FOUND_ERR = ExceptionCode.NOT_FOUND_ERR = ((ExceptionMessage[8]="Not found"),8); var NOT_FOUND_ERR = ExceptionCode.NOT_FOUND_ERR = ((ExceptionMessage[8]="Not found"),8);
var NOT_SUPPORTED_ERR = ExceptionCode.NOT_SUPPORTED_ERR = ((ExceptionMessage[9]="Not supported"),9); ExceptionCode.NOT_SUPPORTED_ERR = ((ExceptionMessage[9]="Not supported"),9);
var INUSE_ATTRIBUTE_ERR = ExceptionCode.INUSE_ATTRIBUTE_ERR = ((ExceptionMessage[10]="Attribute in use"),10); var INUSE_ATTRIBUTE_ERR = ExceptionCode.INUSE_ATTRIBUTE_ERR = ((ExceptionMessage[10]="Attribute in use"),10);
//level2 //level2
var INVALID_STATE_ERR = ExceptionCode.INVALID_STATE_ERR = ((ExceptionMessage[11]="Invalid state"),11); ExceptionCode.INVALID_STATE_ERR = ((ExceptionMessage[11]="Invalid state"),11);
var SYNTAX_ERR = ExceptionCode.SYNTAX_ERR = ((ExceptionMessage[12]="Syntax error"),12); ExceptionCode.SYNTAX_ERR = ((ExceptionMessage[12]="Syntax error"),12);
var INVALID_MODIFICATION_ERR = ExceptionCode.INVALID_MODIFICATION_ERR = ((ExceptionMessage[13]="Invalid modification"),13); ExceptionCode.INVALID_MODIFICATION_ERR = ((ExceptionMessage[13]="Invalid modification"),13);
var NAMESPACE_ERR = ExceptionCode.NAMESPACE_ERR = ((ExceptionMessage[14]="Invalid namespace"),14); ExceptionCode.NAMESPACE_ERR = ((ExceptionMessage[14]="Invalid namespace"),14);
var INVALID_ACCESS_ERR = ExceptionCode.INVALID_ACCESS_ERR = ((ExceptionMessage[15]="Invalid access"),15); ExceptionCode.INVALID_ACCESS_ERR = ((ExceptionMessage[15]="Invalid access"),15);
function DOMException(code, message) { function DOMException(code, message) {
@ -1853,7 +1853,7 @@ function serializeToString(node,buf,isHTML,nodeFilter,visibleNamespaces){
switch(node.nodeType){ switch(node.nodeType){
case ELEMENT_NODE: case ELEMENT_NODE:
if (!visibleNamespaces) visibleNamespaces = []; if (!visibleNamespaces) visibleNamespaces = [];
var startVisibleNamespaces = visibleNamespaces.length; visibleNamespaces.length;
var attrs = node.attributes; var attrs = node.attributes;
var len = attrs.length; var len = attrs.length;
var child = node.firstChild; var child = node.firstChild;
@ -2226,7 +2226,7 @@ DOMHandler.prototype = {
}, },
endElement:function(namespaceURI, localName, qName) { endElement:function(namespaceURI, localName, qName) {
var current = this.currentElement; var current = this.currentElement;
var tagName = current.tagName; current.tagName;
this.currentElement = current.parentNode; this.currentElement = current.parentNode;
}, },
startPrefixMapping:function(prefix, uri) { startPrefixMapping:function(prefix, uri) {

29386
webroot/js/web_modules/common/core-02e93804.js

File diff suppressed because it is too large Load Diff

29619
webroot/js/web_modules/common/core-440932cf.js

File diff suppressed because it is too large Load Diff

29641
webroot/js/web_modules/common/core-b8f2ee39.js

File diff suppressed because it is too large Load Diff

4
webroot/js/web_modules/common/core-c3086d77.js → webroot/js/web_modules/common/core-d14f1e1c.js

@ -105,7 +105,7 @@ function _assertThisInitialized(self) {
var assertThisInitialized = _assertThisInitialized; var assertThisInitialized = _assertThisInitialized;
var _typeof_1 = createCommonjsModule(function (module) { createCommonjsModule(function (module) {
function _typeof(obj) { function _typeof(obj) {
"@babel/helpers - typeof"; "@babel/helpers - typeof";
@ -125,7 +125,7 @@ function _typeof(obj) {
module.exports = _typeof; module.exports = _typeof;
}); });
var getPrototypeOf = createCommonjsModule(function (module) { createCommonjsModule(function (module) {
function _getPrototypeOf(o) { function _getPrototypeOf(o) {
module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { module.exports = _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
return o.__proto__ || Object.getPrototypeOf(o); return o.__proto__ || Object.getPrototypeOf(o);

4
webroot/js/web_modules/preact.js vendored

File diff suppressed because one or more lines are too long

2
webroot/js/web_modules/videojs/core.js

@ -1,2 +1,2 @@
export { c as default } from '../common/core-c3086d77.js'; export { c as default } from '../common/core-d14f1e1c.js';
import '../common/_commonjsHelpers-37fa8da4.js'; import '../common/_commonjsHelpers-37fa8da4.js';

Loading…
Cancel
Save