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

@inlang/paraglide-js

Package Overview
Dependencies
Maintainers
2
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@inlang/paraglide-js - npm Package Compare versions

Comparing version 1.0.0-prerelease.6 to 1.0.0-prerelease.7

11

dist/compiler/compile.test.js

@@ -250,2 +250,13 @@ import { expect, test, describe, vi, beforeEach } from "vitest";

{
id: "missingTranslation",
selectors: [],
variants: [
{
match: [],
languageTag: "en",
pattern: [{ type: "Text", value: "A simple message." }],
},
],
},
{
id: "onlyText",

@@ -252,0 +263,0 @@ selectors: [],

1

dist/compiler/compileMessage.js

@@ -37,2 +37,3 @@ import { compilePattern } from "./compilePattern.js";

export const ${message.id} = (${Object.keys(params).length > 0 ? "params" : ""}) => {
/** @type {Record<string, string>} */
const variants = {

@@ -39,0 +40,0 @@ ${Object.entries(contents)

2

package.json
{
"name": "@inlang/paraglide-js",
"type": "module",
"version": "1.0.0-prerelease.6",
"version": "1.0.0-prerelease.7",
"license": "Apache-2.0",

@@ -6,0 +6,0 @@ "publishConfig": {

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