@amazon/vinyl-util 1.1.0 → 1.1.1

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/README.md +32 -0
  2. package/package.json +5 -5
package/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # @amazon/vinyl-util
2
+
3
+ [![Website](https://img.shields.io/badge/website-amazonmusic.github.io%2Fvinyl-blue)](https://amazonmusic.github.io/vinyl)
4
+ [![npm](https://img.shields.io/npm/v/@amazon/vinyl-util.svg)](https://www.npmjs.com/package/@amazon/vinyl-util)
5
+ [![size](https://img.shields.io/bundlejs/size/@amazon/vinyl-util.svg?label=size)](https://bundlejs.com/?q=@amazon/vinyl-util)
6
+
7
+ Standard utilities shared across Amazon Vinyl packages: a typed event-host
8
+ abstraction, a global registry for swappable references, a Fetch wrapper with
9
+ retry/backoff and metrics, and a small grab-bag of disposers, validation errors,
10
+ and async helpers. Works in browser and Node, zero runtime dependencies.
11
+
12
+ ## Install
13
+
14
+ ```shell
15
+ npm install @amazon/vinyl-util
16
+ ```
17
+
18
+ ## Documentation
19
+
20
+ - [Events](./docs/EVENTS.md) — typed observer pattern (`EventHost`,
21
+ `DomEventHost`), once-listeners, redispatch, cleanup.
22
+ - [Globals](./docs/GLOBALS.md) — overriding global references for testability
23
+ and resource management.
24
+ - [Networking](./docs/NETWORKING.md) — `requesterWithRetryRef`, retry policy,
25
+ backoff control flow, network metrics.
26
+
27
+ Browse all docs and the TypeDoc API reference at
28
+ [amazonmusic.github.io/vinyl](https://amazonmusic.github.io/vinyl).
29
+
30
+ ## License
31
+
32
+ Apache-2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amazon/vinyl-util",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Standard utilities for browser and node.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -108,12 +108,12 @@
108
108
  "watch:release": "tsx buildSrc/build.ts --watch --release"
109
109
  },
110
110
  "devDependencies": {
111
- "@amazon/vinyl-build-utils": "^1.1.0",
112
- "@amazon/vinyl-jasmine-wrapper": "^1.1.0",
113
- "@amazon/vinyl-mock-generator": "^1.1.0"
111
+ "@amazon/vinyl-build-utils": "^1.1.1",
112
+ "@amazon/vinyl-jasmine-wrapper": "^1.1.1",
113
+ "@amazon/vinyl-mock-generator": "^1.1.1"
114
114
  },
115
115
  "browserslist": [
116
116
  "defaults, chrome 52, firefox 54, edge 15, safari 8"
117
117
  ],
118
- "gitHead": "ea13070fb52c1903723f08f31c356465d2f3279e"
118
+ "gitHead": "e5a3429d802564132b16808a5b8a8e15a023a548"
119
119
  }