Comparing version 1.0.1 to 2.0.0
{ | ||
"name": "luyou", | ||
"version": "1.0.1", | ||
"description": "ES modules of page.", | ||
"version": "2.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Roll-es/luyou.git" | ||
"url": "git+https://github.com/npm/deprecate-holder.git" | ||
}, | ||
"keywords": [ | ||
"page" | ||
], | ||
"author": "shyam-chen", | ||
"license": "MIT", | ||
"author": "", | ||
"license": "ISC", | ||
"bugs": { | ||
"url": "https://github.com/Roll-es/luyou/issues" | ||
"url": "https://github.com/npm/deprecate-holder/issues" | ||
}, | ||
"homepage": "https://github.com/Roll-es/luyou#readme", | ||
"dependencies": { | ||
"path-to-regexp": "^1.7.0" | ||
} | ||
"homepage": "https://github.com/npm/deprecate-holder#readme" | ||
} |
@@ -1,28 +0,5 @@ | ||
# luyou | ||
# Deprecated Package | ||
ES modules of [page](https://github.com/visionmedia/page.js). | ||
This package is no longer supported and has been deprecated. To avoid malicious use, npm is hanging on to the package name. | ||
> Tiny [Express](https://github.com/expressjs/express)-inspired client-side router. | ||
## Install | ||
```bash | ||
$ npm i luyou -S | ||
``` | ||
## Example | ||
```js | ||
import luyou from 'luyou'; | ||
const qs = (query) => document.querySelector(query); | ||
luyou('/', () => qs('body').innerHTML = 'Home'); | ||
luyou('/about', () => qs('body').innerHTML = 'About'); | ||
luyou('*', () => qs('body').innerHTML = '404'); | ||
luyou(); | ||
``` | ||
```html | ||
<base href="/"> | ||
``` | ||
Please contact support@npmjs.com if you have questions about this package. |
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
0
667
2
0
6
3
- Removedpath-to-regexp@^1.7.0
- Removedisarray@0.0.1(transitive)
- Removedpath-to-regexp@1.9.0(transitive)