jvandemo / jvandemo/copy-github-labels

Deprecation warnings

Open
#15 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
84
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Just used this via the latest published NPM package with Node v15.8.0, received these deprecation warnings:

```bash
[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4
DEPRECATED (@octokit/rest): `issues.getLabels()` is deprecated, use `issues.listLabelsForRepo()`
DEPRECATED (@octokit/rest): callbacks will be removed in v16. Use async/await or Promises instead.
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the warnings using the latest published NPM package with Node v15.8.0 and compare them with the listed upgrade guidance. Trace the reported before-after-hook, issues.getLabels(), and callback usages; done means the package no longer emits these deprecation warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.