diff --git a/lib/variable.js b/lib/variable.js index 9d43a38..41b3ea1 100644 --- a/lib/variable.js +++ b/lib/variable.js @@ -1,7 +1,7 @@ const path = require('path') const crypto = require('crypto') const Replacer = require('./replacer') -const {remote} = require('electron') +const remote = require('@electron/remote') function resolveClipboard () { return atom.clipboard.read() diff --git a/package-lock.json b/package-lock.json index ec7bab0..2fc7fd5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "snippets", - "version": "1.7.0", + "version": "1.7.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "snippets", - "version": "1.7.0", + "version": "1.7.1", "license": "MIT", "dependencies": { "async": "~0.2.6", diff --git a/package.json b/package.json index 65f2e20..f9b875c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "snippets", - "version": "1.7.0", + "version": "1.7.1", "main": "./lib/snippets", "description": "Expand snippets matching the current prefix with `tab`.", "repository": "https://github.com/pulsar-edit/snippets",