iframe-resizer 4.4.0 → 4.4.2

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.
Files changed (3) hide show
  1. package/README.md +9 -5
  2. package/bin/post.js +25 -0
  3. package/package.json +3 -2
package/README.md CHANGED
@@ -1,11 +1,15 @@
1
1
  [<img src="https://iframe-resizer.com/logo-full.svg" alt="" title="" style="margin-bottom: -20px">](https://iframe-resizer.com)
2
2
 
3
- This package is a legacy version of __[iframe-resizer](https://iframe-resizer.com)__. Version 5 is now available via the following packages.
3
+ This package is a legacy version of __[iframe-resizer](https://iframe-resizer.com)__. This project has now been split in to separate packages for the parent and child pages.
4
4
 
5
- * [@iframe-resizer/parent](https://www.npmjs.com/package/@iframe-resizer/parent)
6
- * [@iframe-resizer/child](https://www.npmjs.com/package/@iframe-resizer/child)
7
- * [@iframe-resizer/react](https://www.npmjs.com/package/@iframe-resizer/react)
8
- * [@iframe-resizer/jquery](https://www.npmjs.com/package/@iframe-resizer/jquery)
5
+ * [@iframe-resizer/parent](https://www.npmjs.com/package/@iframe-resizer/parent)
6
+ * [@iframe-resizer/child](https://www.npmjs.com/package/@iframe-resizer/child)
7
+
8
+ Their is now also versions of _iframe-resizer_ for React, Vue and jQuery.
9
+
10
+ * [@iframe-resizer/react](https://www.npmjs.com/package/@iframe-resizer/react)
11
+ * [@iframe-resizer/vue](https://www.npmjs.com/package/@iframe-resizer/vue)
12
+ * [@iframe-resizer/jquery](https://www.npmjs.com/package/@iframe-resizer/jquery)
9
13
 
10
14
  **For more details please see our new website: [https://iframe-resizer.com](https://iframe-resizer.com).**
11
15
 
package/bin/post.js ADDED
@@ -0,0 +1,25 @@
1
+ const msg = [
2
+ '====================================================================',
3
+ '',
4
+ ' IFRAME-RESIZER 5 ',
5
+ '',
6
+ ' Iframe-Resizer 5 is now available via the following two packages:',
7
+ '',
8
+ ' * @iframe-resizer/parent',
9
+ ' * @iframe-resizer/child',
10
+ '',
11
+ ' Additionally their are also new versions of iframe-resizer for',
12
+ ' React, Vue, and jQuery.',
13
+ '',
14
+ ' Version 5 of iframe-resizer has been extensively rewritten to',
15
+ ' use modern browser APIs, which has enabled significantly better',
16
+ ' performance and greater accuracy in the detection of content',
17
+ ' resizing events.',
18
+ '',
19
+ ' Please see https://iframe-resizer.com/upgrade for more details.',
20
+ '',
21
+ '====================================================================',
22
+ '',
23
+ ]
24
+
25
+ msg.forEach(m => console.log(m))
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "iframe-resizer",
3
- "version": "4.4.0",
3
+ "version": "4.4.2",
4
4
  "homepage": "https://iframe-resizer.com",
5
5
  "authors": [
6
6
  "David J. Bradshaw <dave@bradshaw.net>"
7
7
  ],
8
8
  "scripts": {
9
+ "postinstall": "node bin/post.js",
9
10
  "build": "grunt build",
10
11
  "eslint": "eslint *.js src/* --color",
11
12
  "eslint:fix": "npm run eslint -- --fix",
@@ -21,7 +22,7 @@
21
22
  "github": "https://github.com/davidjbradshaw/iframe-resizer",
22
23
  "funding": {
23
24
  "type": "individual",
24
- "url": "https://iframe-resizer.com/licenses/"
25
+ "url": "https://iframe-resizer.com//pricing"
25
26
  },
26
27
  "devDependencies": {
27
28
  "cosmiconfig": "^9.0.0",