Skip to content

Update dependencies for Node v18.17.1 LTS #42

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -10,5 +10,6 @@ module.exports = {
'^clappr$': '<rootDir>/node_modules/@clappr/core/dist/clappr-core.js',
'^clappr-zepto$': 'clappr-zepto/zepto.js',
},
testEnvironment: 'jsdom',
globals: { CLAPPR_CORE_VERSION: ClapprCorePkg.version },
}
49 changes: 25 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
@@ -5,12 +5,12 @@
"main": "./dist/hlsjs-playback.js",
"module": "./dist/hlsjs-playback.esm.js",
"scripts": {
"start": "SERVE=true rollup --config --watch",
"start:with-reload": "SERVE=true RELOAD=true rollup --config --watch",
"build": "rollup --config",
"watch": "rollup --config --watch",
"bundle-check": "ANALYZE_BUNDLE=true rollup --config",
"release": "MINIMIZE=true rollup --config",
"start": "SERVE=true rollup --config --watch --bundleConfigAsCjs",
"start:with-reload": "SERVE=true RELOAD=true rollup --config --watch --bundleConfigAsCjs",
"build": "rollup --config --bundleConfigAsCjs",
"watch": "rollup --config --watch --bundleConfigAsCjs",
"bundle-check": "ANALYZE_BUNDLE=true rollup --config --bundleConfigAsCjs",
"release": "MINIMIZE=true rollup --config --bundleConfigAsCjs",
"test": "jest ./src --coverage --silent",
"test:debug": "node --inspect node_modules/.bin/jest ./src --runInBand",
"test:watch": "jest ./src --watch",
@@ -40,26 +40,27 @@
"hls.js": "^1.2.4"
},
"devDependencies": {
"@babel/core": "^7.14.2",
"@babel/preset-env": "^7.14.2",
"@clappr/core": "^0.4.27",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.4.2",
"babel-jest": "^26.6.3",
"coveralls": "^3.1.0",
"@babel/core": "^7.22.20",
"@babel/preset-env": "^7.22.20",
"@clappr/core": "^0.6.1",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-replace": "^5.0.2",
"babel-jest": "^29.7.0",
"coveralls": "^3.1.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.26.0",
"hls.js": "^1.2.4",
"jest": "^26.6.3",
"rollup": "^2.47.0",
"rollup-plugin-filesize": "^9.1.1",
"rollup-plugin-livereload": "^2.0.0",
"rollup-plugin-serve": "^1.1.0",
"rollup-plugin-sizes": "^1.0.4",
"eslint": "^8.49.0",
"hls.js": "^1.4.12",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"rollup": "^3.29.2",
"rollup-plugin-filesize": "^10.0.0",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-serve": "^2.0.2",
"rollup-plugin-sizes": "^1.0.5",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-visualizer": "^5.5.0"
"rollup-plugin-visualizer": "^5.9.2"
},
"config": {
"commitizen": {
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ import livereload from 'rollup-plugin-livereload'
import serve from 'rollup-plugin-serve'
import size from 'rollup-plugin-sizes'
import { terser } from 'rollup-plugin-terser'
import visualize from 'rollup-plugin-visualizer'
const { visualizer } = require('rollup-plugin-visualizer')
import { version as clapprCoreVersion } from '@clappr/core/package.json'
import pkg from './package.json'

@@ -34,7 +34,7 @@ let plugins = [

serveLocal && (plugins = [...plugins, replace({ ...replacePluginOptions, 'process.env.NODE_ENV': JSON.stringify('development') }), serve(servePluginOptions)])
reloadEnabled && (plugins = [...plugins, livereload(livereloadPluginOptions)])
analyzeBundle && plugins.push(visualize({ open: true }))
analyzeBundle && plugins.push(visualizer({ open: true }))

const mainBundle = {
external: ['@clappr/core'],
5,399 changes: 2,557 additions & 2,842 deletions yarn.lock

Large diffs are not rendered by default.