@automattic/jetpack-shared-extension-utils 0.4.6 → 0.4.9

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,18 @@ 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.9] - 2022-06-14
9
+ ### Changed
10
+ - Updated package dependencies. [#24722]
11
+
12
+ ## [0.4.8] - 2022-06-08
13
+ ### Changed
14
+ - Reorder JS imports for `import/order` eslint rule. [#24601]
15
+
16
+ ## [0.4.7] - 2022-05-31
17
+ ### Changed
18
+ - Updated package dependencies. [#24573]
19
+
8
20
  ## [0.4.6] - 2022-05-18
9
21
  ### Changed
10
22
  - Updated package dependencies [#24296]
@@ -65,6 +77,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
65
77
  ### Changed
66
78
  - Core: prepare utility for release
67
79
 
80
+ [0.4.9]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.4.8...0.4.9
81
+ [0.4.8]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.4.7...0.4.8
82
+ [0.4.7]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.4.6...0.4.7
68
83
  [0.4.6]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.4.5...0.4.6
69
84
  [0.4.5]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.4.4...0.4.5
70
85
  [0.4.4]: https://github.com/Automattic/jetpack-shared-extension-utils/compare/0.4.3...0.4.4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-shared-extension-utils",
3
- "version": "0.4.6",
3
+ "version": "0.4.9",
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": {
@@ -17,15 +17,15 @@
17
17
  "test": "NODE_ENV=test NODE_PATH=tests:. js-test-runner --jsdom --initfile=test-main.jsx 'glob:./!(node_modules)/**/test/*.@(jsx|js)'"
18
18
  },
19
19
  "dependencies": {
20
- "@wordpress/compose": "5.6.0",
21
- "@wordpress/i18n": "4.8.0",
22
- "@wordpress/plugins": "4.6.0",
23
- "@wordpress/url": "3.9.0",
20
+ "@wordpress/compose": "5.8.0",
21
+ "@wordpress/i18n": "4.10.0",
22
+ "@wordpress/plugins": "4.8.0",
23
+ "@wordpress/url": "3.11.0",
24
24
  "lodash": "4.17.21"
25
25
  },
26
26
  "devDependencies": {
27
- "@babel/core": "7.17.10",
28
- "@babel/preset-react": "7.16.7",
27
+ "@babel/core": "7.18.5",
28
+ "@babel/preset-react": "7.17.12",
29
29
  "nyc": "15.1.0",
30
30
  "react": "17.0.2"
31
31
  },
@@ -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() } );