@atlaskit/radio
Advanced tools
Comparing version 0.4.7 to 0.5.0
# @atlaskit/radio | ||
## 0.5.0 | ||
- [minor] [76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6): | ||
- Drop ES5 from all the flow modules | ||
### Dropping CJS support in all @atlaskit packages | ||
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only distribute esm. This means all distributed code will be transpiled, but will still contain `import` and | ||
`export` declarations. | ||
The major reason for doing this is to allow us to support multiple entry points in packages, e.g: | ||
```js | ||
import colors from `@atlaskit/theme/colors`; | ||
``` | ||
Previously this was sort of possible for consumers by doing something like: | ||
```js | ||
import colors from `@atlaskit/theme/dist/esm/colors`; | ||
``` | ||
This has a couple of issues. 1, it treats the file system as API making internal refactors harder, we have to worry about how consumers might be using things that aren't *actually* supposed to be used. 2. We are unable to do this *internally* in @atlaskit packages. This leads to lots of packages bundling all of theme, just to use a single color, especially in situations where tree shaking fails. | ||
To support being able to use multiple entrypoints internally, we unfortunately cannot have multiple distributions as they would need to have very different imports from of their own internal dependencies. | ||
ES Modules are widely supported by all modern bundlers and can be worked around in node environments. | ||
We may choose to revisit this solution in the future if we find any unintended condequences, but we see this as a pretty sane path forward which should lead to some major bundle size decreases, saner API's and simpler package architecture. | ||
Please reach out to #fabric-build (if in Atlassian) or create an issue in [Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for external) if you have any questions or queries about this. | ||
## 0.4.7 | ||
@@ -4,0 +36,0 @@ - [patch] [942e0aec04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/942e0aec04): |
{ | ||
"name": "@atlaskit/radio", | ||
"version": "0.4.7", | ||
"version": "0.5.0", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/radio", | ||
"version": "0.4.7", | ||
"version": "0.5.0", | ||
"description": "A radio group React component used for selecting discrete values in a form", | ||
"license": "Apache-2.0", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"module": "index.js", | ||
"atlaskit:src": "src/index.js", | ||
"atlaskit:designLink": "https://atlassian.design/guidelines/product/components/radios", | ||
"sideEffects": false, | ||
"files": [ | ||
"dist" | ||
], | ||
"author": "Atlassian Pty Ltd", | ||
"maintainers": [ | ||
"Sean C", | ||
"Charles L", | ||
"Mike G" | ||
"Ajay M", | ||
"Daniel D", | ||
"Kang C" | ||
], | ||
"repository": "https://bitbucket.org/atlassian/atlaskit-mk-2", | ||
"dependencies": { | ||
"@atlaskit/analytics-next": "^3.1.2", | ||
"@atlaskit/icon": "^16.0.0", | ||
"@atlaskit/theme": "^7.0.1", | ||
"@atlaskit/analytics-next": "^4.0.0", | ||
"@atlaskit/icon": "^16.0.4", | ||
"@atlaskit/theme": "^8.0.0", | ||
"@babel/runtime": "^7.0.0" | ||
@@ -33,7 +30,7 @@ }, | ||
"@atlaskit/build-utils": "^2.0.0", | ||
"@atlaskit/button": "^10.1.2", | ||
"@atlaskit/checkbox": "^5.0.14", | ||
"@atlaskit/docs": "^6.0.1", | ||
"@atlaskit/form": "^5.1.2", | ||
"@atlaskit/section-message": "^1.0.16", | ||
"@atlaskit/button": "^10.1.3", | ||
"@atlaskit/checkbox": "^6.0.0", | ||
"@atlaskit/docs": "^7.0.0", | ||
"@atlaskit/form": "^5.1.8", | ||
"@atlaskit/section-message": "^2.0.0", | ||
"@atlaskit/visual-regression": "^0.0.1", | ||
@@ -40,0 +37,0 @@ "enzyme": "^3.7.0", |
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
985
55588
31
1
+ Added@atlaskit/analytics-next@4.0.5(transitive)
- Removed@atlaskit/analytics-next@3.2.1(transitive)
- Removed@atlaskit/theme@7.0.5(transitive)
- Removedbabel-runtime@6.26.0(transitive)
- Removedcore-js@2.6.12(transitive)
- Removedregenerator-runtime@0.11.1(transitive)
Updated@atlaskit/icon@^16.0.4
Updated@atlaskit/theme@^8.0.0