Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atlaskit/navigation-next

Package Overview
Dependencies
Maintainers
1
Versions
246
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/navigation-next - npm Package Compare versions

Comparing version 4.5.0 to 5.0.0

api/types.js

4

AsyncLayoutManagerWithViewController.js

@@ -1,3 +0,1 @@

// All entrypoints will be replaced with start with `./dist/esm/` instead of `..` folder since they're connected to the bundle
import AsyncLayoutManagerWithViewController from './dist/esm/components/connected/AsyncLayoutManagerWithViewController';
export default AsyncLayoutManagerWithViewController;
export { default as AsyncLayoutManagerWithViewController } from './components/connected/AsyncLayoutManagerWithViewController';

@@ -6,4 +6,4 @@ [

"stats": {
"size": 118616,
"gzipSize": 23667
"size": 117462,
"gzipSize": 23718
}

@@ -15,4 +15,4 @@ },

"stats": {
"size": 299072,
"gzipSize": 85735
"size": 301540,
"gzipSize": 86257
}

@@ -24,4 +24,4 @@ },

"stats": {
"size": 135907,
"gzipSize": 33136
"size": 135272,
"gzipSize": 33316
}

@@ -41,6 +41,6 @@ },

"stats": {
"size": 552841,
"gzipSize": 145196
"size": 553514,
"gzipSize": 145971
}
}
]
# @atlaskit/navigation-next
## 5.0.0
- [major] [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.
## 4.5.0

@@ -4,0 +36,0 @@ - [minor] [bfe0b36312](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bfe0b36312):

{
"name": "@atlaskit/navigation-next",
"version": "4.5.0",
"version": "5.0.0",
"sideEffects": false
}

@@ -1,3 +0,1 @@

// All entrypoints will be replaced with start with `./dist/esm/` instead of `..` folder since they're connected to the bundle
import GlobalNavigationSkeleton from './dist/esm/components/presentational/GlobalNavigationSkeleton';
export default GlobalNavigationSkeleton;
export { default as GlobalNavigationSkeleton } from './components/presentational/GlobalNavigationSkeleton';

@@ -1,3 +0,1 @@

// All entrypoints will be replaced with start with `./dist/esm/` instead of `..` folder since they're connected to the bundle
import ItemsRenderer from './dist/esm/renderer';
export default ItemsRenderer;
export { default as ItemsRenderer } from './renderer';

@@ -1,3 +0,1 @@

// All entrypoints will be replaced with start with `./dist/esm/` instead of `..` folder since they're connected to the bundle
import LayoutManagerWithViewController from './dist/esm/components/connected/LayoutManagerWithViewController';
export default LayoutManagerWithViewController;
export { default as LayoutManagerWithViewController } from './components/connected/LayoutManagerWithViewController';

@@ -1,3 +0,1 @@

// All entrypoints will be replaced with start with `./dist/esm/` instead of `..` folder since they're connected to the bundle
import NavigationProvider from './dist/esm/provider/NavigationProvider';
export default NavigationProvider;
export { default as NavigationProvider } from './provider/NavigationProvider';
{
"name": "@atlaskit/navigation-next",
"version": "4.5.0",
"version": "5.0.0",
"description": "The Atlassian navigation component.",
"license": "Apache-2.0",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"module": "index.js",
"atlaskit:src": "src/index.js",
"sideEffects": false,
"files": [
"dist",
"!dist/{esm,cjs}/scripts",
"*.js*"
],
"author": "Atlassian Pty Ltd",

@@ -22,10 +16,10 @@ "maintainers": [

"dependencies": {
"@atlaskit/analytics-namespaced-context": "^2.1.5",
"@atlaskit/analytics-next": "^3.1.2",
"@atlaskit/avatar": "^14.1.8",
"@atlaskit/icon": "^16.0.0",
"@atlaskit/select": "^7.0.0",
"@atlaskit/spinner": "^9.0.13",
"@atlaskit/theme": "^7.0.1",
"@atlaskit/tooltip": "^12.1.15",
"@atlaskit/analytics-namespaced-context": "^2.2.1",
"@atlaskit/analytics-next": "^4.0.0",
"@atlaskit/avatar": "^15.0.0",
"@atlaskit/icon": "^16.0.4",
"@atlaskit/select": "^8.0.0",
"@atlaskit/spinner": "^10.0.0",
"@atlaskit/theme": "^8.0.0",
"@atlaskit/tooltip": "^13.0.0",
"@babel/runtime": "^7.0.0",

@@ -49,18 +43,18 @@ "chromatism": "^2.6.0",

"devDependencies": {
"@atlaskit/analytics-listeners": "^4.1.4",
"@atlaskit/badge": "^9.2.2",
"@atlaskit/analytics-listeners": "^4.2.1",
"@atlaskit/badge": "^10.0.0",
"@atlaskit/build-utils": "^2.0.0",
"@atlaskit/button": "^10.1.2",
"@atlaskit/docs": "^6.0.1",
"@atlaskit/drawer": "^2.7.1",
"@atlaskit/dropdown-menu": "^6.1.26",
"@atlaskit/field-base": "^11.0.14",
"@atlaskit/global-navigation": "^5.5.2",
"@atlaskit/inline-dialog": "^9.0.15",
"@atlaskit/logo": "^9.2.7",
"@atlaskit/lozenge": "^6.2.4",
"@atlaskit/modal-dialog": "^7.2.3",
"@atlaskit/onboarding": "^6.1.16",
"@atlaskit/section-message": "^1.0.16",
"@atlaskit/toggle": "^5.0.15",
"@atlaskit/button": "^10.1.3",
"@atlaskit/docs": "^7.0.0",
"@atlaskit/drawer": "^3.0.0",
"@atlaskit/dropdown-menu": "^7.0.0",
"@atlaskit/field-base": "^12.0.0",
"@atlaskit/global-navigation": "^6.0.0",
"@atlaskit/inline-dialog": "^10.0.0",
"@atlaskit/logo": "^10.0.0",
"@atlaskit/lozenge": "^7.0.0",
"@atlaskit/modal-dialog": "^8.0.0",
"@atlaskit/onboarding": "^7.0.0",
"@atlaskit/section-message": "^2.0.0",
"@atlaskit/toggle": "^6.0.0",
"@atlaskit/webdriver-runner": "^0.1.0",

@@ -75,6 +69,3 @@ "enzyme": "^3.7.0",

"react-router-dom": "^4.2.2"
},
"scripts": {
"build": "node src/scripts/build-entrypoints.js"
}
}
}

@@ -1,3 +0,1 @@

// All entrypoints will be replaced with start with `./dist/esm/` instead of `..` folder since they're connected to the bundle
import SkeletonContainerView from './dist/esm/components/presentational/SkeletonContainerView';
export default SkeletonContainerView;
export { default as SkeletonContainerView } from './components/presentational/SkeletonContainerView';

@@ -1,4 +0,3 @@

// All entrypoints will be replaced with start with `./dist/esm/` instead of `..` folder since they're connected to the bundle
export { default as UIController } from './dist/esm/ui-controller/UIController';
export { default as UIControllerSubscriber } from './dist/esm/ui-controller/UIControllerSubscriber';
export { default as withNavigationUIController } from './dist/esm/ui-controller/withNavigationUIController';
export { default as UIController } from './ui-controller/UIController';
export { default as UIControllerSubscriber } from './ui-controller/UIControllerSubscriber';
export { default as withNavigationUIController } from './ui-controller/withNavigationUIController';
{
"name": "@atlaskit/navigation-next",
"version": "4.5.0",
"version": "5.0.0",
"sideEffects": false
}
// All entrypoints will be replaced with start with `./dist/esm/` instead of `..` folder since they're connected to the bundle
export { default as ViewController } from './dist/esm/view-controller/ViewController';
export { default as ViewControllerSubscriber } from './dist/esm/view-controller/ViewControllerSubscriber';
export { default as withNavigationViewController } from './dist/esm/view-controller/withNavigationViewController';
export { default as viewReducerUtils } from './dist/esm/view-controller/reducer-utils';
export { default as ViewController } from './view-controller/ViewController';
export { default as ViewControllerSubscriber } from './view-controller/ViewControllerSubscriber';
export { default as withNavigationViewController } from './view-controller/withNavigationViewController';
export { default as viewReducerUtils } from './view-controller/reducer-utils';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc