@sebgroup/frontend-tools
Advanced tools
Comparing version 1.8.1 to 1.8.2
{ | ||
"name": "@sebgroup/frontend-tools", | ||
"version": "1.8.1", | ||
"author": "sebgroup", | ||
"version": "1.8.2", | ||
"main": "index.js", | ||
"description": "A set of frontend tools", | ||
"scripts": { | ||
"build:production": "webpack", | ||
"clean:dist": "rimraf ./dist", | ||
"clean:test": "rimraf ./coverage", | ||
"clean": "npm run clean:dist && npm run clean:test", | ||
"copy": "cp package.json dist/ && cp README.md dist/", | ||
"lint": "tslint -p tsconfig.json", | ||
"build": "npm run clean && npm run lint && npm run test && npm run build:production", | ||
"pretest": "npm run clean:test", | ||
"test": "cross-env NODE_ICU_DATA=node_modules/full-icu jest --forceExit --detectOpenHandles", | ||
"commit": "git-cz", | ||
"semantic-release": "semantic-release", | ||
"sanitize": "package-lock-sanitizer && git add package-lock.json" | ||
}, | ||
"publishConfig": { | ||
@@ -36,70 +24,3 @@ "registry": "https://registry.npmjs.org/", | ||
], | ||
"license": "Apache-2.0", | ||
"bin": { | ||
"generate-api": "./bin/generate-api" | ||
}, | ||
"dependencies": { | ||
"@openapitools/openapi-generator-cli": "^1.0.12-4.3.0", | ||
"commander": "^5.0.0" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "9.1.1", | ||
"@commitlint/config-conventional": "^9.1.2", | ||
"@semantic-release/changelog": "^5.0.1", | ||
"@types/jest": "^26.0.0", | ||
"@types/node": "^14.0.1", | ||
"case-sensitive-paths-webpack-plugin": "^2.3.0", | ||
"commitizen": "^4.0.3", | ||
"copy-webpack-plugin": "^6.0.1", | ||
"cross-env": "^7.0.2", | ||
"cz-conventional-changelog": "^3.0.2", | ||
"dargs": "^7.0.0", | ||
"fibers": "^5.0.0", | ||
"full-icu": "^1.3.1", | ||
"husky": "^4.2.5", | ||
"jest": "^25.2.4", | ||
"jsdom": "^16.0.0", | ||
"jsdom-global": "^3.0.2", | ||
"openapi-types": "^1.3.5", | ||
"package-lock-sanitizer": "^1.0.1", | ||
"raf": "^3.4.1", | ||
"semantic-release": "^17.0.2", | ||
"ts-jest": "^25.3.0", | ||
"ts-loader": "^7.0.0", | ||
"tslib": "^2.0.0", | ||
"tslint": "^6.0.0", | ||
"typescript": "^3.7.5", | ||
"webpack": "^4.41.5", | ||
"webpack-cli": "^3.3.9" | ||
}, | ||
"config": { | ||
"commitizen": { | ||
"path": "./node_modules/cz-conventional-changelog" | ||
} | ||
}, | ||
"commitlint": { | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
] | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "npm run sanitize && npm run lint", | ||
"commit-msg": "commitlint --edit" | ||
} | ||
}, | ||
"release": { | ||
"pkgRoot": ".", | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
"@semantic-release/changelog", | ||
"@semantic-release/npm", | ||
"@semantic-release/github" | ||
] | ||
}, | ||
"engines": { | ||
"node": ">=10.0.0", | ||
"npm": ">=6.0.0" | ||
} | ||
"license": "Apache-2.0" | ||
} |
@@ -6,2 +6,4 @@ [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) | ||
[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=sebgroup/frontend-tools)](https://dependabot.com) | ||
[![npm version](https://badge.fury.io/js/%40sebgroup%2Ffrontend-tools.svg)](https://www.npmjs.com/package/@sebgroup/frontend-tools) | ||
[![tree shakable](https://img.shields.io/badge/%F0%9F%8C%B2-tree--shakable-brightgreen)] | ||
@@ -12,4 +14,8 @@ # **Frontend tools** | ||
This library is **tree-shakable** 🎉. | ||
## **Installation** | ||
### npm | ||
```terminal | ||
@@ -19,2 +25,8 @@ npm install @sebgroup/frontend-tools | ||
### yarn | ||
```terminal | ||
yarn add @sebgroup/frontend-tools | ||
``` | ||
## **Usage** | ||
@@ -27,3 +39,3 @@ | ||
```typescript | ||
import { isStrongPassword } from "@sebgroup/frontend-tools/dist/isStrongPassword"; | ||
import { isStrongPassword } from "@sebgroup/frontend-tools"; | ||
``` | ||
@@ -34,3 +46,3 @@ | ||
```typescript | ||
const isStrongPassword = require("@sebgroup/frontend-tools/dist/isStrongPassword"); | ||
const isStrongPassword = require("@sebgroup/frontend-tools"); | ||
``` | ||
@@ -37,0 +49,0 @@ |
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
Network access
Supply chain riskThis module accesses the network.
Found 4 instances in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 11 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
0
0
0
0
52
0
1
69674
578
- Removedcommander@^5.0.0
- Removed@openapitools/openapi-generator-cli@1.0.12-4.3.0(transitive)
- Removedcommander@5.1.0(transitive)