libnpmhook
Advanced tools
Comparing version 8.0.2 to 8.0.3
@@ -16,3 +16,3 @@ 'use strict' | ||
type = 'owner' | ||
name = name.substr(1) | ||
name = name.slice(1) | ||
} | ||
@@ -19,0 +19,0 @@ return fetch.json('/-/npm/v1/hooks/hook', { |
{ | ||
"name": "libnpmhook", | ||
"version": "8.0.2", | ||
"version": "8.0.3", | ||
"description": "programmatic API for managing npm registry hooks", | ||
"main": "lib/index.js", | ||
"files": [ | ||
"bin", | ||
"lib" | ||
"bin/", | ||
"lib/" | ||
], | ||
@@ -14,4 +14,4 @@ "scripts": { | ||
"test": "tap", | ||
"lint": "eslint '**/*.js'", | ||
"postlint": "npm-template-check", | ||
"lint": "eslint \"**/*.js\"", | ||
"postlint": "template-oss-check", | ||
"lintfix": "npm run lint -- --fix", | ||
@@ -23,3 +23,3 @@ "preversion": "npm test", | ||
"posttest": "npm run lint", | ||
"template-copy": "npm-template-copy --force" | ||
"template-oss-apply": "template-oss-apply --force" | ||
}, | ||
@@ -31,3 +31,3 @@ "tap": { | ||
"type": "git", | ||
"url": "https://github.com/npm/cli", | ||
"url": "https://github.com/npm/cli.git", | ||
"directory": "workspaces/libnpmhook" | ||
@@ -48,12 +48,14 @@ }, | ||
"devDependencies": { | ||
"@npmcli/template-oss": "^2.4.2", | ||
"nock": "^9.6.1", | ||
"tap": "^15.1.0" | ||
"@npmcli/eslint-config": "^3.0.1", | ||
"@npmcli/template-oss": "3.3.2", | ||
"nock": "^13.2.4", | ||
"tap": "^16.0.1" | ||
}, | ||
"engines": { | ||
"node": "^12.13.0 || ^14.15.0 || >=16" | ||
"node": "^12.13.0 || ^14.15.0 || >=16.0.0" | ||
}, | ||
"templateOSS": { | ||
"version": "2.9.2" | ||
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", | ||
"version": "3.3.2" | ||
} | ||
} |
@@ -5,3 +5,3 @@ # libnpmhook | ||
[![license](https://img.shields.io/npm/l/libnpmhook.svg)](https://npm.im/libnpmhook) | ||
[![Coverage Status](https://coveralls.io/repos/github/npm/libnpmhook/badge.svg?branch=latest)](https://coveralls.io/github/npm/libnpmhook?branch=latest) | ||
[![CI - libnpmhook](https://github.com/npm/cli/actions/workflows/ci-libnpmhook.yml/badge.svg)](https://github.com/npm/cli/actions/workflows/ci-libnpmhook.yml) | ||
@@ -8,0 +8,0 @@ [`libnpmhook`](https://github.com/npm/libnpmhook) is a Node.js library for |
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
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
11231
4