New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

custom-media-element

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

custom-media-element - npm Package Compare versions

Comparing version 1.3.3 to 1.4.0

dist/custom-media-element.d.ts

48

package.json
{
"name": "custom-media-element",
"version": "1.3.3",
"version": "1.4.0",
"description": "A custom element for extending the native media elements (<audio> or <video>)",

@@ -17,17 +17,53 @@ "author": "@muxinc",

"files": [
"custom-media-element.d.ts"
"dist"
],
"type": "module",
"main": "custom-media-element.js",
"types": "custom-media-element.d.ts",
"main": "dist/custom-media-element.js",
"types": "dist/custom-media-element.d.ts",
"scripts": {
"lint": "eslint *.js",
"pretest": "esbuild custom-media-element.js --target=es2019 --bundle --outdir=dist --global-name=CustomMediaElement",
"lint": "eslint *.ts",
"pretest": "npm run build",
"test": "wet test test/eager-upgrade.html test/lazy-upgrade.html --coverage",
"dev": "tsc -w & esbuild custom-media-element.ts --format=esm --outdir=dist --watch=forever",
"build:esm": "esbuild custom-media-element.ts --format=esm --outdir=dist",
"build:iife": "esbuild custom-media-element.ts --bundle --outfile=dist/custom-media-element.iife.js --global-name=CustomMediaElement",
"build": "rm -rf dist && npm run build:esm && npm run build:iife",
"postbuild": "tsc",
"serve": "wet serve --redirect :examples/ --cors"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.12.0",
"@typescript-eslint/parser": "^7.12.0",
"esbuild": "^0.21.4",
"typescript": "5.4.5",
"wet-run": "^1.2.2"
},
"eslintConfig": {
"root": true,
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"globals": {
"globalThis": "writable"
},
"env": {
"browser": true,
"es6": true,
"node": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module"
},
"rules": {
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/no-explicit-any": 0
}
},
"keywords": [

@@ -34,0 +70,0 @@ "custom",

custom-media-element.d.ts
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc