New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-tippy2

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-tippy2 - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

5

docs/src/index.js
import React from 'react'
import { render } from 'react-dom'
import Tippy2 from '../../src/tippy2'
import Tippy2 from '../../dist/tippy2'
class App extends React.Component {
render () {
const html = () => {

@@ -13,3 +12,2 @@ return (

}
return (

@@ -24,5 +22,4 @@ <div>

}
render((
<App />
), document.getElementById('app'))

13

package.json
{
"name": "react-tippy2",
"version": "1.0.2",
"version": "1.0.3",
"description": "",
"main": "src/index.js",
"main": "dist/tippy2.js",
"scripts": {
"build": "webpack -p"
"build": "webpack -d"
},

@@ -12,9 +12,11 @@ "author": "",

"dependencies": {
"prop-types": "^15.6.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"prop-types": "^15.6.1",
"tippy.js": "^2.3.0"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-loader": "^7.1.4",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",

@@ -26,6 +28,5 @@ "babel-preset-es2015": "^6.24.1",

"style-loader": "^0.20.3",
"webpack": "^4.1.1",
"webpack-cli": "^2.0.12",
"webpack": "^3.6.0",
"webpack-dev-server": "^3.1.1"
}
}

@@ -1,1 +0,3 @@

export { default as Tippy2 } from './Tippy2'
import Tippy2 from './Tippy2'
export default Tippy2
const path = require('path')
const BUILD_DIR = path.resolve(__dirname, 'dist')
const APP_DIR = path.resolve(__dirname, 'src')
module.exports = {
entry: APP_DIR,
entry: './src/index.js',
output: {
path: BUILD_DIR,
path: path.resolve(__dirname, 'dist'),
publicPath: '/',
library: 'Tippy2',
libraryTarget: 'umd',
filename: 'tippy2.js'

@@ -19,3 +18,3 @@ },

{
test: /\.js|.jsx?$/,
test: /\.js?$/,
exclude: /(node_modules)/,

@@ -41,4 +40,3 @@ use: {

commonjs: 'react',
amd: 'react',
umd: 'react'
amd: 'react'
},

@@ -49,6 +47,5 @@ 'react-dom': {

commonjs: 'react-dom',
amd: 'react-dom',
umd: 'react-dom'
amd: 'react-dom'
}
}
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc