i18next-fs-backend
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -1,9 +0,6 @@ | ||
"use strict"; | ||
if (typeof require !== 'undefined') { | ||
var path = require('path'); | ||
if (path.default) path = path.default; | ||
exports.default = path; | ||
module.exports = exports.default; | ||
} | ||
var path = require('path') | ||
if (path.default) path = path.default | ||
exports.default = path | ||
module.exports = exports.default | ||
} |
@@ -17,3 +17,3 @@ "use strict"; | ||
var pathMod = _interopRequireWildcard(require("./path.cjs")); | ||
var pathMod = _interopRequireWildcard(require("./path.js")); | ||
@@ -20,0 +20,0 @@ var _extname = _interopRequireDefault(require("./extname.js")); |
{ | ||
"name": "i18next-fs-backend", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"private": false, | ||
@@ -61,3 +61,3 @@ "type": "module", | ||
"compile:esm": "rm -rf esm && mkdir esm && BABEL_ENV=esm babel lib -d esm && cp lib/fs.cjs esm/fs.cjs", | ||
"compile:cjs": "rm -rf cjs && mkdir cjs && BABEL_ENV=cjs babel lib -d cjs && echo '{\"type\":\"commonjs\"}' > cjs/package.json && cp lib/fs.cjs cjs/fs.js && node -e \"fs.writeFileSync('cjs/readFile.js', fs.readFileSync('cjs/readFile.js').toString().replace('fs.cjs', 'fs.js'))\" && node -e \"fs.writeFileSync('cjs/writeFile.js', fs.readFileSync('cjs/writeFile.js').toString().replace('fs.cjs', 'fs.js'))\"", | ||
"compile:cjs": "rm -rf cjs && mkdir cjs && BABEL_ENV=cjs babel lib -d cjs && echo '{\"type\":\"commonjs\"}' > cjs/package.json && cp lib/fs.cjs cjs/fs.js && cp lib/path.cjs cjs/path.js && node -e \"fs.writeFileSync('cjs/readFile.js', fs.readFileSync('cjs/readFile.js').toString().replace('fs.cjs', 'fs.js').replace('path.cjs', 'path.js'))\" && node -e \"fs.writeFileSync('cjs/writeFile.js', fs.readFileSync('cjs/writeFile.js').toString().replace('fs.cjs', 'fs.js'))\"", | ||
"compile": "npm run copy && npm run compile:esm && npm run compile:cjs", | ||
@@ -64,0 +64,0 @@ "build": "npm run compile", |
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
486053