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

pluginclerk

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pluginclerk - npm Package Compare versions

Comparing version 5.0.0 to 5.1.0

edition-es2022-esm/index.js

63

package.json
{
"name": "pluginclerk",
"version": "5.0.0",
"version": "5.1.0",
"description": "A clerk for retrieving compatible plugins from the npm database",

@@ -9,3 +9,3 @@ "homepage": "https://github.com/bevry/pluginclerk",

"dependencies",
"es2017",
"es2022",
"export-default",

@@ -88,4 +88,4 @@ "node",

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

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

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

@@ -105,4 +105,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 18 || 20 || 21 with Import for modules",
"directory": "edition-es2022-esm",
"entry": "index.js",

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

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

@@ -124,26 +124,25 @@ ],

"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"
}
},
"dependencies": {
"cachely": "^5.24.0",
"cachely": "^6.1.0",
"semver": "^7.5.4"
},
"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",
"assert-helpers": "^8.4.0",
"eslint": "^8.52.0",
"eslint-config-bevry": "^3.28.0",
"@bevry/update-contributors": "^1.23.0",
"@types/node": "^20.9.0",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"assert-helpers": "^11.2.0",
"eslint": "^8.53.0",
"eslint-config-bevry": "^4.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"kava": "^5.15.0",
"make-deno-edition": "^1.3.0",
"prettier": "^3.0.3",
"kava": "^7.1.0",
"prettier": "^3.1.0",
"projectz": "^2.23.0",

@@ -153,11 +152,10 @@ "surge": "^0.23.1",

"typescript": "5.2.2",
"valid-directory": "^4.0.0"
"valid-directory": "^4.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-es2017 && npm run our:compile:edition-es2017-esm && npm run our:compile:types",
"our:compile:deno": "make-deno-edition --attempt",
"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: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 ) )",
"our:clean": "rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next",
"our:compile": "npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:types",
"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 ) )",
"our:deploy": "printf '%s\n' 'no need for this project'",

@@ -167,3 +165,3 @@ "our:meta": "npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz",

"our:meta:docs": "npm run our:meta:docs:typedoc",
"our:meta:docs:typedoc": "rm -Rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source",
"our:meta:docs:typedoc": "rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source",
"our:meta:projectz": "projectz compile",

@@ -183,3 +181,3 @@ "our:release": "npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push",

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

@@ -193,4 +191,5 @@ "eslintConfig": {

"semi": false,
"singleQuote": true
"singleQuote": true,
"trailingComma": "es5"
}
}

@@ -181,5 +181,5 @@ <!-- TITLE/ -->

<ul><li><code>pluginclerk/source/index.ts</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> source code with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li>
<li><code>pluginclerk</code> aliases <code>pluginclerk/edition-es2017/index.js</code></li>
<li><code>pluginclerk/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>pluginclerk/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>pluginclerk</code> aliases <code>pluginclerk/edition-es2022/index.js</code></li>
<li><code>pluginclerk/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> 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>pluginclerk/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> 18 || 20 || 21 with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li></ul>

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

@@ -230,3 +230,3 @@ // Import

throw new Error(
'The plugin clerk requires a keyword to be specified, please refer to the API specification',
'The plugin clerk requires a keyword to be specified, please refer to the API specification'
)

@@ -285,3 +285,3 @@ }

const response = await fetch(
`${me.config.registryHostname}/${name}`,
`${me.config.registryHostname}/${name}`
)

@@ -295,4 +295,4 @@ pluginData = await response.json()

new Error(
'name result from search and from package did not match',
),
'name result from search and from package did not match'
)
)

@@ -306,3 +306,3 @@ }

'warn',
`Plugin ${name} will be ignored as it has an invalid name, must be prefixed with: ${me.config.prefix}`,
`Plugin ${name} will be ignored as it has an invalid name, must be prefixed with: ${me.config.prefix}`
)

@@ -315,6 +315,6 @@ return Promise.resolve()

'info',
`Plugin ${name} was successfully added to the database.`,
`Plugin ${name} was successfully added to the database.`
)
return Promise.resolve()
}),
})
)

@@ -335,3 +335,3 @@ } catch (err: any) {

'info',
'Fetched a portion of the database content, grabbing the rest',
'Fetched a portion of the database content, grabbing the rest'
)

@@ -388,3 +388,3 @@ return this.requestDatabase({ database, offset: subtotal })

requirements,
dependencies,
dependencies
)

@@ -394,3 +394,3 @@ const requiredDependencies = Object.assign(

pluginVersionData.engines || {},
pluginVersionData.peerDependencies || {},
pluginVersionData.peerDependencies || {}
)

@@ -416,3 +416,3 @@

for (const [name, acceptedRange] of Object.entries(
pluginVersionData.peerDependencies || {},
pluginVersionData.peerDependencies || {}
)) {

@@ -510,3 +510,3 @@ const suppliedVersion = existingDependencies[name]

public async fetchPlugin(
opts: FetchPluginOptions,
opts: FetchPluginOptions
): Promise<PluginCompatibilityResult> {

@@ -513,0 +513,0 @@ let database: RegistryPackageResults

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

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

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

Sorry, the diff of this file is not supported yet

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