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

@movable/data-sources-parser

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@movable/data-sources-parser - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

37

dist/data-sources-parser.amd.js

@@ -135,35 +135,4 @@ define(['exports'], function (exports) { 'use strict';

var _url = url,
searchParams = _url.searchParams,
pathname = _url.pathname;
// Remove the Query Params
var _iteratorNormalCompletion = true;
var _didIteratorError = false;
var _iteratorError = undefined;
try {
for (var _iterator = searchParams.keys()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
var key = _step.value;
searchParams.delete(key);
}
// Remove the fragment, if present
} catch (err) {
_didIteratorError = true;
_iteratorError = err;
} finally {
try {
if (!_iteratorNormalCompletion && _iterator.return) {
_iterator.return();
}
} finally {
if (_didIteratorError) {
throw _iteratorError;
}
}
}
// Remove the fragment and search, if present
url.search = '';
url.hash = '';

@@ -173,3 +142,3 @@

if (docBase) {
url.pathname = pathDir(reconcilePaths(pathname, docBase));
url.pathname = pathDir(reconcilePaths(url.pathname, docBase));
}

@@ -176,0 +145,0 @@

24

karma.conf.js

@@ -17,4 +17,4 @@ const isDevelopment = process.env.NODE_ENV === 'development';

preprocessors: {
'src/index.js': ['webpack'],
'test/**/*.js': ['webpack']
'src/index.js': ['rollup'],
'test/**/*.js': ['rollup']
},

@@ -33,20 +33,10 @@

concurrency: Infinity,
webpack: {
devtool: 'inline-source-map',
module: {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
use: [
'babel-loader'
]
}
]
rollupPreprocessor: {
output: {
name: 'dataSourcesParser',
format: 'iife'
}
},
webpackMiddleware: {
noInfo: true
}
});
};
{
"name": "@movable/data-sources-parser",
"version": "0.2.1",
"version": "0.2.2",
"description": "",

@@ -17,3 +17,2 @@ "main": "src/index.js",

"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-external-helpers": "^6.22.0",

@@ -24,13 +23,11 @@ "babel-preset-env": "^1.6.1",

"karma": "^2.0.0",
"karma-babel-preprocessor": "^7.0.0",
"karma-chrome-launcher": "^2.2.0",
"karma-qunit": "^1.2.1",
"karma-rollup-preprocessor": "^5.1.1",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^2.0.9",
"qunitjs": "^2.4.1",
"release-it": "^6.1.1",
"rollup": "^0.55.3",
"rollup-plugin-babel": "^3.0.3",
"webpack": "^3.10.0"
"rollup-plugin-babel": "^3.0.3"
}
}

@@ -1,4 +0,4 @@

import babel from 'rollup-plugin-babel';
const babel = require('rollup-plugin-babel')
export default {
module.exports = {
input: 'src/index.js',

@@ -5,0 +5,0 @@ output: {

@@ -55,10 +55,4 @@ export default class HTMLNormalizer {

const { searchParams, pathname } = url;
// Remove the Query Params
for (let key of searchParams.keys()) {
searchParams.delete(key);
}
// Remove the fragment, if present
// Remove the fragment and search, if present
url.search = '';
url.hash = '';

@@ -68,3 +62,3 @@

if (docBase) {
url.pathname = pathDir(reconcilePaths(pathname, docBase));
url.pathname = pathDir(reconcilePaths(url.pathname, docBase));
}

@@ -71,0 +65,0 @@

Sorry, the diff of this file is not supported yet

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