help@rskworld.in +91 93305 39277
RSK World
  • Home
  • Development
    • Web Development
    • Mobile Apps
    • Software
    • Games
    • Project
  • Technologies
    • Data Science
    • AI Development
    • Cloud Development
    • Blockchain
    • Cyber Security
    • Dev Tools
    • Testing Tools
  • Blog
  • About
  • Contact

Theme Settings

Color Scheme
Display Options
Font Size
100%
Back to Project
RSK World
ruby-calculator
/
node_modules
/
picomatch
/
lib
RSK World
ruby-calculator
Ruby Calculator Pro - Interactive Calculator with 8 Types + Mathematical Functions + Rails MVC + Modern Web Interface + API Integration + Educational Design
lib
  • constants.js4.4 KB
  • parse.js26.9 KB
  • picomatch.js9.6 KB
  • scan.js9 KB
  • utils.js1.9 KB
wrapper.jssass.ps1package.json
node_modules/@parcel/watcher/wrapper.js
Raw Download
Find: Go to:
const path = require('path');
const picomatch = require('picomatch');
const isGlob = require('is-glob');

function normalizeOptions(dir, opts = {}) {
  const { ignore, ...rest } = opts;

  if (Array.isArray(ignore)) {
    opts = { ...rest };

    for (const value of ignore) {
      if (isGlob(value)) {
        if (!opts.ignoreGlobs) {
          opts.ignoreGlobs = [];
        }

        const regex = picomatch.makeRe(value, {
          // We set `dot: true` to workaround an issue with the
          // regular expression on Linux where the resulting
          // negative lookahead `(?!(\\/|^)` was never matching
          // in some cases. See also https://bit.ly/3UZlQDm
          dot: true,
          windows: process.platform === 'win32',
        });
        opts.ignoreGlobs.push(regex.source);
      } else {
        if (!opts.ignorePaths) {
          opts.ignorePaths = [];
        }

        opts.ignorePaths.push(path.resolve(dir, value));
      }
    }
  }

  return opts;
}

exports.createWrapper = (binding) => {
  return {
    writeSnapshot(dir, snapshot, opts) {
      return binding.writeSnapshot(
        path.resolve(dir),
        path.resolve(snapshot),
        normalizeOptions(dir, opts),
      );
    },
    getEventsSince(dir, snapshot, opts) {
      return binding.getEventsSince(
        path.resolve(dir),
        path.resolve(snapshot),
        normalizeOptions(dir, opts),
      );
    },
    async subscribe(dir, fn, opts) {
      dir = path.resolve(dir);
      opts = normalizeOptions(dir, opts);
      await binding.subscribe(dir, fn, opts);

      return {
        unsubscribe() {
          return binding.unsubscribe(dir, fn, opts);
        },
      };
    },
    unsubscribe(dir, fn, opts) {
      return binding.unsubscribe(
        path.resolve(dir),
        fn,
        normalizeOptions(dir, opts),
      );
    }
  };
};
75 lines•1.8 KB
javascript
node_modules/.bin/sass.ps1
Raw Download
Find: Go to:
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent

$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
  # Fix case when both the Windows and Linux builds of Node
  # are installed in the same directory
  $exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
  # Support pipeline input
  if ($MyInvocation.ExpectingInput) {
    $input | & "$basedir/node$exe"  "$basedir/../sass/sass.js" $args
  } else {
    & "$basedir/node$exe"  "$basedir/../sass/sass.js" $args
  }
  $ret=$LASTEXITCODE
} else {
  # Support pipeline input
  if ($MyInvocation.ExpectingInput) {
    $input | & "node$exe"  "$basedir/../sass/sass.js" $args
  } else {
    & "node$exe"  "$basedir/../sass/sass.js" $args
  }
  $ret=$LASTEXITCODE
}
exit $ret
29 lines•773 B
powershell
node_modules/@parcel/watcher/package.json
Raw Download
Find: Go to:
{
  "name": "@parcel/watcher",
  "version": "2.5.4",
  "main": "index.js",
  "types": "index.d.ts",
  "repository": {
    "type": "git",
    "url": "https://github.com/parcel-bundler/watcher.git"
  },
  "description": "A native C++ Node module for querying and subscribing to filesystem events. Used by Parcel 2.",
  "license": "MIT",
  "publishConfig": {
    "access": "public"
  },
  "funding": {
    "type": "opencollective",
    "url": "https://opencollective.com/parcel"
  },
  "files": [
    "index.js",
    "index.js.flow",
    "index.d.ts",
    "wrapper.js",
    "package.json",
    "README.md",
    "LICENSE",
    "src",
    "scripts/build-from-source.js",
    "binding.gyp"
  ],
  "scripts": {
    "prebuild": "prebuildify --napi --strip --tag-libc",
    "format": "prettier --write \"./**/*.{js,json,md}\"",
    "build": "node-gyp rebuild",
    "install": "node scripts/build-from-source.js",
    "test": "mocha"
  },
  "engines": {
    "node": ">= 10.0.0"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.{js,json,md}": [
      "prettier --write",
      "git add"
    ]
  },
  "dependencies": {
    "detect-libc": "^2.0.3",
    "is-glob": "^4.0.3",
    "node-addon-api": "^7.0.0",
    "picomatch": "^4.0.3"
  },
  "devDependencies": {
    "esbuild": "^0.19.8",
    "fs-extra": "^10.0.0",
    "husky": "^7.0.2",
    "lint-staged": "^11.1.2",
    "mocha": "^9.1.1",
    "napi-wasm": "^1.1.0",
    "prebuildify": "^6.0.1",
    "prettier": "^2.3.2"
  },
  "binary": {
    "napi_versions": [
      3
    ]
  },
  "optionalDependencies": {
    "@parcel/watcher-darwin-x64": "2.5.4",
    "@parcel/watcher-darwin-arm64": "2.5.4",
    "@parcel/watcher-win32-x64": "2.5.4",
    "@parcel/watcher-win32-arm64": "2.5.4",
    "@parcel/watcher-win32-ia32": "2.5.4",
    "@parcel/watcher-linux-x64-glibc": "2.5.4",
    "@parcel/watcher-linux-x64-musl": "2.5.4",
    "@parcel/watcher-linux-arm64-glibc": "2.5.4",
    "@parcel/watcher-linux-arm64-musl": "2.5.4",
    "@parcel/watcher-linux-arm-glibc": "2.5.4",
    "@parcel/watcher-linux-arm-musl": "2.5.4",
    "@parcel/watcher-android-arm64": "2.5.4",
    "@parcel/watcher-freebsd-x64": "2.5.4"
  }
}
89 lines•2.2 KB
json
🚀 Support RSK World

Subscribe to our YouTube channel for latest tutorials & updates!



Click subscribe & support our work ❤️

About RSK World

Founded by Molla Samser, with Designer & Tester Rima Khatun, RSK World is your one-stop destination for free programming resources, source code, and development tools.

Founder: Molla Samser
Designer & Tester: Rima Khatun

Development

  • Game Development
  • Web Development
  • Mobile Development
  • AI Development
  • Development Tools

Legal

  • Terms & Conditions
  • Privacy Policy
  • Disclaimer

Contact Info

Nutanhat, Mongolkote
Purba Burdwan, West Bengal
India, 713147

+91 93305 39277

hello@rskworld.in
support@rskworld.in

© 2026 RSK World. All rights reserved.

Content used for educational purposes only. View Disclaimer