hyperapp
Advanced tools
Comparing version 2.0.5 to 2.0.6
{ | ||
"name": "hyperapp", | ||
"description": "The tiny framework for building hypertext applications", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"type": "module", | ||
"main": "src/index.js", | ||
"main": "index.js", | ||
"unpkg": "dist/index.js", | ||
@@ -12,4 +12,3 @@ "license": "MIT", | ||
"files": [ | ||
"src", | ||
"dist" | ||
"*.js*" | ||
], | ||
@@ -28,11 +27,7 @@ "author": "Jorge Bucaran", | ||
"test": "c8 twist test/*.js", | ||
"docs": "cd docs && npm run build", | ||
"build": "export dir=${p:+pkg/$p/} p=$npm_package_name$p; npm run bundle && npm run minify && npm run unpkg", | ||
"unpkg": "terser ${dir}$npm_package_main -o ${dir}$npm_package_unpkg -mc --source-map includeSources,url=$npm_package_main.map --module", | ||
"minify": "terser ${dir}dist/$p.js -o ${dir}dist/$p.js -mc --source-map includeSources,url=$p.js.map", | ||
"bundle": "rollup -i ${dir}$npm_package_main -o ${dir}dist/$p.js --no-strict -mf iife -n $p", | ||
"build": "env dir=${pkg:+pkg/$pkg/} out=$npm_package_name${pkg:+.$pkg}.js npm run minify", | ||
"minify": "terser ${dir}index.js -o ${dir}$out -mc --source-map url=$out.map --module", | ||
"create": "npm run build && git commit -am $msg && git tag -s $msg -m $msg && git push && git push --tags", | ||
"release": "env msg=$(npm run -s message) npm run create && cd ./${p:+pkg/$p} && npm publish --access public", | ||
"message": "echo ${p:+@$npm_package_name/$p@}$(node -p \"require('./${p:+pkg/$p/}package').version\")", | ||
"postinstall": "echo \"Love Hyperapp? Please support me on GitHub <https://github.com/sponsors/jorgebucaran>\"" | ||
"message": "echo ${pkg:+@$npm_package_name/$pkg@}$(node -p \"require('./${pkg:+pkg/$pkg/}package').version\")", | ||
"release": "env msg=$(npm run -s message) npm run create && cd ./${pkg:+pkg/$pkg} && npm publish --access public" | ||
}, | ||
@@ -42,5 +37,4 @@ "devDependencies": { | ||
"twist": "*", | ||
"rollup": "*", | ||
"terser": "*" | ||
} | ||
} |
@@ -79,10 +79,11 @@ # Hyperapp | ||
| Package | Status | About | | ||
| --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- | | ||
| [`@hyperapp/dom`](/pkg/dom) | [![npm](https://img.shields.io/badge/-planned-6a737d?style=for-the-badge&label=)](https://www.npmjs.com/package/@hyperapp/dom) | Manipulate the DOM, focus, blur, and measure elements | | ||
| [`@hyperapp/html`](/pkg/html) | [![npm](https://img.shields.io/npm/v/@hyperapp/html.svg?style=for-the-badge&color=0366d6&label=)](https://www.npmjs.com/package/@hyperapp/html) | Write HTML using functions | | ||
| [`@hyperapp/time`](/pkg/time) | [![npm](https://img.shields.io/npm/v/@hyperapp/time.svg?style=for-the-badge&color=0366d6&label=)](https://www.npmjs.com/package/@hyperapp/time) | Subscribe to intervals, get the time | | ||
| [`@hyperapp/http`](/pkg/http) | [![npm](https://img.shields.io/npm/v/@hyperapp/http.svg?style=for-the-badge&color=0366d6&label=)](https://www.npmjs.com/package/@hyperapp/http) | Talk to servers, make HTTP requests | | ||
| [`@hyperapp/events`](/pkg/events) | [![npm](https://img.shields.io/npm/v/@hyperapp/events.svg?style=for-the-badge&color=0366d6&label=)](https://www.npmjs.com/package/@hyperapp/events) | Listen to events: animation frames, keyboard, mouse, window, and more | | ||
| [`@hyperapp/random`](/pkg/random) | [![npm](https://img.shields.io/badge/-planned-6a737d?style=for-the-badge&label=)](https://www.npmjs.com/package/@hyperapp/random) | Declarative random numbers and values | | ||
| Package | Status | About | | ||
| ----------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- | | ||
| [`@hyperapp/dom`](/pkg/dom) | [![npm](https://img.shields.io/badge/-planned-6a737d?style=for-the-badge&label=)](https://www.npmjs.com/package/@hyperapp/dom) | Manipulate the DOM, focus, blur, and measure elements | | ||
| [`@hyperapp/html`](/pkg/html) | [![npm](https://img.shields.io/npm/v/@hyperapp/html.svg?style=for-the-badge&color=0366d6&label=)](https://www.npmjs.com/package/@hyperapp/html) | Write HTML using functions | | ||
| [`@hyperapp/time`](/pkg/time) | [![npm](https://img.shields.io/npm/v/@hyperapp/time.svg?style=for-the-badge&color=0366d6&label=)](https://www.npmjs.com/package/@hyperapp/time) | Subscribe to intervals, get the time now | | ||
| [`@hyperapp/http`](/pkg/http) | [![npm](https://img.shields.io/npm/v/@hyperapp/http.svg?style=for-the-badge&color=0366d6&label=)](https://www.npmjs.com/package/@hyperapp/http) | Talk to servers, make HTTP requests | | ||
| [`@hyperapp/events`](/pkg/events) | [![npm](https://img.shields.io/npm/v/@hyperapp/events.svg?style=for-the-badge&color=0366d6&label=)](https://www.npmjs.com/package/@hyperapp/events) | Listen to events: animation frames, keyboard, mouse, window, and more | | ||
| [`@hyperapp/random`](/pkg/random) | [![npm](https://img.shields.io/badge/-planned-6a737d?style=for-the-badge&label=)](https://www.npmjs.com/package/@hyperapp/random) | Declarative random numbers and values | | ||
| [`@hyperapp/navigation`](/pkg/navigation) | [![npm](https://img.shields.io/badge/-planned-6a737d?style=for-the-badge&label=)](https://www.npmjs.com/package/@hyperapp/navigation) | Subscribe and manage the browser URL history | | ||
@@ -89,0 +90,0 @@ ## Help, I'm stuck! |
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
3
102
0
29594
6
391
1