Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/use vhs utils #295

Closed
wants to merge 3 commits into from
Closed

Chore/use vhs utils #295

wants to merge 3 commits into from

Conversation

brandonocasey
Copy link
Contributor

No description provided.

Copy link
Member

@gkatsev gkatsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given that we already import the cjs file currently but in the other projects we import the esm file, maybe we can skipt this change in mux until we modernize it? Stream.js won't be deduped anyway and we can keep this project depdendency free for a little while longer.


var MuxStream = function() {};

MuxStream.prototype = new Stream();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Object.create(Stream.prototype) would be preferable.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Potentially, setting the constructor prop could be done in the same call to Object.create, but we'd want to double check that won't be an issue on IE11: https://github.com/kaelzhang/node-util-inherits/blob/master/index.js#L10-L17

@@ -78,5 +78,8 @@
"uglify-js": "^2.6.2",
"watchify": "^3.6.1",
"webworkify": "^1.0.2"
},
"dependencies": {
"@videojs/vhs-utils": "github:videojs/vhs-utils#force-dist"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The first dependency. It was nice that this lib didn't have any previously.

@brandonocasey
Copy link
Contributor Author

yeah maybe we can skip this one for now, until we modernize it

@gkatsev
Copy link
Member

gkatsev commented Aug 19, 2019

Cool, let's close it for now.

@gkatsev gkatsev closed this Aug 19, 2019
@brandonocasey brandonocasey deleted the chore/use-vhs-utils branch December 18, 2020 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants