Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tiged

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiged - npm Package Compare versions

Comparing version 2.12.2 to 2.12.3

28

help.md

@@ -5,3 +5,3 @@ # _tiged_

`degit <src>[#ref] [<dest>] [options]`
`tiged <src>[#ref] [<dest>] [options]`

@@ -34,2 +34,8 @@ Fetches the `src` repo, and extracts it to `dest` (or the current directory).

## Hugging Face repos
huggingface:user/repo
git@huggingface.co:user/repo
https://huggingface.co/user/repo
You can append a #ref to any of the above:

@@ -54,12 +60,12 @@

`--help`, `-h` Show this message
`--offline-mode`, `-o` Only use local cache. No fetching data online.
`--cache`, `-c` Same as above. Deprecated. Will be removed in v3.X
`--no-cache`, `-n` Do not use cache. Always fetch data online.
`--force`, `-f` Allow non-empty destination directory
`--verbose`, `-v` Extra logging
`--subgroup`, `-s` Use if repo is in a subroup (GitLab)
`--mode=`, `-m=` Force the mode by which degit clones the repo
Valid options are `tar` or `git` (uses SSH)
`--help`, `-h` Show this message
`--offline-mode`, `-o` Only use local cache. No fetching data online.
`--cache`, `-c` Same as above. Deprecated. Will be removed in v3.X
`--disable-cache`, `-D` Do not use cache. Always fetch data online.
`--force`, `-f` Allow non-empty destination directory
`--verbose`, `-v` Extra logging
`--subgroup`, `-s` Use if repo is in a subroup (GitLab)
`--mode=`, `-m=` Force the mode by which degit clones the repo
Valid options are `tar` or `git` (uses SSH)
See https://github.com/Rich-Harris/degit for more information
See https://github.com/tiged/tiged for more information
{
"name": "tiged",
"version": "2.12.2",
"version": "2.12.3",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=8.0.0"

@@ -56,2 +56,7 @@ > This is a community driven fork of [degit](https://github.com/Rich-Harris/degit) because it isn't being maintained.

tiged https://git.sr.ht/user/repo
# download from Hugging Face
tiged huggingface:user/repo
tiged git@huggingface.co:user/repo
tiged https://huggingface.co/user/repo
```

@@ -58,0 +63,0 @@

@@ -344,5 +344,6 @@ const fs = require('fs-extra');

async _cloneWithGit(_dir, dest) {
const gitPath = /https:\/\//.test(this.repo.src)
let gitPath = /https:\/\//.test(this.repo.src)
? this.repo.url
: this.repo.ssh;
gitPath = this.repo.site === 'huggingface' ? this.repo.url : gitPath;
const isWin = process.platform === 'win32';

@@ -387,3 +388,4 @@ if (this.repo.subdir) {

bitbucket: '.com',
'git.sr.ht': '.ht'
'git.sr.ht': '.ht',
huggingface: '.co'
};

@@ -418,3 +420,3 @@

const mode = supported[siteName] || supported[site] ? 'tar' : 'git';
const mode = siteName === 'huggingface' ? 'git' : supported[siteName] || supported[site] ? 'tar' : 'git';

@@ -421,0 +423,0 @@ return { site: siteName, user, name, ref, url, ssh, subdir, mode, src };

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc