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

single-spa

Package Overview
Dependencies
Maintainers
7
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

single-spa - npm Package Compare versions

Comparing version 5.9.3 to 6.0.0-beta.0

lib/es2015/esm/single-spa.dev.js

74

package.json
{
"name": "single-spa",
"version": "5.9.3",
"version": "6.0.0-beta.0",
"description": "The router for easy microfrontends",
"main": "lib/umd/single-spa.min.js",
"main": "lib/es2015/umd/single-spa.min.cjs",
"types": "typings/single-spa.d.ts",
"module": "lib/esm/single-spa.min.js",
"type": "module",
"exports": {
".": {
"development": {
"import": "./lib/es2015/esm/single-spa.dev.js",
"require": "./lib/es2015/umd/single-spa.dev.cjs"
},
"production": {
"import": "./lib/es2015/esm/single-spa.min.js",
"require": "./lib/es2015/umd/single-spa.min.cjs"
},
"default": {
"import": "./lib/es2015/esm/single-spa.min.js",
"require": "./lib/es2015/umd/single-spa.min.cjs"
}
},
"./package.json": "./package.json",
"./lib/*": "./lib/*"
},
"module": "lib/es2015/esm/single-spa.min.js",
"scripts": {
"build": "yarn clean && concurrently yarn:build:dev yarn:build:prod",
"build": "pnpm run clean && concurrently pnpm:build:dev pnpm:build:prod",
"build:prod": "rollup -c --environment NODE_ENV:'production'",

@@ -14,12 +33,14 @@ "build:dev": "rollup -c",

"watch": "rollup -c -w",
"prepublishOnly": "yarn build",
"clean": "rimraf lib",
"test": "concurrently -n w: 'yarn:test:*'",
"test": "concurrently -n w: 'pnpm:test:*'",
"test:browser": "cross-env BABEL_ENV=test jest --config jest-browser.config.js",
"test:node": "cross-env BABEL_ENV=test jest --config jest-node.config.js",
"test:types": "tsd",
"test:lockfile": "js-correct-lockfile yarn",
"test:lockfile": "js-correct-lockfile pnpm",
"format": "prettier --write .",
"check-format": "prettier --check .",
"lint": "eslint src"
"lint": "eslint src",
"_postinstall": "husky install",
"prepublishOnly": "pinst --disable && pnpm run build",
"postpublish": "pinst --enable"
},

@@ -34,7 +55,2 @@ "tsd": {

},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged && concurrently yarn:test yarn:lint"
}
},
"files": [

@@ -62,32 +78,32 @@ "lib",

"license": "MIT",
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/eslint-parser": "^7.11.5",
"@babel/eslint-parser": "^7.14.7",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/preset-env": "^7.9.0",
"@babel/runtime": "^7.14.6",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@rollup/plugin-replace": "^2.3.1",
"@types/jest": "^25.1.4",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.1.0",
"@types/jest": "^26.0.23",
"babel-jest": "^27.0.6",
"babel-plugin-dynamic-import-node": "^2.3.0",
"concurrently": "^5.1.0",
"concurrently": "^6.2.0",
"cross-env": "^7.0.2",
"custom-event": "^1.0.1",
"eslint": "6.8.0",
"eslint": "7.30.0",
"eslint-config-important-stuff": "^1.1.0",
"eslint-plugin-es5": "^1.5.0",
"husky": "^4.2.3",
"jest": "^25.1.0",
"husky": "^7.0.0",
"jest": "^27.0.6",
"js-correct-lockfile": "^1.0.0",
"pinst": "^2.1.6",
"prettier": "^2.0.2",
"pretty-quick": "^2.0.1",
"pretty-quick": "^3.1.1",
"rimraf": "^3.0.2",
"rollup": "^2.2.0",
"rollup-plugin-analyzer": "^3.1.2",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.3.0",
"tsd": "^0.11.0"
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-terser": "^7.0.2",
"tsd": "^0.17.0"
},

@@ -94,0 +110,0 @@ "browserslist": [

@@ -27,2 +27,8 @@ <img src="https://single-spa.js.org/img/logo-white-bgblue.svg" width="50" height="50">

To add your company's logo to this section:
- Become a [recurring Open Collective sponsor](https://opencollective.com/single-spa) of at least \$100 a month.
- Become a [recurring Github sponsor](https://github.com/sponsors/joeldenning) of at least \$100 a month.
- Sponsor a core team member to implement a specific feature for single-spa. Pay our regular consulting rate. Inquire in our Slack workspace.
## Documentation

@@ -29,0 +35,0 @@

@@ -195,2 +195,4 @@ declare module "single-spa" {

): ActivityFn;
export function patchHistoryApi(opts?: StartOpts): void;
}
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