🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

ntes-js-obfuscation

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ntes-js-obfuscation - npm Package Compare versions

Comparing version

to
0.2.0

index.mjs

14

index.js

@@ -1,10 +0,8 @@

import fs from 'node:fs/promises'
import path, { dirname } from 'path'
import shell from 'shelljs'
import Zip from 'adm-zip'
import { fileURLToPath } from 'url'
const fs = require('fs/promises')
const path = require('path')
const shell = require('shelljs')
const Zip = require('adm-zip')
function resolve (p) {
const filename = fileURLToPath(import.meta.url)
return path.resolve(dirname(filename), p)
return path.resolve(__dirname, p)
}

@@ -22,3 +20,3 @@

export default class Obfuscation {
module.exports = class Obfuscation {
constructor ({ appKey } = {}) {

@@ -25,0 +23,0 @@ if (!shell.which('java')) {

{
"name": "ntes-js-obfuscation",
"version": "0.1.0",
"version": "0.2.0",
"description": "JavaScript Obfuscation Base on Netase Project SDK",
"type": "module",
"main": "index.js",

@@ -7,0 +6,0 @@ "scripts": {