Comparing version 0.0.2 to 0.1.0
{ | ||
"name": "runtypes", | ||
"version": "0.0.2", | ||
"description": "Runtime types and validation for JavaScript", | ||
"main": "runtypes.js", | ||
"version": "0.1.0", | ||
"description": "Runtime type validation for TypeScript", | ||
"main": "./lib/index.js", | ||
"types": "./lib/index.d.ts", | ||
"scripts": { | ||
"test": "mocha testSetup.js src/**/*.spec.js --reporter progress", | ||
"test:watch": "npm run test -- --watch", | ||
"build": "browserify -s runtypes src -o runtypes.js -t [ babelify ]", | ||
"build": "tsc --pretty", | ||
"test": "npm run build && jest --verbose", | ||
"develop": "jest --watchAll", | ||
"release": "npm run release:patch", | ||
@@ -17,27 +18,14 @@ "release:patch": "npm run build && xyz --increment patch", | ||
"license": "MIT", | ||
"engines": { | ||
"node": "^6.2.0" | ||
}, | ||
"dependencies": { | ||
"nth": "^0.1.3" | ||
}, | ||
"devDependencies": { | ||
"babel-cli": "6.8.0", | ||
"babel-eslint": "^6.0.4", | ||
"babel-preset-es2015": "^6.9.0", | ||
"babelify": "^7.3.0", | ||
"browserify": "^13.0.1", | ||
"eslint": "^2.10.2", | ||
"eslint-plugin-import": "^1.8.1", | ||
"eslint-watch": "^2.1.11", | ||
"mocha": "2.4.5", | ||
"xyz": "^0.5.0" | ||
"@types/jest": "^16.0.4", | ||
"jest": "^18.1.0", | ||
"ts-jest": "^18.0.2", | ||
"typescript": "^2.1.5", | ||
"xyz": "^2.1.0" | ||
}, | ||
"keywords:": [ | ||
"runtime", | ||
"algebraic", | ||
"data", | ||
"type", | ||
"validation", | ||
"functional" | ||
"typescript" | ||
], | ||
@@ -47,3 +35,15 @@ "repository": { | ||
"url": "https://github.com/pelotom/runtypes" | ||
}, | ||
"jest": { | ||
"verbose": false, | ||
"testRegex": ".*/*.spec.ts$", | ||
"moduleFileExtensions": [ | ||
"js", | ||
"ts" | ||
], | ||
"transform": { | ||
"\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor" | ||
}, | ||
"testEnvironment": "node" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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 2 instances in 1 package
0
5
0
2
0
21591
13
596
1
- Removednth@^0.1.3
- Removednth@0.1.3(transitive)
- Removedvalidator@3.43.0(transitive)