New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cara/porter

Package Overview
Dependencies
Maintainers
2
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cara/porter - npm Package Compare versions

Comparing version 3.0.6 to 3.1.0

4

package.json
{
"name": "@cara/porter",
"description": "A koa and express middleware for browser side javascript module authoring.",
"version": "3.0.6",
"version": "3.1.0",
"main": "src/porter.js",

@@ -14,3 +14,3 @@ "repository": {

"dependencies": {
"autoprefixer": "^9.3.1",
"autoprefixer": "^9.6.0",
"debug": "^3.1.0",

@@ -17,0 +17,0 @@ "glob": "^7.0.5",

@@ -38,6 +38,6 @@ # Porter

With the default setup, browser modules at `./components` folder is now accessible with `/path/to/file.js` or `/${pkg.name}/${pkg.version}/path/to/file.js`. Take [porter-demo](https://github.com/erzu/porter/packages/porter-demo) for example, the file structure shall resemble that of below:
With the default setup, browser modules at `./components` folder is now accessible with `/path/to/file.js` or `/${pkg.name}/${pkg.version}/path/to/file.js`. Take [demo-cli](https://github.com/erzu/porter/packages/demo-cli) for example, the file structure shall resemble that of below:
```bash
➜ porter-demo git:(master) tree -L 2
➜ demo-cli git:(master) tree -L 2
.

@@ -204,3 +204,3 @@ ├── components # browser modules

{
"name": "@cara/porter-demo",
"name": "@cara/demo-cli",
"version": "2.0.0"

@@ -228,3 +228,3 @@ }

├── @cara
│   └── porter-app
│   └── demo-app
│   └── 2.0.0-3

@@ -231,0 +231,0 @@ | ├── app.js

@@ -60,3 +60,3 @@ 'use strict'

this.source = { serve: false, root: '/', ...opts.source }
this.cssLoader = postcss().use(
this.cssLoader = postcss([
atImport({

@@ -66,4 +66,7 @@ path: paths,

})
])
this.cssTranspiler = postcss(
(opts.postcssPlugins || []).concat(autoprefixer(opts.autoprefixer))
)
this.cssTranspiler = postcss().use(autoprefixer(opts.autoprefixer))
this.ready = this.prepare(opts)

@@ -70,0 +73,0 @@ }

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