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

immutable-linked-ordered-map

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

immutable-linked-ordered-map - npm Package Compare versions

Comparing version 0.17.3 to 0.18.0

7

package.json
{
"name": "immutable-linked-ordered-map",
"version": "0.17.3",
"version": "0.18.0",
"description": "ImmutableLinkedOrderedMap: A JavaScript immutable linked ordered map",

@@ -14,8 +14,9 @@ "main": "dist/immutable-linked-ordered-map.js",

"type": "git",
"url": "git+https://github.com/tonix-tuft/immutable-linked-ordered-map.git"
"url": "https://github.com/tonix-tuft/immutable-linked-ordered-map.git"
},
"keywords": [
"javascript",
"js",
"immutable",
"data-structure",
"javascript",
"ordered-map",

@@ -22,0 +23,0 @@ "map",

@@ -1,66 +0,68 @@

var webpack = require('webpack');
var libraryName = 'immutable-linked-ordered-map';
var outputFile = libraryName + '.js';
var srcEntryPoint = 'ImmutableLinkedOrderedMap.js'
const webpack = require("webpack");
const libraryName = "immutable-linked-ordered-map";
let outputFile = libraryName + ".js";
const library = "ImmutableLinkedOrderedMap";
const srcEntryPoint = "ImmutableLinkedOrderedMap.js";
const path = require("path");
var TerserPlugin = require('terser-webpack-plugin')
var env = process.env.WEBPACK_ENV;
const TerserPlugin = require("terser-webpack-plugin");
const env = process.env.WEBPACK_ENV;
if (env === 'build') {
outputFile = libraryName + '.min.js';
if (env === "build") {
outputFile = libraryName + ".min.js";
} else {
outputFile = libraryName + ".js";
}
else {
outputFile = libraryName + '.js';
}
var config = {
entry: __dirname + '/src/' + srcEntryPoint,
devtool: 'source-map',
output: {
path: __dirname + '/dist',
filename: outputFile,
library: libraryName,
libraryTarget: 'umd',
umdNamedDefine: true
},
module: {
rules: [
{
test: /(\\.jsx|\\.js)$/,
loader: 'babel',
exclude: /(node_modules|bower_components)/
},
{
test: /(\\.jsx|\\.js)$/,
loader: "eslint-loader",
exclude: /node_modules/
}
]
},
resolve: {
extensions: ['.js']
}
entry: __dirname + "/src/" + srcEntryPoint,
devtool: "source-map",
output: {
path: path.resolve(__dirname, "./dist"),
filename: outputFile,
library: library,
libraryTarget: "umd",
globalObject: "this",
umdNamedDefine: true,
libraryExport: "default"
},
module: {
rules: [
{
test: /(\\.jsx|\\.js)$/,
loader: "babel-loader",
exclude: /(node_modules|bower_components)/
},
{
test: /(\\.jsx|\\.js)$/,
loader: "eslint-loader",
exclude: /node_modules/
}
]
},
resolve: {
extensions: [".js"]
}
};
if (env === 'build') {
config.optimization = {
minimize: true,
minimizer: [
new TerserPlugin({
parallel: true,
terserOptions: {
output: {
comments: false,
}
}
})
]
};
config.mode = 'production';
config.devtool = false;
if (env === "build") {
config.optimization = {
minimize: true,
minimizer: [
new TerserPlugin({
parallel: true,
terserOptions: {
output: {
comments: false
}
}
})
]
};
config.mode = "production";
config.devtool = false;
} else {
config.mode = "development";
}
else {
config.mode = 'development';
}
module.exports = config;
module.exports = config;

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

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