Commit 84530471 authored by nanahira's avatar nanahira

use default import

parent c8427c02
...@@ -106,3 +106,4 @@ dist ...@@ -106,3 +106,4 @@ dist
/*.js /*.js
/config.yaml /config.yaml
/*.txt /*.txt
/*.js.map
import * as dgram from "dgram"; import dgram from "dgram";
import * as _ from "underscore"; import _ from "underscore";
const messageStage1 = [ const messageStage1 = [
1, 2, 0, 42, 49, 127, 0, 0, 1, 0, 1, 2, 0, 42, 49, 127, 0, 0, 1, 0,
......
...@@ -21,9 +21,9 @@ ...@@ -21,9 +21,9 @@
} }
}, },
"@types/node": { "@types/node": {
"version": "14.0.11", "version": "14.0.13",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.11.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.13.tgz",
"integrity": "sha512-lCvvI24L21ZVeIiyIUHZ5Oflv1hhHQ5E1S25IRlKIXaRkVgmXpJMI3wUJkmym2bTbCe+WoIibQnMVAU3FguaOg==" "integrity": "sha512-rouEWBImiRaSJsVA+ITTFM6ZxibuAlTuNOCyxVbwreu6k6+ujs7DfnU9o+PShFhET78pMBl3eH+AGSI5eOTkPA=="
}, },
"@types/underscore": { "@types/underscore": {
"version": "1.10.0", "version": "1.10.0",
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
"dependencies": { "dependencies": {
"@types/bunyan": "^1.8.6", "@types/bunyan": "^1.8.6",
"@types/moment": "^2.13.0", "@types/moment": "^2.13.0",
"@types/node": "^14.0.13",
"@types/underscore": "^1.10.0", "@types/underscore": "^1.10.0",
"@types/yaml": "^1.9.7", "@types/yaml": "^1.9.7",
"bunyan": "^1.8.12", "bunyan": "^1.8.12",
......
import * as bunyan from "bunyan"; import bunyan from "bunyan";
import * as fs from "fs"; import fs from "fs";
import * as CQHttp from "cqhttp"; import CQHttp from "cqhttp";
import * as _ from "underscore"; import _ from "underscore";
import * as yaml from "yaml"; import yaml from "yaml";
import { spawn } from "child_process"; import { spawn } from "child_process";
import { Attacker } from "./attacker"; import { Attacker } from "./attacker";
import * as moment from "moment"; import moment from "moment";
interface CoolQConfig { interface CoolQConfig {
apiRoot: string; apiRoot: string;
......
{ {
"compilerOptions": {
"module": "commonjs",
"target": "esnext",
"esModuleInterop": true,
"sourceMap": true
},
"compileOnSave": true, "compileOnSave": true,
"allowJs": true, "allowJs": true,
"include": [ "include": [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment