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

@paroicms/anywhere-lib

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paroicms/anywhere-lib - npm Package Compare versions

Comparing version 0.55.1 to 0.55.2

2

dist-cjs/number-localization.js

@@ -19,4 +19,4 @@ "use strict";

throw new Error("group not found");
val = val.trim();
return val
.trim()
.replace(new RegExp(group, "g"), "")

@@ -23,0 +23,0 @@ .replace(decimal === "." ? /\./ : new RegExp(decimal), ".");

@@ -1,2 +0,2 @@

import { ClassicDocumentSchema, DocumentSchema, FTextFieldType, FieldType, LeafSchema, PartSchema, RoutingPointDocumentSchema, SiteSchema } from "../types/site-schema-types";
import type { ClassicDocumentSchema, DocumentSchema, FTextFieldType, FieldType, LeafSchema, PartSchema, RoutingPointDocumentSchema, SiteSchema } from "../types/site-schema-types";
export declare function getDocumentTypeByLeafType(siteSchema: SiteSchema, leafType: string): DocumentSchema;

@@ -3,0 +3,0 @@ export declare function getPartTypeByLeafType(siteSchema: SiteSchema, leafType: string): PartSchema;

@@ -1,2 +0,2 @@

import { Obj } from "../types/tiny-types";
import type { Obj } from "../types/tiny-types";
export declare function formatObj(val: unknown, options?: {

@@ -3,0 +3,0 @@ varName?: string;

@@ -5,6 +5,7 @@ "use strict";

function generateSlug(str) {
return str
return (str
.trim()
.normalize("NFD")
.replace(/[\u0300-\u036f]/g, "")
// biome-ignore lint/suspicious/noMisleadingCharacterClass: not sure
.replace(/[\u0300-\u036f]/g, "") // remove diacritics
.replace(/[^a-zA-Z0-9]/g, "-")

@@ -14,5 +15,5 @@ .replace(/--+/g, "-")

.replace(/^-/g, "")
.toLowerCase();
.toLowerCase());
}
exports.generateSlug = generateSlug;
//# sourceMappingURL=url-helpers.js.map

@@ -16,4 +16,4 @@ export class NumberLocalization {

throw new Error("group not found");
val = val.trim();
return val
.trim()
.replace(new RegExp(group, "g"), "")

@@ -20,0 +20,0 @@ .replace(decimal === "." ? /\./ : new RegExp(decimal), ".");

@@ -1,2 +0,2 @@

import { ClassicDocumentSchema, DocumentSchema, FTextFieldType, FieldType, LeafSchema, PartSchema, RoutingPointDocumentSchema, SiteSchema } from "../types/site-schema-types";
import type { ClassicDocumentSchema, DocumentSchema, FTextFieldType, FieldType, LeafSchema, PartSchema, RoutingPointDocumentSchema, SiteSchema } from "../types/site-schema-types";
export declare function getDocumentTypeByLeafType(siteSchema: SiteSchema, leafType: string): DocumentSchema;

@@ -3,0 +3,0 @@ export declare function getPartTypeByLeafType(siteSchema: SiteSchema, leafType: string): PartSchema;

@@ -1,2 +0,2 @@

import { Obj } from "../types/tiny-types";
import type { Obj } from "../types/tiny-types";
export declare function formatObj(val: unknown, options?: {

@@ -3,0 +3,0 @@ varName?: string;

export function generateSlug(str) {
return str
return (str
.trim()
.normalize("NFD")
.replace(/[\u0300-\u036f]/g, "")
// biome-ignore lint/suspicious/noMisleadingCharacterClass: not sure
.replace(/[\u0300-\u036f]/g, "") // remove diacritics
.replace(/[^a-zA-Z0-9]/g, "-")

@@ -10,4 +11,4 @@ .replace(/--+/g, "-")

.replace(/^-/g, "")
.toLowerCase();
.toLowerCase());
}
//# sourceMappingURL=url-helpers.js.map
{
"name": "@paroicms/anywhere-lib",
"version": "0.55.1",
"version": "0.55.2",
"description": "Front lib for Paroi CMS.",

@@ -5,0 +5,0 @@ "author": "Paroi Team",

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