Socket
Socket
Sign inDemoInstall

bootstrap.native-loader

Package Overview
Dependencies
6
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.7 to 2.0.0

8

index.js

@@ -1,3 +0,2 @@

const bsn3 = require('bootstrap.native/build-module.js')
let bsn = require('bootstrap.native/build-module-v4.js')
const bsn = require('bootstrap.native/lib/build-module.js')
const { getOptions } = require('loader-utils')

@@ -9,7 +8,4 @@

const options = getOptions(this) || {}
options.bs_version = options.bs_version || 4;
if (options.bsVersion === 3) {
bsn = bsn3
}
bsn(options).then((source) => {

@@ -16,0 +12,0 @@ callback(null, source)

{
"name": "bootstrap.native-loader",
"version": "1.0.7",
"version": "2.0.0",
"repository": {

@@ -19,5 +19,7 @@ "type": "git",

"peerDependencies": {
"bootstrap.native": "^2.0.21"
"bootstrap.native": "^2.0.26"
},
"dependencies": {}
"dependencies": {
"loader-utils": "^1.2.3"
}
}

@@ -45,2 +45,7 @@ # bootstrap.native-loader

```
A full list of components that can be listed under ignore or only are shown below.
```javascript
['alert', 'button', 'carousel', 'collapse', 'dropdown', 'modal', 'popover', 'scrollspy', 'tab', 'tooltip']
```
Once you have the above setup in your add the code below to include the custom build in your bundle.

@@ -47,0 +52,0 @@ ```

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc