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

rsuite-affix

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rsuite-affix - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

__mocks__/fileMock.js

104

package.json
{
"name": "rsuite-affix",
"version": "1.0.3",
"version": "1.1.0",
"description": "Make an element sticky to viewport Edit",
"directories": {
"test": "test"
},
"jest": {
"moduleFileExtensions": [
"js",
"jsx"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
".*\\.(css|less|scss)$": "<rootDir>/__mocks__/styleMock.js"
},
"transform": {
"^.+\\.js$": "babel-jest"
},
"coverageDirectory": "./coverage/",
"collectCoverage": true
},
"scripts": {
"build-css": "node bin/css-build.js",
"dev": "NODE_ENV=development webpack-dev-server --hot --inline --progress --colors --port 3100 --host 0.0.0.0 ",
"dev": "NODE_ENV=development webpack-dev-server --inline --progress --colors --port 3100 --host 0.0.0.0 ",
"docs": "rm -rf assets && npm run build-css && NODE_ENV=production webpack --progress -colors",

@@ -12,5 +30,9 @@ "build": "rm -rf lib && babel src --out-dir lib",

"lint": "eslint src *.js",
"test-node": "mocha --compilers js:babel-register test/*Spec.js",
"test": "npm run lint && cross-env NODE_ENV=test karma start --single-run",
"cp:docs": "cp -rf ./assets/* ../rsuite.github.io/rsuite-affix/"
"cp:docs": "cp -rf ./assets/* ../rsuite.github.io/rsuite-affix/",
"test": "jest && codecov",
"coverage": "jest --colors --coverage",
"prepages": "npm run docs",
"pages": "node docs/gh-pages.js",
"prerelase": "npm run build",
"release": "npm publish"
},

@@ -22,7 +44,9 @@ "main": "lib/index.js",

"classnames": ">=2.0.0",
"dom-lib": "0.0.14",
"element-resize-event": "^2.0.7",
"react": "^0.14.2",
"react-dom": "^0.14.2"
"dom-lib": "0.2.6",
"element-resize-event": "^2.0.7"
},
"peerDependencies": {
"react": "^0.14.9 || >=15.3.0",
"react-dom": ">=0.14.0"
},
"keywords": [

@@ -38,47 +62,47 @@ "affix",

"devDependencies": {
"autoprefixer": "^6.1.0",
"babel-core": "^6.7.6",
"babel-eslint": "^6.1.2",
"babel-loader": "^6.2.4",
"babel-jest": "^20.0.3",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.3.13",
"babel-preset-stage-0": "^6.5.0",
"chai": "^3.5.0",
"cross-env": "^2.0.0",
"babel-preset-stage-1": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babel-standalone": "^6.7.7",
"css-loader": "^0.23.1",
"eslint": "^2.8.0",
"codecov": "^2.2.0",
"dom-lib": "^0.2.6",
"enzyme": "^2.7.1",
"es5-shim": "^4.1.14",
"eslint": "^3.19.0",
"eslint-config-airbnb": "^15.0.1",
"eslint-plugin-babel": "^3.2.0",
"eslint-plugin-react": "^5.0.1",
"extract-text-webpack-plugin": "^1.0.1",
"highlight.js": "^9.4.0",
"eslint-plugin-import": "^2.6.1",
"eslint-plugin-jsx-a11y": "^5.0.1",
"eslint-plugin-react": "^7.0.1",
"extract-text-webpack-plugin": "^2.0.0",
"compression-webpack-plugin": "^1.0.1",
"highlight.js": "^9.5.0",
"html-loader": "^0.4.3",
"html-webpack-plugin": "^2.22.0",
"karma": "^1.1.1",
"karma-chrome-launcher": "^1.0.1",
"karma-cli": "^1.0.1",
"karma-coverage": "^1.1.0",
"karma-firefox-launcher": "^1.0.0",
"karma-mocha": "^1.1.1",
"karma-mocha-reporter": "^2.0.4",
"karma-sinon-chai": "^1.2.2",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^1.7.0",
"json-loader": "^0.5.4",
"jest": "^20.0.4",
"file-loader": "^0.11.1",
"less": "^2.7.1",
"less-loader": "^2.2.3",
"markdown-loader": "^0.1.7",
"markdownloader": "1.0.5",
"markdown-loader": "^2.0.0",
"markdownloader": "^1.0.5",
"marked": "^0.3.5",
"mocha": "^2.5.3",
"postcss-loader": "^0.9.1",
"react-hot-loader": "^1.3.1",
"rsuite": "0.0.20",
"rsuite-theme": "^0.3.12",
"sinon": "^1.17.4",
"sinon-chai": "^2.8.0",
"prop-types": "^15.5.10",
"react": "^15.4.2",
"react-dom": "^15.4.2",
"react-addons-test-utils": "^15.4.2",
"react-hot-loader": "^1.3.0",
"rsuite": "^2.0.0-beta.1",
"rsuite-theme": "^2.0.0-beta.1-1",
"style-loader": "^0.13.1",
"teaspoon": "6.0.0",
"url-loader": "^0.5.7",
"webpack": "^1.13.1",
"webpack-dev-server": "^1.14.1"
"url-loader": "^0.5.8",
"webpack": "^3.0.0",
"webpack-dev-server": "^2.2.0"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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