get-npm-tarball-url
Advanced tools
Comparing version 2.0.2 to 3.0.0-0
@@ -1,5 +0,3 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const normalizeRegistry = require("normalize-registry-url"); | ||
function default_1(pkgName, pkgVersion, opts) { | ||
import normalizeRegistry from 'normalize-registry-url'; | ||
export default function (pkgName, pkgVersion, opts) { | ||
const registry = normalizeRegistry(opts && opts.registry || 'https://registry.npmjs.org/'); | ||
@@ -9,3 +7,2 @@ const scopelessName = getScopelessName(pkgName); | ||
} | ||
exports.default = default_1; | ||
function removeBuildMetadataFromVersion(version) { | ||
@@ -12,0 +9,0 @@ const plusPos = version.indexOf('+'); |
{ | ||
"name": "get-npm-tarball-url", | ||
"version": "2.0.2", | ||
"version": "3.0.0-0", | ||
"description": "Create the tarball URL of a npm package", | ||
"main": "lib/index.js", | ||
"type": "module", | ||
"typings": "lib/index.d.ts", | ||
@@ -11,5 +12,5 @@ "files": [ | ||
"scripts": { | ||
"test": "preview && ts-node test --type-check", | ||
"test": "NODE_OPTIONS=--experimental-vm-modules jest", | ||
"tsc": "tsc", | ||
"prepublishOnly": "npm run tsc" | ||
"prepublishOnly": "pnpm tsc" | ||
}, | ||
@@ -21,3 +22,3 @@ "repository": { | ||
"engines": { | ||
"node": ">=4" | ||
"node": ">=12.17" | ||
}, | ||
@@ -40,7 +41,8 @@ "keywords": [ | ||
"devDependencies": { | ||
"@types/tape": "^4.2.29", | ||
"package-preview": "^1.0.3", | ||
"tape": "^5.0.0", | ||
"ts-node": "^7.0.0", | ||
"typescript": "^3.0.0" | ||
"@babel/core": "^7.13.14", | ||
"@types/jest": "^26.0.22", | ||
"jest": "27.0.0-next.7", | ||
"ts-jest": "27.0.0-next.10", | ||
"ts-node": "^9.1.1", | ||
"typescript": "^4.2.3" | ||
}, | ||
@@ -47,0 +49,0 @@ "dependencies": { |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Yes
4431
6
21
1