Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
grzegorz914 committed Dec 1, 2024
1 parent 8a05fc1 commit 5320339
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 21 deletions.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
'use strict';
import { join } from 'path';
import { mkdirSync, existsSync, writeFileSync } from 'fs';
import MainZone from './src/mainzone.js';
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"displayName": "Denon TV",
"name": "homebridge-denon-tv",
"version": "5.2.0",
"version": "5.2.1",
"description": "Homebridge plugin to control Denon/Marantz AV Receivers.",
"license": "MIT",
"author": "grzegorz914",
Expand All @@ -17,7 +17,9 @@
"url": "https://github.com/grzegorz914/homebridge-denon-tv/issues"
},
"type": "module",
"main": "index.js",
"exports": {
".": "./index.js"
},
"files": [
"src",
"index.js",
Expand Down
4 changes: 1 addition & 3 deletions src/denon.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
'use strict';
import { promises } from 'fs';
const fsPromises = promises;
import { promises as fsPromises } from 'fs';
import axios from 'axios';
import { Agent } from 'https';
import EventEmitter from 'events';
Expand Down
1 change: 0 additions & 1 deletion src/impulsegenerator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
"use strict";
import EventEmitter from 'events';

class ImpulseGenerator extends EventEmitter {
Expand Down
4 changes: 1 addition & 3 deletions src/mainzone.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
'use strict';
import { promises } from 'fs';
const fsPromises = promises;
import { promises as fsPromises } from 'fs';
import EventEmitter from 'events';
import Mqtt from './mqtt.js';
import RestFul from './restful.js';
Expand Down
1 change: 0 additions & 1 deletion src/mqtt.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
"use strict";
import asyncMqtt from 'async-mqtt';
const { connectAsync } = asyncMqtt;
import EventEmitter from 'events';
Expand Down
1 change: 0 additions & 1 deletion src/restful.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
"use strict";
import express, { json } from 'express';
import EventEmitter from 'events';

Expand Down
4 changes: 1 addition & 3 deletions src/surround.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
'use strict';
import { promises } from 'fs';
const fsPromises = promises;
import { promises as fsPromises } from 'fs';
import EventEmitter from 'events';
import Mqtt from './mqtt.js';
import RestFul from './restful.js';
Expand Down
4 changes: 1 addition & 3 deletions src/zone2.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
'use strict';
import { promises } from 'fs';
const fsPromises = promises;
import { promises as fsPromises } from 'fs';
import EventEmitter from 'events';
import Mqtt from './mqtt.js';
import RestFul from './restful.js';
Expand Down
4 changes: 1 addition & 3 deletions src/zone3.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
'use strict';
import { promises } from 'fs';
const fsPromises = promises;
import { promises as fsPromises } from 'fs';
import EventEmitter from 'events';
import Mqtt from './mqtt.js';
import RestFul from './restful.js';
Expand Down

0 comments on commit 5320339

Please sign in to comment.