Comparing version 0.0.40 to 0.0.41
{ | ||
"name": "satori", | ||
"version": "0.0.40", | ||
"version": "0.0.41", | ||
"description": "Enlightened library to convert HTML and CSS to SVG.", | ||
"module": "./dist/esm/index.js", | ||
"main": "./dist/esm/index.js", | ||
"module": "./dist/index.js", | ||
"main": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
@@ -16,4 +16,10 @@ "type": "module", | ||
"./package.json": "./package.json", | ||
".": "./dist/esm/index.js", | ||
"./wasm": "./dist/esm/index.wasm.js" | ||
".": { | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
}, | ||
"./wasm": { | ||
"import": "./dist/index.wasm.js", | ||
"require": "./dist/index.wasm.cjs" | ||
} | ||
}, | ||
@@ -42,6 +48,12 @@ "repository": { | ||
"@types/yoga-layout": "^1.9.4", | ||
"@typescript-eslint/eslint-plugin": "^5.40.0", | ||
"@typescript-eslint/parser": "^5.40.0", | ||
"@vitest/ui": "^0.7.6", | ||
"concurrently": "^7.3.0", | ||
"esbuild-plugin-replace": "^1.2.0", | ||
"eslint": "^8.25.0", | ||
"eslint-plugin-react": "^7.31.10", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"jest-image-snapshot": "^5.2.0", | ||
"prettier": "^2.7.1", | ||
"react": "^17.0.2", | ||
@@ -73,4 +85,8 @@ "tsup": "^5.11.13", | ||
"test": "NODE_ENV=test vitest run --outputTruncateLength=9999999", | ||
"dev:test": "NODE_ENV=test vitest --update --outputTruncateLength=9999999" | ||
"dev:test": "NODE_ENV=test vitest --update --outputTruncateLength=9999999", | ||
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --quiet", | ||
"lint:fix": "pnpm lint --fix", | ||
"prettier-check": "prettier --check .", | ||
"prettier-fix": "prettier --write ." | ||
} | ||
} |
@@ -1,4 +0,4 @@ | ||
import Satori, { init } from './dist/esm/index.wasm.js' | ||
import Satori, { init } from './dist/index.wasm.js' | ||
export default Satori | ||
export { init } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
5794201
23
27946
20
3
12
7