Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
chore: update typescript issues
Browse files Browse the repository at this point in the history
  • Loading branch information
blakebyrnes committed Mar 1, 2024
1 parent ecccddc commit 87aeeed
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 21 deletions.
2 changes: 1 addition & 1 deletion agent/mitm/lib/Dns.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import moment = require('moment');
import * as moment from 'moment';
import * as net from 'net';
import { promises as dns } from 'dns';
import { createPromise } from '@ulixee/commons/lib/utils';
Expand Down
2 changes: 1 addition & 1 deletion real-user-agents/data-generators/UserAgentGenerator.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as Fs from 'fs';
import compareVersions = require('compare-versions');
import { compareVersions } from 'compare-versions';
import IUserAgent from '../interfaces/IUserAgent';
import { createBrowserId } from '../lib/BrowserUtils';
import Browsers from '../lib/Browsers';
Expand Down
2 changes: 1 addition & 1 deletion real-user-agents/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dependencies": {
"@ulixee/commons": "2.0.0-alpha.26",
"@ulixee/unblocked-specification": "2.0.0-alpha.26",
"compare-versions": "^3.6.0",
"compare-versions": "^6.1.0",
"ua-parser-js": "^1.0.37"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion real-user-agents/scripts/importOsVersions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import '@ulixee/commons/lib/SourceMapSupport';
import * as Fs from 'fs';
import { Agent } from '@ulixee/unblocked-agent';
import { readFileAsJson } from '@ulixee/commons/lib/fileUtils';
import moment = require('moment');
import * as moment from 'moment';
import { getDataFilePath } from '../lib/paths';

export default async function importOsVersions(): Promise<void> {
Expand Down
2 changes: 1 addition & 1 deletion real-user-agents/scripts/updateStatcounterData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import '@ulixee/commons/lib/SourceMapSupport';
import * as Fs from 'fs';
import axios from 'axios';
import csvParser = require('csv-parser');
import moment = require('moment');
import * as moment from 'moment';
import { readFileAsJson } from '@ulixee/commons/lib/fileUtils';
import { getDataFilePath } from '../lib/paths';
import { IStatcounterMarketshare } from '../data';
Expand Down
17 changes: 1 addition & 16 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2745,11 +2745,6 @@ big.js@^5.2.2:
resolved "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz"
integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==

bignumber.js@^9.0.2:
version "9.1.2"
resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c"
integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==

binary@^0.3.0:
version "0.3.0"
resolved "https://registry.npmjs.org/binary/-/binary-0.3.0.tgz"
Expand Down Expand Up @@ -3166,7 +3161,7 @@ [email protected]:
resolved "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz"
integrity sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==

commander@^9.0.0, commander@^9.2.0, commander@^9.3.0:
commander@^9.0.0, commander@^9.2.0:
version "9.5.0"
resolved "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz"
integrity sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==
Expand All @@ -3179,11 +3174,6 @@ compare-func@^2.0.0:
array-ify "^1.0.0"
dot-prop "^5.1.0"

compare-versions@^3.6.0:
version "3.6.0"
resolved "https://registry.npmjs.org/compare-versions/-/compare-versions-3.6.0.tgz"
integrity sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==

compare-versions@^6.1.0:
version "6.1.0"
resolved "https://registry.npmjs.org/compare-versions/-/compare-versions-6.1.0.tgz"
Expand Down Expand Up @@ -9377,8 +9367,3 @@ yocto-queue@^0.1.0:
version "0.1.0"
resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz"
integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==

zod@^3.20.2:
version "3.22.4"
resolved "https://registry.yarnpkg.com/zod/-/zod-3.22.4.tgz#f31c3a9386f61b1f228af56faa9255e845cf3fff"
integrity sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==

0 comments on commit 87aeeed

Please sign in to comment.