@elliemae/browserslist-config-elliemae-latest-browsers 1.0.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1,22 +1,8 @@
1
1
  module.exports = {
2
2
  development: [
3
- '>= 0.5% in US and last 2 major versions, not samsung > 0, not ie 11, Firefox ESR, not dead',
3
+ 'Chrome >= 94, Edge >= 96, Safari >= 14.1, Firefox >= 95, iOS >= 14.0, ChromeAndroid >= 96',
4
4
  ],
5
5
  production: [
6
- '>= 0.5% in US and last 2 major versions, not samsung > 0, not ie 11, Firefox ESR, not dead',
6
+ 'Chrome >= 94, Edge >= 96, Safari >= 14.1, Firefox >= 95, iOS >= 14.0, ChromeAndroid >= 96',
7
7
  ],
8
8
  };
9
-
10
- // At the time of this writing, following are the browsers supported
11
- // and_chr 81
12
- // chrome 83
13
- // chrome 81
14
- // firefox 76
15
- // firefox 68
16
- // ios_saf 13.4-13.5
17
- // ios_saf 13.3
18
- // ios_saf 13.0-13.1
19
- // ios_saf 12.2-12.4
20
- // ios_saf 12.0-12.1
21
- // safari 13.1
22
- // safari 13
package/package.json CHANGED
@@ -1,28 +1,34 @@
1
1
  {
2
2
  "name": "@elliemae/browserslist-config-elliemae-latest-browsers",
3
- "version": "1.0.0",
3
+ "version": "1.3.0",
4
4
  "private": false,
5
5
  "description": "Browserslist Configuration with latest browsers only",
6
6
  "sideeffects": false,
7
- "main": "./dist/index.js",
8
- "module": "./lib/index.js",
7
+ "main": "./lib/index.js",
8
+ "exports": {
9
+ ".": {
10
+ "require": "./lib/index.js"
11
+ }
12
+ },
9
13
  "files": [
10
- "lib",
11
- "dist"
14
+ "lib"
12
15
  ],
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
13
19
  "repository": {
14
20
  "type": "git",
15
- "url": "http://githubdev.dco.elmae/platform-ui/pui-browserslist-config-latest-browsers.git"
21
+ "url": "https://git.elliemae.io/platform-ui/pui-browserslist-config-latest-browsers.git"
16
22
  },
17
23
  "engines": {
18
- "npm": ">=6",
19
- "node": ">=12"
24
+ "npm": ">=7",
25
+ "node": ">=14"
20
26
  },
21
- "author": "Vinoth Kalyanasundaram",
27
+ "author": "IMT",
22
28
  "license": "MIT",
23
29
  "scripts": {
24
- "build": "pui-cli pack -p",
25
- "build:dev": "pui-cli pack",
30
+ "build": "exit 0",
31
+ "build:dev": "exit 0",
26
32
  "gendoc": "pui-cli gendoc",
27
33
  "lint": "pui-cli lint",
28
34
  "lint:fix": "pui-cli lint --fix",
@@ -37,23 +43,8 @@
37
43
  "test:fix": "pui-cli test -f",
38
44
  "test:watch": "pui-cli test -w",
39
45
  "test:staged": "jest --coverage --passWithNoTests --bail --findRelatedTests",
40
- "upgrade": "ncu -u && npm run setup"
41
- },
42
- "lint-staged": {
43
- "*.js": [
44
- "npm run lint:fix",
45
- "npm run test:staged",
46
- "npm run gendoc"
47
- ],
48
- "*.json": [
49
- "prettier --write"
50
- ]
51
- },
52
- "husky": {
53
- "hooks": {
54
- "pre-commit": "lint-staged",
55
- "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
56
- }
46
+ "upgrade": "ncu -u && npm run setup",
47
+ "prepare": "husky install"
57
48
  },
58
49
  "jestSonar": {
59
50
  "sonar56x": true,
@@ -62,8 +53,8 @@
62
53
  "indent": 4
63
54
  },
64
55
  "devDependencies": {
65
- "@elliemae/pui-cli": "~1.37.0",
56
+ "@elliemae/pui-cli": "~5.26.2",
66
57
  "redux-saga": "1.1.3",
67
- "styled-components": "~5.1.1"
58
+ "styled-components": "~5.3.3"
68
59
  }
69
60
  }
