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
148
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.2.2 to 1.2.3

4

dist/FileOperation.js

@@ -36,3 +36,5 @@ "use strict";

exports.FileOperation = void 0;
const fs = __importStar(require("fs"));
let fs;
if (typeof window === 'undefined')
fs = require('fs');
const path = __importStar(require("path"));

@@ -39,0 +41,0 @@ class FileOperation {

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.PackageService = void 0;
const fs_1 = __importDefault(require("fs"));
let fs;
if (typeof window === 'undefined')
fs = require('fs');
const FileOperation_1 = require("./FileOperation");

@@ -12,3 +11,3 @@ class PackageService {

if (path) {
const json = JSON.parse(fs_1.default.readFileSync(path, 'utf8'));
const json = JSON.parse(fs.readFileSync(path, 'utf8'));
if (json)

@@ -15,0 +14,0 @@ return new PackageService(path, json);

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

@@ -18,2 +18,2 @@ "types": "./dist/index.d.ts",

}
}
}

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

import * as fs from 'fs';
let fs: any;
if (typeof window === 'undefined')
fs = require('fs');
import * as path from 'path';

@@ -3,0 +5,0 @@ export class FileOperation

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

import fs from "fs";
let fs: any;
if (typeof window === 'undefined')
fs = require('fs');
import { FileOperation } from "./FileOperation";

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