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

swup

Package Overview
Dependencies
Maintainers
1
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swup - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

plugins/swupMergeHeadPlugin.js

10

lib/index.js

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

});
exports.swupMergeHeadPlugin = undefined;

@@ -19,5 +18,2 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };

// plugins
var _delegate = require('delegate');

@@ -107,6 +103,2 @@

var _swupMergeHeadPlugin = require('./plugins/swupMergeHeadPlugin');
var _swupMergeHeadPlugin2 = _interopRequireDefault(_swupMergeHeadPlugin);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -116,4 +108,2 @@

exports.swupMergeHeadPlugin = _swupMergeHeadPlugin2.default;
var Swup = function () {

@@ -120,0 +110,0 @@ function Swup(setOptions) {

4

package.json
{
"name": "swup",
"version": "0.3.1",
"version": "0.3.2",
"description": "Animated page transitions with css.",

@@ -8,3 +8,3 @@ "main": "lib/index.js",

"test": "echo \"Error: no test specified\" && exit 1",
"compile": "babel --presets es2015,stage-0 -d lib/ src/",
"compile": "babel --presets es2015,stage-0 -d lib/ src/ && babel --presets es2015,stage-0 -d plugins/ src/plugins/",
"build": "webpack-cli",

@@ -11,0 +11,0 @@ "prepublish": "npm run compile"

@@ -323,3 +323,3 @@ # swup

import Swup from 'swup'
import { pluginName } from 'swup'
import pluginName from 'swup/plugins/pluginName'
```

@@ -326,0 +326,0 @@ or

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