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

tsarch

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsarch - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

3

dist/src/core/parser/ProjectParser.js

@@ -42,2 +42,3 @@ "use strict";

var glob = require("glob");
var path = require("path");
var ProjectParser = /** @class */ (function () {

@@ -53,3 +54,3 @@ function ProjectParser() {

glob = config.js ? "**/*.{ts,tsx}" : "**/*.{ts,tsx,js,jsx}";
return [4 /*yield*/, ProjectParser.getFileNames(rootPath + glob)];
return [4 /*yield*/, ProjectParser.getFileNames(path.join(rootPath, glob))];
case 1:

@@ -56,0 +57,0 @@ fileNames = _a.sent();

{
"name": "tsarch",
"version": "4.0.0",
"version": "4.0.1",
"description": "",

@@ -5,0 +5,0 @@ "keywords": [],

@@ -21,5 +21,5 @@ # TSArch

describe('Architecture', () => {
it('defines that all files in dog folder should be called ...Dog.ts', async () => {
const project = await TSArch.parseTypescriptProject('./src')

@@ -34,6 +34,6 @@

expect(project).toMatchArchRule(rule)
expect(project).toPass(rule)
})
})

@@ -40,0 +40,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