is-git-repository
Advanced tools
Comparing version 1.1.1 to 2.0.0
{ | ||
"name": "is-git-repository", | ||
"version": "1.1.1", | ||
"version": "2.0.0", | ||
"description": "A tool to check if a specific path is a git repository", | ||
"main": "build.js", | ||
"main": "./dest/index.js", | ||
"types": "./dest/index.d.ts", | ||
"scripts": { | ||
"pretest": "npm run lint", | ||
"test": "nyc ava", | ||
"lint": "eslint index.js", | ||
"coveralls": "nyc report --reporter=text-lcov | coveralls", | ||
"prepublish": "npm run babel", | ||
"babel": "babel index.js -o build.js", | ||
"prepush": "npm test" | ||
"test": "jest", | ||
"lint": "eslint index.ts test.spec.ts", | ||
"coveralls": "cat ./coverage/lcov.info | coveralls", | ||
"build": "rimraf dest && tsc && babel dest -d dest", | ||
"prepublishOnly": "npm run build" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-push": "npm test", | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.{js,ts}": [ | ||
"eslint --fix" | ||
] | ||
}, | ||
"repository": { | ||
@@ -32,23 +42,26 @@ "type": "git", | ||
}, | ||
"ava": { | ||
"require": "babel-register", | ||
"babel": "inherit" | ||
}, | ||
"homepage": "https://github.com/JPeer264/node-is-git-repository#readme", | ||
"dependencies": { | ||
"execa": "^0.6.1", | ||
"path-is-absolute": "^1.0.1" | ||
"execa": "^4.0.3", | ||
"is-absolute": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"ava": "^0.18.2", | ||
"babel-cli": "^6.24.0", | ||
"babel-plugin-add-module-exports": "^0.2.1", | ||
"babel-preset-env": "^1.2.2", | ||
"coveralls": "^2.12.0", | ||
"eslint": "^3.18.0", | ||
"eslint-config-airbnb-base": "^11.1.1", | ||
"eslint-plugin-import": "^2.2.0", | ||
"husky": "^0.13.2", | ||
"nyc": "^10.1.2" | ||
"@babel/cli": "^7.10.4", | ||
"@types/is-absolute": "^1.0.0", | ||
"@types/jest": "^26.0.4", | ||
"@types/uuid": "^8.0.0", | ||
"@typescript-eslint/eslint-plugin": "^3.6.0", | ||
"@typescript-eslint/parser": "^3.6.0", | ||
"babel-plugin-add-module-exports": "^1.0.2", | ||
"coveralls": "^3.1.0", | ||
"eslint": "^7.4.0", | ||
"eslint-config-airbnb-base": "^14.2.0", | ||
"eslint-plugin-import": "^2.22.0", | ||
"husky": "^4.2.5", | ||
"jest": "^26.1.0", | ||
"lint-staged": "^10.2.11", | ||
"rimraf": "^3.0.2", | ||
"ts-jest": "^26.1.1", | ||
"typescript": "^3.9.6" | ||
} | ||
} |
# is-git-repository | ||
[![Build Status](https://travis-ci.org/JPeer264/node-is-git-repository.svg?branch=master)](https://travis-ci.org/JPeer264/node-is-git-repository) [![Coverage Status](https://coveralls.io/repos/github/JPeer264/node-is-git-repository/badge.svg?branch=master)](https://coveralls.io/github/JPeer264/node-is-git-repository?branch=master) | ||
[![Build Status](https://travis-ci.com/JPeer264/node-is-git-repository.svg?branch=main)](https://travis-ci.com/JPeer264/node-is-git-repository) | ||
[![Build status](https://ci.appveyor.com/api/projects/status/candvk0h292r03q2?svg=true)](https://ci.appveyor.com/project/JPeer264/node-is-git-repository) | ||
[![Coverage Status](https://coveralls.io/repos/github/JPeer264/node-is-git-repository/badge.svg?branch=main)](https://coveralls.io/github/JPeer264/node-is-git-repository?branch=main) | ||
@@ -5,0 +7,0 @@ Checks synchronously if a specific directory is a git repository |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
12
96
31
6890
17
1
+ Addedis-absolute@^1.0.0
+ Addedcross-spawn@7.0.6(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedexeca@4.1.0(transitive)
+ Addedget-stream@5.2.0(transitive)
+ Addedhuman-signals@1.1.1(transitive)
+ Addedis-absolute@1.0.0(transitive)
+ Addedis-relative@1.0.0(transitive)
+ Addedis-stream@2.0.1(transitive)
+ Addedis-unc-path@1.0.0(transitive)
+ Addedis-windows@1.0.2(transitive)
+ Addedmerge-stream@2.0.0(transitive)
+ Addedmimic-fn@2.1.0(transitive)
+ Addednpm-run-path@4.0.1(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedonetime@5.1.2(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpump@3.0.2(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedstrip-final-newline@2.0.0(transitive)
+ Addedunc-path-regex@0.1.2(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removedpath-is-absolute@^1.0.1
- Removedcross-spawn@5.1.0(transitive)
- Removedexeca@0.6.3(transitive)
- Removedget-stream@3.0.0(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedlru-cache@4.1.5(transitive)
- Removednpm-run-path@2.0.2(transitive)
- Removedp-finally@1.0.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpath-key@2.0.1(transitive)
- Removedpseudomap@1.0.2(transitive)
- Removedshebang-command@1.2.0(transitive)
- Removedshebang-regex@1.0.0(transitive)
- Removedstrip-eof@1.0.0(transitive)
- Removedwhich@1.3.1(transitive)
- Removedyallist@2.1.2(transitive)
Updatedexeca@^4.0.3