properties-file 2.2.0 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +25 -25
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  ![Dependencies](https://img.shields.io/badge/dependencies-0-green)
7
7
  [![Known Vulnerabilities](https://snyk.io/test/github/Avansai/properties-file/badge.svg?targetFile=package.json)](https://snyk.io/test/github/Avansai/properties-file?targetFile=package.json)
8
8
 
9
- `.properties` JSON converter, file parser and Webpack loader.
9
+ `.properties` file JSON converter, serializer, parser and Webpack loader.
10
10
 
11
11
  ## Installation 💻
12
12
 
@@ -62,11 +62,11 @@ import { propertiesToJson } from 'properties-file/content'
62
62
  console.log(propertiesToJson(propertiesFileContent))
63
63
  ```
64
64
 
65
- ### `escapeKey` and `escapeValue` (converting content to `.properties` format)
65
+ ### `escapeKey` and `escapeValue` (serializing content to `.properties` format)
66
66
 
67
- > ⚠ This package does not offer full-fledged `.properties` file writer that would include a variety of options like modifying an existing file while keeping comments and line breaks intact. If you have any interest into adding this in, pull requests are welcomed!
67
+ > ⚠ This package does not offer a full-fledged `.properties` file writer that would include a variety of options like modifying an existing file while keeping comments and line breaks intact. If you have any interest into adding this in, pull requests are welcomed!
68
68
 
69
- It is possible to use this package to do basic conversion between key/value content into `.properties.` compatible format by using `escapeKey` and `escapeValue`. Here is an example of how it can be done:
69
+ It is possible to use this package serialize content to `.properties.` format by using `escapeKey` and `escapeValue`. Here is an example of how it can be done:
70
70
 
71
71
  ```ts
72
72
  import * as fs from 'node:fs'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "properties-file",
3
- "version": "2.2.0",
3
+ "version": "2.2.2",
4
4
  "description": ".properties file parser, JSON converter and Webpack loader.",
5
5
  "keywords": [
6
6
  ".properties",
@@ -61,30 +61,30 @@
61
61
  "test": "jest --coverage"
62
62
  },
63
63
  "devDependencies": {
64
- "@release-it/conventional-changelog": "^5.1.1",
65
- "@types/jest": "^29.5.0",
66
- "@typescript-eslint/eslint-plugin": "^5.55.0",
67
- "@typescript-eslint/parser": "^5.55.0",
68
- "dotenv-cli": "^7.1.0",
69
- "eslint": "^8.36.0",
70
- "eslint-config-prettier": "^8.7.0",
71
- "eslint-import-resolver-node": "^0.3.7",
72
- "eslint-import-resolver-typescript": "^3.5.3",
73
- "eslint-plugin-import": "^2.27.5",
74
- "eslint-plugin-jest": "^27.2.1",
75
- "eslint-plugin-json-files": "^2.1.0",
76
- "eslint-plugin-prefer-arrow-functions": "^3.1.4",
77
- "eslint-plugin-prettier": "^4.2.1",
78
- "eslint-plugin-tsdoc": "^0.2.17",
79
- "eslint-plugin-unicorn": "^46.0.0",
80
- "jest": "^29.5.0",
81
- "prettier": "^2.8.4",
82
- "prettier-plugin-organize-imports": "^3.2.2",
83
- "prettier-plugin-sh": "^0.12.8",
84
- "release-it": "^15.9.0",
85
- "ts-jest": "^29.0.5",
86
- "ts-node": "^10.9.1",
87
- "typescript": "^5.0.2"
64
+ "@release-it/conventional-changelog": "5.1.1",
65
+ "@types/jest": "29.5.0",
66
+ "@typescript-eslint/eslint-plugin": "5.57.0",
67
+ "@typescript-eslint/parser": "5.57.0",
68
+ "dotenv-cli": "7.1.0",
69
+ "eslint": "8.37.0",
70
+ "eslint-config-prettier": "8.8.0",
71
+ "eslint-import-resolver-node": "0.3.7",
72
+ "eslint-import-resolver-typescript": "3.5.4",
73
+ "eslint-plugin-import": "2.27.5",
74
+ "eslint-plugin-jest": "27.2.1",
75
+ "eslint-plugin-json-files": "2.1.0",
76
+ "eslint-plugin-prefer-arrow-functions": "3.1.4",
77
+ "eslint-plugin-prettier": "4.2.1",
78
+ "eslint-plugin-tsdoc": "0.2.17",
79
+ "eslint-plugin-unicorn": "46.0.0",
80
+ "jest": "29.5.0",
81
+ "prettier": "2.8.7",
82
+ "prettier-plugin-organize-imports": "3.2.2",
83
+ "prettier-plugin-sh": "0.12.8",
84
+ "release-it": "15.10.0",
85
+ "ts-jest": "29.0.5",
86
+ "ts-node": "10.9.1",
87
+ "typescript": "5.0.3"
88
88
  },
89
89
  "engines": {
90
90
  "node": "^14.18.1 || >=16.0.0"