Socket
Socket
Sign inDemoInstall

@stoplight/path

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stoplight/path - npm Package Compare versions

Comparing version 1.3.2 to 2.0.0-beta.1

dist/cjs/basename.js

98

package.json
{
"name": "@stoplight/path",
"version": "1.3.2",
"version": "2.0.0-beta.1",
"description": "",
"keywords": [],
"sideEffects": false,
"files": [
"**/*"
],
"homepage": "https://github.com/stoplightio/path",
"bugs": "https://github.com/stoplightio/path/issues",
"author": "Stoplight <support@stoplight.io>",

@@ -16,10 +15,91 @@ "repository": {

"license": "Apache-2.0",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"files": [
"src",
"dist"
],
"engines": {
"node": ">=8"
"node": "^12.20 || >=14.13"
},
"scripts": {
"build": "rimraf dist && yarn build.grammar && yarn build.cjs && yarn build.esm",
"build.esm": "tsc -p tsconfig.build.json --outDir dist/esm --declarationDir dist/types",
"build.cjs": "tsc -p tsconfig.build.json --outDir dist/cjs --module commonjs --declarationDir dist/types",
"build.grammar": "peggy --format=es src/grammar.pegjs",
"commit": "git-cz",
"lint": "eslint 'src/**/*.ts' && prettier --check 'src/**/*.ts'",
"lint.fix": "yarn lint --fix",
"release": "semantic-release",
"pretest": "yarn build.grammar",
"test": "jest",
"test.prod": "yarn lint && yarn test --coverage --maxWorkers=2",
"test.update": "yarn test --updateSnapshot",
"test.watch": "yarn test --watch",
"yalc": "yarn build && (cd dist && yalc push)",
"yalc.watch": "nodemon --watch 'src/**/*' --exec 'yarn yalc'"
},
"peerDependencies": {},
"dependencies": {},
"main": "index.cjs.js",
"module": "index.es.js",
"typings": "src/index.d.ts"
"devDependencies": {
"@commitlint/cli": "^17.4.2",
"@commitlint/config-conventional": "^17.4.2",
"@types/jest": "^29.4.0",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.7",
"@semantic-release/npm": "^9.0.2",
"@semantic-release/release-notes-generator": "^10.0.3",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^4.3.8",
"jest": "^29.4.1",
"lint-staged": "^13.1.0",
"nodemon": "1.x.x",
"peggy": "^2.0.1",
"prettier": "^2.8.3",
"rimraf": "^4.1.2",
"semantic-release": "^19.0.5",
"ts-jest": "^29.0.5",
"typescript": "^4.9.5"
},
"lint-staged": {
"*.{ts,tsx}$": [
"yarn lint.fix"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 120,
"singleQuote": true,
"trailingComma": "all"
}
}
__tests__/basename.spec.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