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

velocityjs

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

velocityjs - npm Package Compare versions

Comparing version 2.0.6 to 2.1.0-beta

dist/cjs/compile/blocks.js

73

package.json
{
"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
}
}
}
}
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