Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

allow-only

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

allow-only - npm Package Compare versions

Comparing version 0.0.0 to 0.1.0

dist/bin.js

42

package.json
{
"name": "allow-only",
"version": "0.0.0",
"description": "An 0 dependency version of https://npm.im/only-allow",
"main": "index.js",
"version": "0.1.0",
"description": "An zero-dependency version of https://npm.im/only-allow",
"main": "dist/bin.js",
"bin": "dist/bin.js",
"files": [
"dist/bin.js"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"prepublishOnly": "pnpm run clean && pnpm run build",
"clean": "rimraf ./dist",
"build": "rollup --configPlugin rollup-plugin-swc3 -c",
"hello-pm": "node --eval 'console.log(process.env.npm_config_user_agent)'"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SukkaW/only-allow.git"
"url": "git+https://github.com/SukkaW/allow-only.git"
},

@@ -16,5 +23,26 @@ "author": "Sukka <https://skk.moe>",

"bugs": {
"url": "https://github.com/SukkaW/only-allow/issues"
"url": "https://github.com/SukkaW/allow-only/issues"
},
"homepage": "https://github.com/SukkaW/only-allow#readme"
"homepage": "https://github.com/SukkaW/allow-only#readme",
"devDependencies": {
"@rollup/plugin-commonjs": "^23.0.2",
"@rollup/plugin-node-resolve": "^15.0.1",
"@swc/core": "^1.3.15",
"@swc/helpers": "^0.4.12",
"@types/node": "^18.11.9",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"eslint": "^8.27.0",
"eslint-config-sukka": "^1.6.16",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.26.0",
"picocolors": "^1.0.0",
"rimraf": "^3.0.2",
"rollup": "^3.3.0",
"rollup-plugin-swc3": "^0.7.0",
"typescript": "^4.8.4"
},
"engines": {
"node": ">=12"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc