Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vocab/core

Package Overview
Dependencies
Maintainers
5
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vocab/core - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

5

dist/vocab-core.cjs.dev.js

@@ -513,2 +513,5 @@ 'use strict';

const serializeModuleImports = (imports, moduleName) => {
if (imports.size === 0) {
return '';
}
const importNames = Array.from(imports);

@@ -537,4 +540,4 @@ return `import { ${Array.from(importNames).join(', ')} } from '${moduleName}'`;

import { createLanguage, createTranslationFile } from '@vocab/core/runtime';
${serializeModuleImports(imports, '@vocab/types')}
import { createLanguage, createTranslationFile } from '@vocab/core/runtime';

@@ -541,0 +544,0 @@ const translations = createTranslationFile<${languagesUnionAsString}, ${serialiseObjectToType(translationsType)}>({${content}});

@@ -513,2 +513,5 @@ 'use strict';

const serializeModuleImports = (imports, moduleName) => {
if (imports.size === 0) {
return '';
}
const importNames = Array.from(imports);

@@ -537,4 +540,4 @@ return `import { ${Array.from(importNames).join(', ')} } from '${moduleName}'`;

import { createLanguage, createTranslationFile } from '@vocab/core/runtime';
${serializeModuleImports(imports, '@vocab/types')}
import { createLanguage, createTranslationFile } from '@vocab/core/runtime';

@@ -541,0 +544,0 @@ const translations = createTranslationFile<${languagesUnionAsString}, ${serialiseObjectToType(translationsType)}>({${content}});

@@ -497,2 +497,5 @@ import { existsSync, promises } from 'fs';

const serializeModuleImports = (imports, moduleName) => {
if (imports.size === 0) {
return '';
}
const importNames = Array.from(imports);

@@ -521,4 +524,4 @@ return `import { ${Array.from(importNames).join(', ')} } from '${moduleName}'`;

import { createLanguage, createTranslationFile } from '@vocab/core/runtime';
${serializeModuleImports(imports, '@vocab/types')}
import { createLanguage, createTranslationFile } from '@vocab/core/runtime';

@@ -525,0 +528,0 @@ const translations = createTranslationFile<${languagesUnionAsString}, ${serialiseObjectToType(translationsType)}>({${content}});

2

package.json
{
"name": "@vocab/core",
"version": "1.2.4",
"version": "1.2.5",
"main": "dist/vocab-core.cjs.js",

@@ -5,0 +5,0 @@ "module": "dist/vocab-core.esm.js",

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