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

derw

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

derw - npm Package Compare versions

Comparing version 0.0.9-26 to 0.0.9-27

build/TypedTypes.d.ts

7

build/generators/Derw.js

@@ -203,4 +203,5 @@ "use strict";

const fields = (function (y) {
return y.join(",\n ");
return y.join(",\n");
})(literal.fields.map(generateField));
const maybePrefixed = Common_1.prefixLines(fields, 4);
if (literal.base === null) {

@@ -211,3 +212,3 @@ if (literal.fields.length === 1) {

else {
return `{\n ${fields}\n}`;
return `{\n${maybePrefixed}\n}`;
}

@@ -221,3 +222,3 @@ ;

else {
return `{\n ${literal.base.body},\n ${fields}\n}`;
return `{\n ${literal.base.body},\n${maybePrefixed}\n}`;
}

@@ -224,0 +225,0 @@ ;

{
"name": "derw",
"version": "0.0.9-26",
"version": "0.0.9-27",
"description": "An Elm-inspired language that transpiles to TypeScript",

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

@@ -208,4 +208,5 @@ import * as List from "../stdlib/List";

const fields: string = (function(y: any) {
return y.join(",\n ");
return y.join(",\n");
})(literal.fields.map(generateField));
const maybePrefixed: string = prefixLines(fields, 4);
if (literal.base === null) {

@@ -215,3 +216,3 @@ if (literal.fields.length === 1) {

} else {
return `{\n ${fields}\n}`;
return `{\n${maybePrefixed}\n}`;
};

@@ -222,3 +223,3 @@ } else {

} else {
return `{\n ${literal.base.body},\n ${fields}\n}`;
return `{\n ${literal.base.body},\n${maybePrefixed}\n}`;
};

@@ -225,0 +226,0 @@ }

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