babel-plugin-mobx-observer-on-every-react-component
Advanced tools
Comparing version
{ | ||
"name": "babel-plugin-mobx-observer-on-every-react-component", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"description": "Wrap literally every React component in an MobX observer higher order component.", | ||
@@ -13,14 +13,15 @@ "keywords": [ | ||
"author": "Tyler Williams", | ||
"main": "dist/index.js", | ||
"module": "src/index.mjs", | ||
"main": "dist/index.cjs.js", | ||
"module": "dist/index.esm.js", | ||
"exports": { | ||
".": { | ||
"import": "./src/index.mjs", | ||
"require": "./dist/index.js", | ||
"default": "./dist/index.js" | ||
"import": "./dist/index.esm.js", | ||
"require": "./dist/index.cjs.js", | ||
"default": "./dist/index.cjs.js" | ||
} | ||
}, | ||
"files": [ | ||
"dist/index.js", | ||
"src/index.mjs" | ||
"dist/index.cjs.js", | ||
"dist/index.esm.js", | ||
"src/index.ts" | ||
], | ||
@@ -34,7 +35,16 @@ "repository": "https://github.com/coolsoftwaretyler/babel-plugin-mobx-observer-on-every-react-component", | ||
"@babel/preset-env": "^7.25.4", | ||
"@babel/preset-react": "^7.24.7" | ||
"@babel/preset-react": "^7.24.7", | ||
"@types/babel__core": "^7.20.5", | ||
"@types/babel__helper-plugin-utils": "^7.10.3", | ||
"mobx": "^6.13.1", | ||
"mobx-react": "^9.1.1", | ||
"rimraf": "^5.0.0", | ||
"typescript": "^5.0.0" | ||
}, | ||
"scripts": { | ||
"build": "babel src/index.mjs --out-file dist/index.js" | ||
"clean": "rimraf dist", | ||
"build": "npm run clean && npm run build:cjs && npm run build:esm", | ||
"build:cjs": "tsc --module commonjs --outDir dist && mv dist/index.js dist/index.cjs.js", | ||
"build:esm": "tsc --module es2015 --outDir dist && mv dist/index.js dist/index.esm.js" | ||
} | ||
} | ||
} |
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
43366
76.96%4
33.33%913
63.33%12
100%1
Infinity%