@amazon/vinyl 2.0.0 → 2.0.4

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.
package/dist/index.cjs CHANGED
@@ -2767,7 +2767,7 @@ function configureVinylGlobal(options) {
2767
2767
  var import_vinyl_util27 = require("@amazon/vinyl-util");
2768
2768
  var vinylVersion = /* @__PURE__ */ (0, import_vinyl_util27.parseVersion)(
2769
2769
  /* istanbul ignore next */
2770
- "2.0.0"
2770
+ "2.0.4"
2771
2771
  );
2772
2772
 
2773
2773
  // src/global/globalRef.ts
package/dist/index.js CHANGED
@@ -2565,7 +2565,7 @@ function configureVinylGlobal(options) {
2565
2565
  import { parseVersion } from "@amazon/vinyl-util";
2566
2566
  var vinylVersion = /* @__PURE__ */ parseVersion(
2567
2567
  /* istanbul ignore next */
2568
- "2.0.0"
2568
+ "2.0.4"
2569
2569
  );
2570
2570
 
2571
2571
  // src/global/globalRef.ts
@@ -1284,7 +1284,7 @@ var locale19={maxPlayersWarning:"{count} Vinyl Players have been constructed wit
1284
1284
  * @throws An IllegalStateError if all players have not been removed.
1285
1285
  */},{key:"dispose",value:function dispose(){if(this._players.length)throw new IllegalStateError("All players must be removed before disposing VinylGlobal")}}])}();var playerRegistryRef=globalRef(function(){return new PlayerRegistryImpl});// src/global/configureVinylGlobal.ts
1286
1286
  var logLevelValidator=function(){return isOneOf(0/* VERBOSE */,1/* DEBUG */,2/* INFO */,3/* WARN */,4/* ERROR */,5/* NONE */)}();var vinylGlobalOptionsValidator=object({logging:object({console:object({logLevel:logLevelValidator}),history:object({logLevel:logLevelValidator,maxHistorySize:number()}),logLevel:logLevelValidator}),maxPlayersWarning:number()});var vinylGlobalOptionsPartialValidator=vinylGlobalOptionsValidator.partialDeep();function configureVinylGlobal(options){var _a3;vinylGlobalOptionsPartialValidator.assert(options);if(options.logging){var logging=options.logging;if(logging.logLevel!=null)setLogLevel(logging.logLevel);if(logging.history){var history=logging.history;if(historyLogHandler.value){if(history.maxHistorySize!=null)historyLogHandler.value.maxHistorySize=history.maxHistorySize;if(history.logLevel!=null)historyLogHandler.value.logLevel=history.logLevel}}if(((_a3=logging.console)==null?void 0:_a3.logLevel)!=null){if(consoleLogHandler.value){consoleLogHandler.value.logLevel=logging.console.logLevel}}}if(options.maxPlayersWarning!=null&&playerRegistryRef.value instanceof PlayerRegistryImpl){playerRegistryRef.value.maxPlayersWarning=options.maxPlayersWarning}}// src/global/environment.ts
1287
- var vinylVersion=parseVersion(/* istanbul ignore next */"2.0.0");// src/global/globalRef.ts
1287
+ var vinylVersion=parseVersion(/* istanbul ignore next */"2.0.4");// src/global/globalRef.ts
1288
1288
  var VinylGlobal=/*#__PURE__*/function(){function VinylGlobal(){_classCallCheck(this,VinylGlobal)}return _createClass(VinylGlobal,[{key:"players",get:function get(){return playerRegistryRef.value.players}/**
1289
1289
  * Returns the first player.
1290
1290
  */},{key:"player",get:function get(){return playerRegistryRef.value.players[0]}},{key:"logs",get:function get(){var _a3;return(_a3=historyLogHandler.value)==null?void 0:_a3.history}},{key:"version",get:function get(){return vinylVersion.str}},{key:"userAgentInfo",get:function get(){return getUserAgentInfo()}},{key:"network",get:function get(){return getNetworkMetrics()}/**
@@ -15182,7 +15182,7 @@ ${this.lastInitStack}` : "";
15182
15182
  // src/global/environment.ts
15183
15183
  var vinylVersion = parseVersion(
15184
15184
  /* istanbul ignore next */
15185
- "2.0.0"
15185
+ "2.0.4"
15186
15186
  );
15187
15187
 
15188
15188
  // src/global/globalRef.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amazon/vinyl",
3
- "version": "2.0.0",
3
+ "version": "2.0.4",
4
4
  "description": "An HTML5 streaming media player",
5
5
  "repository": {
6
6
  "type": "git",
@@ -55,14 +55,12 @@
55
55
  },
56
56
  "exports": {
57
57
  ".": {
58
- "development": "./src/index.ts",
59
58
  "types@>=5.4": "./dist/types/current/index.d.ts",
60
59
  "types@>=4.7": "./dist/types/ts4.7/index.d.ts",
61
60
  "require": "./dist/index.cjs",
62
61
  "import": "./dist/index.js"
63
62
  },
64
63
  "./vinylTestUtil": {
65
- "development": "./test/vinylTestUtil/index.ts",
66
64
  "types@>=5.4": "./dist/vinylTestUtil/types/current/index.d.ts",
67
65
  "types@>=4.7": "./dist/vinylTestUtil/types/ts4.7/index.d.ts",
68
66
  "import": "./dist/vinylTestUtil/index.js"
@@ -92,17 +90,19 @@
92
90
  "oxlint:write": "oxlint --type-aware --fix"
93
91
  },
94
92
  "devDependencies": {
95
- "@amazon/vinyl-build-utils": "^2.0.0",
93
+ "@amazon/vinyl-build-utils": "^2.0.4",
96
94
  "commander": "^9.5.0"
97
95
  },
98
96
  "dependencies": {
99
- "@amazon/vinyl-di": "^2.0.0",
100
- "@amazon/vinyl-hls-parser": "^2.0.0",
101
- "@amazon/vinyl-mpd-parser": "^2.0.0",
102
- "@amazon/vinyl-observable": "^2.0.0",
103
- "@amazon/vinyl-transmux": "^2.0.0",
104
- "@amazon/vinyl-util": "^2.0.0",
105
- "@amazon/vinyl-validation": "^2.0.0"
97
+ "@amazon/vinyl-di": "^2.0.4",
98
+ "@amazon/vinyl-hls-parser": "^2.0.4",
99
+ "@amazon/vinyl-mpd-parser": "^2.0.4",
100
+ "@amazon/vinyl-observable": "^2.0.4",
101
+ "@amazon/vinyl-transmux": "^2.0.4",
102
+ "@amazon/vinyl-util": "^2.0.4",
103
+ "@amazon/vinyl-validation": "^2.0.4"
106
104
  },
107
- "gitHead": "88ece0504b080347bbea6f240cf587ee863b7ff3"
105
+ "publishConfig": {
106
+ "access": "public"
107
+ }
108
108
  }