{
  "name": "atom-isort",
  "main": "./lib/index",
  "version": "3.1.0",
  "description": "Organize python imports using isort",
  "repository": "https://github.com/lexicalunit/atom-isort",
  "license": "MIT",
  "engines": {
    "atom": ">=1.4.0 <2.0.0"
  },
  "package-deps": [
    "linter:2.0.0"
  ],
  "providedServices": {
    "linter": {
      "versions": {
        "2.0.0": "provideLinter"
      }
    }
  },
  "dependencies": {
    "atom-linter": "^10.0.0",
    "atom-package-deps": "^6.0.0",
    "fs-plus": "^3.1.1"
  },
  "keywords": [
    "python",
    "style",
    "isort",
    "formatting",
    "productivity",
    "linter"
  ],
  "devDependencies": {
    "eslint": "^7.4.0",
    "eslint-config-standard": "^14.1.1",
    "eslint-plugin-import": "^2.22.0",
    "eslint-plugin-node": "^11.1.0",
    "eslint-plugin-promise": "^4.2.1",
    "eslint-plugin-standard": "^4.0.1"
  }
}

{
  "name": "atom-isort",
  "main": "./lib/index",
  "version": "3.1.0",
  "description": "Organize python imports using isort",
  "repository": "https://github.com/lexicalunit/atom-isort",
  "license": "MIT",
  "engines": {
    "atom": ">=1.4.0 <2.0.0"
  },
  "package-deps": [
    "linter:2.0.0"
  ],
  "activationHooks": [
    "core:loaded-shell-environment"
  ],
  "providedServices": {
    "linter": {
      "versions": {
        "2.0.0": "provideLinter"
      }
    }
  },
  "dependencies": {
    "atom-linter": "^10.0.0",
    "atom-package-deps": "^6.0.0",
    "fs-plus": "^3.1.1"
  },
  "keywords": [
    "python",
    "style",
    "isort",
    "formatting",
    "productivity",
    "linter"
  ],
  "devDependencies": {
    "eslint": "^7.4.0",
    "eslint-config-standard": "^14.1.1",
    "eslint-plugin-import": "^2.22.0",
    "eslint-plugin-node": "^11.1.0",
    "eslint-plugin-promise": "^4.2.1",
    "eslint-plugin-standard": "^4.0.1"
  }
}

Fix race condition between updateProcessEnv and getPythonEnvironment
Fix race condition between updateProcessEnv and getPythonEnvironment

Atom's updateProcessEnv function modifies process.env, which can
cause the PATH modifications in getPythonEnvironment to be lost.
This can lead to ModuleNotFoundErrors because isort is no longer
in the PATH.

References:
 https://github.com/atom/atom/blob/v1.49.0/src/update-process-env.js#L13
 https://github.com/lexicalunit/atom-isort/blob/v3.2.0/lib/index.js#L3
 https://0xstubs.org/modifying-environment-variables-in-the-atom-editor/

Closes #26
