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

bespoke-substeps

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bespoke-substeps - npm Package Compare versions

Comparing version

to
1.0.0

.travis.yml

5

dom.js

@@ -17,2 +17,7 @@ 'use strict';

var order = Number(el.dataset.order), action, data, names, classOrder;
if (!el.dataset) {
console.error(el + " cannot serve as substep wrapper due to no `dataset` support");
return;
}
order = Number(el.dataset.order);
if (isNaN(order)) order = (defaultOrder += 0.01);

@@ -19,0 +24,0 @@ else defaultOrder = order;

15

package.json
{
"name": "bespoke-substeps",
"version": "0.2.2",
"version": "1.0.0",
"description": "Substeps for Bespoke.js presentations",

@@ -18,4 +18,4 @@ "author": "Mariusz Nowak <medyk@medikoo.com> (http://www.medikoo.com/)",

"dependencies": {
"es5-ext": "~0.10.4",
"memoizee": "~0.3.7"
"es5-ext": "^0.10.12",
"memoizee": "^0.4.1"
},

@@ -25,3 +25,12 @@ "peerDependencies": {

},
"devDependencies": {
"xlint": "^0.2.2",
"xlint-jslint-medikoo": "^0.1.4"
},
"scripts": {
"lint": "node node_modules/xlint/bin/xlint --linter=node_modules/xlint-jslint-medikoo/index.js --no-cache --no-stream",
"lint-console": "node node_modules/xlint/bin/xlint --linter=node_modules/xlint-jslint-medikoo/index.js --watch",
"test": "node ./node_modules/tad/bin/tad"
},
"license": "MIT"
}

@@ -26,5 +26,16 @@ # bespoke-substeps

If CJS bundler you're using, supports CSS modules out of a box, then just do:
```javascript
var substeps = require('bespoke-substeps');
```
Otherwise require strictly JS logic of plugin with
```javascript
var substeps = require('bespoke-substeps/dom');
```
and manually assure that styles placed in `style.css` are also loaded with your application.
Then configure bespoke to use the plugin:
```javascript
bespoke.from(selector, [

@@ -31,0 +42,0 @@ substeps()

.lint

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet