velocityjs
Advanced tools
Comparing version 2.0.6 to 2.1.0-beta
{ | ||
"name": "velocityjs", | ||
"description": "Velocity Template Language(VTL) for JavaScript", | ||
"version": "2.0.6", | ||
"version": "2.1.0-beta", | ||
"license": "MIT", | ||
@@ -17,20 +17,34 @@ "keywords": [ | ||
}, | ||
"main": "src/velocity.js", | ||
"bin": { | ||
"velocity": "bin/velocity" | ||
"main": "./dist/cjs/index.js", | ||
"module": "./dist/esm/index.mjs", | ||
"types": "./dist/types/index.d.ts", | ||
"exports": { | ||
".": { | ||
"require": "./dist/cjs/index.js", | ||
"import": "./dist/esm/index.js" | ||
} | ||
}, | ||
"browser": { | ||
"fs": false, | ||
"path": false | ||
}, | ||
"files": ["dist", "History.md", "LICENSE", "README.md", "package.json"], | ||
"devDependencies": { | ||
"amplify-appsync-simulator": "^2.3.5", | ||
"auto-changelog": "^2.3.0", | ||
"@types/debug": "^4.1.7", | ||
"@types/jest": "^29.4.0", | ||
"@typescript-eslint/eslint-plugin": "^5.52.0", | ||
"@typescript-eslint/parser": "^5.52.0", | ||
"auto-changelog": "^2.4.0", | ||
"eslint": "^8.34.0", | ||
"eslint-config-prettier": "^8.6.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"jest": "^29.4.2", | ||
"jison": ">=0.3", | ||
"mocha": "^9.1.4", | ||
"nyc": "^15.1.0", | ||
"should": "^13.2.3" | ||
"prettier": "^2.8.4", | ||
"ts-jest": "^29.0.5", | ||
"typescript": "^4.9.5" | ||
}, | ||
"scripts": { | ||
"test": "mocha test --require should", | ||
"test": "jest", | ||
"lint": "eslint 'src/**/*.ts' 'test/**/*.ts'", | ||
"cp": "cat src/parse/index.js | sed 's/exports./export const /g' > dist/esm/parse/index.js", | ||
"build": "rm -rf dist && npm run build:esm && npm run build:cjs", | ||
"build:esm": "tsc --module es2015 --target es5 --outDir dist/esm --project tsconfig.build.json && npm run cp", | ||
"build:cjs": "tsc --module commonjs --target es5 --outDir dist/cjs --project tsconfig.build.json", | ||
"prepublishOnly": "PACKAGE_VERSION=$(node -p -e \"require('./package.json').version\") npm run tag", | ||
@@ -40,3 +54,3 @@ "version": "npm run changelog && git add . && git commit -m 'chore: update history.md' && git push origin", | ||
"changelog": "auto-changelog -p -u", | ||
"ci": "nyc mocha --require should" | ||
"ci": "npm run lint && jest --coverage --no-cache" | ||
}, | ||
@@ -49,9 +63,28 @@ "auto-changelog": { | ||
}, | ||
"spm": { | ||
"main": "index.js", | ||
"buildArgs": "--skip fs,path" | ||
"dependencies": { | ||
"debug": "^4.3.4" | ||
}, | ||
"dependencies": { | ||
"debug": "^4.3.3" | ||
"jest": { | ||
"transform": { | ||
".ts": "ts-jest" | ||
}, | ||
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts)$", | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"js" | ||
], | ||
"coveragePathIgnorePatterns": [ | ||
"/node_modules/", | ||
"/src/parse/", | ||
"/test/" | ||
], | ||
"coverageThreshold": { | ||
"global": { | ||
"branches": 90, | ||
"functions": 95, | ||
"lines": 95, | ||
"statements": 95 | ||
} | ||
} | ||
} | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
465118
74
5230
0
13
2
1
Updateddebug@^4.3.4