rollup-plugin-codefend
Advanced tools
Comparing version 3.1.0 to 3.1.1
{ | ||
"name": "rollup-plugin-codefend", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "Rollup plugin for code obfuscation based on Codefend", | ||
@@ -26,3 +26,3 @@ "keywords": [ | ||
"type": "git", | ||
"url": "https://github.com/Codefend/rollup-plugin-codefend.git" | ||
"url": "git+https://github.com/Codefend/rollup-plugin-codefend.git" | ||
}, | ||
@@ -41,5 +41,12 @@ "author": "Mounzer Adas", | ||
"build": "tsup", | ||
"prepack": "npm run test:run && npm run build" | ||
"lint:check": "eslint src --ext .ts", | ||
"spell:check": "cspell \"**\"", | ||
"type:check": "tsc --noEmit", | ||
"prepack": "npm run lint:check && npm run spell:check && npm run type:check && npm run test:run && npm run build" | ||
}, | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^7.14.1", | ||
"@typescript-eslint/parser": "^7.14.1", | ||
"cspell": "^8.9.1", | ||
"eslint": "^8.56.0", | ||
"tsup": "^8.1.0", | ||
@@ -46,0 +53,0 @@ "typescript": "^5.5.2", |
@@ -8,2 +8,3 @@ <p align="center"> | ||
![NPM](https://img.shields.io/npm/dt/rollup-plugin-codefend) | ||
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/Codefend/rollup-plugin-codefend/ci.yaml?branch=main) | ||
![Bundlephobia](https://img.shields.io/bundlephobia/min/rollup-plugin-codefend) | ||
@@ -56,3 +57,3 @@ ![Node version](https://img.shields.io/node/v/rollup-plugin-codefend) | ||
{ | ||
from: "predefined_secretword", | ||
from: "predefined_secret", | ||
to: "123456", | ||
@@ -90,3 +91,3 @@ }, | ||
console.log("node_modules"); | ||
console.log("predefined_secretword"); | ||
console.log("predefined_secret"); | ||
return l_results; | ||
@@ -102,3 +103,3 @@ } | ||
console.log("node_modules"); // has not been obfuscated | ||
console.log("123456"); // has transformed from "predefined_secretword" to "123456" | ||
console.log("123456"); // has transformed from "predefined_secret" to "123456" | ||
return Ox4; | ||
@@ -105,0 +106,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36526
153
7