resolvewithplus
Advanced tools
Comparing version 0.0.8 to 0.0.9
{ | ||
"name": "resolvewithplus", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"license" : "MIT", | ||
@@ -21,8 +21,9 @@ "main": "src/resolvewithplus.js", | ||
"devDependencies" : { | ||
"jasmine-node" : "~1.14.x", | ||
"jasmine": "2.5.3", | ||
"jasmine-spec-reporter": "3.2.0", | ||
"optfn": "~0.0.x" | ||
}, | ||
"scripts" : { | ||
"test" : "node node_modules/jasmine-node/bin/jasmine-node --verbose test/" | ||
"test": "node node_modules/jasmine/bin/jasmine.js --verbose" | ||
} | ||
} |
@@ -15,3 +15,3 @@ resolvewithplus | ||
``` | ||
_resolvewithplus_, however, is a new version of [resolvewith][1] behaviour with additional non-standard behaviour included. It recognizes [bower][3] module dependencies and it recognizes the [browser property][4] in a package.json (or bower.json) to define browser-specific entry files. It also locates and returns 'ts' files. | ||
_resolvewithplus_, however, is a new version of [resolvewith][1] behaviour with additional non-standard behaviour included. It recognizes [bower][3] module dependencies and it recognizes the [browser property][4] in a package.json (or bower.json) to define browser-specific entry files. | ||
@@ -18,0 +18,0 @@ ```javascript |
// Filename: resolvewithplus.js | ||
// Timestamp: 2017.01.07-23:42:02 (last modified) | ||
// Timestamp: 2017.04.23-22:43:22 (last modified) | ||
// Author(s): bumblehead <chris@bumblehead.com> | ||
@@ -89,3 +89,3 @@ | ||
indexprop = Object.keys(browserobj).filter((prop) => ( | ||
/index.[tj]s$/.test(prop) | ||
/index.[tj]sx?$/.test(prop) | ||
))[0]; | ||
@@ -118,2 +118,3 @@ indexval = indexprop in browserobj && browserobj[indexprop]; | ||
'.ts', | ||
'.tsx', | ||
'.json', | ||
@@ -150,2 +151,3 @@ '.node'].some((ext) => ( | ||
'index.ts', | ||
'index.tsx', | ||
'index.json', | ||
@@ -152,0 +154,0 @@ 'index.node'].some((f) => ( |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14636
9
343
3