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

@anywidget/vite

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anywidget/vite - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

dist/index.d.ts

2

index.js

@@ -73,3 +73,3 @@ /** @type {(src: string) => string} */

server.middlewares.use((req, _res, next) => {
if (req.url.endsWith("?anywidget")) {
if (req.url?.endsWith("?anywidget")) {
// turn into a bare identifier

@@ -76,0 +76,0 @@ let path = req.url.slice(0, -"?anywidget".length);

{
"name": "@anywidget/vite",
"type": "module",
"version": "0.1.1",
"version": "0.1.2",
"description": "a vite plugin for anywidget",
"main": "index.js",
"types": "index.d.ts",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"types": "./index.d.ts",
"types": "./dist/index.d.ts",
"import": "./index.js",

@@ -16,6 +19,6 @@ "require": "./dist/index.cjs"

"devDependencies": {
"vite": "^4.1.4"
"vite": "^5.0.4"
},
"peerDependencies": {
"vite": "^4.1.4"
"vite": "^4.0.0 || ^5.0.0"
},

@@ -22,0 +25,0 @@ "scripts": {

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