diff --git a/package-lock.json b/package-lock.json index cba8147bc..99586d201 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2195,14 +2195,6 @@ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=" }, - "cached-run-in-this-context": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/cached-run-in-this-context/-/cached-run-in-this-context-0.5.0.tgz", - "integrity": "sha512-FdtDP0u8WjetQ95nLz9vI06efJTFrmtmk5ZT6FECpyTKi9aakNLMHyMH21WRbGYyWlbmB/QlRoB/g1lcEpyjMw==", - "requires": { - "nan": "^2.10.0" - } - }, "caller-callsite": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", diff --git a/package.json b/package.json index 20847e0f3..f2bb33570 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,6 @@ "base16-tomorrow-light-theme": "file:packages/base16-tomorrow-light-theme", "bookmarks": "https://www.atom.io/api/packages/bookmarks/versions/0.46.0/tarball", "bracket-matcher": "https://www.atom.io/api/packages/bracket-matcher/versions/0.91.0/tarball", - "cached-run-in-this-context": "0.5.0", "chai": "3.5.0", "chart.js": "^2.3.0", "clear-cut": "^2.0.2", diff --git a/script/lib/generate-startup-snapshot.js b/script/lib/generate-startup-snapshot.js index d12ea273e..c8cf02022 100644 --- a/script/lib/generate-startup-snapshot.js +++ b/script/lib/generate-startup-snapshot.js @@ -47,7 +47,6 @@ module.exports = function (packagedAppPath) { requiredModuleRelativePath === path.join('..', 'src', 'electron-shims.js') || requiredModuleRelativePath === path.join('..', 'node_modules', 'atom-keymap', 'lib', 'command-event.js') || requiredModuleRelativePath === path.join('..', 'node_modules', 'babel-core', 'index.js') || - requiredModuleRelativePath === path.join('..', 'node_modules', 'cached-run-in-this-context', 'lib', 'main.js') || requiredModuleRelativePath === path.join('..', 'node_modules', 'debug', 'node.js') || requiredModuleRelativePath === path.join('..', 'node_modules', 'git-utils', 'src', 'git.js') || requiredModuleRelativePath === path.join('..', 'node_modules', 'glob', 'glob.js') || diff --git a/static/index.js b/static/index.js index 118fcf3d8..6d4f5e8bf 100644 --- a/static/index.js +++ b/static/index.js @@ -1,8 +1,4 @@ (function () { - // Eagerly require cached-run-in-this-context to prevent a circular require - // when using `NativeCompileCache` for the first time. - require('cached-run-in-this-context') - // Define the window start time before the requires so we get a more accurate // window:start marker. const startWindowTime = Date.now()