Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

henrybuilt-js-library

Package Overview
Dependencies
Maintainers
1
Versions
440
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

henrybuilt-js-library - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

6

package.json
{
"name": "henrybuilt-js-library",
"version": "1.0.1",
"version": "1.0.2",
"description": "",

@@ -17,7 +17,5 @@ "main": "index.js",

"webpack": "^4.19.1",
"webpack-cli": "^3.1.1"
},
"dependencies": {
"webpack-cli": "^3.1.1",
"lodash": "^4.17.11"
}
}
module.exports = {
sort(array) {
return array.sort((a, b) => a - b);
},
next(array, index) {

@@ -29,3 +25,3 @@ return index === array.length - 1 ? array[0] : array[index + 1];

median(array) {
array = lib.array.sort(array);
array = lib.sort(array);

@@ -32,0 +28,0 @@ if (array.length % 2 === 0) { // array with even number elements

@@ -13,3 +13,2 @@ var _ = require('lodash');

lib.round = (value, options) => {

@@ -16,0 +15,0 @@ if (typeof(value) === 'object') {

@@ -5,25 +5,26 @@ var path = require('path');

module.exports = {
entry: './src/index.js',
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'main.js'
},
module: {
rules: [
{
test: /\.js$/,
exclude: /(node_modules)/,
use: {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env']
}
mode: 'production',
entry: './src/index.js',
output: {
path: path.resolve(__dirname, 'dist'),
filename: 'main.js'
},
module: {
rules: [
{
test: /\.js$/,
exclude: /(node_modules)/,
use: {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env']
}
}
]
},
stats: {
colors: true
},
devtool: 'source-map'
}
]
},
stats: {
colors: true
},
devtool: 'source-map'
};

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

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