style-to-object 1.0.5 → 1.0.6

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 +1 -1
  2. package/package.json +19 -21
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
  [![codecov](https://codecov.io/gh/remarkablemark/style-to-object/branch/master/graph/badge.svg?token=XWxph9dpa4)](https://codecov.io/gh/remarkablemark/style-to-object)
9
9
  [![NPM downloads](https://badgen.net/npm/dm/style-to-object)](https://www.npmjs.com/package/style-to-object)
10
10
 
11
- Parses inline style to object:
11
+ Parse CSS inline style to JavaScript object:
12
12
 
13
13
  ```js
14
14
  import parse from 'style-to-object';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "style-to-object",
3
- "version": "1.0.5",
4
- "description": "Converts inline style to object.",
3
+ "version": "1.0.6",
4
+ "description": "Parse CSS inline style to JavaScript object.",
5
5
  "author": "Mark <mark@remarkablemark.org>",
6
6
  "main": "./cjs/index.js",
7
7
  "module": "./esm/index.mjs",
@@ -18,9 +18,8 @@
18
18
  "lint": "eslint --ignore-path .gitignore .",
19
19
  "lint:fix": "npm run lint -- --fix",
20
20
  "lint:tsc": "tsc --noEmit",
21
- "_postinstall": "husky install",
22
- "postpublish": "pinst --enable",
23
- "prepublishOnly": "pinst --disable && run-s lint lint:tsc test clean build",
21
+ "prepare": "husky",
22
+ "prepublishOnly": "run-s lint lint:tsc test clean build",
24
23
  "test": "jest",
25
24
  "test:ci": "CI=true jest --ci --colors --coverage",
26
25
  "test:esm": "npm run build:cjs && node --test __tests__",
@@ -43,29 +42,28 @@
43
42
  "pojo"
44
43
  ],
45
44
  "dependencies": {
46
- "inline-style-parser": "0.2.2"
45
+ "inline-style-parser": "0.2.3"
47
46
  },
48
47
  "devDependencies": {
49
- "@commitlint/cli": "18.4.3",
50
- "@commitlint/config-conventional": "18.4.3",
48
+ "@commitlint/cli": "19.2.1",
49
+ "@commitlint/config-conventional": "19.1.0",
51
50
  "@rollup/plugin-commonjs": "25.0.7",
52
51
  "@rollup/plugin-node-resolve": "15.2.3",
53
52
  "@rollup/plugin-terser": "0.4.4",
54
- "@rollup/plugin-typescript": "11.1.5",
55
- "@types/jest": "29.5.10",
56
- "@typescript-eslint/eslint-plugin": "6.13.1",
57
- "@typescript-eslint/parser": "6.13.1",
58
- "eslint": "8.54.0",
59
- "eslint-plugin-prettier": "5.0.1",
60
- "husky": "8.0.3",
53
+ "@rollup/plugin-typescript": "11.1.6",
54
+ "@types/jest": "29.5.12",
55
+ "@typescript-eslint/eslint-plugin": "7.4.0",
56
+ "@typescript-eslint/parser": "7.4.0",
57
+ "eslint": "8.57.0",
58
+ "eslint-plugin-prettier": "5.1.3",
59
+ "husky": "9.0.11",
61
60
  "jest": "29.7.0",
62
- "lint-staged": "15.1.0",
61
+ "lint-staged": "15.2.2",
63
62
  "npm-run-all": "4.1.5",
64
- "pinst": "3.0.0",
65
- "prettier": "3.1.0",
66
- "rollup": "4.6.1",
67
- "ts-jest": "29.1.1",
68
- "typescript": "5.3.2"
63
+ "prettier": "3.2.5",
64
+ "rollup": "4.13.0",
65
+ "ts-jest": "29.1.2",
66
+ "typescript": "5.4.3"
69
67
  },
70
68
  "files": [
71
69
  "/cjs",