@vercel/stega
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -9,3 +9,3 @@ "use strict"; | ||
.join('')}`; | ||
exports.VERCEL_STEGA_REGEX = new RegExp(`(?:[${HEX_CHARS}]{2})+`, 'u'); | ||
exports.VERCEL_STEGA_REGEX = new RegExp(`(?:[${HEX_CHARS}]{2})+`, 'gu'); | ||
/** | ||
@@ -12,0 +12,0 @@ * Decodes a hidden string back into its original value |
@@ -19,1 +19,2 @@ "use strict"; | ||
__exportStar(require("./decode"), exports); | ||
__exportStar(require("./util"), exports); |
@@ -6,3 +6,3 @@ import { HEX_DIGIT_MAP } from './map'; | ||
.join('')}`; | ||
export const VERCEL_STEGA_REGEX = new RegExp(`(?:[${HEX_CHARS}]{2})+`, 'u'); | ||
export const VERCEL_STEGA_REGEX = new RegExp(`(?:[${HEX_CHARS}]{2})+`, 'gu'); | ||
/** | ||
@@ -9,0 +9,0 @@ * Decodes a hidden string back into its original value |
export * from './encode'; | ||
export * from './decode'; | ||
export * from './util'; |
export * from './encode'; | ||
export * from './decode'; | ||
export * from './util'; |
{ | ||
"name": "@vercel/stega", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Utilities for steganography", | ||
@@ -13,5 +13,15 @@ "main": "./dist/cjs/index.js", | ||
"license": "MPL-2.0", | ||
"devDependencies": { | ||
"@jest/globals": "^28.1.3", | ||
"jest": "^28.1.3", | ||
"ts-jest": "^28.0.3", | ||
"typescript": "^4.6.3" | ||
}, | ||
"access": "public", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"scripts": { | ||
"dev": "npm run build", | ||
"build": "npm run build:types && npm run build:esm && npm run build:cjs", | ||
"dev": "pnpm build", | ||
"build": "pnpm build:types && pnpm build:esm && pnpm build:cjs", | ||
"build:esm": "tsc --module es2020 --outDir dist/esm", | ||
@@ -21,9 +31,3 @@ "build:cjs": "tsc --module commonjs --outDir dist/cjs", | ||
"test": "jest" | ||
}, | ||
"devDependencies": { | ||
"@jest/globals": "^28.1.3", | ||
"jest": "^28.1.3", | ||
"ts-jest": "^28.0.3", | ||
"typescript": "^4.6.3" | ||
} | ||
} | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
24565
17
247