Skip to content

Commit

Permalink
Merge branch 'videojs:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
bzizmo authored Jun 13, 2024
2 parents 4e615a4 + 6b468dd commit dc74abe
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 13 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
<a name="8.16.0"></a>
# [8.16.0](https://github.com/videojs/video.js/compare/v8.15.0...v8.16.0) (2024-06-12)

### Features

* **icons:** update Twitter X logo ([#8764](https://github.com/videojs/video.js/issues/8764)) ([b58b4c5](https://github.com/videojs/video.js/commit/b58b4c5)), closes [1000#0](https://github.com/1000/issues/0)

### Bug Fixes

* improve ts output for create logger ([#8763](https://github.com/videojs/video.js/issues/8763)) ([86ff612](https://github.com/videojs/video.js/commit/86ff612)), closes [1000#0](https://github.com/1000/issues/0)
* update to VHS v3.13.1 ([#8765](https://github.com/videojs/video.js/issues/8765)) ([864074d](https://github.com/videojs/video.js/commit/864074d))
* use guid to ensure uniqueness of track setting options ([#8762](https://github.com/videojs/video.js/issues/8762)) ([f4186a0](https://github.com/videojs/video.js/commit/f4186a0)), closes [#8761](https://github.com/videojs/video.js/issues/8761) [1000#0](https://github.com/1000/issues/0)

<a name="8.15.0"></a>
# [8.15.0](https://github.com/videojs/video.js/compare/v8.14.1...v8.15.0) (2024-06-06)

Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "video.js",
"description": "An HTML5 video player that supports HLS and DASH with a common API and skin.",
"version": "8.15.0",
"version": "8.16.0",
"main": "./dist/video.cjs.js",
"module": "./dist/video.es.js",
"style": "./dist/video-js.css",
Expand Down Expand Up @@ -86,7 +86,7 @@
},
"dependencies": {
"@babel/runtime": "^7.12.5",
"@videojs/http-streaming": "3.13.0",
"@videojs/http-streaming": "3.13.1",
"@videojs/vhs-utils": "^4.0.0",
"@videojs/xhr": "2.7.0",
"aes-decrypter": "^4.0.1",
Expand Down Expand Up @@ -160,7 +160,7 @@
"shelljs": "^0.8.5",
"shx": "^0.3.2",
"sinon": "^11.1.1",
"typescript": "^5.5.0-beta",
"typescript": "^5.5.1-rc",
"uglify-js": "^3.6.0",
"unified": "^7.0.2",
"videojs-generate-karma-config": "^8.1.0",
Expand Down
6 changes: 3 additions & 3 deletions src/js/utils/create-logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,17 +104,17 @@ export default function createLogger(name, delimiter = ':', styles = '') {
* @param {...*} args
* One or more messages or objects that should be logged.
*/
const log = function(...args) {
function log(...args) {
logByType('log', level, args);
};
}

// This is the logByType helper that the logging methods below use
logByType = LogByTypeFactory(name, log, styles);

/**
* Create a new subLogger which chains the old name to the new name.
*
* For example, doing `videojs.log.createLogger('player')` and then using that logger will log the following:
* For example, doing `mylogger = videojs.log.createLogger('player')` and then using that logger will log the following:
* ```js
* mylogger('foo');
* // > VIDEOJS: player: foo
Expand Down

0 comments on commit dc74abe

Please sign in to comment.