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

atbuild

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atbuild - npm Package Compare versions

Comparing version 1.2.6 to 1.2.7

11

dist/webpack-loader/index.js

@@ -73,8 +73,13 @@ "use strict";

async function writeFile(name, content) {
const outExt = _path.default.extname(name.replace(".d.ts", ""));
const outName = name.replace(outExt, "");
temporaryCodeMap.delete(name);
if (content) {
return _fs.default.promises.writeFile(name.replace(_path.default.extname(name.replace(".d.ts", "")), ""), formatContent(content), "utf-8");
if (outExt.length === 0) {
return;
} else if (content) {
_fs.default.promises.writeFile(outName, formatContent(content), "utf-8");
} else if (_fs.default.existsSync(name)) {
_fs.default.promises.writeFile(name.replace(_path.default.extname(name.replace(".d.ts", "")), ""), "", "utf-8");
_fs.default.promises.writeFile(outName, "", "utf-8");
}

@@ -81,0 +86,0 @@ }

{
"name": "atbuild",
"version": "1.2.6",
"version": "1.2.7",
"main": "dist/atbuild.js",

@@ -5,0 +5,0 @@ "license": "MIT",

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