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

@qwant/react-feather-icons

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qwant/react-feather-icons - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

dist/0.js

11

package.json
{
"name": "@qwant/react-feather-icons",
"version": "0.1.7",
"version": "0.1.8",
"description": "React component for Qwant Feather icons",
"main": "build/index.js",
"main": "dist/main.js",
"scripts": {

@@ -12,3 +12,3 @@ "prestart": "yarn link",

"prepare": "npm run build",
"clean": "rm -Rvf build"
"clean": "rm -Rvf dist"
},

@@ -34,2 +34,6 @@ "repository": {

"homepage": "https://github.com/QwantResearch/qwant-react-feather-icons#readme",
"peerDependencies": {
"react": "^16.2.0",
"react-dom": "^16.2.0"
},
"devDependencies": {

@@ -41,3 +45,2 @@ "babel-cli": "^6.24.1",

"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-dynamic-import-webpack": "^1.0.2",
"babel-preset-env": "^1.6.1",

@@ -44,0 +47,0 @@ "babel-preset-react": "^6.24.1",

const path = require('path')
const { NODE_ENV } = process.env
const resolve = pathname => path.resolve(__dirname, pathname)
const nodeModule = name => require.resolve(name)
module.exports = {
devtool: 'cheap-module-source-map',
entry: path.resolve(__dirname, './src/index.js'),
devtool: Object.is(NODE_ENV, 'development') ? 'cheap-module-source-map' : false,
stats: { children: false },
context: resolve('src'),
entry: {
main: resolve('src/index.js'),
vendor: [nodeModule('react'), nodeModule('react-dom')],
},
output: {
path: path.resolve(__dirname, 'build'),
filename: 'index.js',
path: resolve('dist'),
filename: '[name].js',
libraryTarget: 'commonjs2',
},
resolve: {
modules: [resolve('node_modules')],
extensions: ['.js', '.jsx'],
},
module: {
rules: [{
test: /\.(js|jsx)$/,
include: path.resolve(__dirname, 'src'),
include: resolve('src'),
exclude: /(node_modules|bower_components|build)/,
use: require.resolve('babel-loader'),
use: nodeModule('babel-loader'),
}],

@@ -18,0 +32,0 @@ },

Sorry, the diff of this file is not supported yet

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