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

@interactjs/dev-tools

Package Overview
Dependencies
Maintainers
2
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@interactjs/dev-tools - npm Package Compare versions

Comparing version 1.10.3 to 1.10.5

visualizer/plugin.stub.js

12

babel-plugin-prod.js

@@ -7,5 +7,3 @@ /* global process, __dirname */

function fixImportSource ({ node: { source } }, { filename }) {
if (shouldIgnoreImport(source)) {
return
}
if (shouldIgnoreImport(source)) return

@@ -15,7 +13,11 @@ let resolvedShort = ''

try {
const paths = [filename && path.dirname(filename), __dirname, process.cwd()].filter(p => !!p)
const paths = [filename && path.dirname(filename), __dirname, process.cwd()].filter((p) => !!p)
const resolved = require.resolve(source.value, { paths })
const resolvedWithoutScopePath = resolved.replace(/.*[\\/]@interactjs[\\/]/, '')
resolvedShort = '@interactjs/' + resolved.replace(/.*\/@interactjs\//, '')
resolvedShort = path
.join('@interactjs', resolvedWithoutScopePath)
// windows path to posix
.replace(/\\/g, '/')
source.value = resolvedShort.replace(/(\.js)?$/, PROD_EXT)

@@ -22,0 +24,0 @@ } catch (e) {}

{
"name": "@interactjs/dev-tools",
"version": "1.10.3",
"license": "MIT",
"dependencies": {
"@interactjs/utils": "1.10.3"
"version": "1.10.5",
"peerDependencies": {
"@interactjs/modifiers": "1.10.5",
"@interactjs/utils": "1.10.5"
},
"optionalDependencies": {
"@interactjs/interact": "1.10.3"
"@interactjs/interact": "1.10.5"
},

@@ -17,3 +17,4 @@ "publishConfig": {

"**/index.prod.js"
]
],
"license": "MIT"
}

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

/* eslint-disable no-console */
import domObjects from "../utils/domObjects.js";

@@ -21,3 +20,3 @@ import { parentNode } from "../utils/domUtils.js";

const isProduction = "development" === 'production'; // eslint-disable-next-line no-restricted-syntax
const isProduction = "development" === 'production';

@@ -43,3 +42,4 @@ function install(scope, {

return this.options.devTools;
};
}; // scope.usePlugin(visualizer)
}

@@ -46,0 +46,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