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

@preact/preset-vite

Package Overview
Dependencies
Maintainers
10
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@preact/preset-vite - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

4

dist/cjs/devtools.js

@@ -32,3 +32,3 @@ "use strict";

var _b = _a === void 0 ? {} : _a, _c = _b.injectInProd, injectInProd = _c === void 0 ? false : _c;
var log = debug_1["default"]("vite:preact-devtools");
var log = (0, debug_1["default"])("vite:preact-devtools");
var entry = "";

@@ -52,3 +52,3 @@ var config;

found = true;
entry = vite_1.normalizePath(path_1["default"].join(config.root, id));
entry = (0, vite_1.normalizePath)(path_1["default"].join(config.root, id));
// TODO: Vite types require explicit return

@@ -55,0 +55,0 @@ // undefined here. They're lacking the "void" type

@@ -60,3 +60,3 @@ "use strict";

}
return [4 /*yield*/, core_1.transformAsync(code, {
return [4 /*yield*/, (0, core_1.transformAsync)(code, {
plugins: ["babel-plugin-transform-hook-names"],

@@ -63,0 +63,0 @@ filename: id,

@@ -31,7 +31,7 @@ "use strict";

},
devtools_js_1.preactDevtoolsPlugin({ injectInProd: devtoolsInProd }),
vite_1["default"](),
hook_names_js_1.hookNamesPlugin(),
(0, devtools_js_1.preactDevtoolsPlugin)({ injectInProd: devtoolsInProd }),
(0, vite_1["default"])(),
(0, hook_names_js_1.hookNamesPlugin)(),
];
}
exports["default"] = preactPlugin;
{
"name": "@preact/preset-vite",
"version": "2.1.2",
"version": "2.1.3",
"description": "Preact preset for the vite bundler",

@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js",

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