From 2f1aebe9081ffa62b38d374798d805f575fa9c63 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Tue, 26 Jun 2018 16:49:17 +0200 Subject: [PATCH] Update @polkadot/dev, finsing deasync jest resolution --- package.json | 2 +- packages/util/src/syncify.ts | 2 +- yarn.lock | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 14c9f8b3b..12cf7ba0d 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "test": "jest --coverage" }, "devDependencies": { - "@polkadot/dev": "^0.20.5", + "@polkadot/dev": "^0.20.6", "@polkadot/ts": "^0.1.3" } } diff --git a/packages/util/src/syncify.ts b/packages/util/src/syncify.ts index 2eff4c060..1e255b913 100644 --- a/packages/util/src/syncify.ts +++ b/packages/util/src/syncify.ts @@ -2,7 +2,7 @@ // This software may be modified and distributed under the terms // of the ISC license. See the LICENSE file for details. -const deasync = require('deasync'); +import deasync from 'deasync'; import isError from './is/error'; import isUndefined from './is/undefined'; diff --git a/yarn.lock b/yarn.lock index b50e35020..a4f47596c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -691,9 +691,9 @@ lodash "^4.17.5" to-fast-properties "^2.0.0" -"@polkadot/dev@^0.20.5": - version "0.20.5" - resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.20.5.tgz#99a08e9d910833679e3c305362f43ae3018ad7ee" +"@polkadot/dev@^0.20.6": + version "0.20.6" + resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.20.6.tgz#be0938f6ae1c3637696a9a41a8f2504b703f290c" dependencies: "@babel/cli" "^7.0.0-beta.51" "@babel/core" "^7.0.0-beta.51"