@rpxl/recast
Advanced tools
Comparing version 1.0.7 to 2.0.0
114
package.json
{ | ||
"name": "@rpxl/recast", | ||
"license": "MIT", | ||
"version": "1.0.7", | ||
"version": "2.0.0", | ||
"type": "module", | ||
@@ -10,47 +10,21 @@ "sideEffects": false, | ||
}, | ||
"main": "./dist/cjs/index.js", | ||
"module": "./dist/esm/index.js", | ||
"types": "./dist/cjs/index.d.ts", | ||
"exports": { | ||
"./core": { | ||
"types": "./dist/core.d.ts", | ||
"import": "./dist/core.esm.js", | ||
"require": "./dist/core.cjs", | ||
"default": "./dist/core.modern.js" | ||
"./dist/cjs/types": { | ||
"types": "./dist/cjs/types.d.ts" | ||
}, | ||
"./client": { | ||
"types": "./dist/client.d.ts", | ||
"import": "./dist/client.esm.js", | ||
"require": "./dist/client.cjs", | ||
"default": "./dist/client.modern.js" | ||
"./dist/esm/types": { | ||
"types": "./dist/esm/types.d.ts" | ||
}, | ||
"./server": { | ||
"types": "./dist/server.d.ts", | ||
"import": "./dist/server.esm.js", | ||
"require": "./dist/server.cjs", | ||
"default": "./dist/server.modern.js" | ||
}, | ||
"./dist/core": { | ||
"types": "./dist/core.d.ts", | ||
"import": "./dist/core.esm.js", | ||
"require": "./dist/core.cjs", | ||
"default": "./dist/core.modern.js" | ||
}, | ||
"./dist/client": { | ||
"types": "./dist/client.d.ts", | ||
"import": "./dist/client.esm.js", | ||
"require": "./dist/client.cjs", | ||
"default": "./dist/client.modern.js" | ||
}, | ||
"./dist/server": { | ||
"types": "./dist/server.d.ts", | ||
"import": "./dist/server.esm.js", | ||
"require": "./dist/server.cjs", | ||
"default": "./dist/server.modern.js" | ||
}, | ||
"./dist/core/types": { | ||
"types": "./dist/core/types.d.ts" | ||
}, | ||
"./dist/client/types": { | ||
"types": "./dist/client/types.d.ts" | ||
}, | ||
"./dist/server/types": { | ||
"types": "./dist/server/types.d.ts" | ||
".": { | ||
"import": { | ||
"types": "./dist/esm/index.d.ts", | ||
"default": "./dist/esm/index.js" | ||
}, | ||
"require": { | ||
"types": "./dist/cjs/index.d.ts", | ||
"default": "./dist/cjs/index.js" | ||
} | ||
} | ||
@@ -60,5 +34,5 @@ }, | ||
"dist", | ||
"core", | ||
"client", | ||
"server" | ||
"server", | ||
"../../README.md", | ||
"!**/__tests__/**" | ||
], | ||
@@ -78,30 +52,36 @@ "peerDependencies": { | ||
"scripts": { | ||
"build": "microbundle src/{core,client,server}.ts --jsx React.createElement", | ||
"dev": "microbundle watch src/{core,client,server}.ts --jsx React.createElement", | ||
"prebuild": "rimraf dist", | ||
"build": "npm run build:esm && npm run build:cjs", | ||
"build:esm": "tsc --outDir dist/esm", | ||
"build:cjs": "tsc --project ./tsconfig.cjs.json --outDir dist/cjs", | ||
"test": "jest", | ||
"test:watch": "jest --watch" | ||
"test:watch": "jest --watch", | ||
"test:coverage": "jest --coverage", | ||
"test:coverage:watch": "jest --coverage --watch" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^29.5.1", | ||
"@types/node": "^18.16.3", | ||
"@types/react": "^18.2.0", | ||
"@types/react-dom": "^18.2.1", | ||
"@typescript-eslint/eslint-plugin": "^5.59.1", | ||
"@typescript-eslint/parser": "^5.59.1", | ||
"eslint": "^8.39.0", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-import-resolver-typescript": "^3.5.5", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-n": "^15.7.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"@testing-library/react": "^14.1.0", | ||
"@types/jest": "^29.5.8", | ||
"@types/node": "^20.9.0", | ||
"@types/react": "^18.2.37", | ||
"@types/react-dom": "^18.2.15", | ||
"@typescript-eslint/eslint-plugin": "^6.10.0", | ||
"@typescript-eslint/parser": "^6.10.0", | ||
"eslint": "^8.53.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-import-resolver-typescript": "^3.6.1", | ||
"eslint-plugin-import": "^2.29.0", | ||
"eslint-plugin-n": "^16.3.0", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"eslint-plugin-promise": "^6.1.1", | ||
"eslint-plugin-react": "^7.32.2", | ||
"jest": "^29.5.0", | ||
"microbundle": "^0.15.1", | ||
"prettier": "^2.8.8", | ||
"eslint-plugin-react": "^7.33.2", | ||
"jest": "^29.7.0", | ||
"jest-environment-jsdom": "^29.7.0", | ||
"prettier": "^3.0.3", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"ts-jest": "^29.1.0", | ||
"typescript": "5.1.6" | ||
"rimraf": "^5.0.5", | ||
"ts-jest": "^29.1.1", | ||
"typescript": "5.2.2" | ||
} | ||
} |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
110
1263
1
1
39
1
85748
23
1