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

es6-class-prototype

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es6-class-prototype - npm Package Compare versions

Comparing version 1.0.4 to 2.0.0

dist/index.cjs

82

package.json
{
"name": "es6-class-prototype",
"version": "1.0.4",
"version": "2.0.0",
"description": "get prototype from es6 class, like old way",

@@ -14,3 +14,5 @@ "keywords": [

"prototype",
"prototypes"
"prototypes",
"create-by-yarn-tool",
"create-by-tsdx"
],

@@ -26,4 +28,18 @@ "homepage": "https://github.com/bluelovers/es6-class-prototype#readme",

"license": "ISC",
"author": "",
"main": "index.js",
"author": "bluelovers",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.esm.mjs",
"require": "./dist/index.cjs"
},
"./package.json": "./package.json",
"./src/*": "./src/*"
},
"main": "dist/index.cjs",
"unpkg": "dist/index.umd.production.min.cjs",
"module": "dist/index.esm.mjs",
"types": "dist/index.d.ts",
"typings": "dist/index.d.ts",
"directories": {

@@ -33,15 +49,55 @@ "test": "test"

"scripts": {
"coverage": "npx nyc npm run test",
"lint": "npx eslint **/*.ts",
"ncu": "npx yarn-tool ncu -u",
"prepublishOnly": "npm run ncu && npm run sort-package-json",
"sort-package-json": "npx sort-package-json ./package.json",
"test": "echo \"Error: no test specified\" && exit 1"
"pretest": "echo pretest",
"test": "jest --passWithNoTests",
"test:jest": "jest --passWithNoTests",
"test:jest:clearCache": "jest --clearCache",
"test:jest:snapshot": "yarn run test:jest -- -u",
"test:snapshot": "yarn run test -- -u",
"test:tsd": "ynpx tsd",
"posttest": "yarn run build",
"install:frozenLockfile": "yarn-tool install --frozen-lockfile",
"install:resetLockfile": "yarn-tool install --reset-lockfile",
"build": "yarn run build:tsdx && yarn run build:dts:tsc",
"build:dts:bundle": "ynpx dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --no-banner --inline-declare-global & echo build:dts:bundle",
"build:dts:copy": "copy .\\src\\index.d.ts .\\dist\\index.d.ts & echo build:dts",
"build:dts:tsc": "yarn run build:dts:copy && yarn run build:dts:tsc:emit && yarn run build:dts:copy",
"build:dts:tsc:emit": "tsc --emitDeclarationOnly --declaration --noEmit false",
"build:tsdx": "ynpx @bluelovers/tsdx build --target node",
"ci:install": "yarn install --frozen-lockfile && yarn add -W yarn-tool lerna ynpx ts-node ts-jest jest typescript@next @bluelovers/jest-config",
"ci:build": "echo ci:build",
"npm:publish": "npm publish",
"npm:publish:bump": "yarn run version:bump && npm publish",
"ws:fix-all": "yarn-tool fix-all --overwriteHostedGitInfo",
"ws:fix-all:resetStaticFiles": "yarn run ws:fix-all -- --resetStaticFiles",
"preversion": "echo preversion && yarn run test",
"version": "echo version",
"version:bump": "yarn-tool version",
"postversion": "echo postversion",
"prepublish": "echo prepublish",
"prepare": "echo prepare",
"prepublishOnly": "yarn run preversion",
"prepublishOnly:check-bin": "ynpx --quiet @yarn-tool/check-pkg-bin",
"prepublishOnly:update": "yarn run ncu && yarn run sort-package-json",
"prepack": "echo prepack",
"pack": "echo pack",
"postpack": "echo postpack",
"publish": "echo publish",
"postpublish": "yarn run postpublish:changelog && yarn run postpublish:git:commit && yarn run postpublish:git:tag && yarn run postpublish:git:push",
"postpublish:changelog": "ynpx --quiet @yarn-tool/changelog && git add ./CHANGELOG.md",
"postpublish:git:commit": "git commit -m \"chore(release): publish\" . & echo postpublish:git:commit",
"postpublish:git:push": "git push --follow-tags",
"postpublish:git:tag": "ynpx --quiet @yarn-tool/tag",
"postpublishOnly": "echo postpublishOnly",
"ncu": "yarn-tool ncu -u",
"sort-package-json": "yarn-tool sort",
"tsc:showConfig": "ynpx get-current-tsconfig -p"
},
"dependencies": {
"class-proxy": "^1.1.2"
"class-proxy": "^2.0.0"
},
"devDependencies": {
"@bluelovers/tsconfig": "^1.0.3"
}
"@bluelovers/tsconfig": "^1.0.31",
"@types/node": "^18.11.0"
},
"packageManager": "yarn@1.22.19"
}
index.d.ts
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