Socket
Socket
Sign inDemoInstall

editions

Package Overview
Dependencies
1
Maintainers
1
Versions
130
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.16.0 to 6.17.0-next.1701326215.7379b555dd3a463bca5dd15dddc19bd9632b3a32

edition-es2022-esm/index.js

2

edition-deno/index.ts
// Imports
import { resolve } from 'node:path'
import matchRange from 'https://unpkg.com/version-range@^4.7.0/edition-deno/index.ts'
import matchRange from 'https://unpkg.com/version-range@^4.9.0/edition-deno/index.ts'
import { errtion, Errtion } from './util.ts'

@@ -5,0 +5,0 @@ import { versions as processVersions } from 'node:process'

{
"name": "editions",
"version": "6.16.0",
"version": "6.17.0-next.1701326215.7379b555dd3a463bca5dd15dddc19bd9632b3a32",
"description": "Publish multiple editions for your JavaScript packages consistently and easily (e.g. source edition, esnext edition, es2015 edition)",

@@ -16,2 +16,3 @@ "homepage": "https://github.com/bevry/editions",

"editions",
"es2022",
"es5",

@@ -99,3 +100,3 @@ "es6",

{
"description": "TypeScript compiled against ES5 for Node.js with Require for modules",
"description": "TypeScript compiled against ES5 for Node.js 4 with Require for modules",
"directory": "edition-es5",

@@ -115,4 +116,4 @@ "entry": "index.js",

{
"description": "TypeScript compiled against ES5 for Node.js with Import for modules",
"directory": "edition-es5-esm",
"description": "TypeScript compiled against ES2022 for Node.js 21 with Import for modules",
"directory": "edition-es2022-esm",
"entry": "index.js",

@@ -122,3 +123,3 @@ "tags": [

"javascript",
"es5",
"es2022",
"import"

@@ -163,3 +164,3 @@ ],

"types": "./edition-types/index.d.ts",
"import": "./edition-es5-esm/index.js",
"import": "./edition-es2022-esm/index.js",
"require": "./edition-es5/index.js"

@@ -170,29 +171,28 @@ }

"dependencies": {
"version-range": "^4.7.0"
"version-range": "^4.9.0"
},
"devDependencies": {
"@bevry/update-contributors": "^1.23.0",
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"assert-helpers": "^11.6.0",
"@types/node": "^20.10.1",
"@typescript-eslint/eslint-plugin": "^6.13.1",
"@typescript-eslint/parser": "^6.13.1",
"assert-helpers": "^11.7.0",
"eslint": "^8.54.0",
"eslint-config-bevry": "^5.1.0",
"eslint-config-bevry": "^5.2.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"kava": "^7.3.0",
"kava": "^7.4.0",
"make-deno-edition": "^2.0.0",
"prettier": "^3.1.0",
"projectz": "^3.3.0",
"surge": "^0.23.1",
"typedoc": "^0.25.3",
"typescript": "5.2.2",
"valid-directory": "^4.5.0"
"projectz": "^3.4.0",
"typedoc": "^0.25.4",
"typescript": "5.3.2",
"valid-directory": "^4.6.0"
},
"scripts": {
"our:clean": "rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-es5 && npm run our:compile:edition-es5-esm && npm run our:compile:edition-types",
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-es5 && npm run our:compile:edition-types",
"our:compile:deno": "make-deno-edition --attempt",
"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:edition-es5": "tsc --module commonjs --target ES5 --outDir ./edition-es5 --project tsconfig.json && ( test ! -d edition-es5/source || ( mv edition-es5/source edition-temp && rm -rf edition-es5 && mv edition-temp edition-es5 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es5/package.json",
"our:compile:edition-es5-esm": "tsc --module ESNext --target ES5 --outDir ./edition-es5-esm --project tsconfig.json && ( test ! -d edition-es5-esm/source || ( mv edition-es5-esm/source edition-temp && rm -rf edition-es5-esm && mv edition-temp edition-es5-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es5-esm/package.json",
"our:compile:edition-types": "tsc --emitDeclarationOnly --declaration --declarationMap --declarationDir ./edition-types --project tsconfig.json && ( test ! -d edition-types/source || ( mv edition-types/source edition-temp && rm -rf edition-types && mv edition-temp edition-types ) )",

@@ -231,8 +231,6 @@ "our:deploy": "printf '%s\n' 'no need for this project'",

"boundation": {
"comment": "editions isn't for browsers, and editions can't use editions",
"browser": false,
"compiler": "typescript",
"targets": [
"ES5"
]
"editionsAutoloader": false
}
}
}
{
"compilerOptions": {
"allowJs": true,
"downlevelIteration": true,
"esModuleInterop": true,
"isolatedModules": true,
"maxNodeModuleJsDepth": 5,
"module": "ESNext",
"moduleResolution": "Node",
"strict": true,
"target": "ES5",
"module": "ESNext",
"downlevelIteration": true
"target": "ES2022"
},
"include": ["source"]
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc