@agoric/nat
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "@agoric/nat", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Ensures that a number is within the natural numbers (0, 1, 2...) or throws a RangeError", | ||
"main": "index-commonjs.js", | ||
"module": "index.js", | ||
"main": "dist/nat.cjs.js", | ||
"module": "dist/nat.esm.js", | ||
"browser": "dist/nat.umd.js", | ||
"scripts": { | ||
"test": "node test/test.js", | ||
"format": "prettier --write '**/*.{js,jsx}'", | ||
"lint": "eslint '**/*.{js,jsx}'", | ||
"create-cjs": "rollup index.js --file index-commonjs.js --format cjs" | ||
"test": "node -r esm test/test.js", | ||
"build": "rollup -c", | ||
"lint-fix": "eslint --fix '**/*.{js,jsx}'", | ||
"lint-check": "eslint '**/*.{js,jsx}'" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/Agoric/Nat.git" | ||
"url": "git+https://github.com/Agoric/nat.git" | ||
}, | ||
@@ -20,5 +21,5 @@ "author": "Agoric", | ||
"bugs": { | ||
"url": "https://github.com/Agoric/Nat/issues" | ||
"url": "https://github.com/Agoric/nat/issues" | ||
}, | ||
"homepage": "https://github.com/Agoric/Nat#readme", | ||
"homepage": "https://github.com/Agoric/nat#readme", | ||
"dependencies": {}, | ||
@@ -33,4 +34,3 @@ "devDependencies": { | ||
"eslint-plugin-react": "^7.12.4", | ||
"husky": "^1.3.1", | ||
"lint-staged": "^8.1.3", | ||
"esm": "^3.2.7", | ||
"prettier": "1.16.4", | ||
@@ -40,18 +40,2 @@ "rollup": "^1.1.2", | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"prettier --write", | ||
"eslint", | ||
"git add" | ||
], | ||
"*.md": [ | ||
"prettier --write", | ||
"git add" | ||
] | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "npm run create-cjs && lint-staged && npm test" | ||
} | ||
}, | ||
"directories": { | ||
@@ -64,3 +48,6 @@ "test": "test" | ||
"overflow" | ||
], | ||
"files": [ | ||
"dist" | ||
] | ||
} |
# Nat | ||
[![Build Status][travis-svg]][travis-url] | ||
[![Build Status][circleci-svg]][circleci-url] | ||
[![dependency status][deps-svg]][deps-url] | ||
@@ -73,4 +72,5 @@ [![dev dependency status][dev-deps-svg]][dev-deps-url] | ||
[travis-svg]: https://travis-ci.com/Agoric/Nat.svg?branch=master | ||
[travis-url]: https://travis-ci.com/Agoric/Nat | ||
[circleci-svg]: https://circleci.com/gh/Agoric/nat.svg?style=svg | ||
[circleci-url]: https://circleci.com/gh/Agoric/nat | ||
[deps-svg]: https://david-dm.org/Agoric/Nat.svg | ||
@@ -77,0 +77,0 @@ [deps-url]: https://david-dm.org/Agoric/Nat |
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
20222
11
6
112
1