atom-project-util
Advanced tools
Comparing version 2.0.0 to 3.0.0
@@ -1,2 +0,2 @@ | ||
var fs = require('fs-plus') | ||
var fs = require('fs') | ||
var path = require('path') | ||
@@ -109,3 +109,3 @@ | ||
// Atom 1.7+ | ||
atom.stateStore.load(key) | ||
return atom.stateStore.load(key) | ||
} else { | ||
@@ -112,0 +112,0 @@ // Atom <= 1.6 |
{ | ||
"name": "atom-project-util", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,4 +0,4 @@ | ||
# Atom Project Switch | ||
# Atom Project Util | ||
Atom library to switch projects in the same window. This is its own library | ||
Atom library that provides project utilities. Primarily switching in the same window. This is its own library | ||
because there are a number of nuances that would better serve the community | ||
@@ -11,3 +11,3 @@ to be addressed in a single location (and then each package that | ||
``` | ||
npm install --save atom-project-switch | ||
npm install --save atom-project-util | ||
``` | ||
@@ -18,4 +18,9 @@ | ||
```js | ||
const util = require("atom-project-util") | ||
// Switch to a project with path1 and path2 as the opened paths | ||
require("atom-project-switch")(["path1", "path2"]) | ||
util.switch(["path1", "path2"]) | ||
// Close project | ||
util.close() | ||
``` | ||
@@ -22,0 +27,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
8618
29