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

sqids

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sqids - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

cjs/blocklist.json

111

package.json
{
"name": "sqids",
"version": "0.0.1",
"version": "0.1.0",
"description": "Generate YouTube-like ids from numbers.",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"keywords": [
"sqids",
"encode",
"ids"
],
"homepage": "https://sqids.org/javascript",
"bugs": {
"url": "https://github.com/sqids/sqids-javascript/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sqids/sqids-javascript.git"
"url": "https://github.com/sqids/sqids-javascript.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/sqids/sqids-javascript/issues"
"license": "MIT",
"author": "sqids.org <npm@invent.life> (https://github.com/sqids)",
"contributors": [
{
"name": "Bazyli Brzóska",
"email": "npm@invent.life",
"url": "https://twitter.com/niieani"
}
],
"exports": {
".": {
"import": "./esm/sqids.js",
"require": "./cjs/index.js"
},
"./*": {
"import": "./esm/*.js",
"require": "./cjs/*.js"
},
"./cjs": {
"require": "./cjs/index.js"
},
"./cjs/*": {
"require": "./cjs/*.js"
},
"./esm/*": {
"import": "./esm/*.js"
},
"./package.json": "./package.json"
},
"homepage": "https://github.com/sqids/sqids-javascript#readme"
"main": "cjs/index.js",
"unpkg": "dist/sqids.js",
"module": "esm/sqids.js",
"source": "src/sqids.ts",
"files": [
"cjs",
"esm",
"dist",
"lib",
"src"
],
"scripts": {
"benchmark": "yarn ts-node -O '{\"module\": \"commonjs\"}' -T src/tests/benchmark",
"postinstallDev": "yarn prepare",
"prepare": "rrun husky install .config/husky && yarn beemo create-config",
"build": "yarn build:cjs && yarn build:esm && yarn build:umd",
"release": "beemo run-script release",
"build:cjs": "yarn rrun tsc --outDir cjs --module commonjs --target es6 -p tsconfig.build.json",
"build:esm": "yarn rrun tsc --outDir esm --module esnext --target es6 -p tsconfig.build.json && ./add-extension.sh",
"build:umd": "beemo webpack --entry=./src/sqids.ts --env 'outDir=dist' --env 'moduleTarget=umd' --env 'engineTarget=web' --env 'codeTarget=es6' --env 'name=Sqids' --env 'export=default' --env 'filename=sqids.js'",
"clean": "git clean -dfX --exclude=node_modules src && beemo typescript:sync-project-refs",
"test:lint": "rrun eslint 'src/**'",
"test:code": "beemo jest",
"test:types": "yarn rrun tsc --noEmit",
"test:format": "yarn rrun prettier --check \"./{src,tests}/**/*[!.d].{.js,jsx,ts,tsx,json,md}\"",
"test": "yarn test:format && yarn test:types && yarn test:lint && yarn test:code",
"format": "yarn rrun prettier --write \"./{src,tests}/**/!(*.d).{.js,jsx,ts,tsx,json,md}\""
},
"browserslist": [
"last 2 version",
"> 0.5%",
"maintained node versions",
"not dead"
],
"devDependencies": {
"@niieani/scaffold": "^1.7.3",
"nodemark": "^0.3.0",
"require-from-web": "^1.2.0",
"ts-node": "^10.9.1"
},
"publishConfig": {
"access": "public"
},
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"master",
{
"name": "main",
"channel": false
},
"next",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
]
},
"packageManager": "yarn@3.6.1"
}
index.js
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