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

@jsverse/transloco-keys-manager

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jsverse/transloco-keys-manager - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

public-api.d.ts

6

keys-builder/typescript/index.js

@@ -15,2 +15,4 @@ import { tsquery } from '@phenomnomnominal/tsquery';

}
const translocoImport = /@(jsverse|ngneat)\/transloco/;
const translocoKeysManagerImport = /@(jsverse|ngneat)\/transloco-keys-manager/;
function TSExtractor(config) {

@@ -20,6 +22,6 @@ const { file, scopes, defaultValue, scopeToKeys } = config;

const extractors = [];
if (content.includes('@ngneat/transloco')) {
if (translocoImport.test(content)) {
extractors.push(serviceExtractor, pureFunctionExtractor);
}
if (content.includes('@ngneat/transloco-keys-manager')) {
if (translocoKeysManagerImport.test(content)) {
extractors.push(markerExtractor);

@@ -26,0 +28,0 @@ }

@@ -5,3 +5,3 @@ import { tsquery } from '@phenomnomnominal/tsquery';

// workaround from https://github.com/estools/esquery/issues/68
const [importNode] = tsquery(ast, `ImportDeclaration:has([text=/^@ngneat\\x2Ftransloco-keys-manager/])`);
const [importNode] = tsquery(ast, `ImportDeclaration:has([text=/^@(jsverse|ngneat)\\x2Ftransloco-keys-manager/])`);
if (!importNode) {

@@ -8,0 +8,0 @@ return [];

{
"name": "@jsverse/transloco-keys-manager",
"version": "4.0.0",
"version": "4.0.1",
"description": "Extract translatable keys from projects that uses Transloco",

@@ -13,2 +13,6 @@ "engines": {

"types": "./public-api.d.ts"
},
"./marker": {
"import": "./marker.js",
"types": "./marker.d.ts"
}

@@ -25,3 +29,3 @@ },

"type": "git",
"url": "git+https://github.com/ngneat/transloco-keys-manager.git"
"url": "git+https://github.com/jsverse/transloco-keys-manager.git"
},

@@ -41,14 +45,6 @@ "keywords": [

"author": "Shahar Kazaz",
"maintainers": [
{
"name": "Shahar Kazaz"
},
{
"name": "Netanel Basal"
}
],
"bugs": {
"url": "https://github.com/ngneat/transloco-keys-manager/issues"
"url": "https://github.com/jsverse/transloco-keys-manager/issues"
},
"homepage": "https://github.com/ngneat/transloco-keys-manager#readme",
"homepage": "https://github.com/jsverse/transloco-keys-manager#readme",
"dependencies": {

@@ -55,0 +51,0 @@ "@angular/compiler": "17.2.0",

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