@feliperohdee/satori 0.0.4 → 0.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.

Potentially problematic release.


This version of @feliperohdee/satori might be problematic. Click here for more details.

package/package.json CHANGED
@@ -1,98 +1,98 @@
1
1
  {
2
- "name": "@feliperohdee/satori",
3
- "description": "Enlightened library to convert HTML and CSS to SVG.",
4
- "dependencies": {
5
- "@shuding/opentype.js": "1.4.0-beta.0",
6
- "css-background-parser": "^0.1.0",
7
- "css-box-shadow": "1.0.0-3",
8
- "css-gradient-parser": "^0.0.17",
9
- "css-to-react-native": "3.0.0",
10
- "emoji-regex-xs": "^2.0.1",
11
- "escape-html": "^1.0.3",
12
- "linebreak": "^1.1.0",
13
- "parse-css-color": "^0.2.1",
14
- "postcss-value-parser": "^4.2.0",
15
- "yoga-layout": "^3.2.1"
16
- },
17
- "devDependencies": {
18
- "@resvg/resvg-js": "^2.1.0",
19
- "@types/node": "^16",
20
- "@types/opentype.js": "^1.3.3",
21
- "@types/react": "^17.0.38",
22
- "@typescript-eslint/eslint-plugin": "^5.40.0",
23
- "@typescript-eslint/parser": "^5.40.0",
24
- "eslint": "^8.25.0",
25
- "eslint-plugin-react": "^7.31.10",
26
- "eslint-plugin-react-hooks": "^4.6.0",
27
- "jest-image-snapshot": "^6.1.0",
28
- "prettier": "^2.7.1",
29
- "react": "^17.0.2",
30
- "sharp": "^0.34.3",
31
- "tsup": "^7.1.0",
32
- "typescript": "5.1.3",
33
- "vitest": "^4.1.2"
34
- },
35
- "exports": {
36
- ".": {
37
- "import": "./dist/index.js",
38
- "require": "./dist/index.cjs"
39
- },
40
- "./jsx": {
41
- "import": "./dist/jsx/index.js",
42
- "require": "./dist/jsx/index.cjs",
43
- "types": "./dist/jsx/index.d.ts"
44
- },
45
- "./jsx/jsx-dev-runtime": {
46
- "import": "./dist/jsx/jsx-runtime.js",
47
- "require": "./dist/jsx/jsx-runtime.cjs",
48
- "types": "./dist/jsx/jsx-runtime.d.ts"
49
- },
50
- "./jsx/jsx-runtime": {
51
- "import": "./dist/jsx/jsx-runtime.js",
52
- "require": "./dist/jsx/jsx-runtime.cjs",
53
- "types": "./dist/jsx/jsx-runtime.d.ts"
54
- },
55
- "./package.json": "./package.json",
56
- "./standalone": {
57
- "import": {
58
- "default": "./dist/standalone.js",
59
- "types": "./dist/standalone.d.ts"
60
- },
61
- "require": {
62
- "default": "./dist/standalone.cjs",
63
- "types": "./dist/standalone.d.cts"
64
- }
65
- },
66
- "./yoga.wasm": "./yoga.wasm"
67
- },
68
- "files": [
69
- "dist/**",
70
- "yoga.wasm"
71
- ],
72
- "main": "./dist/index.js",
73
- "module": "./dist/index.js",
74
- "repository": {
75
- "type": "git",
76
- "url": "git+https://github.com/feliperohdee/satori.git"
77
- },
78
- "scripts": {
79
- "build": "yarn build:default && yarn build:standalone",
80
- "build:default": "NODE_ENV=production tsup",
81
- "build:standalone": "NODE_ENV=production SATORI_STANDALONE=1 tsup",
82
- "dev": "NODE_ENV=development tsup src/index.ts --watch",
83
- "dev:test": "NODE_ENV=test vitest --update",
84
- "lint": "prettier --write . && eslint . --ext .js,.jsx,.ts,.tsx --quiet",
85
- "npm:publish": "yarn test && yarn build && yarn version --patch --no-git-tag-version && yarn publish --non-interactive",
86
- "test": "NODE_ENV=test vitest run"
87
- },
88
- "type": "module",
89
- "types": "./dist/index.d.ts",
90
- "typesVersions": {
91
- "*": {
92
- "wasm": [
93
- "./dist/index.d.ts"
94
- ]
95
- }
96
- },
97
- "version": "0.0.4"
2
+ "name": "@feliperohdee/satori",
3
+ "description": "Enlightened library to convert HTML and CSS to SVG.",
4
+ "dependencies": {
5
+ "@shuding/opentype.js": "1.4.0-beta.0",
6
+ "css-background-parser": "^0.1.0",
7
+ "css-box-shadow": "1.0.0-3",
8
+ "css-gradient-parser": "^0.0.17",
9
+ "css-to-react-native": "3.0.0",
10
+ "emoji-regex-xs": "^2.0.1",
11
+ "escape-html": "^1.0.3",
12
+ "linebreak": "^1.1.0",
13
+ "parse-css-color": "^0.2.1",
14
+ "postcss-value-parser": "^4.2.0",
15
+ "yoga-layout": "^3.2.1"
16
+ },
17
+ "devDependencies": {
18
+ "@resvg/resvg-js": "^2.1.0",
19
+ "@types/node": "^16",
20
+ "@types/opentype.js": "^1.3.3",
21
+ "@types/react": "^17.0.38",
22
+ "@typescript-eslint/eslint-plugin": "^5.40.0",
23
+ "@typescript-eslint/parser": "^5.40.0",
24
+ "eslint": "^8.25.0",
25
+ "eslint-plugin-react": "^7.31.10",
26
+ "eslint-plugin-react-hooks": "^4.6.0",
27
+ "jest-image-snapshot": "^6.1.0",
28
+ "prettier": "^2.7.1",
29
+ "react": "^17.0.2",
30
+ "sharp": "^0.34.3",
31
+ "tsup": "^7.1.0",
32
+ "typescript": "5.1.3",
33
+ "vitest": "^4.1.2"
34
+ },
35
+ "exports": {
36
+ ".": {
37
+ "import": "./dist/index.js",
38
+ "require": "./dist/index.cjs"
39
+ },
40
+ "./jsx": {
41
+ "import": "./dist/jsx/index.js",
42
+ "require": "./dist/jsx/index.cjs",
43
+ "types": "./dist/jsx/index.d.ts"
44
+ },
45
+ "./jsx/jsx-dev-runtime": {
46
+ "import": "./dist/jsx/jsx-runtime.js",
47
+ "require": "./dist/jsx/jsx-runtime.cjs",
48
+ "types": "./dist/jsx/jsx-runtime.d.ts"
49
+ },
50
+ "./jsx/jsx-runtime": {
51
+ "import": "./dist/jsx/jsx-runtime.js",
52
+ "require": "./dist/jsx/jsx-runtime.cjs",
53
+ "types": "./dist/jsx/jsx-runtime.d.ts"
54
+ },
55
+ "./package.json": "./package.json",
56
+ "./standalone": {
57
+ "import": {
58
+ "default": "./dist/standalone.js",
59
+ "types": "./dist/standalone.d.ts"
60
+ },
61
+ "require": {
62
+ "default": "./dist/standalone.cjs",
63
+ "types": "./dist/standalone.d.cts"
64
+ }
65
+ },
66
+ "./yoga.wasm": "./yoga.wasm"
67
+ },
68
+ "files": [
69
+ "dist/**",
70
+ "yoga.wasm"
71
+ ],
72
+ "main": "./dist/index.js",
73
+ "module": "./dist/index.js",
74
+ "repository": {
75
+ "type": "git",
76
+ "url": "git+https://github.com/feliperohdee/satori.git"
77
+ },
78
+ "scripts": {
79
+ "build": "yarn build:default && yarn build:standalone",
80
+ "build:default": "NODE_ENV=production tsup",
81
+ "build:standalone": "NODE_ENV=production SATORI_STANDALONE=1 tsup",
82
+ "dev": "NODE_ENV=development tsup src/index.ts --watch",
83
+ "dev:test": "NODE_ENV=test vitest --update",
84
+ "lint": "prettier --write . && eslint . --ext .js,.jsx,.ts,.tsx --quiet",
85
+ "npm:publish": "yarn lint && yarn test && yarn build && yarn version --patch --no-git-tag-version && yarn publish --non-interactive",
86
+ "test": "NODE_ENV=test vitest run"
87
+ },
88
+ "type": "module",
89
+ "types": "./dist/index.d.ts",
90
+ "typesVersions": {
91
+ "*": {
92
+ "wasm": [
93
+ "./dist/index.d.ts"
94
+ ]
95
+ }
96
+ },
97
+ "version": "0.0.6"
98
98
  }