git-tags-remote
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -5,2 +5,4 @@ # Changelog | ||
### [1.0.3](https://github.com/sh0ji/git-tags-remote/compare/v1.0.2...v1.0.3) (2020-08-06) | ||
### [1.0.2](https://github.com/sh0ji/git-tags-remote/compare/v1.0.0...v1.0.2) (2020-01-12) | ||
@@ -7,0 +9,0 @@ |
{ | ||
"name": "git-tags-remote", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Get remote repository tags.", | ||
@@ -20,20 +20,41 @@ "keywords": [ | ||
"author": "Evan Yamanishi", | ||
"main": "index.js", | ||
"main": "dist/index.js", | ||
"source": "src/index.ts", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"lint": "eslint .", | ||
"prepublishOnly": "npm test", | ||
"build": "rollup --config", | ||
"build:prod": "npm run clean && NODE_ENV=production npm run build", | ||
"clean": "rm -rf dist", | ||
"lint": "eslint . --ext .js,.ts", | ||
"prepublishOnly": "npm run build:prod && npm run lint && npm test", | ||
"release": "standard-version -sa", | ||
"test": "nyc ava" | ||
}, | ||
"ava": { | ||
"require": [ | ||
"esm" | ||
] | ||
}, | ||
"dependencies": { | ||
"semver": "^5.4.1" | ||
"semver": "^7.3.2" | ||
}, | ||
"devDependencies": { | ||
"ava": "^2.4.0", | ||
"eslint": "^6.1.0", | ||
"eslint-config-airbnb-base": "^14.0.0", | ||
"eslint-plugin-import": "^2.20.0", | ||
"nyc": "^15.0.0", | ||
"standard-version": "^7.0.1" | ||
"@rollup/plugin-typescript": "^5.0.2", | ||
"@types/semver": "^7.3.1", | ||
"@typescript-eslint/eslint-plugin": "^3.8.0", | ||
"@typescript-eslint/parser": "^3.8.0", | ||
"ava": "^3.11.1", | ||
"eslint": "^7.6.0", | ||
"eslint-config-airbnb-base": "^14.2.0", | ||
"eslint-plugin-import": "^2.22.0", | ||
"esm": "^3.2.25", | ||
"nyc": "^15.1.0", | ||
"rollup": "^2.23.0", | ||
"rollup-plugin-terser": "^6.1.0", | ||
"standard-version": "^8.0.2", | ||
"typescript": "^3.9.7" | ||
} | ||
} |
@@ -24,3 +24,3 @@ # git-tags-remote | ||
`.get(gitUrl)` | ||
Returns a `Promise<Map>` with the Git tags as keys and their commit SHA as values, just like [remote-git-tags](https://github.com/sindresorhus/remote-git-tags). | ||
Returns a `Promise<Map<string, string>>` with the Git tags as keys and their commit SHA as values, just like [remote-git-tags](https://github.com/sindresorhus/remote-git-tags). | ||
* `gitUrl` must be a [valid git url](https://git-scm.com/docs/git-clone#_git_urls_a_id_urls_a). | ||
@@ -30,3 +30,3 @@ e.g. `'https://github.com/sh0ji/git-tags-remote.git'` is valid but `'github.com/sh0ji/git-tags-remote'` is not. | ||
`.latest(gitUrl)` | ||
Returns a `Promise<Array>` with the latest git tag and commit SHA value. | ||
Returns a promised tuple (`Promise<[string, string]>`) with the latest git tag and commit SHA value. | ||
e.g. `['v1.0.0-rc.2', '8e048a0fd9cb668366eef550be445ac761efd667']` |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
8243
14
8
6
1
2
+ Addedsemver@7.6.2(transitive)
- Removedsemver@5.7.2(transitive)
Updatedsemver@^7.3.2