Socket
Socket
Sign inDemoInstall

git-tags-remote

Package Overview
Dependencies
1
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.0.3

dist/index.d.ts

2

CHANGELOG.md

@@ -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 @@

43

package.json
{
"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']`
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc