Comparing version 1.0.1 to 2.0.0
{ | ||
"name": "templyte", | ||
"version": "1.0.1", | ||
"version": "2.0.0", | ||
"description": "Simple Javascript string template. Useful for simple string translations and text replacing.", | ||
"main": "index.js", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"engines": { | ||
"node": ">=14.16" | ||
}, | ||
"files": [ | ||
"dist", | ||
"package.json", | ||
"README.md" | ||
], | ||
"scripts": { | ||
"test": "node_modules/.bin/jest --roots=test" | ||
"build": "tsc", | ||
"prebuild": "npm run test", | ||
"lint": "xo !*.config.js", | ||
"lint:fix": "xo --fix", | ||
"test": "jest --config jest.config.js", | ||
"pretest": "xo !jest.config.js", | ||
"test:watch": "jest --watch", | ||
"prepublish": "npm unlink && npm run build" | ||
}, | ||
@@ -19,2 +35,4 @@ "repository": { | ||
"javascript", | ||
"ts", | ||
"typescript", | ||
"node.js" | ||
@@ -29,7 +47,25 @@ ], | ||
"dependencies": { | ||
"escape-string-regexp": "^1.0.5" | ||
"escape-string-regexp": "4.0.0" | ||
}, | ||
"devDependencies": { | ||
"jest": "^23.6.0" | ||
"@types/jest": "^29.0.0", | ||
"husky": "^8.0.1", | ||
"jest": "^29.0.3", | ||
"lint-staged": "^13.0.3", | ||
"ts-jest": "^29.0.0", | ||
"tsd": "^0.23.0", | ||
"typescript": "^4.8.3", | ||
"xo": "^0.52.3" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "npm test && lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.js": [ | ||
"xo --fix", | ||
"git add" | ||
] | ||
} | ||
} |
@@ -5,7 +5,9 @@ # templyte | ||
[![Build Status][ico-travis]][link-travis] | ||
[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3XKLA6VTYVSKW&source=url) | ||
Simple and lightweight Javascript string template. Useful for simple string translations and text replacing. | ||
## install | ||
You can install it if your Node.JS version is >= 6.x. Then run the following command: | ||
You can install it if your Node.JS version is >= 14.x. Then run the following command: | ||
```bash | ||
@@ -45,3 +47,3 @@ > npm install templyte --save | ||
The MIT License (MIT). Please see [License File](LICENSE.md) for more information. | ||
The MIT License (MIT). Please see [License File](LICENSE) for more information. | ||
@@ -53,2 +55,2 @@ | ||
[link-author]: https://github.com/SiroDiaz | ||
[link-travis]: https://travis-ci.org/SiroDiaz/templyte | ||
[link-travis]: https://travis-ci.org/SiroDiaz/templyte |
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
54
7214
8
5
63
1
+ Addedescape-string-regexp@4.0.0(transitive)
- Removedescape-string-regexp@1.0.5(transitive)
Updatedescape-string-regexp@4.0.0