react-tooltip 5.3.4-beta.1 → 5.3.4

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 (2) hide show
  1. package/cli.js +2 -2
  2. package/package.json +3 -4
package/cli.js CHANGED
@@ -1,5 +1,5 @@
1
- import fs from 'fs'
2
- import rimraf from 'rimraf'
1
+ const fs = require('fs') // eslint-disable-line @typescript-eslint/no-var-requires
2
+ const rimraf = require('rimraf') // eslint-disable-line @typescript-eslint/no-var-requires
3
3
 
4
4
  const args = process.argv.slice(2)
5
5
  const parameters = args.reduce((acc, arg) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-tooltip",
3
- "version": "5.3.4-beta.1",
3
+ "version": "5.3.4",
4
4
  "description": "react tooltip component",
5
5
  "scripts": {
6
6
  "dev": "node ./cli.js --env=development && node --max_old_space_size=2048 ./node_modules/rollup/dist/bin/rollup -c rollup.config.dev.js --watch",
@@ -13,9 +13,8 @@
13
13
  "prepare": "husky install",
14
14
  "test": "jest"
15
15
  },
16
- "main": "dist/react-tooltip.cjs.js",
17
- "module": "dist/react-tooltip.esm.js",
18
- "browser": "dist/react-tooltip.umd.js",
16
+ "main": "dist/react-tooltip.cjs.min.js",
17
+ "module": "dist/react-tooltip.esm.min.js",
19
18
  "buildFormats": [
20
19
  {
21
20
  "file": "dist/react-tooltip.umd.js",