aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-05-30 08:10:19 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-06-01 01:20:35 +0800
commit743c957918be109defc96b5243cf82d5c2542b39 (patch)
treea8c20d140795ddb03aadadd6e15b368623263243
parentae47da3801634a17eb25e658272f60528cc06ead (diff)
downloaddexon-sol-tools-743c957918be109defc96b5243cf82d5c2542b39.tar
dexon-sol-tools-743c957918be109defc96b5243cf82d5c2542b39.tar.gz
dexon-sol-tools-743c957918be109defc96b5243cf82d5c2542b39.tar.bz2
dexon-sol-tools-743c957918be109defc96b5243cf82d5c2542b39.tar.lz
dexon-sol-tools-743c957918be109defc96b5243cf82d5c2542b39.tar.xz
dexon-sol-tools-743c957918be109defc96b5243cf82d5c2542b39.tar.zst
dexon-sol-tools-743c957918be109defc96b5243cf82d5c2542b39.zip
Remove published types
-rw-r--r--packages/react-shared/package.json1
-rw-r--r--packages/typescript-typings/types/is-mobile/index.d.ts4
-rw-r--r--packages/typescript-typings/types/xml-js/index.d.ts7
-rw-r--r--packages/website/package.json2
-rw-r--r--yarn.lock6
5 files changed, 5 insertions, 15 deletions
diff --git a/packages/react-shared/package.json b/packages/react-shared/package.json
index d28972325..eb964a0f4 100644
--- a/packages/react-shared/package.json
+++ b/packages/react-shared/package.json
@@ -41,6 +41,7 @@
"@types/react": "16.3.13",
"@types/react-dom": "^16.0.3",
"@types/react-scroll": "0.0.31",
+ "@types/is-mobile": "0.3.0",
"basscss": "^8.0.3",
"is-mobile": "^0.2.2",
"lodash": "^4.17.4",
diff --git a/packages/typescript-typings/types/is-mobile/index.d.ts b/packages/typescript-typings/types/is-mobile/index.d.ts
deleted file mode 100644
index 0b3b57854..000000000
--- a/packages/typescript-typings/types/is-mobile/index.d.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-declare function isMobile(): boolean;
-declare module 'is-mobile' {
- export = isMobile;
-}
diff --git a/packages/typescript-typings/types/xml-js/index.d.ts b/packages/typescript-typings/types/xml-js/index.d.ts
deleted file mode 100644
index 8e4873aeb..000000000
--- a/packages/typescript-typings/types/xml-js/index.d.ts
+++ /dev/null
@@ -1,7 +0,0 @@
-declare interface XML2JSONOpts {
- compact?: boolean;
- spaces?: number;
-}
-declare module 'xml-js' {
- const xml2json: (xml: string, opts: XML2JSONOpts) => string;
-}
diff --git a/packages/website/package.json b/packages/website/package.json
index 95804f988..407958b70 100644
--- a/packages/website/package.json
+++ b/packages/website/package.json
@@ -57,7 +57,7 @@
"web3": "^0.20.0",
"web3-provider-engine": "^14.0.4",
"whatwg-fetch": "^2.0.3",
- "xml-js": "^1.3.2"
+ "xml-js": "^1.6.4"
},
"devDependencies": {
"@types/accounting": "^0.4.1",
diff --git a/yarn.lock b/yarn.lock
index f6b990aed..b8c8229c4 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -12863,9 +12863,9 @@ xhr@^2.0.4, xhr@^2.2.0, xhr@^2.3.3:
parse-headers "^2.0.0"
xtend "^4.0.0"
-xml-js@^1.3.2:
- version "1.6.2"
- resolved "https://registry.yarnpkg.com/xml-js/-/xml-js-1.6.2.tgz#4c4cb8413998f73701a202a1b8b2f17c985a72c5"
+xml-js@^1.6.4:
+ version "1.6.4"
+ resolved "https://registry.yarnpkg.com/xml-js/-/xml-js-1.6.4.tgz#fcf9fdc9fb6d691122a02fe5a55c30f84d93ab90"
dependencies:
sax "^1.2.4"