From a054a4335c5ee6e34c0baabcda4e144b046a4292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Szabo?= Date: Wed, 28 Jun 2023 23:58:20 -0300 Subject: [PATCH 1/2] Using the remote module --- lib/variable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() From 9a7c118f7006e103da3ba0ad5028b31d304eb878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Szabo?= Date: Tue, 19 Sep 2023 13:30:45 -0300 Subject: [PATCH 2/2] Version bump (to trick Yarn, hopefully) --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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",