package/CHANGELOG.md DELETED
@@ -1,11 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file. See
4
- [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # 1.0.0 (2020-06-16)
7
-
8
-
9
- ### Features
10
-
11
- * first draft ([#1](http://githubdev.dco.elmae/platform-ui/pui-browserslist-config-latest-browsers/issues/1)) ([fab0f43](http://githubdev.dco.elmae/platform-ui/pui-browserslist-config-latest-browsers/commit/fab0f434106c84b621a1931bb8f33ad68218804c))
package/dist/index.js DELETED
@@ -1,16 +0,0 @@
1
- module.exports = {
2
- development: ['>= 0.5% in US and last 2 major versions, not samsung > 0, not ie 11, Firefox ESR, not dead'],
3
- production: ['>= 0.5% in US and last 2 major versions, not samsung > 0, not ie 11, Firefox ESR, not dead']
4
- }; // At the time of this writing, following are the browsers supported
5
- // and_chr 81
6
- // chrome 83
7
- // chrome 81
8
- // firefox 76
9
- // firefox 68
10
- // ios_saf 13.4-13.5
11
- // ios_saf 13.3
12
- // ios_saf 13.0-13.1
13
- // ios_saf 12.2-12.4
14
- // ios_saf 12.0-12.1
15
- // safari 13.1
16
- // safari 13
package/dist/index.pug DELETED
@@ -1,15 +0,0 @@
1
- doctype html
2
- head
3
- meta(charset='UTF-8')
4
- meta(name='viewport' content='width=device-width, initial-scale=1.0')
5
- meta(http-equiv='X-UA-Compatible' content='ie=edge')
6
- title #{htmlWebpackPlugin.options.libraryName}
7
- p This library #{htmlWebpackPlugin.options.libraryName} exposes the following properties
8
- ul#libraryAttributes
9
- script(lang='javascript').
10
- window.onload = () => {
11
- const attribNode = document.getElementById('libraryAttributes');
12
- if (attribNode) {
13
- attribNode.innerHTML = Object.keys(window['#{htmlWebpackPlugin.options.libraryName}'] || {}).reduce((value, attribute) => value += `<li>${attribute}</li>`, '');
14
- }
15
-
@@ -1,5 +0,0 @@
1
- <!doctype html><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><meta http-equiv="X-UA-Compatible" content="ie=edge"><title>emuiBrowserslistConfigElliemaeLatestBrowsers</title></head><p>This library emuiBrowserslistConfigElliemaeLatestBrowsers exposes the following properties</p><ul id="libraryAttributes"></ul><script lang="javascript">window.onload = () => {
2
- const attribNode = document.getElementById('libraryAttributes');
3
- if (attribNode) {
4
- attribNode.innerHTML = Object.keys(window['emuiBrowserslistConfigElliemaeLatestBrowsers'] || {}).reduce((value, attribute) => value += `<li>${attribute}</li>`, '');
5
- }</script><script src="/js/emuiBrowserslistConfigElliemaeLatestBrowsers.d4c238c1722e59e79b29.js"></script>
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t():"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports.emuiBrowserslistConfigElliemaeLatestBrowsers=t():e.emuiBrowserslistConfigElliemaeLatestBrowsers=t()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={i:o,l:!1,exports:{}};return e[o].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(o,r,function(t){return e[t]}.bind(null,r));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=0)}({0:function(e,t,n){e.exports=n("7da45bee362ecc7fdd14")},"7da45bee362ecc7fdd14":function(e,t){e.exports={development:[">= 0.5% in US and last 2 major versions, not samsung > 0, not ie 11, Firefox ESR, not dead"],production:[">= 0.5% in US and last 2 major versions, not samsung > 0, not ie 11, Firefox ESR, not dead"]}}})}));
2
- //# sourceMappingURL=emuiBrowserslistConfigElliemaeLatestBrowsers.d4c238c1722e59e79b29.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["webpack://emuiBrowserslistConfigElliemaeLatestBrowsers/webpack/universalModuleDefinition","webpack://emuiBrowserslistConfigElliemaeLatestBrowsers/webpack/bootstrap","webpack://emuiBrowserslistConfigElliemaeLatestBrowsers/./lib/index.js"],"names":["root","factory","exports","module","define","amd","window","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","development","production"],"mappings":"CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA0C,kBAAXC,OACxCA,OAAOD,QAAUD,IACQ,oBAAXG,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIH,GACe,kBAAZC,QACdA,QAAsD,6CAAID,IAE1DD,EAAmD,6CAAIC,IARzD,CASGK,QAAQ,WACX,O,YCTE,IAAIC,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUP,QAGnC,IAAIC,EAASI,EAAiBE,GAAY,CACzCC,EAAGD,EACHE,GAAG,EACHT,QAAS,IAUV,OANAU,EAAQH,GAAUI,KAAKV,EAAOD,QAASC,EAAQA,EAAOD,QAASM,GAG/DL,EAAOQ,GAAI,EAGJR,EAAOD,QA0Df,OArDAM,EAAoBM,EAAIF,EAGxBJ,EAAoBO,EAAIR,EAGxBC,EAAoBQ,EAAI,SAASd,EAASe,EAAMC,GAC3CV,EAAoBW,EAAEjB,EAASe,IAClCG,OAAOC,eAAenB,EAASe,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEV,EAAoBgB,EAAI,SAAStB,GACX,qBAAXuB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAenB,EAASuB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAenB,EAAS,aAAc,CAAEyB,OAAO,KAQvDnB,EAAoBoB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQnB,EAAoBmB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,kBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFAxB,EAAoBgB,EAAEO,GACtBX,OAAOC,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOnB,EAAoBQ,EAAEe,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRvB,EAAoB2B,EAAI,SAAShC,GAChC,IAAIe,EAASf,GAAUA,EAAO2B,WAC7B,WAAwB,OAAO3B,EAAgB,SAC/C,WAA8B,OAAOA,GAEtC,OADAK,EAAoBQ,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRV,EAAoBW,EAAI,SAASiB,EAAQC,GAAY,OAAOjB,OAAOkB,UAAUC,eAAe1B,KAAKuB,EAAQC,IAGzG7B,EAAoBgC,EAAI,IAIjBhC,EAAoBA,EAAoBiC,EAAI,G,8FClFrDtC,EAAOD,QAAU,CACfwC,YAAa,CACX,8FAEFC,WAAY,CACV","file":"js/emuiBrowserslistConfigElliemaeLatestBrowsers.d4c238c1722e59e79b29.js","sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"emuiBrowserslistConfigElliemaeLatestBrowsers\"] = factory();\n\telse\n\t\troot[\"emuiBrowserslistConfigElliemaeLatestBrowsers\"] = factory();\n})(window, function() {\nreturn "," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n","module.exports = {\n development: [\n '>= 0.5% in US and last 2 major versions, not samsung > 0, not ie 11, Firefox ESR, not dead',\n ],\n production: [\n '>= 0.5% in US and last 2 major versions, not samsung > 0, not ie 11, Firefox ESR, not dead',\n ],\n};\n\n// At the time of this writing, following are the browsers supported\n// and_chr 81\n// chrome 83\n// chrome 81\n// firefox 76\n// firefox 68\n// ios_saf 13.4-13.5\n// ios_saf 13.3\n// ios_saf 13.0-13.1\n// ios_saf 12.2-12.4\n// ios_saf 12.0-12.1\n// safari 13.1\n// safari 13\n"],"sourceRoot":""}
@@ -1,7 +0,0 @@
1
- import config from '..';
2
-
3
- describe('browserslistconfig', () => {
4
- it('should return a list of browsers', () => {
5
- expect(config.production).toBeDefined();
6
- });
7
- });