New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

badges

Package Overview
Dependencies
Maintainers
2
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

badges - npm Package Compare versions

Comparing version 4.29.0 to 4.30.0-next.1699792873.7fffab31aec08aa65a8fef1bdcb0c252960be900

edition-es2022-esm/badges.js

52

package.json
{
"name": "badges",
"version": "4.29.0",
"version": "4.30.0-next.1699792873.7fffab31aec08aa65a8fef1bdcb0c252960be900",
"description": "The definitive collection of badges for rendering",

@@ -25,3 +25,3 @@ "homepage": "https://github.com/bevry/badges",

"donation",
"es2017",
"es2022",
"facebook",

@@ -163,4 +163,4 @@ "facebook follow",

{
"description": "TypeScript compiled against ES2017 for Node.js with Require for modules",
"directory": "edition-es2017",
"description": "TypeScript compiled against ES2022 for Node.js 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules",
"directory": "edition-es2022",
"entry": "index.js",

@@ -170,3 +170,3 @@ "tags": [

"javascript",
"es2017",
"es2022",
"require"

@@ -180,4 +180,4 @@ ],

{
"description": "TypeScript compiled against ES2017 for Node.js with Import for modules",
"directory": "edition-es2017-esm",
"description": "TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules",
"directory": "edition-es2022-esm",
"entry": "index.js",

@@ -187,3 +187,3 @@ "tags": [

"javascript",
"es2017",
"es2022",
"import"

@@ -199,7 +199,7 @@ ],

"type": "module",
"main": "edition-es2017/index.js",
"main": "edition-es2022/index.js",
"exports": {
"node": {
"import": "./edition-es2017-esm/index.js",
"require": "./edition-es2017/index.js"
"import": "./edition-es2022-esm/index.js",
"require": "./edition-es2022/index.js"
},

@@ -213,13 +213,12 @@ "browser": {

"devDependencies": {
"@bevry/update-contributors": "^1.22.0",
"@types/node": "^20.8.10",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"@bevry/update-contributors": "^1.23.0",
"@types/node": "^20.9.0",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"assert-helpers": "^8.4.0",
"eslint": "^8.52.0",
"eslint-config-bevry": "^3.27.0",
"eslint": "^8.53.0",
"eslint-config-bevry": "^3.29.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"kava": "^5.15.0",
"make-deno-edition": "^1.3.0",
"kava": "^5.17.0",
"prettier": "^3.0.3",

@@ -230,12 +229,11 @@ "projectz": "^2.23.0",

"typescript": "5.2.2",
"valid-directory": "^4.0.0",
"valid-module": "^1.17.0"
"valid-directory": "^4.1.0",
"valid-module": "^2.1.0"
},
"scripts": {
"our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-browsers && npm run our:compile:edition-es2017 && npm run our:compile:edition-es2017-esm && npm run our:compile:types",
"our:compile:deno": "make-deno-edition --attempt",
"our:compile": "npm run our:compile:edition-browsers && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:types",
"our:compile:edition-browsers": "tsc --module ESNext --target ES2022 --outDir ./edition-browsers --project tsconfig.json && ( test ! -d edition-browsers/source || ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) )",
"our:compile:edition-es2017": "tsc --module commonjs --target ES2017 --outDir ./edition-es2017 --project tsconfig.json && ( test ! -d edition-es2017/source || ( mv edition-es2017/source edition-temp && rm -Rf edition-es2017 && mv edition-temp edition-es2017 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2017/package.json",
"our:compile:edition-es2017-esm": "tsc --module ESNext --target ES2017 --outDir ./edition-es2017-esm --project tsconfig.json && ( test ! -d edition-es2017-esm/source || ( mv edition-es2017-esm/source edition-temp && rm -Rf edition-es2017-esm && mv edition-temp edition-es2017-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2017-esm/package.json",
"our:compile:edition-es2022": "tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -Rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json",
"our:compile:edition-es2022-esm": "tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -Rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json",
"our:compile:types": "tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )",

@@ -262,3 +260,3 @@ "our:deploy": "printf '%s\n' 'no need for this project'",

"our:verify:prettier": "prettier --write .",
"test": "node ./edition-es2017/test.js"
"test": "node ./edition-es2022/test.js"
},

@@ -274,2 +272,2 @@ "eslintConfig": {

}
}
}

@@ -184,3 +184,3 @@ <!-- TITLE/ -->

<script type="module">
import * as pkg from '//cdn.skypack.dev/badges@^4.29.0'
import * as pkg from '//cdn.skypack.dev/badges@^4.30.0'
</script>

@@ -193,3 +193,3 @@ ```

<script type="module">
import * as pkg from '//unpkg.com/badges@^4.29.0'
import * as pkg from '//unpkg.com/badges@^4.30.0'
</script>

@@ -202,3 +202,3 @@ ```

<script type="module">
import * as pkg from '//dev.jspm.io/badges@4.29.0'
import * as pkg from '//dev.jspm.io/badges@4.30.0'
</script>

@@ -213,5 +213,5 @@ ```

<li><code>badges/edition-browsers/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2022 for web browsers with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li>
<li><code>badges</code> aliases <code>badges/edition-es2017/index.js</code></li>
<li><code>badges/edition-es2017/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#8th_Edition_-_ECMAScript_2017" title="ECMAScript ES2017">ES2017</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li>
<li><code>badges/edition-es2017-esm/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against <a href="https://en.wikipedia.org/wiki/ECMAScript#8th_Edition_-_ECMAScript_2017" title="ECMAScript ES2017">ES2017</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li></ul>
<li><code>badges</code> aliases <code>badges/edition-es2022/index.js</code></li>
<li><code>badges/edition-es2022/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2022 for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 10 || 12 || 14 || 16 || 18 || 20 || 21 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li>
<li><code>badges/edition-es2022-esm/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2022 for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 12 || 14 || 16 || 18 || 20 || 21 with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li></ul>

@@ -218,0 +218,0 @@ <!-- /INSTALL -->

@@ -9,3 +9,3 @@ {

"strict": true,
"target": "ES2017",
"target": "ES2022",
"module": "ESNext"

@@ -12,0 +12,0 @@ },

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