Skip to content

Commit

Permalink
spec & bumps 2023-01-24 (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartes authored Jan 24, 2023
1 parent 11f7f5d commit 71a69ba
Show file tree
Hide file tree
Showing 29 changed files with 353 additions and 253 deletions.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,30 +32,30 @@
},
"devDependencies": {
"@types/fetch-mock": "7.3.5",
"@types/jest": "29.2.4",
"@types/jest": "29.2.6",
"@types/lodash.get": "4.4.7",
"@types/lodash.isempty": "4.4.7",
"@types/lodash.merge": "4.6.7",
"@types/lodash.pickby": "4.6.7",
"@types/lodash.reduce": "4.6.7",
"@types/node": "18.11.17",
"@types/node": "18.11.18",
"@types/node-fetch": "2.6.2",
"@typescript-eslint/eslint-plugin": "5.47.0",
"@typescript-eslint/parser": "5.47.0",
"eslint": "8.30.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"@typescript-eslint/eslint-plugin": "5.49.0",
"@typescript-eslint/parser": "5.49.0",
"eslint": "8.32.0",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-prettier": "4.2.1",
"fetch-mock": "9.11.0",
"husky": "8.0.2",
"husky": "8.0.3",
"jest": "29.3.1",
"mockdate": "3.0.5",
"prettier": "2.8.1",
"rimraf": "3.0.2",
"prettier": "2.8.3",
"rimraf": "4.1.2",
"source-map-support": "0.5.21",
"timeout-signal": "1.1.0",
"ts-jest": "29.0.3",
"ts-jest": "29.0.5",
"ts-node": "10.9.1",
"typescript": "4.9.4"
},
Expand Down
2 changes: 1 addition & 1 deletion test/api/services/api-approve-device.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { APIApproveDeviceService } from '../../../src/api/api.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import MockDate from 'mockdate';
import fetchMock from 'fetch-mock';

Expand Down
2 changes: 1 addition & 1 deletion test/api/services/api-authenticate.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { APIAuthenticateService } from '../../../src/api/api.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import MockDate from 'mockdate';
import fetchMock from 'fetch-mock';

Expand Down
2 changes: 1 addition & 1 deletion test/api/services/api-filter.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { APIFilterService } from '../../../src/api/api.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import { FailoverStrategy } from '../../../src/failover/models';
import type { FilterPayload } from '../../../src/payload/payload.module';
import MockDate from 'mockdate';
Expand Down
2 changes: 1 addition & 1 deletion test/api/services/api-get-device.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { APIGetDeviceService } from '../../../src/api/api.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import MockDate from 'mockdate';
import fetchMock from 'fetch-mock';

Expand Down
2 changes: 1 addition & 1 deletion test/api/services/api-get-devices-for-user.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { APIGetDevicesForUserService } from '../../../src/api/api.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import MockDate from 'mockdate';
import fetchMock from 'fetch-mock';

Expand Down
2 changes: 1 addition & 1 deletion test/api/services/api-log.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { APILogService } from '../../../src/api/api.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import type { LogPayload } from '../../../src/payload/payload.module';
import MockDate from 'mockdate';
import fetchMock from 'fetch-mock';
Expand Down
2 changes: 1 addition & 1 deletion test/api/services/api-report-device.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { APIReportDeviceService } from '../../../src/api/api.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import MockDate from 'mockdate';
import fetchMock from 'fetch-mock';

Expand Down
2 changes: 1 addition & 1 deletion test/api/services/api-risk.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { APIRiskService } from '../../../src/api/api.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import MockDate from 'mockdate';
import fetchMock from 'fetch-mock';

Expand Down
2 changes: 1 addition & 1 deletion test/api/services/api-track.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { APITrackService } from '../../../src/api/api.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import MockDate from 'mockdate';
import fetchMock from 'fetch-mock';

Expand Down
2 changes: 1 addition & 1 deletion test/api/services/api.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { APIService } from '../../../src/api/api.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import { CommandAuthenticateService } from '../../../src/command/services';
import MockDate from 'mockdate';
import fetchMock from 'fetch-mock';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CommandApproveDeviceService } from '../../../src/command/command.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import AbortController from 'abort-controller';
import MockDate from 'mockdate';

Expand Down
2 changes: 1 addition & 1 deletion test/command/services/command-authenticate.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CommandAuthenticateService } from '../../../src/command/command.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import AbortController from 'abort-controller';
import MockDate from 'mockdate';

Expand Down
2 changes: 1 addition & 1 deletion test/command/services/command-filter.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CommandFilterService } from '../../../src/command/command.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import AbortController from 'abort-controller';
import MockDate from 'mockdate';

Expand Down
2 changes: 1 addition & 1 deletion test/command/services/command-generate.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CommandGenerateService } from '../../../src/command/command.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import MockDate from 'mockdate';
import AbortController from 'abort-controller';

Expand Down
2 changes: 1 addition & 1 deletion test/command/services/command-get-device.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CommandGetDeviceService } from '../../../src/command/command.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import AbortController from 'abort-controller';
import MockDate from 'mockdate';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CommandGetDevicesForUserService } from '../../../src/command/command.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import AbortController from 'abort-controller';
import MockDate from 'mockdate';

Expand Down
2 changes: 1 addition & 1 deletion test/command/services/command-log.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CommandLogService } from '../../../src/command/command.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import AbortController from 'abort-controller';
import MockDate from 'mockdate';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CommandReportDeviceService } from '../../../src/command/command.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import AbortController from 'abort-controller';
import MockDate from 'mockdate';

Expand Down
2 changes: 1 addition & 1 deletion test/command/services/command-risk.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CommandRiskService } from '../../../src/command/command.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import AbortController from 'abort-controller';
import MockDate from 'mockdate';

Expand Down
2 changes: 1 addition & 1 deletion test/command/services/command-track.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CommandTrackService } from '../../../src/command/command.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import AbortController from 'abort-controller';
import MockDate from 'mockdate';

Expand Down
2 changes: 1 addition & 1 deletion test/configuration.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Configuration } from '../src/configuraton';
import { Configuration } from '../src/configuration';
import { ConfigurationError } from '../src/errors';
import { FailoverStrategy } from '../src/failover/models/failover-strategy';

Expand Down
2 changes: 1 addition & 1 deletion test/context/services/context-get-default.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ContextGetDefaultService } from '../../../src/context/context.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import { version } from '../../../package.json';
import type { Request as ExpressRequest } from 'express';

Expand Down
2 changes: 1 addition & 1 deletion test/context/services/context-prepare.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ContextPrepareService } from '../../../src/context/context.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import { version } from '../../../package.json';
import type { Request as ExpressRequest } from 'express';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CoreGenerateDefaultHeadersService } from '../../../src/core/core.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';

describe('CoreGenerateDefaultHeadersService', () => {
describe('call', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/headers/services/headers-extract.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { HeadersExtractService } from '../../../src/headers/headers.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';

describe('HeadersExtractService', () => {
describe('call', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/ips/services/ips-extract.service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { IPsExtractService } from '../../../src/ips/ips.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';

describe('IPsExtractService', () => {
describe('call', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/payload/services/payload-prepare-service.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PayloadPrepareService } from '../../../src/payload/payload.module';
import { Configuration } from '../../../src/configuraton';
import { Configuration } from '../../../src/configuration';
import { version } from '../../../package.json';

describe('PayloadPrepareService', () => {
Expand Down
Loading

0 comments on commit 71a69ba

Please sign in to comment.