Socket
Socket
Sign inDemoInstall

@interactjs/dev-tools

Package Overview
Dependencies
2
Maintainers
2
Versions
117
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.10.2 to 1.10.3

24

babel-plugin-prod.js

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

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)

@@ -31,3 +27,5 @@ const resolved = require.resolve(source.value, { paths })

// eslint-disable-next-line no-console
console.warn('[@interactjs/dev-tools] You\'re using the production plugin in the development environment. You might lose out on some helpful hints!')
console.warn(
"[@interactjs/dev-tools] You're using the production plugin in the development environment. You might lose out on some helpful hints!",
)
}

@@ -46,8 +44,10 @@

function shouldIgnoreImport (source) {
return !source ||
// only change @interactjs scoped imports
!source.value.startsWith('@interactjs/') ||
// ignore imports of prod files
source.value.endsWith(PROD_EXT) ||
source.value.endsWith(PROD_EXT + '.js')
return (
!source ||
// only change @interactjs scoped imports
!source.value.startsWith('@interactjs/') ||
// ignore imports of prod files
source.value.endsWith(PROD_EXT) ||
source.value.endsWith(PROD_EXT + '.js')
)
}

@@ -54,0 +54,0 @@

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

@@ -11,0 +11,0 @@ "publishConfig": {

/* eslint-disable no-console */
import { Scope } from "../core/scope.js";
import domObjects from "../utils/domObjects.js";

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

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

import{Scope as o}from"../core/scope.prod.js";import i from"../utils/domObjects.prod.js";import{parentNode as t}from"../utils/domUtils.prod.js";import s from"../utils/extend.prod.js";import r from"../utils/is.prod.js";import*as n from"../utils/window.prod.js";var e;(o=>{o.touchAction="touchAction",o.boxSizing="boxSizing",o.noListeners="noListeners"})(e||(e={}));e.touchAction,e.boxSizing,e.noListeners;const m={id:"dev-tools",install(){}};export default m;
import o from"../utils/domObjects.prod.js";import{parentNode as i}from"../utils/domUtils.prod.js";import t from"../utils/extend.prod.js";import s from"../utils/is.prod.js";import*as r from"../utils/window.prod.js";var n;(o=>{o.touchAction="touchAction",o.boxSizing="boxSizing",o.noListeners="noListeners"})(n||(n={}));n.touchAction,n.boxSizing,n.noListeners;const d={id:"dev-tools",install(){}};export default d;
//# sourceMappingURL=plugin.prod.js.map

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc