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

@web/dev-server-esbuild

Package Overview
Dependencies
Maintainers
7
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@web/dev-server-esbuild - npm Package Compare versions

Comparing version 0.2.9 to 0.2.10

8

CHANGELOG.md
# @web/dev-server-esbuild
## 0.2.10
### Patch Changes
- c7f8d271: set esm format for non jslike loaders
- Updated dependencies [375116ad]
- @web/dev-server-core@0.3.2
## 0.2.9

@@ -4,0 +12,0 @@

2

dist/EsbuildPlugin.js

@@ -129,2 +129,4 @@ "use strict";

target,
// don't set any format for JS-like formats, otherwise esbuild reformats the code unnecesarily
format: ['js', 'jsx', 'ts', 'tsx'].includes(loader) ? undefined : 'esm',
jsxFactory: this.esbuildConfig.jsxFactory,

@@ -131,0 +133,0 @@ jsxFragment: this.esbuildConfig.jsxFragment,

2

dist/esbuildPluginFactory.d.ts

@@ -17,3 +17,3 @@ import { Plugin } from '@web/dev-server-core';

}
export declare function esbuildPlugin(args: EsBuildPluginArgs): Plugin;
export declare function esbuildPlugin(args?: EsBuildPluginArgs): Plugin;
//# sourceMappingURL=esbuildPluginFactory.d.ts.map

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

const EsbuildPlugin_1 = require("./EsbuildPlugin");
function esbuildPlugin(args) {
function esbuildPlugin(args = {}) {
var _a, _b;

@@ -8,0 +8,0 @@ const target = (_a = args.target) !== null && _a !== void 0 ? _a : 'auto';

{
"name": "@web/dev-server-esbuild",
"version": "0.2.9",
"version": "0.2.10",
"publishConfig": {

@@ -30,4 +30,4 @@ "access": "public"

"start:demo:ts": "es-dev-server --config demo/ts/server.config.js",
"test": "mocha \"test/**/*.test.ts\" --require ts-node/register --reporter dot",
"test:watch": "mocha \"test/**/*.test.ts\" --require ts-node/register --watch --watch-files src,test --reporter dot"
"test": "mocha \"test/**/*.test.ts\" --require ts-node/register",
"test:watch": "mocha \"test/**/*.test.ts\" --require ts-node/register --watch --watch-files src,test"
},

@@ -55,4 +55,4 @@ "files": [

"@mdn/browser-compat-data": "^3.0.1",
"@web/dev-server-core": "^0.3.0",
"esbuild": "^0.8.24",
"@web/dev-server-core": "^0.3.2",
"esbuild": "^0.8.27",
"parse5": "^6.0.1",

@@ -59,0 +59,0 @@ "ua-parser-js": "^0.7.23"

@@ -184,2 +184,4 @@ import {

target,
// don't set any format for JS-like formats, otherwise esbuild reformats the code unnecesarily
format: ['js', 'jsx', 'ts', 'tsx'].includes(loader) ? undefined : 'esm',
jsxFactory: this.esbuildConfig.jsxFactory,

@@ -186,0 +188,0 @@ jsxFragment: this.esbuildConfig.jsxFragment,

@@ -18,3 +18,3 @@ import { Plugin } from '@web/dev-server-core';

export function esbuildPlugin(args: EsBuildPluginArgs): Plugin {
export function esbuildPlugin(args: EsBuildPluginArgs = {}): Plugin {
const target = args.target ?? 'auto';

@@ -21,0 +21,0 @@ const loaders: Record<string, Loader> = {};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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