@chakra-ui/css-reset
Advanced tools
Comparing version 1.0.0 to 1.1.0
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
## 1.1.0 | ||
# 1.0.0 (2020-11-13) | ||
### Minor Changes | ||
**Note:** Version bump only for package @chakra-ui/css-reset | ||
- [#4991](https://github.com/chakra-ui/chakra-ui/pull/4991) | ||
[`6095eaf9a`](https://github.com/chakra-ui/chakra-ui/commit/6095eaf9ac64a7e4d9f934bcb530bae2a92111a6) | ||
Thanks [@segunadebayo](https://github.com/segunadebayo)! - Update build system | ||
we use from a custom babel cli setup to | ||
[preconstruct](https://preconstruct.tools/). | ||
The previous build system transpiles the code in `src` directory to `dist/esm` | ||
and `dist/cjs` keeping the same file structure. The new build system merges | ||
all files in `src` and transpiles to a single `esm` and `cjs` file. | ||
**Potential Breaking Change:** The side effect of this is that, if you | ||
imported any function, component or hook using the **undocumented** approach | ||
like | ||
`import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click"`, | ||
you'll notice that the this doesn't work anymore. | ||
Here's how to resolve it: | ||
```jsx live=false | ||
// Won't work 🎇 | ||
import { useOutsideClick } from "@chakra-ui/hooks/dist/use-outside-click" | ||
// Works ✅ | ||
import { useOutsideClick } from "@chakra-ui/hooks" | ||
``` | ||
If this affected your project, we recommend that you import hooks, functions | ||
or components the way it's shown in the documentation. This will help keep | ||
your project future-proof. | ||
All notable changes to this project will be documented in this file. See | ||
[Conventional Commits](https://conventionalcommits.org) for commit guidelines. | ||
# 1.0.0 (2020-11-13) | ||
**Note:** Version bump only for package @chakra-ui/css-reset | ||
# Change Log | ||
@@ -15,0 +45,0 @@ |
{ | ||
"name": "@chakra-ui/css-reset", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "CSS reset component for Chakra UI", | ||
@@ -16,12 +16,5 @@ "keywords": [ | ||
"license": "MIT", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"types": "dist/types/index.d.ts", | ||
"typings": "dist/types/index.d.ts", | ||
"exports": { | ||
".": { | ||
"require": "./dist/cjs/index.js", | ||
"default": "./dist/esm/index.js" | ||
} | ||
}, | ||
"main": "dist/chakra-ui-css-reset.cjs.js", | ||
"module": "dist/chakra-ui-css-reset.esm.js", | ||
"types": "dist/chakra-ui-css-reset.cjs.d.ts", | ||
"files": [ | ||
@@ -35,3 +28,4 @@ "dist" | ||
"type": "git", | ||
"url": "git+https://github.com/chakra-ui/chakra-ui.git" | ||
"url": "git+https://github.com/chakra-ui/chakra-ui.git", | ||
"directory": "packages/css-reset" | ||
}, | ||
@@ -41,16 +35,2 @@ "bugs": { | ||
}, | ||
"scripts": { | ||
"prebuild": "rimraf dist", | ||
"start": "nodemon --watch src --exec yarn build -e ts,tsx", | ||
"build": "concurrently yarn:build:*", | ||
"test": "jest --env=jsdom --passWithNoTests", | ||
"lint": "concurrently yarn:lint:*", | ||
"version": "yarn build", | ||
"build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts,.tsx -d dist/esm --source-maps", | ||
"build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts,.tsx -d dist/cjs --source-maps", | ||
"build:types": "tsc --emitDeclarationOnly --declaration --declarationDir dist/types", | ||
"test:cov": "yarn test --coverage", | ||
"lint:src": "eslint src --ext .ts,.tsx --config ../../.eslintrc", | ||
"lint:types": "tsc --noEmit" | ||
}, | ||
"peerDependencies": { | ||
@@ -60,3 +40,6 @@ "@emotion/react": ">=10.0.35", | ||
}, | ||
"gitHead": "c98ca366cec7151fe7ea4e0b6f893088797c5398" | ||
"devDependencies": { | ||
"@emotion/react": "^11.4.0", | ||
"react": "^17.0.1" | ||
} | ||
} |
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
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
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
769
1
25151
2
10
1