New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dvm

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dvm - npm Package Compare versions

Comparing version 0.1.7 to 0.2.0

.github/ISSUE_TEMPLATE/bug_report.md

19

bin/dvm.js

@@ -66,3 +66,3 @@ #!/usr/bin/env node

.action(function() {
list_verions();
list_versions();
});

@@ -73,3 +73,4 @@

.description("Install deno <version>")
.action(function(version) {
.option("-r, --registry <source>", "source registry")
.action(function(version, cmd) {
I("check whether the current version is installed");

@@ -86,5 +87,5 @@ if (fs.existsSync(path.join(DVM_PATH, version))) {

I("deno v%s is not installed", version);
I("try to download...", version);
I("try to download version:%s, registry:%s", version, cmd.registry);
download(version)
download(version, cmd.registry)
.then(filePath => extractDownload(filePath, path.join(DVM_PATH, version)))

@@ -115,3 +116,3 @@ .then(() => {

const current = current_verion();
const current = current_version();

@@ -155,4 +156,4 @@ if (current === "") {

function list_verions() {
const current = current_verion();
function list_versions() {
const current = current_version();
fs.readdirSync(DVM_PATH).forEach(function(denos) {

@@ -165,3 +166,3 @@ if (denos[0] !== ".") {

function current_verion() {
function current_version() {
let version = "";

@@ -246,3 +247,3 @@

*/
function get_download_url(version, registry = "denocn") {
function get_download_url(version, registry = "deno") {
I("using mirror %s", registry);

@@ -249,0 +250,0 @@ const url_prefix = registries[registry].registry;

{
"name": "dvm",
"version": "0.1.7",
"version": "0.2.0",
"keywords": [

@@ -19,3 +19,9 @@ "deno",

"scripts": {
"lint": "eslint ."
"clean": "rimraf -rf dist/*",
"lint": "eslint .",
"fix": "eslint --fix .",
"test": "jest",
"coverage": "jest --coverage",
"codecov": "jest --coverage && codecov",
"preinstall": "node scripts/preinstall.js"
},

@@ -38,3 +44,3 @@ "engines": {

"compressing": "^1.3.1",
"debug": "^3.1.0",
"debug": "^4.1.0",
"ini": "^1.3.5",

@@ -46,8 +52,11 @@ "is-admin": "^2.1.1",

"request-progress": "^3.0.0",
"string-similarity": "^1.2.1"
"string-similarity": "^3.0.0"
},
"devDependencies": {
"babel-jest": "^23.4.2",
"codecov": "^3.1.0",
"eslint": "^5.5.0",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-prettier": "^3.0.0",
"jest": "^23.5.0",
"prettier": "^1.14.2",

@@ -54,0 +63,0 @@ "rimraf": "^2.6.2"

@@ -16,3 +16,3 @@ Deno Version Manager

- [ ] `dvm ls-remote`
- [ ] `dvm install x.x.x -r denocn`
- [x] `dvm install x.x.x -r denocn`

@@ -19,0 +19,0 @@ Installation

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

Sorry, the diff of this file is not supported yet

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