auto-component 0.0.9 → 0.0.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auto-component",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "main": "src/auto-component.jsx",
5
5
  "peerDependencies": {
6
6
  "react": "*",
@@ -1,5 +1,6 @@
1
1
  import { useState, useEffect } from 'react'
2
- import * as beautify from 'js-beautify';
2
+ const beautify = require('js-beautify');
3
+
3
4
  import './auto-component.css'
4
5
 
5
6
  const AutoComponent = () => {
@@ -194,4 +195,4 @@ const AutoComponent = () => {
194
195
  )
195
196
  }
196
197
 
197
- export default AutoComponent
198
+ module.exports = AutoComponent;