@canopycanopycanopy/b-ber-grammar-audio-video 1.2.16 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -4
  2. package/package.json +9 -8
package/dist/index.js CHANGED
@@ -57,8 +57,7 @@ function prepare({
57
57
  let sources = [];
58
58
  let sourceElements = '';
59
59
  let err = null;
60
- let poster = '';
61
- let provider = null; // eslint-disable-line no-unused-vars
60
+ let poster = ''; // let provider = null
62
61
 
63
62
  let aspectRatio = '16x9';
64
63
  let aspectRatioClassName = '';
@@ -90,8 +89,7 @@ function prepare({
90
89
  const supportedThirdParty = (0, _helpers.isHostedBySupportedThirdParty)(source);
91
90
 
92
91
  if (supportedThirdParty) {
93
- ;
94
- [, provider] = supportedThirdParty;
92
+ // ;[, provider] = supportedThirdParty
95
93
  type = type.replace(/(audio|video)/, 'iframe'); // iframe, iframe-inline
96
94
  } else {
97
95
  sources = [source];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canopycanopycanopy/b-ber-grammar-audio-video",
3
- "version": "1.2.16",
3
+ "version": "3.0.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -20,15 +20,16 @@
20
20
  "@babel/cli": "^7.10.5",
21
21
  "@babel/core": "^7.10.5",
22
22
  "@babel/preset-env": "^7.10.4",
23
+ "browserslist": "^4.17.4",
23
24
  "jest": "^26.6.3",
24
- "rimraf": "^2.6.3"
25
+ "rimraf": "^2.7.1"
25
26
  },
26
27
  "dependencies": {
27
- "@canopycanopycanopy/b-ber-grammar-attributes": "1.2.16",
28
- "@canopycanopycanopy/b-ber-lib": "1.2.16",
29
- "@canopycanopycanopy/b-ber-logger": "1.2.16",
30
- "@canopycanopycanopy/b-ber-parser-figure": "1.2.16",
31
- "@canopycanopycanopy/b-ber-shapes-directives": "1.2.16",
28
+ "@canopycanopycanopy/b-ber-grammar-attributes": "3.0.0",
29
+ "@canopycanopycanopy/b-ber-lib": "3.0.0",
30
+ "@canopycanopycanopy/b-ber-logger": "3.0.0",
31
+ "@canopycanopycanopy/b-ber-parser-figure": "3.0.0",
32
+ "@canopycanopycanopy/b-ber-shapes-directives": "3.0.0",
32
33
  "fs-extra": "^8.1.0",
33
34
  "lodash": "^4.17.21",
34
35
  "lodash.has": "latest",
@@ -52,5 +53,5 @@
52
53
  "url": "https://maxwellsimmer.com"
53
54
  }
54
55
  ],
55
- "gitHead": "b4d9c563beb349a32c19e0f65447f7c7dbc8ea52"
56
+ "gitHead": "676dbec7fbdcc46eb8168f1d437d294ed549e2e8"
56
57
  }