Socket
Socket
Sign inDemoInstall

@splidejs/splide-extension-url-hash

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.3 to 0.1.4

build/global/config-min.js

6

build/global/config.js

@@ -1,7 +0,5 @@

const uglify = require( 'uglifyjs-webpack-plugin' );
module.exports = {
entry: './build/global/global.js',
output: {
filename: 'splide-extension-url-hash.min.js',
filename: 'splide-extension-url-hash.js',
},

@@ -18,5 +16,5 @@ module: {

optimization: {
minimizer: [ new uglify() ],
minimize: false,
},
mode: 'production',
};

@@ -0,21 +1,10 @@

const config = require( '../global/config' );
module.exports = {
entry: './src/js/splide-extension-url-hash.js',
...config,
output: {
filename : 'splide-extension-url-hash.js',
filename : 'splide-extension-url-hash.esm.js',
library : 'Splide',
libraryTarget: 'umd',
},
module: {
rules: [
{
test : /.js$/,
loader : 'babel-loader',
exclude: /node_modules/,
},
],
},
optimization: {
minimize: false,
},
mode: 'production',
};

@@ -1,12 +0,2 @@

(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
module.exports = factory();
else if(typeof define === 'function' && define.amd)
define([], factory);
else if(typeof exports === 'object')
exports["Splide"] = factory();
else
root["Splide"] = factory();
})(window, function() {
return /******/ (function(modules) { // webpackBootstrap
/******/ (function(modules) { // webpackBootstrap
/******/ // The module cache

@@ -102,3 +92,6 @@ /******/ var installedModules = {};

"use strict";
// ESM COMPAT FLAG
__webpack_require__.r(__webpack_exports__);
// CONCATENATED MODULE: ./src/js/splide-extension-url-hash.js
/**

@@ -128,3 +121,3 @@ * The extension component for listening to URL hash change

/* harmony default export */ __webpack_exports__["default"] = (function (Splide, Components) {
/* harmony default export */ var splide_extension_url_hash = (function (Splide, Components) {
var URLHash = {

@@ -192,5 +185,15 @@ /**

});
// CONCATENATED MODULE: ./build/global/global.js
/**
* Set the URL hash extension to the global object.
*
* @author Naotoshi Fujita
* @copyright Naotoshi Fujita. All rights reserved.
*/
window.splide = window.splide || {};
window.splide.Extensions = window.splide.Extensions || {};
window.splide.Extensions.URLHash = splide_extension_url_hash;
/***/ })
/******/ ]);
});
/******/ ]);

@@ -17,2 +17,6 @@ 'use strict';

},
minified: {
path: './build/global/config-min',
dest: './dist/js',
},
module: {

@@ -19,0 +23,0 @@ path: './build/module/config',

{
"name": "@splidejs/splide-extension-url-hash",
"version": "0.1.3",
"version": "0.1.4",
"description": "The extension of Splide for URL hash navigation.",

@@ -8,2 +8,3 @@ "author": "Naotoshi Fujita",

"main": "dist/js/splide-extension-url-hash.js",
"module": "dist/js/splide-extension-url-hash.esm.js",
"keywords": [

@@ -31,2 +32,3 @@ "splide",

"gulp": "^4.0.2",
"serialize-javascript": "^3.0.0",
"uglifyjs-webpack-plugin": "^2.2.0",

@@ -33,0 +35,0 @@ "webpack": "^4.42.1",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc