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

namirasoft-core

Package Overview
Dependencies
Maintainers
1
Versions
160
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

namirasoft-core - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

dist/findUp.d.ts

13

dist/PackageService.js

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

const fs_1 = __importDefault(require("fs"));
const FindUp_1 = require("./FindUp");
class PackageService {

@@ -19,11 +20,11 @@ static get(path) {

static getMain() {
// const paths = findUp.findUpSync('package.json');
// if (paths)
// return this.get(paths[0]);
const paths = (0, FindUp_1.FindUp)('package.json');
if (paths)
return this.get(paths[0]);
return null;
}
static getThis() {
// const paths = findUp.findUpSync('package.json');
// if (paths)
// return this.get(paths[paths.length - 1]);
const paths = (0, FindUp_1.FindUp)('package.json');
if (paths)
return this.get(paths[paths.length - 1]);
return null;

@@ -30,0 +31,0 @@ }

{
"name": "namirasoft-core",
"description": "Namira Software Corporation Core NPM Package",
"version": "1.0.8",
"version": "1.0.9",
"main": "./dist/index.js",

@@ -6,0 +6,0 @@ "types": "./dist/index.d.ts",

import fs from "fs";
import { FindUp } from "./FindUp";

@@ -17,5 +18,5 @@ export class PackageService

{
// const paths = findUp.findUpSync('package.json');
// if (paths)
// return this.get(paths[0]);
const paths = FindUp('package.json');
if (paths)
return this.get(paths[0]);
return null;

@@ -25,5 +26,5 @@ }

{
// const paths = findUp.findUpSync('package.json');
// if (paths)
// return this.get(paths[paths.length - 1]);
const paths = FindUp('package.json');
if (paths)
return this.get(paths[paths.length - 1]);
return null;

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