@automattic/jetpack-shared-extension-utils 0.4.7 → 0.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.4.8] - 2022-06-08
9
+ ### Changed
10
+ - Reorder JS imports for `import/order` eslint rule. [#24601]
11
+
8
12
  ## [0.4.7] - 2022-05-31
9
13
  ### Changed
10
14
  - Updated package dependencies. [#24573]
@@ -69,6 +73,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
69
73
  ### Changed
70
74
  - Core: prepare utility for release
71
75
 
76
+ [0.4.8]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.4.7...0.4.8
72
77
  [0.4.7]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.4.6...0.4.7
73
78
  [0.4.6]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.4.5...0.4.6
74
79
  [0.4.5]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.4.4...0.4.5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-shared-extension-utils",
3
- "version": "0.4.7",
3
+ "version": "0.4.8",
4
4
  "description": "Utility functions used by the block editor extensions",
5
5
  "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/shared-extension-utils/#readme",
6
6
  "bugs": {
@@ -1,6 +1,3 @@
1
- /**
2
- * Internal dependencies
3
- */
4
1
  import getJetpackData from './get-jetpack-data';
5
2
 
6
3
  /**
package/src/plan-utils.js CHANGED
@@ -1,21 +1,10 @@
1
- /**
2
- * External dependencies
3
- */
4
- import { compact, get, startsWith, map, filter, head } from 'lodash';
5
-
6
- /**
7
- * WordPress dependencies
8
- */
9
- import { addQueryArgs } from '@wordpress/url';
10
1
  import { __ } from '@wordpress/i18n';
11
-
12
- /**
13
- * Internal dependencies
14
- */
15
- import { isAtomicSite, isSimpleSite } from './site-type-utils';
2
+ import { addQueryArgs } from '@wordpress/url';
3
+ import { compact, get, startsWith, map, filter, head } from 'lodash';
16
4
  import getJetpackData from './get-jetpack-data';
17
5
  import getJetpackExtensionAvailability from './get-jetpack-extension-availability';
18
6
  import getSiteFragment from './get-site-fragment';
7
+ import { isAtomicSite, isSimpleSite } from './site-type-utils';
19
8
 
20
9
  /**
21
10
  * Return the checkout URL to upgrade the site plan,
@@ -1,11 +1,4 @@
1
- /**
2
- * External dependencies
3
- */
4
1
  import { registerPlugin } from '@wordpress/plugins';
5
-
6
- /**
7
- * Internal dependencies
8
- */
9
2
  import getJetpackExtensionAvailability from './get-jetpack-extension-availability';
10
3
 
11
4
  /**
@@ -1,6 +1,3 @@
1
- /**
2
- * Internal dependencies
3
- */
4
1
  import getJetpackData from './get-jetpack-data';
5
2
 
6
3
  /**
@@ -1,8 +1,5 @@
1
1
  /* eslint-disable react/react-in-jsx-scope */
2
2
 
3
- /**
4
- * External dependencies
5
- */
6
3
  import { createHigherOrderComponent } from '@wordpress/compose';
7
4
 
8
5
  import './style.scss';
package/test-main.jsx CHANGED
@@ -1,7 +1,4 @@
1
- /**
2
- * External dependencies
3
- */
4
- import Enzyme from 'enzyme';
5
1
  import Adapter from '@wojtekmaj/enzyme-adapter-react-17';
2
+ import Enzyme from 'enzyme';
6
3
 
7
4
  Enzyme.configure( { adapter: new Adapter() } );