Socket
Socket
Sign inDemoInstall

@ui5/builder

Package Overview
Dependencies
Maintainers
0
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ui5/builder - npm Package Compare versions

Comparing version 3.4.1 to 3.5.0

11

CHANGELOG.md

@@ -5,6 +5,12 @@ # Changelog

A list of unreleased changes can be found [here](https://github.com/SAP/ui5-builder/compare/v3.4.1...HEAD).
A list of unreleased changes can be found [here](https://github.com/SAP/ui5-builder/compare/v3.5.0...HEAD).
<a name="v3.5.0"></a>
## [v3.5.0] - 2024-06-21
### Features
- ES2023 Support [`097049d`](https://github.com/SAP/ui5-builder/commit/097049daeec5c54c2d5e858b12e0c54c826ff663)
<a name="v3.4.1"></a>
## [v3.4.1] - 2024-05-10
## [v3.4.1] - 2024-05-13
### Bug Fixes

@@ -876,2 +882,3 @@ - **bundle/Builder:** Correct bundling of resources with empty source map [`1228db7`](https://github.com/SAP/ui5-builder/commit/1228db78e7e655cea58c20517662b08dd09db87b)

- Add ability to configure component preloads and custom bundles [`2241e5f`](https://github.com/SAP/ui5-builder/commit/2241e5ff98fd95f1f80cc74959655ae7a9c660e7)
[v3.5.0]: https://github.com/SAP/ui5-builder/compare/v3.4.1...v3.5.0
[v3.4.1]: https://github.com/SAP/ui5-builder/compare/v3.4.0...v3.4.1

@@ -878,0 +885,0 @@ [v3.4.0]: https://github.com/SAP/ui5-builder/compare/v3.3.1...v3.4.0

@@ -39,2 +39,6 @@ /* eslint quotes: ["error", "double", { "allowTemplateLiterals": true }] */

function removeHashbang(str) {
return str.replace(/^#!(.*)/, "");
}
function isEmptyBundle(resolvedBundle) {

@@ -282,2 +286,3 @@ return resolvedBundle.sections.every((section) => section.modules.length === 0);

let moduleContent = (await resource.buffer()).toString();
moduleContent = removeHashbang(moduleContent);
if (this.options.sourceMap) {

@@ -389,2 +394,3 @@ let moduleSourceMap;

let moduleContent = (await resource.buffer()).toString();
moduleContent = removeHashbang(moduleContent);
let moduleSourceMap;

@@ -450,2 +456,3 @@ if (this.options.sourceMap) {

let moduleContent = (await resource.buffer()).toString();
moduleContent = removeHashbang(moduleContent);
if (this.options.sourceMap) {

@@ -470,2 +477,3 @@ let moduleSourceMap;

let moduleContent = (await resource.buffer()).toString();
moduleContent = removeHashbang(moduleContent);
if (this.options.sourceMap) {

@@ -472,0 +480,0 @@ // We are actually not interested in the source map this module might contain,

2

lib/lbt/utils/parseUtils.js

@@ -12,3 +12,3 @@

*/
export const ecmaVersion = 2022;
export const ecmaVersion = 2023;

@@ -15,0 +15,0 @@ export function parseJS(code, userOptions = {}) {

{
"name": "@ui5/builder",
"version": "3.4.1",
"version": "3.5.0",
"description": "UI5 Tooling - Builder",

@@ -132,5 +132,5 @@ "author": {

"pretty-data": "^0.40.0",
"rimraf": "^5.0.6",
"rimraf": "^5.0.7",
"semver": "^7.6.2",
"terser": "^5.31.0",
"terser": "^5.31.1",
"workerpool": "^6.5.1",

@@ -154,3 +154,3 @@ "xml2js": "^0.6.2"

"eslint-plugin-jsdoc": "^46.10.1",
"esmock": "^2.6.5",
"esmock": "^2.6.6",
"line-column": "^1.0.2",

@@ -157,0 +157,0 @@ "nyc": "^15.1.0",

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