tty-attr 0.9.1 → 0.9.3

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/package.json +3 -2
  2. package/tty-attr.d.ts +4 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tty-attr",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "TTY Attribute Functions",
5
5
  "license": "MIT",
6
6
  "repository": { "type": "git", "url": "git+https://github.com/rse/tty-attr.git" },
@@ -16,7 +16,8 @@
16
16
  "module": "./tty-attr.js",
17
17
  "exports": {
18
18
  ".": {
19
- "import": { "types": "./tty-attr.d.ts", "default": "./tty-attr.js" }
19
+ "import": { "types": "./tty-attr.d.ts", "default": "./tty-attr.js" },
20
+ "require": { "types": "./tty-attr.d.ts", "default": "./tty-attr.js" }
20
21
  }
21
22
  }
22
23
  }
package/tty-attr.d.ts CHANGED
@@ -22,11 +22,9 @@
22
22
  ** SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23
23
  */
24
24
 
25
- namespace "tty-attr" {
26
- export default class TTYAttr {
27
- static preserveAttr (): void
28
- static setRawMode (): void
29
- static restoreAttr (): void
30
- }
25
+ export default class TTYAttr {
26
+ static preserveAttr (): void
27
+ static setRawMode (): void
28
+ static restoreAttr (): void
31
29
  }
32
30